RE: struts2 and tiles

2011-05-08 Thread arin_12
Tile in struts has some serious issue to work on. It never works perfectly of we have any examples. I have worked on inherited tiles fashion in 1.2 a long time back. It used to work very smoothly :) If any one has some tiles example please share your knowledge. -- View this message in context:

Not able to show error message when user-id filed is empty

2011-05-08 Thread Neha Bhargava
HI, I am trying to code a simple user-id and login webpage in struts. I need to show error message when user-id or password field is left blank. LoginAction.java: package com.example.action; import com.example.form.*; import org.apache.struts.action.Action; import javax.servlet.http.HttpServlet

RE: Handling navigation language in the URL

2011-05-08 Thread Ilya Kazakevich
Hello, Read about wildcard mapping. Than you can do: /**/myAction And {0} Ilya Kazakevich, Developer JetBrains Inc http://www.jetbrains.com "Develop with pleasure!" -Original Message- From: GF [mailto:gan...@gmail.com] Sent: Saturday, May 07, 2011 12:23 PM To: Struts Users ML Subje

Strange behaviour with Spring

2011-05-08 Thread Marcus Bond
Hi, I'm using Struts 2.2.3 and have observed some bizarre behavior when using Spring to provide my actions.. In order to simplify this and prove the problem I have created a project with a single static html file, and a single action in struts.xml which references a bean in my spring context

Re: struts2 and tiles

2011-05-08 Thread Chris Pratt
I wrote some simple configuration classes that allow using Tiles 2.2+ in Struts 2+ configured in Spring. It's worked out quite well for me. I've offered them here before, but if anyone is interested I can again make them available. (*Chris*) On Sun, May 8, 2011 at 1:05 AM, arin_12 wrote: > T

Re: struts2 and tiles

2011-05-08 Thread Bertrand
Hi Chris, I am very interested if you are referring to a portlet environment. Thanks On Mon, May 9, 2011 at 3:13 PM, Chris Pratt wrote: > I wrote some simple configuration classes that allow using Tiles 2.2+ in > Struts 2+ configured in Spring. It's worked out quite well for me. I've > offe

Re: struts2 and tiles

2011-05-08 Thread Chris Pratt
I don't personally use a portlet environment, so I have no idea whether it would work or not. (*Chris*) On Sun, May 8, 2011 at 10:44 PM, Bertrand wrote: > Hi Chris, > > I am very interested if you are referring to a portlet environment. > > Thanks > > On Mon, May 9, 2011 at 3:13 PM, Chris Pra

Re: Strange behaviour with Spring

2011-05-08 Thread Chris Pratt
You can't create beans that implement java.lang.String, it's immutable and doesn't follow the bean spec. (*Chris*) On Sun, May 8, 2011 at 2:11 PM, Marcus Bond wrote: > Hi, > > I'm using Struts 2.2.3 and have observed some bizarre behavior when using > Spring to provide my actions.. In order to

Re: struts2 and tiles

2011-05-08 Thread Bertrand
Thank you Chris, I have it working outside of portlets too, it's from the portlets that all the pain comes from ;) On Mon, May 9, 2011 at 4:10 PM, Chris Pratt wrote: > I don't personally use a portlet environment, so I have no idea whether it > would work or not. > (*Chris*) > > On Sun, May 8,