David
From: "Edgar P. Dollin" <[EMAIL PROTECTED]> Reply-To: <[EMAIL PROTECTED]> To: "'Struts Developers List'" <[EMAIL PROTECTED]> Subject: RE: Some taglibs are missing a few common attributes. Date: Wed, 5 Mar 2003 11:05:13 -0500
Unfortunately, you can't use <bean:message> as the value of an attribute. Are you suggesting that the user does
<c:set var="titlevalue"> <bean:message key="my.title bundle="mybundle" /> </c:set> <html-el:text property="mypro" title="${titlevalue}" />
That seems a little disconcerting.
Edgar
> -----Original Message----- > From: David Graham [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 05, 2003 9:41 AM > To: '[EMAIL PROTECTED]' > Subject: Re: Some taglibs are missing a few common attributes. > > > 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" <[EMAIL PROTECTED]> > >Reply-To: "Struts Developers List" <[EMAIL PROTECTED]> > >To: "Struts Developers List" <[EMAIL PROTECTED]> > >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: [EMAIL PROTECTED] > >For additional commands, e-mail: [EMAIL PROTECTED] > > > _________________________________________________________________ > STOP MORE SPAM with the new MSN 8 and get 2 months FREE* > http://join.msn.com/?page=features/junkmail > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]