hi all,
i have a problem with passing parameters to window.open; i've searched this
forum , i saw resolvings but non works for me; let me show you my context of
problem:
i have a jsf page with a commandLink:
<t:commandLink action="#{MB1.showSottoscritori}"
onclick="popupSottoscritori()" >
<t:outputText value="Sottoscritori" />
</t:commandLink>
with :
function popupSottoscritori()
{
var wnd =
window.open('/BCO/sottoscritori_jsf.faces','','left=220,top=300,width=600,height=250,scrollbars=1,status=1,toolbar=0,resizable=0,menubar=0');
wnd.focus();
}
the page with the commanLink has a managed bean MB1, and window.open page
has MB2
first i don't want the somepage.jsp?param=value because my values are
private...are not to be seen; so i want to use post not get method
i've tried putting the parameters in request in MB1 function
action="#{MB1.showSottoscritori}" and get in the popup page the params from
request: all are null;
i've tried to user MB2 as a session bean to set the params in MB2 in the
page with the action and then in window.open page to get them from MB2 ; all
values are null
i tried to use updateActionListerer....to update the MB2 values but all are
null;
does anyone have an ideea how to pass parameters from a page to window.open
page but with backing beans ?
please help,
Viorel
--
View this message in context:
http://www.nabble.com/passing-parameters-to-window.open-tf2651022.html#a7397965
Sent from the MyFaces - Users mailing list archive at Nabble.com.