-
Jul 26th, 2010, 06:53 PM
#1
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
-
Jul 26th, 2010, 08:46 PM
#2
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
-
Jul 27th, 2010, 03:55 PM
#3
Worked
Excellent - that did it. Works as expected now! Thank you!!
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules