You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Daniel Temme <d....@gmx.net> on 2001/11/13 18:05:04 UTC
html:link using bean parameters (was: DO NOT REPLY [Bug 4836] New: - org/apache/struts/util/LocalStrings message format wrong)
Hi,
> parameters.multi. When specifying a name attribute for <html:link>
> that doesn't resolve to a Map you'll get an IllegalArgumentException in
> java.text.MessageFormat instead of the actual error message.
while I'm at it... The reason that I actually stumbled across this was that I
was trying to append the properties of a bean to the link parameters.
Now I'm curious whether it would be possible to extend the functionality of
RequestUtils to also handle this case.
I've attached a diff that should illustrate this and so far seems to work for
me. (Although I'm not sure about the exception handling.)
Have a nice day
Daniel Temme