struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Graham" <dgraham1...@hotmail.com>
Subject Re: Some taglibs are missing a few common attributes.
Date Wed, 05 Mar 2003 14:40:37 GMT
I definitely don't think we should support replacement args because then the 
html tags turn into messaging tags.  A bundle attribute might be nice but 
the bean:message or preferably fmt:message tags are more flexible.

David



>From: "James Mitchell" <jmitchell@apache.org>
>Reply-To: "Struts Developers List" <struts-dev@jakarta.apache.org>
>To: "Struts Developers List" <struts-dev@jakarta.apache.org>
>Subject: Some taglibs are missing a few common attributes.
>Date: Wed, 5 Mar 2003 06:04:08 -0500
>
>
>We allow titleKey for the html:frame, altKey and titleKey for
>html:button, and a few others, but do not allow a way to specify the
>bundle or args.
>
>Besides the obvious...
>
>  <bean:define id="myMessage">
>	<bean:message key="my.title"/>
>  <bean:define>
>
>  <html:sometag title="<%=myMessage%>"/>
>
>...work-around, I'm wondering if we should add this.
>
>
>I think we shouldn't.  I think the work-around is a much more flexible
>and generally better solution given the options available with
>bean:message.
>
>Your thoughts?
>
>
>--
>James Mitchell
>Web Developer/Struts Evangelist
>http://jakarta.apache.org/struts/
>
>"People demand freedom of speech to make up for the freedom of thought
>which they avoid."
>     - Soren Aabye Kierkegaard (1813-1855)
>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: struts-dev-help@jakarta.apache.org


_________________________________________________________________
STOP MORE SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail


---------------------------------------------------------------------
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