Re: Pop up window!
"Joseph Panico" <[email protected]>
| Newsgroups | gmane.comp.java.tapestry.devel |
|---|---|
| Message-ID | <[email protected]> |
Malcolm, >This component is good for referencing static links like HTML help I think what Howard is saying is that by using the GenericLink, we can have a Pop component that serves static and dynamic urls equally. This has the virtue that we only introduce 1 component. I hadn't thought of implementing the Pop as a wrapper component (I'd never looked at the Rollover before) but it sounds like a good idea. regards, Joseph Panico [email protected] >From: "Malcolm Edgar" <[email protected]> >To: [email protected], [email protected] >Subject: Re: [Tapestry-developer] Pop up window! >Date: Sun, 01 Dec 2002 13:48:08 +0800 > >The string quotes is to stop OGNL throwing a fit, the JavaScript code >quotes the string passed through in the popup.script. > >This component is good for referencing static links like HTML help files, >you arguably could use an Asset but it seems hardly worth the effort. I >think this component fills its niece pretty well. > >I think another component 'PopupServiceLink' would be good for opening new >Tapestry page windows. > > >>From: "Howard M. Lewis Ship" <[email protected]> >>To: "Malcolm Edgar" >><[email protected]>,<[email protected]> >>Subject: Re: [Tapestry-developer] Pop up window! >>Date: Sun, 29 Dec 2002 21:25:52 -0500 >> >>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 > > >_________________________________________________________________ >Get a speedy connection with MSN Broadband. Join now! >http://resourcecenter.msn.com/access/plans/freeactivation.asp > > > >------------------------------------------------------- >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 _________________________________________________________________ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf