I’d like to open a new browser window, with everything hidden. Also I’d like to know that the user has initiated the action and record in the backend using JSF.
From reading internet, it looks like I can use window.open but then JSF is totally bypassed. Also I’d like to pass a value of a bean into the javascript as well.
Is this a pipe dream ? Can I do it with JSF 1.2 ? Thanks
You could just pass it as a request parameter on the URL.
You could make
fooparameter a managed property of the bean associated with the popup page.E.g.
with
(the
@PostConstructmethod is invoked after bean’s construction and managed propery injection)