Jul 26th, 2010, 06:53 PM
Transient field help
I've declared a property in my domain object as transient:
private String status;
Roo updates my Controller and view pages as expected. However, within my create.jspx and update.jpx files I don't want the "status" field present. Upon removing it, roo re-adds it. I just want the "status" field showing up on my show.jspx page.
How do I achieve this?
Thanks in advance,
Jul 26th, 2010, 08:46 PM
The all Roo supplied form tags have a 'render' attribute which you can simply set to false. This way, Roo will not render your input fields for status but still allow round tripping of the other fields.
Jul 27th, 2010, 03:55 PM
Excellent - that did it. Works as expected now! Thank you!!
Tags for this Thread