Commit Graph

483 Commits

Author SHA1 Message Date
Ian Young
65a9c42207 Update dependency configurations for compatibility with Gradle 7.0 2022-07-14 14:26:27 +01:00
Ian Young
e67a4e6f63 Fix HTML5 issues in Javadoc for Java 11
Some of these become hard errors in Java 17 or earlier, so it's best
to clean them up properly.
2022-07-14 14:25:19 +01:00
Ian Young
b441adecfe Per CONTRIBUTING, convert text files to use LF instead of CRLF
It is easier to standardise this now in one commit rather than
during later bulk changes where it would complicate the review process.

This is literally the result of running "dos2unix" on appropriate files.

There is no attempt here to likewise standardise the spaces/tabs
conventions in the codebase.
2022-07-14 14:25:19 +01:00
Rossen Stoyanchev
3bb4e6c3a7 Polishing contribution 2020-05-04 20:10:12 +01:00
Lars Grefer
2be8bcbc18 Java 8: Anonymous type can be replaced with lambda 2020-05-04 20:10:12 +01:00
Lars Grefer
55137e101a Java 7: Explicit type can be replaced with <> 2020-05-04 20:10:12 +01:00
Lars Grefer
ab69df656d Java 5: Unnecessary boxing 2020-05-04 20:10:12 +01:00
Lars Grefer
7caa67f302 Java 5: 'while' and for-loop replaceable with 'foreach' 2020-05-04 20:10:12 +01:00
Brian Clozel
92ed854f97 Remove Gradle propdeps plugin
This commit removes the propdeps plugin.
"provided" configurations are replaced with "compileOnly", "testCompile"
configurations.
The "optional" configuration supported by propdeps is now replaced by a
local Gradle plugin defining a specific configuration for that.

As a result of that change, optional/provided dependencies are not
published with the POMs anymore.
2020-05-01 07:36:27 +01:00
Brian Clozel
2f2c2e0313 Use Spring dependency management plugin
This commit introduces the Spring dependency management Gradle
plugin. All dependency versions and BOMs are now managed in the
root project and declared in the modules directly.
2020-05-01 07:36:27 +01:00
Brian Clozel
780bb68bdb Move build files into each module
This commit moves each project build configuration into its own file
and keeps the common configuration in the root project.
2020-05-01 07:36:27 +01:00
Rossen Stoyanchev
84170260ef All tests are executing again
Following the upgrade to JUnit 5 in gh-99, only the few remaining older
style tests extending from TestCase were being executed. This change
ensures JUnit 5 tests are executing as well.
2020-04-28 18:12:59 +01:00
Etienne Dysli Metref
cadaaad605 Upgrade Web Flow tests from JUnit 4 to 5
Replace imports:
org.junit.Assert.* -> org.junit.jupiter.api.Assertions.*
org.junit.After    -> org.junit.jupiter.api.AfterEach
org.junit.Before   -> org.junit.jupiter.api.BeforeEach

Move the `message` argument to last position.

Issue: SWF-1739
2019-10-16 14:55:42 +01:00
Etienne Dysli Metref
ceb44a6634 Upgrade Web Flow tests from JUnit 3 to 4
Remove `extends TestCase` from all test classes and add `@Before`,
`@After`, and `@Test` method annotations.

Note that class `JsfUtilsTests` still indirectly inherits from
`TestCase` via `org.apache.myfaces.test.base.AbstractJsfTestCase`.

Issue: SWF-1739
2019-10-16 14:55:15 +01:00
Spring Operator
7edadce7bf URL Cleanup
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# Fixed URLs

## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* [ ] http://www.apache.org/licenses/ with 1 occurrences migrated to:
  https://www.apache.org/licenses/ ([https](https://www.apache.org/licenses/) result 200).
* [ ] http://www.apache.org/licenses/LICENSE-2.0 with 639 occurrences migrated to:
  https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0) result 200).
2019-06-04 08:43:29 -04:00
Spring Operator
d4a8ea9c47 URL Cleanup
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# HTTP URLs that Could Not Be Fixed
These URLs were unable to be fixed. Please review them to see if they can be manually resolved.

* http://joda-time.sourceforge.net/ (200) with 1 occurrences could not be migrated:
   ([https](https://joda-time.sourceforge.net/) result AnnotatedConnectException).
* http://www.jjg.net/ia/visvocab/ (200) with 1 occurrences could not be migrated:
   ([https](https://www.jjg.net/ia/visvocab/) result AnnotatedConnectException).

# Fixed URLs

## Fixed But Review Recommended
These URLs were fixed, but the https status was not OK. However, the https status was the same as the http request or http redirected to an https URL, so they were migrated. Your review is recommended.

* http://xmlns.jcp.org/xml/ns/persistence/orm_2_1.xsd (301) with 1 occurrences migrated to:
  https://www.oracle.com/webfolder/technetwork/jsc/xml/ns/persistence/orm_2_1.xsd ([https](https://xmlns.jcp.org/xml/ns/persistence/orm_2_1.xsd) result InvalidMediaTypeException).
* http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd (ReadTimeoutException) with 2 occurrences migrated to:
  https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ([https](https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd) result ReadTimeoutException).
* http://www.springframework.org/schema/webflow/spring-webflow-1.0.xsd (404) with 2 occurrences migrated to:
  https://www.springframework.org/schema/webflow/spring-webflow-1.0.xsd ([https](https://www.springframework.org/schema/webflow/spring-webflow-1.0.xsd) result 404).

## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* http://static.springframework.org/spring-security/site/reference.html (301) with 2 occurrences migrated to:
  https://docs.spring.io/spring-security/site/reference.html ([https](https://static.springframework.org/spring-security/site/reference.html) result 200).
* http://static.springsource.org/spring/docs/2.5.x/reference/mvc.html (301) with 1 occurrences migrated to:
  https://docs.spring.io/spring/docs/2.5.x/reference/mvc.html ([https](https://static.springsource.org/spring/docs/2.5.x/reference/mvc.html) result 200).
* http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/expressions.html (301) with 1 occurrences migrated to:
  https://docs.spring.io/spring/docs/3.0.x/spring-framework-reference/html/expressions.html ([https](https://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/expressions.html) result 200).
* http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/index.html (301) with 1 occurrences migrated to:
  https://docs.spring.io/spring/docs/3.0.x/spring-framework-reference/html/index.html ([https](https://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/index.html) result 200).
* http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/mvc.html (301) with 1 occurrences migrated to:
  https://docs.spring.io/spring/docs/3.0.x/spring-framework-reference/html/mvc.html ([https](https://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/mvc.html) result 200).
* http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/validation.html (301) with 2 occurrences migrated to:
  https://docs.spring.io/spring/docs/3.0.x/spring-framework-reference/html/validation.html ([https](https://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/validation.html) result 200).
* http://en.wikipedia.org/wiki/Unified_Expression_Language with 1 occurrences migrated to:
  https://en.wikipedia.org/wiki/Unified_Expression_Language ([https](https://en.wikipedia.org/wiki/Unified_Expression_Language) result 200).
* http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd (301) with 2 occurrences migrated to:
  https://hibernate.org/dtd/hibernate-mapping-3.0.dtd ([https](https://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd) result 200).
* http://jira.spring.io with 1 occurrences migrated to:
  https://jira.spring.io ([https](https://jira.spring.io) result 200).
* http://primefaces.org/documentation.html with 1 occurrences migrated to:
  https://primefaces.org/documentation.html ([https](https://primefaces.org/documentation.html) result 200).
* http://search.maven.org with 1 occurrences migrated to:
  https://search.maven.org ([https](https://search.maven.org) result 200).
* http://tiles.apache.org/dtds/tiles-config_3_0.dtd with 1 occurrences migrated to:
  https://tiles.apache.org/dtds/tiles-config_3_0.dtd ([https](https://tiles.apache.org/dtds/tiles-config_3_0.dtd) result 200).
* http://www.springframework.org/schema/beans/spring-beans.xsd with 15 occurrences migrated to:
  https://www.springframework.org/schema/beans/spring-beans.xsd ([https](https://www.springframework.org/schema/beans/spring-beans.xsd) result 200).
* http://www.springframework.org/schema/faces/spring-faces.xsd with 4 occurrences migrated to:
  https://www.springframework.org/schema/faces/spring-faces.xsd ([https](https://www.springframework.org/schema/faces/spring-faces.xsd) result 200).
* http://www.springframework.org/schema/mvc/spring-mvc.xsd with 4 occurrences migrated to:
  https://www.springframework.org/schema/mvc/spring-mvc.xsd ([https](https://www.springframework.org/schema/mvc/spring-mvc.xsd) result 200).
* http://www.springframework.org/schema/webflow-config/spring-webflow-config.xsd with 6 occurrences migrated to:
  https://www.springframework.org/schema/webflow-config/spring-webflow-config.xsd ([https](https://www.springframework.org/schema/webflow-config/spring-webflow-config.xsd) result 200).
* http://www.springframework.org/schema/webflow/spring-webflow.xsd with 45 occurrences migrated to:
  https://www.springframework.org/schema/webflow/spring-webflow.xsd ([https](https://www.springframework.org/schema/webflow/spring-webflow.xsd) result 200).
* http://docs.spring.io/spring/docs/current/spring-framework-reference/html/expressions.html with 1 occurrences migrated to:
  https://docs.spring.io/spring/docs/current/spring-framework-reference/html/expressions.html ([https](https://docs.spring.io/spring/docs/current/spring-framework-reference/html/expressions.html) result 301).
* http://springframework.org with 1 occurrences migrated to:
  https://springframework.org ([https](https://springframework.org) result 301).
* http://www.docbook.org/xml/5.0/xsd/docbook.xsd with 16 occurrences migrated to:
  https://www.docbook.org/xml/5.0/xsd/docbook.xsd ([https](https://www.docbook.org/xml/5.0/xsd/docbook.xsd) result 301).
* http://www.docbook.org/xml/5.0/xsd/xlink.xsd with 15 occurrences migrated to:
  https://www.docbook.org/xml/5.0/xsd/xlink.xsd ([https](https://www.docbook.org/xml/5.0/xsd/xlink.xsd) result 301).
* http://java.sun.com/dtd/facelet-taglib_1_0.dtd with 1 occurrences migrated to:
  https://java.sun.com/dtd/facelet-taglib_1_0.dtd ([https](https://java.sun.com/dtd/facelet-taglib_1_0.dtd) result 302).
* http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd with 1 occurrences migrated to:
  https://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd ([https](https://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd) result 302).
* http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd with 1 occurrences migrated to:
  https://java.sun.com/xml/ns/persistence/persistence_1_0.xsd ([https](https://java.sun.com/xml/ns/persistence/persistence_1_0.xsd) result 302).
* http://repo.spring.io/snapshot with 1 occurrences migrated to:
  https://repo.spring.io/snapshot ([https](https://repo.spring.io/snapshot) result 302).
* http://www.paypal.com?_callbackUrl= with 1 occurrences migrated to:
  https://www.paypal.com?_callbackUrl= ([https](https://www.paypal.com?_callbackUrl=) result 302).

# Ignored
These URLs were intentionally ignored.

* http://docbook.org/ns/docbook with 32 occurrences
* http://java.sun.com/jsf/facelets with 2 occurrences
* http://java.sun.com/jsf/html with 2 occurrences
* http://java.sun.com/xml/ns/javaee with 2 occurrences
* http://java.sun.com/xml/ns/persistence with 2 occurrences
* http://localhost/app/hotels/booking?hotelId=1 with 1 occurrences
* http://www.springframework.org/schema/beans with 30 occurrences
* http://www.springframework.org/schema/faces with 8 occurrences
* http://www.springframework.org/schema/mvc with 8 occurrences
* http://www.springframework.org/schema/webflow with 96 occurrences
* http://www.springframework.org/schema/webflow-config with 12 occurrences
* http://www.springframework.org/security/tags with 2 occurrences
* http://www.springframework.org/security/tags&lt;/namespace&gt with 1 occurrences
* http://www.w3.org/1999/xhtml with 2 occurrences
* http://www.w3.org/1999/xlink with 30 occurrences
* http://www.w3.org/2001/XInclude with 31 occurrences
* http://www.w3.org/2001/XMLSchema-instance with 81 occurrences
* http://xmlns.jcp.org/xml/ns/persistence/orm with 2 occurrences
2019-06-04 08:39:26 -04:00
Spring Operator
8c76ad9e0b URL Cleanup
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# HTTP URLs that Could Not Be Fixed
These URLs were unable to be fixed. Please review them to see if they can be manually resolved.

* [ ] http://url.somewhereelse.com (200) with 2 occurrences could not be migrated:
   ([https](https://url.somewhereelse.com) result SSLHandshakeException).

# Fixed URLs

## Fixed But Review Recommended
These URLs were fixed, but the https status was not OK. However, the https status was the same as the http request or http redirected to an https URL, so they were migrated. Your review is recommended.

* [ ] http://progit.org/book/ch5-2.html (301) with 1 occurrences migrated to:
  https://progit.org/book/ch5-2.html ([https](https://progit.org/book/ch5-2.html) result SSLHandshakeException).
* [ ] http://&lt;host&gt;/ (UnknownHostException) with 2 occurrences migrated to:
  https://&lt;host&gt;/ ([https](https://&lt;host&gt;/) result UnknownHostException).
* [ ] http://someHost/someApp/someServlet/foo (UnknownHostException) with 1 occurrences migrated to:
  https://someHost/someApp/someServlet/foo ([https](https://someHost/someApp/someServlet/foo) result UnknownHostException).
* [ ] http://someHost/someApp/someServlet/nestedPath/bar (UnknownHostException) with 1 occurrences migrated to:
  https://someHost/someApp/someServlet/nestedPath/bar ([https](https://someHost/someApp/someServlet/nestedPath/bar) result UnknownHostException).
* [ ] http://someHost/someApp/someServlet/nestedPath/bar.html (UnknownHostException) with 1 occurrences migrated to:
  https://someHost/someApp/someServlet/nestedPath/bar.html ([https](https://someHost/someApp/someServlet/nestedPath/bar.html) result UnknownHostException).
* [ ] http://someHost/someApp/someServlet/nestedPath/foo (UnknownHostException) with 2 occurrences migrated to:
  https://someHost/someApp/someServlet/nestedPath/foo ([https](https://someHost/someApp/someServlet/nestedPath/foo) result UnknownHostException).
* [ ] http://someHost/someApp/someServlet/nestedPath/foo.html (UnknownHostException) with 2 occurrences migrated to:
  https://someHost/someApp/someServlet/nestedPath/foo.html ([https](https://someHost/someApp/someServlet/nestedPath/foo.html) result UnknownHostException).
* [ ] http://someOtherSystem?orderId= (UnknownHostException) with 2 occurrences migrated to:
  https://someOtherSystem?orderId= ([https](https://someOtherSystem?orderId=) result UnknownHostException).
* [ ] http://url.somewhere.com (UnknownHostException) with 2 occurrences migrated to:
  https://url.somewhere.com ([https](https://url.somewhere.com) result UnknownHostException).
* [ ] http://book.git-scm.com/4_interactive_rebasing.html (301) with 1 occurrences migrated to:
  https://book.git-scm.com/4_interactive_rebasing.html ([https](https://book.git-scm.com/4_interactive_rebasing.html) result 404).
* [ ] http://download.dojotoolkit.org/release- (301) with 1 occurrences migrated to:
  https://download.dojotoolkit.org/release- ([https](https://download.dojotoolkit.org/release-) result 404).
* [ ] http://help.github.com/send-pull-requests (404) with 2 occurrences migrated to:
  https://help.github.com/send-pull-requests ([https](https://help.github.com/send-pull-requests) result 404).
* [ ] http://svn.dojotoolkit.org/src/util/trunk/buildscripts/profiles/standard.profile.js (404) with 1 occurrences migrated to:
  https://svn.dojotoolkit.org/src/util/trunk/buildscripts/profiles/standard.profile.js ([https](https://svn.dojotoolkit.org/src/util/trunk/buildscripts/profiles/standard.profile.js) result 404).
* [ ] http://www.springframework.org/schema/webflow/spring-webflow-2.0.xsd (404) with 1 occurrences migrated to:
  https://www.springframework.org/schema/webflow/spring-webflow-2.0.xsd ([https](https://www.springframework.org/schema/webflow/spring-webflow-2.0.xsd) result 404).
* [ ] http://www.springframework.org/schema/webflow/spring-webflow-2.4.xsd (404) with 1 occurrences migrated to:
  https://www.springframework.org/schema/webflow/spring-webflow-2.4.xsd ([https](https://www.springframework.org/schema/webflow/spring-webflow-2.4.xsd) result 404).

## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* [ ] http://bugs.dojotoolkit.org/ticket/6849 with 1 occurrences migrated to:
  https://bugs.dojotoolkit.org/ticket/6849 ([https](https://bugs.dojotoolkit.org/ticket/6849) result 200).
* [ ] http://docs.spring.io/spring-webflow/docs/current/api/ with 1 occurrences migrated to:
  https://docs.spring.io/spring-webflow/docs/current/api/ ([https](https://docs.spring.io/spring-webflow/docs/current/api/) result 200).
* [ ] http://docs.spring.io/spring-webflow/docs/current/reference/html/ with 1 occurrences migrated to:
  https://docs.spring.io/spring-webflow/docs/current/reference/html/ ([https](https://docs.spring.io/spring-webflow/docs/current/reference/html/) result 200).
* [ ] http://static.springframework.org/spring-webflow/images/spring-webflow.jpg (301) with 1 occurrences migrated to:
  https://docs.spring.io/spring-webflow/images/spring-webflow.jpg ([https](https://static.springframework.org/spring-webflow/images/spring-webflow.jpg) result 200).
* [ ] http://projects.spring.io/spring-webflow/ with 1 occurrences migrated to:
  https://projects.spring.io/spring-webflow/ ([https](https://projects.spring.io/spring-webflow/) result 200).
* [ ] http://stackoverflow.com/questions/tagged/spring-webflow with 1 occurrences migrated to:
  https://stackoverflow.com/questions/tagged/spring-webflow ([https](https://stackoverflow.com/questions/tagged/spring-webflow) result 200).
* [ ] http://www.martinfowler.com/articles/mocksArentStubs.html with 2 occurrences migrated to:
  https://www.martinfowler.com/articles/mocksArentStubs.html ([https](https://www.martinfowler.com/articles/mocksArentStubs.html) result 200).
* [ ] http://www.springframework.org/schema/beans/spring-beans.xsd with 2 occurrences migrated to:
  https://www.springframework.org/schema/beans/spring-beans.xsd ([https](https://www.springframework.org/schema/beans/spring-beans.xsd) result 200).
* [ ] http://www.springframework.org/schema/tool/spring-tool-3.0.xsd with 1 occurrences migrated to:
  https://www.springframework.org/schema/tool/spring-tool-3.0.xsd ([https](https://www.springframework.org/schema/tool/spring-tool-3.0.xsd) result 200).
* [ ] http://www.springframework.org/schema/webflow/spring-webflow.xsd with 2 occurrences migrated to:
  https://www.springframework.org/schema/webflow/spring-webflow.xsd ([https](https://www.springframework.org/schema/webflow/spring-webflow.xsd) result 200).
* [ ] http://www.w3.org/XML/1998/namespace with 1 occurrences migrated to:
  https://www.w3.org/XML/1998/namespace ([https](https://www.w3.org/XML/1998/namespace) result 200).
* [ ] http://contributor-covenant.org with 1 occurrences migrated to:
  https://contributor-covenant.org ([https](https://contributor-covenant.org) result 301).
* [ ] http://contributor-covenant.org/version/1/3/0/ with 1 occurrences migrated to:
  https://contributor-covenant.org/version/1/3/0/ ([https](https://contributor-covenant.org/version/1/3/0/) result 301).
* [ ] http://forum.springsource.org/forumdisplay.php?36-Web-Flow (301) with 1 occurrences migrated to:
  https://forum.spring.io/forumdisplay.php?36-Web-Flow ([https](https://forum.springsource.org/forumdisplay.php?36-Web-Flow) result 301).
* [ ] http://jira.springsource.org/browse/SWF with 1 occurrences migrated to:
  https://jira.springsource.org/browse/SWF ([https](https://jira.springsource.org/browse/SWF) result 301).
* [ ] http://xml.apache.org/xalan with 1 occurrences migrated to:
  https://xml.apache.org/xalan ([https](https://xml.apache.org/xalan) result 301).
* [ ] http://java.sun.com/xml/jaxp/properties/schemaLanguage with 1 occurrences migrated to:
  https://java.sun.com/xml/jaxp/properties/schemaLanguage ([https](https://java.sun.com/xml/jaxp/properties/schemaLanguage) result 302).
* [ ] http://repo.spring.io/snapshot with 1 occurrences migrated to:
  https://repo.spring.io/snapshot ([https](https://repo.spring.io/snapshot) result 302).
* [ ] http://springsource.com/support/springsupport with 1 occurrences migrated to:
  https://springsource.com/support/springsupport ([https](https://springsource.com/support/springsupport) result 302).
* [ ] http://www.paypal.com with 4 occurrences migrated to:
  https://www.paypal.com ([https](https://www.paypal.com) result 302).
* [ ] http://www.paypal.com?_callbackUrl= with 1 occurrences migrated to:
  https://www.paypal.com?_callbackUrl= ([https](https://www.paypal.com?_callbackUrl=) result 302).

# Ignored
These URLs were intentionally ignored.

* http://localhost/springtravel/app/booking with 1 occurrences
* http://localhost/springtravel/app/flight/booking with 1 occurrences
* http://localhost/springtravel/app/hotel/booking with 1 occurrences
* http://localhost/springtravel/app/hotels/booking with 1 occurrences
* http://localhost/springtravel/app/hotels/booking?execution=e1s1 with 1 occurrences
* http://localhost/springtravel/hotels/booking.htm with 1 occurrences
* http://www.springframework.org/schema/beans with 4 occurrences
* http://www.springframework.org/schema/faces with 2 occurrences
* http://www.springframework.org/schema/tool with 2 occurrences
* http://www.springframework.org/schema/webflow with 39 occurrences
* http://www.springframework.org/schema/webflow-config with 2 occurrences
* http://www.springframework.org/schema/webflow/spring-webflow.xsd&quot;&gt with 1 occurrences
* http://www.w3.org/1999/XSL/Transform with 1 occurrences
* http://www.w3.org/2001/XMLSchema with 4 occurrences
* http://www.w3.org/2001/XMLSchema-instance with 2 occurrences
2019-06-04 08:37:31 -04:00
Rossen Stoyanchev
513dc2de7c Deprecate methods in JsfRuntimeInformation
Issue: SWF-1719
2018-02-09 12:45:30 -05:00
Rossen Stoyanchev
e2f0dd40f6 Remove MyFacesFlowResponseStateManager
After #3a165ea MyFacesFlowResponseStateManager no longer serves any
purpose and it seems to works without it.

Issue: SWF-1712
2018-02-09 12:38:18 -05:00
Rossen Stoyanchev
8298e638e3 Fix remaining spring-faces test warnings 2018-02-09 11:52:38 -05:00
Rossen Stoyanchev
2b69bcc8af FlowResourceHandler implements createViewResource
Also FlowResourceResolver is deprecated.

Issue: SWF-1719
2018-02-09 11:32:22 -05:00
Phillip Webb
cd69513461 Flow Resource Resolver
Issue: SWF-1719
2018-02-09 11:32:19 -05:00
Phillip Webb
5a1c854d27 Make isStateless return false
Issue: SWF-1719
2018-02-09 11:32:15 -05:00
Phillip Webb
81ac1b0dcf Attempt to migrate state management
Issue: SWF-1719
2018-02-09 11:32:11 -05:00
Phillip Webb
b77cf024e4 Cleanup MyFacesFlowResponseStateManager deprecations
Also use wrapper

Issue: SWF-1719
2018-02-09 11:31:48 -05:00
Phillip Webb
c6103fb74d Deprecations from ResponseStateManagerWrapper 2018-02-09 10:49:18 -05:00
Phillip Webb
2dbbb025eb Fix internal deprecation 2018-02-08 22:47:42 -08:00
Phillip Webb
ed5ec37737 Fix warnings 2018-02-08 22:46:49 -08:00
Rossen Stoyanchev
da6d1492c1 Fix warnings 2018-02-08 18:50:40 -05:00
Rossen Stoyanchev
6d5a8debd5 Polish
Remove:
- auto-boxing
- unnecessary array creation
- public keyword on interface methods
- unnecessary throws clauses

Use lambda expressions
2018-02-08 15:47:21 -05:00
Rossen Stoyanchev
d66c25ffd0 Use diamond operator
Issue: SWF-1718
2018-02-08 13:06:46 -05:00
Rossen Stoyanchev
0a618b0791 Streamline XML namespace support towards unversioned schemas
Issue: SWF-1701
2018-02-07 21:55:11 -05:00
Rossen Stoyanchev
3a165ea879 Remove dependency on internal MyFaces class
Issue: SWF-1712
2017-12-15 15:48:55 -05:00
Rossen Stoyanchev
9595f7f83c Improve one time only runtime check if MyFaces is in use
Issue: SWF-1705
2017-07-31 13:32:10 +02:00
Rossen Stoyanchev
ae193ac6f7 One time only runtime check if MyFaces is in use
Issue: SWF-1698
2017-05-25 14:57:04 -04:00
Rossen Stoyanchev
7ade1b8c81 Catch up with the latest Spring Framework 5 snapshot 2017-02-02 14:02:15 -05:00
Rossen Stoyanchev
f7a81e695b Fix Javadoc error 2017-01-06 17:36:14 -05:00
Rossen Stoyanchev
ac03032fd4 Purge deprecated classes
Issue: SWF-1694
2017-01-06 16:47:57 -05:00
Rossen Stoyanchev
4fb1b99a8b Dependency updates
Spring Security 4.1.0  -> 4.2.1
Commons Logging 1.1.1  -> 1.2
Log4j           1.7.22 -> 2.7
Servlet API     3.0.1  -> 3.1.0
Tiles           3.0.5  -> 3.0.7
JUnit           4.1.11 -> 4.1.12

Issue: SWF-1692
2017-01-06 16:47:19 -05:00
Rossen Stoyanchev
3a0857496e Remove remaining Portlet references
Issue: SWF-1692
2017-01-06 16:47:06 -05:00
Rossen Stoyanchev
5b0df65be4 Fold spring-js + spring-js-tiles3 into spring-webflow
Issue: SWF-1693
2017-01-06 16:46:46 -05:00
Rossen Stoyanchev
deeaeab894 Shortest path to tests running with Spring Framework 5
Upgrade to Java 8+

Remove Portlet, Tiles2, and Hibernate 3 + 4 support

Issue: SWF-1692
2017-01-06 16:44:58 -05:00
Rossen Stoyanchev
e3f220bbae Add Mojarra present checks
For cases where isMyFacesInUse cannot properly detect due to issues in
dependent libraries (e.g. Tomahawk) we also check if Mojarra is
even present to strengthen those checks.

Issue: SWF-1687
2016-06-24 09:42:12 -04:00
Rossen Stoyanchev
b8ab19a467 Also check if MyFaces in use at runtime
Issue: SWF-1670
2016-06-17 11:38:52 -04:00
Rossen Stoyanchev
e03a71f64b Polish JsfRuntimeInformation 2016-06-17 11:27:16 -04:00
Rossen Stoyanchev
1ae4db6240 Fix issue with JSF 2.0 compatibility
Issue: SWF-1684
2016-06-17 06:41:54 -04:00
Rossen Stoyanchev
8a177518fa Ensure redirect URL is encoded
Issue: SWF-1686
2016-06-16 17:31:56 -04:00
Rossen Stoyanchev
2aa99ec0d0 isPostback preserved across redirect before render
The JSF com.sun.faces.facelets.tag.jsf.ComponentSupport in 2.2.7
started using FacesContext#isPostBack to check if a new component
tree is being built prior to attempting to find a child component.

In Web Flow where we redirect prior to rendering, and hence lose
the value of isPostback (because ResponseStateManagerImpl no longer
finds the parameter with the view state), it causes components to
be re-created and lose their local values.

This change overrides isPostback in FlowFacesContext in order to
return true in cases where the UIViewRoot has been restored from
flash scope and is fully built.

Issue: SWF-1645
2015-08-06 15:59:41 -04:00
Rossen Stoyanchev
764e965dcc Remove dependency on CompositeComponentStackManager
Issue: SWF-1667
2015-08-06 15:58:12 -04:00
Rossen Stoyanchev
f860d9e17a Improve isMyFacesInUse check
The check now accounts for the possibility of a FacesContextFactory
being wrapped.

Issue: SWF-1650
2015-08-06 15:51:05 -04:00