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!

Custom Button Rendering/Disabling with Velocity Templates [SOLVED]

496102Jul 11 2007 — edited Aug 15 2007
I have a custom button in my application that I only want to show up on specific pages and I can't seem to figure out a EL expression that will let me disable or not render the button on the following criteria,

- The velocity template will be installed on tableForm configured groups.
- I only want the button to be activated/visable when in the 'Details' view for a specific row
- When the group has insertions permitted.

I have tried to steal some code from the *.vm files for other buttons and items used by JHeadstart, but none of the expressions seem to be solving my problem. I have always found the Data Binding through EL Expressions with the ADF very confusing to work with so any guidance would be greatly appreciated. (Is there a way to 'debug' EL expressions to see the actual data that is available to me at any given time?)

Thanks.

Message was edited by:
M.Ruston

Message was edited by:
M.Ruston
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 12 2007
Added on Jul 11 2007
6 comments
2,626 views