Re: Problem with Tiles an ActionForms

2007-01-02 Thread Laurie Harper
I don't know why setting validate=true would change how Tiles constructs the page, but a couple of observations which might help: - your action mapping doesn't have an 'input' attribute defined to tell Struts what to display if validation fails - your form bean extends ActionForm, not

Re: Problem with Tiles an ActionForms

2006-12-29 Thread Laurie Harper
You can certainly use automatic validation together with Tiles, so that's not the problem. You'll need to post your relevant struts-config.xml excerpts and tiles-defs, and possibly relevant bits of JSP so we can see what you're doing wrong. L. Sebastian Marten wrote: After several hours of

Re: Problem with Tiles an ActionForms

2006-12-29 Thread Sebastian Marten
Thanks for your answer. If i set validate=true the layout is not applied. I see only the page createuser.jsp If i set validate=false it works fine... Why? Ok here my config files: If you nee more informations, just say it. struts-config.xml action input=/createuser.jsp

Problem with Tiles an ActionForms

2006-12-28 Thread Sebastian Marten
Hello List, I have a problem with Struts Tiles. First I wrote all sub-page's for a very little Web shop. Then i started with tiles and created a simple test layout. Nothing special, but it works. I have several normal pages, like the page katliste.jsp I click the link to the related action:

Re: Problem with Tiles an ActionForms

2006-12-28 Thread Sebastian Marten
After several hours of searching i found the problem. All pages work, if I set validate=false in the struts config. So I can't use the validate method of the bean? Is there an alternative for this method? Best regards, Sebastian Marten Sebastian Marten schrieb: Hello List, I have a problem