Re: Action[/UpdateDeleteColecao] missing resource 'button.delete' in key method map

2005-08-22 Thread Michael Jouravlev
Seems to me that you do not really understand what LookupDispatchAction is for and how does it work. Do you have property file that maps button caption to "button.add" property name? Well, even if you do, you do not have to use LookupDispatchAction, because you use a link. Use standard DispathActi

Re: Action[/UpdateDeleteColecao] missing resource 'button.delete' in key method map

2005-08-22 Thread Letícia Álvares Barbalho
Wendy, thank you a lot for the help I ended up solving the problem using smart forwarding... it seemed a little better (and I must say, it worked faster hehe) anyways, I'll try the solution you gave so I'll know it the next time thank you On 8/22/05, Wendy Smoak <[EMAIL PROTECTED]> wrote: > > >

Re: Action[/UpdateDeleteColecao] missing resource 'button.delete' in key method map

2005-08-22 Thread Wendy Smoak
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() { document.addColecaoForm.action="/AugeProducao/UpdateDeleteColecao.do?method= button.add"; documen

Re: Action[/UpdateDeleteColecao] missing resource 'button.delete' in key method map

2005-08-22 Thread Letícia Álvares Barbalho
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 me. It happens that I am not using html:submit buttons to call the dispat

Re: Action[/UpdateDeleteColecao] missing resource 'button.delete' in key method map

2005-08-22 Thread Wendy Smoak
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 ApplicationResources.properties. W

Action[/UpdateDeleteColecao] missing resource 'button.delete' in key method map

2005-08-22 Thread Letícia Álvares Barbalho
Hey guys, how's everything? 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... my jsp is like this: <%@ taglib uri="/tags/struts-bean" prefix="bean" %> <%@ taglib uri="/tags/struts-html" prefix="html" %> <%@ taglib