Re: Regardind configuration in server.xml

2006-05-25 Thread Miguel Galves
sure On 5/25/06, Monkeyden <[EMAIL PROTECTED]> wrote: I assume you have at the top of your class: package utilities; On 5/25/06, Miguel Galves <[EMAIL PROTECTED]> wrote: > > Thats what it seemed to meso I wrote the following code > > public class MyTilesRequestProcessor extends Tiles

Re: Regardind configuration in server.xml

2006-05-25 Thread Monkeyden
I assume you have at the top of your class: package utilities; On 5/25/06, Miguel Galves <[EMAIL PROTECTED]> wrote: Thats what it seemed to meso I wrote the following code public class MyTilesRequestProcessor extends TilesRequestProcessor { public void process(HttpServletRequest requ

Re: Regardind configuration in server.xml

2006-05-25 Thread Miguel Galves
Thats what it seemed to meso I wrote the following code public class MyTilesRequestProcessor extends TilesRequestProcessor { public void process(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException { ... } public void setTeste(String

Re: Regardind configuration in server.xml

2006-05-25 Thread Monkeyden
damn! Mutator, not accessor. On 5/25/06, Monkeyden <[EMAIL PROTECTED]> wrote: Ah, ok. This is from the struts-config DTD. Looks like you need to define an accessor, named setTest, in your RequestProcessor. When the object representing the surrounding element is instantiated, the accessor

Re: Regardind configuration in server.xml

2006-05-25 Thread Monkeyden
Ah, ok. This is from the struts-config DTD. Looks like you need to define an accessor, named setTest, in your RequestProcessor. When the object representing the surrounding element is instantiated, the accessor for the indicated property is called and passed the indicated value. On 5/25/06,

Re: Regardind configuration in server.xml

2006-05-25 Thread Miguel Galves
Thats because I've changed the tag before sending the code to the list. The original version was in portuguese...teste... :-) I've definded a setTeste method and a teste property. So that's OK.. On 5/25/06, Monkeyden <[EMAIL PROTECTED]> wrote: You always have to watch your "testes" when overrr

Re: Regardind configuration in server.xml

2006-05-25 Thread Monkeyden
You always have to watch your "testes" when overrriding the RequestProcessor. Looks like you have a typo. java.lang.NoSuchMethodException: Bean has no property named teste at org.apache.commons.digester.SetPropertyRule.begin( On 5/25/06, Miguel Galves <[EMAIL PROTECTED]> wrote: Hi, I wrot

Regardind configuration in server.xml

2006-05-25 Thread Miguel Galves
Hi, I wrote a new controller class, which extends TileRequestProcessor, in order to solve a problem we had with POST requests enconding (UTF-8), specially with multipart-form requests. I'm now trying to pass some paremeters to the new controller, using the set-property tag in server.xml