You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by stephen smithstone <sk...@lchost.co.uk> on 2004/04/01 14:58:27 UTC

Popup window's

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

Cheers

Stephen


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


Re: Popup window's

Posted by stephen smithstone <sk...@lchost.co.uk>.
cheers i will give it a try
On 1 Apr 2004, at 14:43, Dmitry I. Zubarovsky wrote:

> 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
>
>


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


Re: Popup window's

Posted by "Dmitry I. Zubarovsky" <au...@rambler.ru>.
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