Sunday, October 23, 2011

JDev/ADF sample - Page Definition Variables to Store Temporary Page Values

  • Page Definition Variables to Store Temporary Page Values. Back to basics. In most of the cases data is coming from Model layer, from ADF BC or EJB. When user is changing data on the screen, frameworks takes care and preserves temporary data. However, what about such screens where we have temporary fields, without any relation with the Model layer - transient data fields. What if there is no corresponding Model implementation, and still we need to store field data between requests - where should we store it? I believer, one of the best techniques is to use Page Definition variables, this is old approach back from ADF 10g times - but it still works very well. Main advantage - we are able to store transient temporary data between requests and there is no need to define session scope bean.
    Download - PageDefVariables.zip

No comments: