How can we open new window from xhtml other than using javascript right now I am using js to open the window wherein i have to give application context name for opening.
I am working in Liferay and orbeon portlets current code var s= window.open ('/orbeon/mint-services/new-mail-interaction' , '_blank','toolbar=no,menubar=no,width=850,height=675,resizable=0,status=0,scrollbars=1'); Thanks in advance, Vinith gowda. |
> How can we open new window from xhtml other than using javascript
Try using the xforms:load Element: http://www.w3.org/TR/xforms11/#action-load> right now I > am using js to open the window wherein i have to give application > context > name for opening. > > I am working in Liferay and orbeon portlets > > current code > > var s= window.open ('/orbeon/mint-services/new-mail-interaction' , > '_blank > ','toolbar > = > no > ,menubar=no,width=850,height=675,resizable=0,status=0,scrollbars=1'); For example, <xforms:load resource="/orbeon/mint-services/new-mail- interaction" show="new" /> Regards -Markku -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Thanks alot,
|
In reply to this post by Markku Laine
Hi,
Earlier I was also setting some parameters for opening new window var s = window.open('/orbeon/mint-services/open-interaction?openinteraction='+interactionid+'&openinteractiontype='+interactiontype+'&actorname='+remoteuserid+'&language='+language, '_blank','status=0,toolbar=no,menubar=no,width=850,height=675,resizable=0,scrollbars=1'); How can I achieve it in this approach <xforms:load resource="/orbeon/mint-services/new-mail- interaction" show="new" /> Thanks in advance, Vinith.
|
In reply to this post by Vinith Gowda1
Solution to open new window with parameters
Use <xforms:action ev:event="DOMActivate"> <xforms:setvalue ref="instance(vinith-instance')/vinith">VINITH</xforms:setvalue> <xforms:load resource="/path/?openinteractiontype=Email&conversationid=12&uNmae={instance(vinith-instance')/vinith}" show="new" /> </xforms:action> Thanks for all the help Thread ENDS
|
Free forum by Nabble | Edit this page |