1 Reply Latest reply on Jul 21, 2006 5:59 AM by pmuir

    Prepare Page

    mschmidke

      Hello again,

      the one with the most stupid questions has another one.

      I want to prepare some data before rendering the page, just like "@Factory", but on every request.

      Example:
      Page has a calendar component to select a date and a table which displays records from this date. User can edit values in the table or select another date.

      When user enters values and clicks another date, the values must be saved. So the reload of the records may not occur before the end of APPLY_VALUES.

      The simplest way were to have a "prepare response" event which is triggered just before RENDER_RESPONSE.

      I've tried it the JSF way (phase listeners and so on), but did not get it running.

      What can I do???

      Marcus.