mojarra icon indicating copy to clipboard operation
mojarra copied to clipboard

All Facelet view are appended a jfwid param when ClientWindowScoped is enabled

Open hantsy opened this issue 1 year ago • 1 comments
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 jfwid param will be appended to URL.

hantsy avatar Nov 26 '23 03:11 hantsy

Any volunteer to reassess the spec and prep a PR and/or IT?

BalusC avatar Sep 16 '24 17:09 BalusC