tapestry-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitry I. Zubarovsky" <au...@rambler.ru>
Subject Re: Popup window's
Date Thu, 01 Apr 2004 13:43:21 GMT
Hello stephen!

you can use such code in your .page (assuming you use Border component)

PageName - name for page to open
yourapp - your application name

<component id="linkOpenPopup" type="Any">
        <static-binding name="href" value="#"/>
        <binding name="onClick" >
                'javascript:openWin("/yourapp/app?service=direct/1/Service/border.pageLink&amp;sp=SPageName",'+
                '"test",'+
                ' "resizable=no,scrollbars,top=100,left=100,height=600,width=530")'
        </binding>
</component>

in .html

<a jwcid="linkOpenPopup"/a>

Hope this helps

Dima

ss> I need to create a popup window from my page which goes to a tapestry 
ss> url and not a normal address how is this done
ss> looking at the contrib:PopupLink you can only specify the href and not 
ss> a tapestry page

ss> Cheers

ss> Stephen


ss> ---------------------------------------------------------------------
ss> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
ss> 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