There is an easy trick:


Define all your buttons in your global.properties starting with word ‘*dojo*’
like this:



dojo.btn.eliminar=Borrar

dojo.btn.editar=Editar

dojo.btn.inscripcion=Inscribirse

dojo.btn.buscar=Buscar





That way you avoid ParametersInterceptor to search for unimplemented setters
as a result of the excludeParams configuration parameter:



<interceptor-ref name="params">

<param name="excludeParams">dojo\..*,^struts\..*</param>

</interceptor-ref>



Hope this helps!


2010/11/30 webmeiker <i...@webmeiker.com>

> It doesn’t work…
>
> Neither putting ‘btn.search=Search’ in: my-global-messages.properties,
> package.properties, my-action.properties
>
>
>
> ¿?¿?
>
>
> 2010/11/29 M. Rakowski <matth...@rakowski.biz>
>
>
>> i have exactly the same problem:
>>
>> <s:text name="event.name"/>
>>
>> with event.name set in the package.properties file: works ok.
>>
>> <s:submit key="button.create">
>>
>> with button.create set in the same .properties-file
>> causes exception.
>>
>> Suggestion:
>> It works only if you use ActionClassName.properties file
>> instead of package.properties?
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
>> For additional commands, e-mail: user-h...@struts.apache.org
>>
>>
>
>
> --
>
>
>


--

Reply via email to