Re: Problem with xwork convertor

2009-07-22 Thread spsarolkar
I am facing the same problem When i use struts2 SNAPSHOT version i get error as No converter defined And i fails to compile Ikya wrote: > > Thanks. It worked. > > Regards, > Sreekanth > > On Wed, May 20, 2009 at 11:22 AM, Wes Wannemacher wrote: > >> It might be easier to grab the most rece

Problem with paramsPrepareParamsStack

2009-08-10 Thread spsarolkar
I have a configuration in struts.xml as follows struts.xml wrote: > > > > > > /jsp/user/index.jsp > > class="org.xinus.action.user.UserAction" > > /jsp/user/{1}User-success.jsp > index > > > > I have Us

Re: Problem with paramsPrepareParamsStack

2009-08-10 Thread spsarolkar
Hi, thanks I missed that.. But now validation is no working/partially working i.e. when i submit invalid values i am redirected to input result but messages are not printed. Also values are not inserted to database. Here are modified files UpdateUserAction.java wrote: > > @ParentPackage("base-p

Re: Problem with paramsPrepareParamsStack

2009-08-10 Thread spsarolkar
Its working now, User class must be Serializable. But Why it matters for Validation?? Since we want to persist User class it must be serializable But why Validation was not working??? Why Validation requires a Serializable class??? Just for curiosity... spsarolkar wrote: > > Hi, th

Validation does not work on redirect result

2009-08-12 Thread spsarolkar
I am new to struts2 and just wrote one small program. I wanted to ask why Validation works for only dispatcher result and not redirect result. I want it with redirect result because it will allow bookmarking of page even when validation fails. -- View this message in context: http://www.nabble.

Re: Validation does not work on redirect result

2009-08-12 Thread spsarolkar
.com/2008/07/02/preserving-messages-across-a-redirect-in-struts-2/ > > > On Wed, Aug 12, 2009 at 11:33 AM, spsarolkar wrote: > >> >> I am new to struts2 and just wrote one small program. >> I wanted to ask why Validation works for only dispatcher result and not &

Re: Validation does not work on redirect result

2009-08-12 Thread spsarolkar
thanks i missed that But i am not able to understand statement Here is my FindUser.action @ParentPackage("base-package") public class FindUserAction extends UserAction implements ServletRequestAware { HttpServletRequest request; public void setServletRequest(HttpServletRequest httpServle

Re: Validation does not work on redirect result

2009-08-12 Thread spsarolkar
this: > > @Results({ > @Result (name="success", location="/struts/User/List.jsp"), > @Result (name="input", location="/struts/User/List.jsp") > }) > > > On Wed, Aug 12, 2009 at 1:48 PM, spsarolkar wrote: > >> >>

RE: Validation does not work on redirect result

2009-08-12 Thread spsarolkar
p (or >> > Freemarker, or velocity, etc). >> > >> > Here is an example from my app using struts.xml configuration: >> > >> > > > method="doList"> >> > /struts/UserList.jsp >> > /struts/UserList.js

Creating struts2 themes

2009-08-14 Thread spsarolkar
I am learning struts2 and want to create custom themes. I am not able to find and documentation which tells how to create new themes. Can somebody tell me the link to the documentation where theme creation is explained step by step. Thanks in advance..:-) -- View this message in context: http:/

How to use workflow interceptor??

2009-08-14 Thread spsarolkar
Hello everyone, I want to write simple program using workflow interceptor where can i find information about workflow interceptor thanks -- View this message in context: http://www.nabble.com/How-to-use-workflow-interceptor---tp24970880p24970880.html Sent from the Struts - User mailing list arch

Re: Scope interceptor / Practical Apache Struts 2

2009-08-14 Thread spsarolkar
Hello Ian, I am facing the same problem. I tried adding dependency as selkin said as follows com.googlecode.struts2scopeplugin struts2-scope-plugin 1.0.3 But printing the same error Can you please supply me another copy of the code .

Problem using scope interceptor

2009-08-18 Thread spsarolkar
I am trying apress book example chapter06. Here is my struts.xml file /WEB-INF/jsp/error.jsp /WEB-INF/jsp/user/findUser-success.jsp /WEB-INF/jsp/index.jsp