DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21134>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21134

LookupDispatchAction: Method map doesnt work for button labels with padded spaces





------- Additional Comments From [EMAIL PROTECTED]  2003-06-29 06:42 -------
Having read Ajay's comments of 6/27 I now understand that the issue is not
*wanting* to add whitespace, but doing so inadvertently.  In that case...

Is it reasonable for LookupDispatchAction to have default method by overriding
unspecified()? If so, then it would be difficult to improve the error message as
this is generated by the unspecified method in DispatchAction. 

If it's not reasonable to have a default method then we could generate the error
at the end of LookupDispatchAction's execute method if the key is null (not
found) instead of calling dispatchMethod(). 

An alternative solution would be to just trim the text value retrieved from the
resources file before use. This is easiest of all solutions but I'm not entirely
happy that it silently corrects the configuration error in the resources file.
Does that matter?

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to