Yes, create a theme based on simple that sets the disabled=true for the fields, and render with that theme.
Here's an example of how to do that: http://mikeski.net/site/node/16 -----Original Message----- From: Suneel [mailto:sunee...@gmail.com] Sent: Tuesday, April 21, 2009 11:30 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 inputs before final submission. All this JSP does is, it displays the inputs as plain text instead of html inputs using the <s:property> tag. Currently I'm using two different jsps to achive this - one for input and one for review. Can I do this with just one JSP by using themes/templates like switching the theme for the review jsp? We are currently using the 'simple' theme. -- Thanks Suneel --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org