Would it be possible to invoke a client-side javascript from caf webMethods java bean?
I have a simple script in the Script Block what I want to execute programatically from java bean.
The aim of this solution, I want to know the window.name property in managed bean.
(webMethods 8.2, JSF 1.2)
I know there is a Client-Side Event property of Async Command Button, but currently it is not an option to use it.
Not really. The server can’t execute code directly in the browser without some intermediary.
Generally this type of problem would require an additional round trip to the server. In other words, the client browser would have to retrieve the window.name value with some javascript and then post that information in another request to a handler on the server which would then do something with it.