Description
Code
web.xml:
<context-param> <param-name>jakarta.faces.CLIENT_WINDOW_MODE</param-name> <param-value>url</param-value> </context-param>
facelet' script:
var clientWindowId = faces.getClientWindow(document.forms[0]);
When faces.getClientWindow is called, it returns null when it should return the client id instead.
The older JS looks to retrieve the id from the this element (client is not part of the URL on the first request):
<input type="hidden" id="j_id__v_0:jakarta.faces.ClientWindow:1" name="jakarta.faces.ClientWindow" value="-tw96zi9et">
Attachments
Issue Links
- links to