Re: Multiple form pages - best practise?

2010-10-31 Thread Li Ying
I think the simpler way is: (1)Implement all your inputs in one Action and one JSP (2)Control the visibility of your inputs via JQuery In your case, you can put your inputs in 3 divs(or something else), and bind click event handler to the buttons. In the handler function, you can call [show] to d

Re: s:textfield or s:select with button

2010-10-31 Thread Dave Newton
On Sunday, October 31, 2010, Li Ying wrote: > Try put them in same row of a table: This will only work if you're not using a theme that renders layout, as the default "xhtml" theme does. Dave - To unsubscribe, e-mail: user-unsub

Re: s:textfield or s:select with button

2010-10-31 Thread Li Ying
Try put them in same row of a table: 2010/11/1 cellterry : > > Dear all, > > I have a question about s:textfield or s:select with a command button just > following it. > > For example, I have tried this: > > > > > I found that the button "..." is not following the

Re: Multiple form pages - best practise?

2010-10-31 Thread Maurizio Cucchiara
looks like workflow interceptor thing http://struts.apache.org/2.2.1/docs/workflow-interceptor.html 2010/10/31 Per Johansson : > Hi, > > What is the best practise for implementing a flow with more than one JSP > page in Struts 2. > > Example: > > Page 1: > Form with input fields > Next button > >

Re: s:textfield or s:select with button

2010-10-31 Thread Dave Newton
On Sun, Oct 31, 2010 at 2:27 PM, cellterry wrote: > For example, I have tried this: > > > > > [...] the button "..." is not following the [text field] but is on the next > line. What theme are you using? If you're using the default theme "xhtml" this is what it should be doing; please notice th

s:textfield or s:select with button

2010-10-31 Thread cellterry
Dear all, I have a question about s:textfield or s:select with a command button just following it. For example, I have tried this: I found that the button "..." is not following the selection box but is on the next line. Do anyone know how to correct the position so that it is just beside t

Multiple form pages - best practise?

2010-10-31 Thread Per Johansson
Hi, What is the best practise for implementing a flow with more than one JSP page in Struts 2. Example: Page 1: Form with input fields Next button Page 2: Needs input from Page 1 Form with other input fields Previous button Next button Page 3: Needs input from Page 1 and Page 2 Form with other