RE: how to make ajax validation works with s:tabbedPanel in struts 2.0.11

2008-01-26 Thread Wei, Mei
Yes, I have theme='ajax' set for each href. Below is my sample code, the problem is when the save button is clicked, it does not go to the "success" page. If I take out , then it will go, but does not display as tabbedPanel any more. What can I do to make these two works together? <%@ taglib prefi

How to restrict the user accessing pages from browser

2008-01-26 Thread srinivasan anjan
Hi all, I want a solution for restricting the user from modifying the text into the address bar and this has to be done at serverside level. Madhavan - Forgot the famous last words? Access your message archive online. Click here.

Re: s:action with validation failure of form submit

2008-01-26 Thread Martin Gainty
please post: jsp xwork.xml entries for actionTag Action java source M- - Original Message - From: "jwpronto" <[EMAIL PROTECTED]> To: Sent: Saturday, January 26, 2008 6:41 PM Subject: s:action with validation failure of form submit > > Hi All - > > I have an s:action tag embedded in a JS

RE: Re: Actions executing mulitple times.

2008-01-26 Thread McDowell, Paula
Thanks, and that's what I meant. . . Actions are executing expectedly. -Original Message- From: news on behalf of Laurie Harper Sent: Sat 1/26/2008 11:16 AM To: user@struts.apache.org Subject: Re: Actions executing mulitple times. Paula McDowell wrote: > Has anyone seen actions executin

s:action with validation failure of form submit

2008-01-26 Thread jwpronto
Hi All - I have an s:action tag embedded in a JSP. The s:action populates a List in the request which a select box uses to populate. When there is a validation failure the s:action tag is not being called. The interesting thing is that I have this exact setup on a previous page (this is a 3 pag

Re: Actions executing mulitple times.

2008-01-26 Thread Laurie Harper
Paula McDowell wrote: Has anyone seen actions executing multiple times thus undoing and resetting fields and increasing performance overhead? We are currently using Struts 1.1. All my actions execute multiple times, once each time they're requested ;-) Presumably you mean you are seeing you

Re: Can I use one action for displaying and submission (with struts validation)

2008-01-26 Thread Laurie Harper
Paul Benedict wrote: You can use this pattern: * Turn automatic validation off. * If your action was executed as a GET, branch to viewing logic. * If your action was executed as a POST, branch to validation logic and submission logic. Another approach is to retain declarative validation and

Re: how to make ajax validation works with s:tabbedPanel in struts 2.0.11

2008-01-26 Thread Martin Gainty
http://struts.apache.org/2.x/docs/tabbedpanel.html assuming your theme='ajax' be sure to set the href attribute for the individual div tags for content from a valid URL Martin - Original Message - From: "Wei, Mei" <[EMAIL PROTECTED]> To: Sent: Saturday, January 26, 2008 2:02 AM Subject: h