Re: Non editable jsp with struts 2 templates - whats the best approach?

2009-04-21 Thread Suneel
Well the problem is if I make a change to first jsp, then I need to make the same change on the second JSP like adding fields etc. This really becomes a pain when I have to change the page layout. If it is just one jsp, I can get away with changing just one page instead of two. This jsp is huge wit

Re: Non editable jsp with struts 2 templates - whats the best approach?

2009-04-21 Thread Dave Newton
Lukasz Lenart wrote: 2009/4/21 Suneel : I've a JSP where the user views a set of html input fields. The user enters the values and submits the page and he is taken to another page where he gets a chance to review his inputs before final submission. All this JSP does is, it displays the inputs as

Re: Non editable jsp with struts 2 templates - whats the best approach?

2009-04-21 Thread Lukasz Lenart
2009/4/21 Security Management : > Yes, create a theme based on simple that sets the disabled=true for the > fields, and render with that theme. Some browses don't send to a server disabled fields, so you will have to duplicate them in to the hidden inputs. You can use readonly=true but it can be c

Re: Non editable jsp with struts 2 templates - whats the best approach?

2009-04-21 Thread Lukasz Lenart
2009/4/21 Suneel : > I've a JSP where the user views a set of html input fields. The user > enters the values and submits the page and he is taken to another page > where he gets a chance to review his inputs before final submission. > All this JSP does is, it displays the inputs as plain text inst

RE: Non editable jsp with struts 2 templates - whats the best approach?

2009-04-21 Thread Security Management
AM To: Struts Users Mailing List Subject: Non editable jsp with struts 2 templates - whats the best approach? Hi, I've a JSP where the user views a set of html input fields. The user enters the values and submits the page and he is taken to another page where he gets a chance to review his inp

Non editable jsp with struts 2 templates - whats the best approach?

2009-04-21 Thread Suneel
Hi, I've a JSP where the user views a set of html input fields. The user enters the values and submits the page and he is taken to another page where he gets a chance to review his inputs before final submission. All this JSP does is, it displays the inputs as plain text instead of html inputs usi