Multiple field with same name

2010-08-12 Thread Franz Wong
Hi, I would like to show a list of user and enable the change of the name. I don't know if there is any mechanism which struts provided to do that. class User { private Long id; private String name; // getters and setters }

Re: how to remove .action suffix in struts 2.1

2010-08-12 Thread Dave Newton
Again, XML configuration is the preferred mechanism. Dave On Thursday, August 12, 2010, Ruben Cepeda wrote: > > If you haven't done so yet you'll have to create a struts.properties file and > override it.  Here http://struts.apache.org/2.0.11/docs/strutsproperties.html > > -Ruben Cepeda > > > >

RE: how to remove .action suffix in struts 2.1

2010-08-12 Thread Ruben Cepeda
If you haven't done so yet you'll have to create a struts.properties file and override it. Here http://struts.apache.org/2.0.11/docs/strutsproperties.html -Ruben Cepeda > Date: Wed, 11 Aug 2010 14:57:33 +0530 > Subject: how to remove .action suffix in struts 2.1 > From: mail.supra...@gmail.c

Re: Does Spring3 support mybatis3.x?

2010-08-12 Thread Cimballi
Are you sure the crash is related to the dependencies ? Below is a what I used on a project, mixing Struts 2.1.8.1 and Spring 3.0.2. Cimballi com.opensymphony xwork 2.1.3 compile org.springframework spring-beans ${spring.version}

Re: Does Spring3 support mybatis3.x?

2010-08-12 Thread Frans Thamura
We found several conflict in the maven tree And got mix spring mvc and struts2 make the app crash Wanna review the code? (m) -Original Message- From: Cimballi Sender: cimballi.cimba...@gmail.com Date: Thu, 12 Aug 2010 17:46:52 To: Struts Users Mailing List Reply-To: "Struts Users Mai

Re: Does Spring3 support mybatis3.x?

2010-08-12 Thread Cimballi
Frank, I think that you can simply replace the Spring 2.5.6 jars by the 3.0.x jars. Cimballi On Thu, Aug 12, 2010 at 5:32 PM, Frans Thamura wrote: > hi all > > talking spring3 > > any idea to make struts 2.21 using spring 3 rather 2.5.6? > > F > > ---

Re: Does Spring3 support mybatis3.x?

2010-08-12 Thread Frans Thamura
hi all talking spring3 any idea to make struts 2.21 using spring 3 rather 2.5.6? F - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: Does Spring3 support mybatis3.x?

2010-08-12 Thread Dave Newton
I'd consider asking on the Spring or MyBatis lists, no? The last I heard (a few months ago) Spring 3 didn't support iBatis 3. Dave On Thu, Aug 12, 2010 at 4:12 PM, Emi Lu wrote: > Hello, > > Does anyone know whether spring3 supports mybatis3.x? > > http://www.apacheserver.net/No-MyBatis-suppor

Re: Does Spring3 support mybatis3.x?

2010-08-12 Thread Cimballi
Lu, this is a Struts ML, not a Spring or iBatis ML. A simple search in Spring documentation would have given you the answer : http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/orm.html#orm-ibatis Cimballi On Thu, Aug 12, 2010 at 3:12 PM, Emi Lu wrote: > Hello, >

Does Spring3 support mybatis3.x?

2010-08-12 Thread Emi Lu
Hello, Does anyone know whether spring3 supports mybatis3.x? http://www.apacheserver.net/No-MyBatis-support-in-Spring-3-x-at204449.htm thank you, -- Lu Ying - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For ad

Re: ibatis is not maintained by apache. So what other db processing plugins combined great with struts2 for db operations

2010-08-12 Thread Emi Lu
On 08/12/2010 02:39 PM, Wendy Smoak wrote: On Thu, Aug 12, 2010 at 2:24 PM, Emi Lu wrote: http://ibatis.apache.org/index.html shows that "2010/06/16 - Apache iBATIS has been retired". Can you suggest other db processing plugins combined great with struts2 please? Personally, I like ibatis a lot

Re: ibatis is not maintained by apache. So what other db processing plugins combined great with struts2 for db operations

2010-08-12 Thread Wendy Smoak
On Thu, Aug 12, 2010 at 2:24 PM, Emi Lu wrote: > http://ibatis.apache.org/index.html shows that "2010/06/16 - Apache iBATIS > has been retired". > Can you suggest other db processing plugins combined great with struts2 > please? > Personally, I like ibatis a lot; it's a pith that apache does not s

Re: ibatis is not maintained by apache. So what other db processing plugins combined great with struts2 for db operations

2010-08-12 Thread Cimballi
Why worrying so much ? iBatis is still alive : http://www.mybatis.org/ Cimballi On Thu, Aug 12, 2010 at 1:24 PM, Emi Lu wrote: > Good afternoon, > > http://ibatis.apache.org/index.html shows that "2010/06/16 - Apache iBATIS > has been retired". > > Can you suggest other db processing plugins co

ibatis is not maintained by apache. So what other db processing plugins combined great with struts2 for db operations

2010-08-12 Thread Emi Lu
Good afternoon, http://ibatis.apache.org/index.html shows that "2010/06/16 - Apache iBATIS has been retired". Can you suggest other db processing plugins combined great with struts2 please? Personally, I like ibatis a lot; it's a pith that apache does not support it anymore. Thanks a lot

Including a Velocity page inside a FreeMarker template?

2010-08-12 Thread java . rgm
I'm migrating a system from Velocity to Freemarker. I'd like to be able to include the result of a velocity template into the outer freemarker template while migrating, but cannot seem to use the <@include_page > tag from within a FreemarkerResult. Apparently the FreeMarkerResult is NOT proces

Re: How do we repopulate controls when validation fails?

2010-08-12 Thread Franz Wong
Thanks. It solves my problem :) Franz On Wed, Aug 11, 2010 at 10:11 PM, Alex Rodriguez Lopez < alo...@flordeutopia.pt> wrote: > Don't know if this solves your problem, but maybe it helps to use the > params-prepare-params trick, calling params interceptor twice, so you have > your params ready b