-
Transient field help
Hi,
I've declared a property in my domain object as transient:
@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,
stephen
-
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.
HTH,
Stefan
-
Worked
Excellent - that did it. Works as expected now! Thank you!!