Hi Chris.
Check out the contrib PopupLinkRenderer.
You can supply one of these to GenericLink etc.
<bean class="org.apache.tapestry.contrib.link.PopupLinkRenderer"
name="patientListLinkRenderer">
<set-property name="windowName" expression="'patientList'"/>
<set-property name="features"
expression="'top=100,left=100,width=330,height=400,scrollbars=yes,resizable=no'"/>
</bean>
<component id="patientLink" type="ExternalLink">
<binding name="page" expression="'PatientList'"/>
<binding name="parameters" expression="{protocolId, hospProtoId}"/>
<binding name="renderer" expression="beans.patientListLinkRenderer"/>
</component>
Cheers,
Nick.
Chris Chiappone wrote:
I basically need a GenericLink using a javascrip function:
<a jwcid="@GenericLink" href="javascript:showPopup('MyPageName', 480, 4800">
How do I get 'MyPageName' as the parameter?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]