Thanks Nick. I found another alternative under "Popup a Tapestry page in a new window?" Thread using GenericLink. Both of them can popup with external link but can I have a listener event to have a routine for some checking? Thanks.
regards awyne --- Nick Westgate <[EMAIL PROTECTED]> wrote: > Use PopupLinkRenderer, as mentioned in the other > popup thread. > In T3 I use it like this: > > <component id="someLink" type="ExternalLink"> > <binding name="page" > expression="'SomePage'"/> > <binding name="parameters" > expression="{'parameter_1'}"/> > <binding name="renderer" > expression="beans.popupLinkRenderer"/> > </component> > ... > <bean name="popupLinkRenderer" > class="org.apache.tapestry.contrib.link.PopupLinkRenderer"> > <set-property name="windowName" > expression="'Title'"/> > <set-property name="features" > expression="'top=10,left=10,width=830,height=700,scrollbars=yes,resizable=yes'"/> > </bean> > > Cheers, > Nick. > > > wong wayne wrote: > > Dear All > > > > Is any way to popup a window and loading a > external > > page with Popup Link? Popup link works fine when > refer > > to a page within same project but cannot display > > properly (blank) when referring a external link. > > > > Here are my coding > > > > html > > > > <td style="padding: 4px 0px 0px 0px;"><a jwcid > > ="_popupLink_payment"><img jwcid="cartImage" > > src="images/b_addcart.gif" name="b_addcart" > > width="113" height="23" border="0" > > id="b_addcart"/></a></td> > > > > page > > component id="_popupLink_payment" > > type="contrib:PopupLink"> > > binding name="url" expression="getPaymentLink()"/> > > binding name="href" > expression="getPaymentLink()"/> > > binding name="height" expression="400"/> > > binding name="width" expression="850"/> > > binding name="features" > > > expression='"top=200,left=100,resizable=no,scrollbars=yes"'/> > > <binding name="windowName" expression="'Shopping > > Cart'"/> > > binding name="disabled" expression="soldOut"/> > > /component> > > > > java > > private String getPaymentLink(){ > > return paymentHost() + > getStringPaymentParameter();} > > > > I found a solution at > > http://wiki.apache.org/tapestry/PopupLinkSubmit > but it > > seems for Tapestry 4.0+, what I'm using is 3.0.3. > > Upgrade is not available for this case, any hints > > would be appreciate, thanks. > > > > regards > > > > wayne > > > > __________________________________________________ > > Do You Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam > protection around > > http://mail.yahoo.com > > > > > --------------------------------------------------------------------- > > 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] > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]