Sunday, December 6, 2009

JDev/ADF sample - Overriding IsAttributeUpdateable Method for Conditional Rendering

  • Overriding IsAttributeUpdateable Method for Conditional Rendering. While working on customer side during last week, we got a requirement to render table records and conditionally prevent editing based on history column. Its quite common requirement, and there are many ways in ADF to implement it. You can generate separate button for each row and conditionally disable it, but from user perspective it is far from the best approach. Don't forget that ADF allows to override standard methods, where we can customize behavior. One of those methods - isAttributeUpdateable(), you can override it in EO implementation class, use this method to enable conditional disable property rendering.
    Download -

No comments: