struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From (David M. Karr)
Subject Re: Some taglibs are missing a few common attributes.
Date Wed, 05 Mar 2003 14:23:04 GMT
>>>>> "James" == James Mitchell <> writes:

    James> We allow titleKey for the html:frame, altKey and titleKey for
    James> html:button, and a few others, but do not allow a way to specify the
    James> bundle or args.  

    James> Besides the obvious...

    James>  <bean:define id="myMessage">
    James> 	<bean:message key="my.title"/>
    James>  <bean:define>

    James>  <html:sometag title="<%=myMessage%>"/>

    James>, I'm wondering if we should add this.

    James> I think we shouldn't.  I think the work-around is a much more flexible
    James> and generally better solution given the options available with
    James> bean:message.

    James> Your thoughts?

If I understand this correctly, it's certainly possible to do it with
bean:message, but it would make the resulting JSP code less maintainable (many
more lines of code).  It might be worthwhile examining exactly which tags and
attributes we're looking at changing if we added this.

David M. Karr          ; Java/J2EE/XML/Unix/C++   ; SCJP; SCWCD

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message