mojarra
mojarra copied to clipboard
All Facelet view are appended a jfwid param when ClientWindowScoped is enabled
trafficstars
Environment:
- Windows 10 Pro
- Java 21
- GlassFish v7.10
When I created a @ClientWindowScoped bean/view example, and navigate back to other views.
I found all Facelets views are appendded a jfwid param like the @ClientWindowScoped bean/view. The view used ajax in XHTML format is not affected, such as https://github.com/hantsy/jakartaee10-sandbox/blob/master/faces/src/main/webapp/hello.xhtml#L25.
Check example project: https://github.com/hantsy/jakartaee10-sandbox/tree/master/faces
- Run the application:
mvn clean package cargo:run - Open a browser and navigate to http://localhost:8080/faces-examples/chat, try to add some messages.
- Then navigate to http://localhost:8080/faces-examples/hello-facelet.xhtml, try to add some messages. The
jfwidparam will be appended to URL.
Any volunteer to reassess the spec and prep a PR and/or IT?