struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Letícia Álvares Barbalho <>
Subject Re: Action[/UpdateDeleteColecao] missing resource 'button.delete' in key method map
Date Mon, 22 Aug 2005 18:52:59 GMT
Well, I should be embarrassed by now. Actually, you're 100% correct: 
something is sending literally 'button.delete' as the value of method param, 
instead of the value from the .properties file. And this something would be 

It happens that I am not using html:submit buttons to call the dispatch 
action. Instead of it, I'm trying to use links, like this:

<a href="javascript:void(0);" onclick="javascript:dispatchIt();" 
property="method"> <bean:message key="button.add"/></a>

Well, if it worked like the html:button, it would send the method with the 
value from the bean. But it obviously doesn't. So, I put this js function to 
be called onclick:

function dispatchIt()

And that's causing the error. So, if the property=method doesn't work, and 
passing it literally doesn't work... that means I cannot use links to submit 
the form? Or am I doing it totally wrong?

Sorry, thanks.

On 8/22/05, Wendy Smoak <> wrote:
> > I'm trying to call a LookupDispatchAction from a link, and I'm getting
> > the error above. I'd like you to help me find the reason...
> It looks like something is sending (literally) 'button.delete' as the 
> value
> of the 'method' param, instead of using value from
> What HTML does this turn into?
> > <html:submit property="method">
> > <bean:message key="button.delete"/>
> > </html:submit>
> Assuming your properties file is in place and properly configured, that
> should work.
> --
> Wendy Smoak
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

Letícia Álvares Barbalho

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message