tapestry-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Inge Solvoll <tapes...@ingenett.com>
Subject Re: Need combination of PopupLink and ExternalLink
Date Fri, 02 Sep 2005 06:53:11 GMT
Thanks a lot, this tip saved me a lot of work!! I also extracted some 
other (to me) new knowledge about tapestry from your code sample, so 
this was great help.

Inge :)

Nick Westgate wrote:
> Hi Inge.
> 
> In your .page spec, use an ExternalLink and provide a PopupLinkRenderer.
> 
>     <component id="recordDetailLink" type="ExternalLink">
>         <binding name="page" expression="'RecordDetail'"/>
>         <binding name="parameters" expression="{patientId, record.id}"/>
>         <binding name="renderer" 
> expression="beans.recordDetailLinkRenderer"/>
>     </component>
>     <bean class="org.apache.tapestry.contrib.link.PopupLinkRenderer" 
> name="recordDetailLinkRenderer">
>         <set-property name="windowName" expression="'recordDetail'"/>
>         <set-property name="features" expression="'top=100,left=100'"/>
>     </bean>
> 
> Cheers,
> Nick.
> 
> 
> Inge Solvoll wrote:
> 
>> I need to implement a popup window called by javascript. It will be a 
>> dialog box in my application. In this window, I want to load a page 
>> that implements IExternalPage. From what I've seen so far, it looks 
>> like I will have to implement a combination of ExternalLink and 
>> PopupLink myself. Or are there other alternatives?
>>
>> Thanks
>>
>> Inge
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> 
> 
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Mime
View raw message