Should be the same but I have not tried it!

Anyone else?

2009/10/2 Angelo Chen <angelochen...@yahoo.com.hk>:
>
> Looks like I made a mistake, so you return the page that you want to show in
> the pop up window from onActivate, not onActionFromLaunch,
>
> so how you handle onActionFromLaunch?
>
>
> oakstair wrote:
>>
>> Hi!
>>
>> Not sure if it helps but this worked for me ...
>>
>>             <t:actionlink t:id="launch" style="background-image: none"
>> context="[game.code, true]" target="casino"
>>
>> onclick="window.open('','casino','width=640,height=470');">
>>                  ${gameImagePath}
>>             </t:actionlink>
>>
>> I..e. an action link and then return the page you want to open up from
>> your
>> action method.
>>
>> Gunnar
>>
>> 2009/10/2 Benny Law <benny.mk....@gmail.com>
>>
>>> This may not be the best solution, but you could create an empty (and
>>> invisible) pagelink like   page='mypage'>
>>> and reference its href with $('mylink').href when opening the popup. You
>>> might also want to consider using simulated popups like Prototype Window
>>> (
>>> http://prototype-window.xilinus.com).
>>>
>>> Benny
>>>
>>> On Fri, Oct 2, 2009 at 12:10 AM, Angelo Chen <angelochen...@yahoo.com.hk
>>> >wrote:
>>>
>>> >
>>> > Hi,
>>> > I use following to open a pagelink page in another window:
>>> >
>>> > details
>>> >
>>> > Now I'd like to make it a popup, so I'm thinking of using:
>>> >
>>> >  window.open(href, windowname, 'width=400,height=200,scrollbars=yes');
>>> >
>>> > now, how to specify the pagelink in href field of window.open?
>>> >
>>> > Thanks
>>> > --
>>> > View this message in context:
>>> >
>>> http://www.nabble.com/t5%3A-popup-window-and-pagelink-tp25710259p25710259.html
>>> > Sent from the Tapestry - User mailing list archive at Nabble.com.
>>> >
>>> >
>>> > ---------------------------------------------------------------------
>>> > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>>> > For additional commands, e-mail: users-h...@tapestry.apache.org
>>> >
>>> >
>>>
>>
>>
>>
>> --
>> [Hem: 08-715 59 57, Mobil: 0708-52 62 90]
>> Allévägen 2A, 132 42 Saltsjö-Boo
>>
>>
>
> --
> View this message in context: 
> http://www.nabble.com/t5%3A-popup-window-and-pagelink-tp25710259p25712795.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>



-- 
[Hem: 08-715 59 57, Mobil: 0708-52 62 90]
Allévägen 2A, 132 42 Saltsjö-Boo

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to