struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Graham <grahamdavid1...@yahoo.com>
Subject Re: request for feedback on proposed parameter tag
Date Wed, 20 Aug 2003 20:41:35 GMT
--- Dave Johnson <snoopster64@yahoo.com> wrote:
> 
> Absolutely, there is interest.
> 
> Being able to specify requests parameters without
> needing to create a map would be a wonderful thing.
> Every developer that I have introduced to Struts
> requests this very same thing.
> 
> Instead of instructing developers to use a non-standard
> map creation tag (as Martin suggested), or introducing a
> JSTL dependency (as David suggested), why not make this
> minor enhancement and make the existing <html:link> tag
> easier to use?

Because this is already provided by the *standard* taglib and Struts
should be focused on providing things the standard doesn't.  Struts
already has mechanisms to construct urls with parameters.  Extending the
standard tags to support Struts features is *much* more worthwhile than
duplicating the standard tags.

David

> 
> Struts newbies everywhere will be thanking you (by complaining
> about other Struts shortcomings rather than this one).
> 
> - Dave
> 
> 
> 
> David Graham wrote:
> > The JSTL already provides this functionality and the current Struts
> > workarounds seem fine to me.  Instead of duplicating standard tags in
> > Struts we could subclass <c:url> to allow looking up Struts actions
> and
> > other relevant functionality <html:link> provides.
> > 
> > David
> > 
> > --- Joe Germuska <Joe@Germuska.com> wrote:
> > 
> >>Has anyone done anything about this:
> >>
> >>Chris Bare wrote:
> >>
> >>>Is there any interest in a ParameterTag that would
> >>>allow parameters to be added to the URL generated by
> >>>LinkTag? Something that would allow you to do create
> >>>links like so:
> >>
> >>(from 2003-07-03, see 
> >>http://marc.theaimsgroup.com/?l=struts-dev&m=105726259312808&w=2)
> >>
> >>Craig indicated that he thought it made sense 
> >>http://marc.theaimsgroup.com/?l=struts-dev&m=105726389314243&w=2
> >>
> >>This issue has come up twice this morning with developers here.  I'm 
> >>just wondering if anyone has actually written the code (Chris?)
> >>
> >>Joe
> >>-- 
> >>--
> >>Joe Germuska            
> >>Joe@Germuska.com  
> >>http://blog.germuska.com    
> >>"If nature worked that way, the universe would crash all the time." 
> >>	--Jaron Lanier
> >>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
> >>For additional commands, e-mail: struts-dev-help@jakarta.apache.org
> >>
> > 
> > 
> > 
> > __________________________________
> > Do you Yahoo!?
> > Yahoo! SiteBuilder - Free, easy-to-use web site design software
> > http://sitebuilder.yahoo.com
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-dev-help@jakarta.apache.org
> 


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

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


Mime
View raw message