posted 19 years ago
In page1.jsp I need to have <h:outputText value="handler.messageForKey" />
And page1.jsp is loaded via a javascript. So before page1 is loaded handler.key needs to be set so that the correct message is returned above. In the javascript I have access to key value, but I dont know where or how to bind it to handler.key, the key value is just a text in the html.
One way I was thinking was to pass the value as a request parameter to page1.jsp, but I still dont know how to use this to bind it to handler.key before the getMessageForKey is called.
Any ideas?
[ August 26, 2005: Message edited by: seb petterson ]