Re: Pop up window!
kris khan <[email protected]>
| Newsgroups | gmane.comp.java.tapestry.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi All, Thanks for the info and i am looking into doing the popup by replicating the set of code and then once the component is included in future release i will use that as a button. In order to generate the onclick value is it ok to use the external service or is there any other way that i could set the parameter for the page? Regds Kris Malcolm Edgar <[email protected]> wrote:There is a PopupLink component in next release which does what you are after. If you cant wait or really want a button: 1. Uses the PopupLink code in cvs as your starting point: /Tapestry/contrib/src/net/sf/contrib/tapestry/popup/ Apply the old Cut & Paste design pattern. 2. Replace tag with a Button component 3. Use one of the Services to generate your URL, possibly the ExternalService as will pass initialization parameters to your target Page. regards Malcolm >From: kris khan >To: [email protected] >Subject: [Tapestry-developer] Pop up window! >Date: Fri, 29 Nov 2002 16:33:24 +1100 (EST) > > >Hi, > >I would like to know how to create a button component where i can specify a >pop up window along. The page that gets displayed on the window needs to >have certain values to be set before been loaded. Can someone show how this >can be done > >Thanks > > > >--------------------------------- >Yahoo! Hint Dropper >- Avoid getting hideous gifts this Christmas with Yahoo! Hint Dropper! _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 --------------------------------- Yahoo! Hint Dropper - Avoid getting hideous gifts this Christmas with Yahoo! Hint Dropper!