some question about adding parameter when redirecting in struts.

2008-01-01 Thread Tony Lin
hi all, Happy new year! I have got a question about how to set parameter to the url when using redirect in struts. For example, i am going to update a persion's profile. And I am using PersonUpdateAction to do this. When I finish doing the update operation I would redirect to the page

RE: wrong request parameters sent

2008-01-01 Thread Martin Gainty
are you pre-setting the value or fieldValue attributes for s:checkbox please display code in your jspMartin __Disclaimer and confidentiality noteEverything in this e-mail and any attachments relates to the official business of Sender. This

WW2.1.7 to S2: Most S2 tags fails to retrieve values

2008-01-01 Thread wwwclaes
Hi, I'm porting an old WW 2.1.7 application to S2. This is a bit confusing, but I'm on my way and have managed to get it up and running with limited functionality. One of my major problems right now is that most S2 tags do no longer get their values. The rendering of s:textfield contains the

Re: some question about adding parameter when redirecting in struts.

2008-01-01 Thread Paul Benedict
Use ActionRedirect class. Grab the forward from mapping.findForward, wrap, and add parameters. Paul On Jan 1, 2008 3:51 AM, Tony Lin [EMAIL PROTECTED] wrote: hi all, Happy new year! I have got a question about how to set parameter to the url when using redirect in struts. For

Re: regex validation problem

2008-01-01 Thread Laurie Harper
supa charoenchit wrote: Hello, I am having a problem validating a password field. My requirement on my password is that it must be: 8 characters minimum length and contain at least one from each of the following groups: [a-z], [A-Z], and [0-9]. Here is what I have so far (which is not

Re: form submission doesn't work with ajax theme

2008-01-01 Thread Jeromy Evans
Jeancarlo wrote: Hello, I'm using struts version 2.0.11 and dwr. The field validation and form submission and everything work fine (I'm using the tag s:head / without any parameters). It did work until I wanted to use the autocomplete struts tag. To use that I need to add theme=ajax in the

unexpected behavior with a checkbox.

2008-01-01 Thread Peter L. Berghold
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi folks, I have a form that the values for each field is populated as a result of a database query. One of the fields on the form is rendered as a checkbox and the corresponding table column is a boolean. When I pull in a true value from the

[S2] How to retained pre selected values in Struts form select

2008-01-01 Thread carmi_cd
i have preselected values in my form select..my problem is when i try to add to its selected values by clicking other entries.. it looses the preselected values. how could i solve this? here is the code.. s:select name=edituser.modules.moduleId value=%{edituser.modules.{moduleId}}

Running Struts 2.0.11 on Weblogic 8.1 SP5

2008-01-01 Thread LesleyT
Hi all, Am trying to run our application built using: Struts 2.0.11, Spring 2.0, Hibernate 3.2 on WL 8.1 sp5. I've read that some people have successfully run a struts2 app on weblogic and would like to know how you got it up and running. I retrotranslated the JARs below: xwork-j4-2.0.4.jar

Re: Running Struts 2.0.11 on Weblogic 8.1 SP5

2008-01-01 Thread LesleyT
Example NPE exception stack trace that I get when navigating to the URL: java.lang.NullPointerException at org.apache.struts2.views.jsp.ComponentTagSupport.doStartTag(ComponentTagSupport.java:50) at jsp_servlet._web_45_inf._jsp.__home._jspService(__home.java:226) at

Re: HNY

2008-01-01 Thread Dharmendra Singh
Thanks all, YesVery-2 Happy New Year.2008 Regards Dharmendra On 1/1/08, Nuwan Chandrasoma [EMAIL PROTECTED] wrote: Happy new year everyone.. , Thanks Al, for including ppl like me ;) Regards, Nuwan Al Sutton wrote: No, it's the nice part he fails on :). Only kidding

difference between Action.perform() and Action.execute()

2008-01-01 Thread sai reddy
Hi friends. What's the difference between Action.perform() and Action.execute() methods?? I'm talking about org.apache.struts.action.Action class. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

difference between Action.perform() and Action.execute()

2008-01-01 Thread sai reddy
Hi friends. What's the difference between Action.perform() and Action.execute() methods?? I'm talking about org.apache.struts.action.Action class. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: difference between Action.perform() and Action.execute()

2008-01-01 Thread Ray
sai reddy wrote: Hi friends. What's the difference between Action.perform() and Action.execute() methods?? I'm talking about org.apache.struts.action.Action class. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

saveToken() help!!!!!

2008-01-01 Thread Partha Maitra
Hi All, Happy new year, I am new to struts and have got a problem, I want to handle the duplicate form submission using saveToken(), isTokenValid() method, but unable to findout any concrete example, can you please provide me a concrete example so that I can have a better understanding on that..

Re: Requested resource not found

2008-01-01 Thread AbelMacAdam
Actually, there is. I powered up Tomcat independently from Eclipse, and than pointed my browser to the address. That worked. And that is probably what I did last Friday. I seem not to be able to look eye to eye with Eclipse (must be my configuration). So now I try to add log4j logging to my app

Re: Running Struts 2.0.11 on Weblogic 8.1 SP5

2008-01-01 Thread Venkat Sadasivam
You can resolve this issue by following steps given in http://susa.wikidot.com/struts2 LesleyT wrote: Example NPE exception stack trace that I get when navigating to the URL: java.lang.NullPointerException at