[jboss-user] [JBoss Seam] - Prepare Page

MSchmidke do-not-reply at jboss.com
Fri Jul 21 05:02:03 EDT 2006


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.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959833#3959833

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959833



More information about the jboss-user mailing list