RE: NullPointerException in org.apache.myfaces.lifecycle.PhaseListenerManager during RESTORE_STATE

2007-10-23 Thread Yee, Richard K CTR DMDC
I think you need to put in a filter to intercept the case where the session has timed out and redirect to another page. JSF can't render the page if the backing bean doesn't exist in the session. -R -Original Message- From: sio [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 23, 2007 8:

Programmatically selecting and deselecting rows in a tr:table with rowSelection="multiple"

2007-10-09 Thread Yee, Richard K CTR DMDC
Is it possible to programmatically select or deselect rows in a tr:table? I would like to remove the rows that a user has selected from within an action handler method that is bound to a commandButton. It seems that when I call getSelectionState() on the CoreTable, I'm getting a null RowKeySet. Th

RE: Simple MyFaces and JDO example

2007-09-27 Thread Yee, Richard K CTR DMDC
I wouldn't use a model object as a backing bean because the backing bean is intended to mediate between the model and view layers. You could compose the backing bean with the model object instead to achieve your objectives and also reduce the number of attributes/getters/setters in your backing bea

Is there a replacement for the disabled attribute in af:table when migrating to tr:table?

2007-09-24 Thread Yee, Richard K CTR DMDC
Hi, It seems that the disabled attribute is no longer available in the tr:table tag. Is there a substitute or workaround for this? Previously in the ADF table tag, the "disabled" attribute could be used to indicate an attribute in the bean used for the table row to indicate that the row was disable

RE: Preventing "Select All" and "Select None" links from being rendered by the TableSelectMany tag

2007-08-08 Thread Yee, Richard K CTR DMDC
In these previous emails, "selectOne" and "selectMany" should have been "tableSelectOne" and "tableSelectMany" -Richard -Original Message- From: Richard Yee [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 08, 2007 5:33 AM To: MyFaces Discussion Subject: Re: Preventing "Select All" a

Controlling the display of "Select All | Select None" on tr:table with multiple selection

2007-06-28 Thread Yee, Richard K CTR DMDC
Hi, Is there a way to control the display of the "Select All | Select None" banner that is display for tables with the rowSelection="multiple" set? The reason I need this is that some of the rows selections are mutually exclusive so I need to validate which rows can be selected once the user select