Re: How to display 2 textfield while still being to use XML validation

2012-06-18 Thread Dave Newton
(I keep looking for the up-arrow so I can upvote mailing list answers.) On Mon, Jun 18, 2012 at 6:41 AM, Łukasz Lenart wrote: > 2012/6/18 Nguyen Ngoc Hai (FSU17.BU2) : > > I use Struts2 Spring Plugin 2.1.6. > > That version was designed to run with Spring 2.5.3 and as specified in > docs [1] it

Re: How to display 2 textfield while still being to use XML validation

2012-06-18 Thread Łukasz Lenart
2012/6/18 Nguyen Ngoc Hai (FSU17.BU2) : > I use Struts2 Spring Plugin 2.1.6. That version was designed to run with Spring 2.5.3 and as specified in docs [1] it must work, maybe you're messing different versions of Spring libs ? [1] http://static.springsource.org/spring/docs/2.5.x/reference/beans

Re: How to display 2 textfield while still being to use XML validation

2012-06-18 Thread Dave Newton
On Mon, Jun 18, 2012 at 6:07 AM, Nguyen Ngoc Hai (FSU17.BU2) < hai...@fsoft.com.vn> wrote: > I use Struts2 Spring Plugin 2.1.6. > You're using Struts 2.1.6 as well? This makes no sense; that attribute works fine in Spring 3.0. Probably not related, but I sure wouldn't use an old milestone relea

RE: How to display 2 textfield while still being to use XML validation

2012-06-18 Thread Nguyen Ngoc Hai (FSU17.BU2)
ruts Users Mailing List Subject: Re: How to display 2 textfield while still being to use XML validation Are you using Struts2 Spring Plugin ? http://struts.apache.org/2.x/docs/spring-plugin.html Regards -- Łukasz mobile +48 606 323 122 http://www.lenart.org.pl/ Warszawa JUG conference - Confi

Re: How to display 2 textfield while still being to use XML validation

2012-06-18 Thread Łukasz Lenart
Are you using Struts2 Spring Plugin ? http://struts.apache.org/2.x/docs/spring-plugin.html Regards -- Łukasz mobile +48 606 323 122 http://www.lenart.org.pl/ Warszawa JUG conference - Confitura http://confitura.pl/ - To unsubs

RE: How to display 2 textfield while still being to use XML validation

2012-06-18 Thread Nguyen Ngoc Hai (FSU17.BU2)
6月18日 15:00 To: Struts Users Mailing List Subject: Re: How to display 2 textfield while still being to use XML validation 2012/6/18 Nguyen Ngoc Hai (FSU17.BU2) : > I use Spring Framework 3.0 M3 hmm... scope="prototype" should work, what kind of exception do you get ? Regards -- Łu

Re: How to display 2 textfield while still being to use XML validation

2012-06-18 Thread Łukasz Lenart
2012/6/18 Nguyen Ngoc Hai (FSU17.BU2) : > I use Spring Framework 3.0 M3 hmm... scope="prototype" should work, what kind of exception do you get ? Regards -- Łukasz mobile +48 606 323 122 http://www.lenart.org.pl/ Warszawa JUG conference - Confitura http://confitura.pl/

RE: How to display 2 textfield while still being to use XML validation

2012-06-18 Thread Nguyen Ngoc Hai (FSU17.BU2)
sage- From: Łukasz Lenart [mailto:lukasz.len...@googlemail.com] Sent: Monday, June 18, 2012 1:35 PM To: Struts Users Mailing List Subject: Re: How to display 2 textfield while still being to use XML validation 2012/6/18 Nguyen Ngoc Hai (FSU17.BU2) : > Yes I am using Spring and also Hibernate. &g

Re: How to display 2 textfield while still being to use XML validation

2012-06-17 Thread Łukasz Lenart
2012/6/18 Nguyen Ngoc Hai (FSU17.BU2) : > Yes I am using Spring and also Hibernate. > I am so sorry for replying late. I am using my company's email that I can't > check at home. > Could you show me where I can add scope="prototype", I added it into my > applicationContext.xml, but it would not r

RE: How to display 2 textfield while still being to use XML validation

2012-06-17 Thread Nguyen Ngoc Hai (FSU17.BU2)
email.com] Sent: Friday, June 15, 2012 6:02 PM To: Struts Users Mailing List Subject: Re: How to display 2 textfield while still being to use XML validation Do you use Spring ? If so, action must have scope="prototype" Regards -- Łukasz mobile +48 606 323 122 http://www.lenart.org.pl/ Wa

Re: How to display 2 textfield while still being to use XML validation

2012-06-17 Thread Paul Mefford
I found the default themes not full featured enough to use out of the box. My recommendation is write your own theme using xhtml as a starting point. If you don't want to do that use the xhtml theme as it is the most complete with it you get limited ability to design a nice form because of all the

Re: How to display 2 textfield while still being to use XML validation

2012-06-15 Thread Łukasz Lenart
Do you use Spring ? If so, action must have scope="prototype" Regards -- Łukasz mobile +48 606 323 122 http://www.lenart.org.pl/ Warszawa JUG conference - Confitura http://confitura.pl/ - To unsubscribe, e-mail: user-unsubscr..

RE: How to display 2 textfield while still being to use XML validation

2012-06-15 Thread Nguyen Ngoc Hai (FSU17.BU2)
am E-mail: hai...@fsoft.com.vn Cell: 0169.808.9435 -Original Message- From: Łukasz Lenart [mailto:lukasz.len...@googlemail.com] Sent: Friday, June 15, 2012 4:22 PM To: Struts Users Mailing List Subject: Re: How to display 2 textfield while still being to use XML validation Use simple t

Re: How to display 2 textfield while still being to use XML validation

2012-06-15 Thread Łukasz Lenart
Use simple theme and add tag to display validation messages or per each field http://struts.apache.org/2.x/docs/actionerror.html http://struts.apache.org/2.x/docs/fielderror.html Regards -- Łukasz mobile +48 606 323 122 http://www.lenart.org.pl/ Warszawa JUG conference - Confitura http://conf