Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Cancel Add rows [SOLVED]

Brent HarlowApr 17 2008 — edited Aug 5 2008
Hi guys,

I have a group with layout style of table with the "Show Add Row Button" attribute ticked which generates page as expected. How is the user supposed to cancel adding the new row ? Do I have to modify the template to include a Cancel button for this purpose ? Once the row has been added, there seems nothing I can do to get rid of it (all fields are mandatory). I can no longer navigate through the table and even swtiching tabs does not roll anything back (i presume becuase the entity must not be considered modified) - nor can i delete the empty record

Is this the expected behaviour ? Is a custom cancel button the way to avoid this "stuck" new record ?

Cheers,
Brent

Message was edited by:
Brent Harlow

Actually i tried adding a cancel button (actionListener="#{bindings.Rollback.execute}") but that had no effect either :(
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 2 2008
Added on Apr 17 2008
4 comments
2,558 views