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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to