Who put PopupLink in? I was a little dissapointed in what I saw of it ... You can specify features (good), but have to provide the outer quotes (!!!) Surely the component can take a simple string as input and put the necessary quotes around it as it renders the HTML .... you can do that easily just using OGNL, or a tiny bit of Java code, even if features is optional.
Being able to specify a URL is neat; however, it would be really useful if you could use it in combination with the existing link components. It should be possible to do this, by getting the current Link from the RequestCycle and addining an onclick event handler to it. Take a peek at how Rollover interacts with the link that surrounds it. I think this is a useful component that will be used frequently, but needs to be kicked up a notch to be in the same league as the other contributed components. ----- Original Message ----- From: "Malcolm Edgar" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, November 29, 2002 2:54 PM Subject: Re: [Tapestry-developer] Pop up window! > 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 <a> 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 <[EMAIL PROTECTED]> > >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 > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Get the new Palm Tungsten T > handheld. Power & Color in a compact size! > http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en > _______________________________________________ > Tapestry-developer mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/tapestry-developer > ------------------------------------------------------- This SF.net email is sponsored by: Get the new Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en _______________________________________________ Tapestry-developer mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/tapestry-developer
