I tried that, but it didn't make any difference.  Thanks, though. 

JB

-----Original Message-----
From: Dennis Byrne [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 22, 2006 1:27 PM
To: MyFaces Discussion
Subject: Re: [shale] t:commandLink issues

Can you try making the underlying data of the table persistent?

<t:saveState value="#{elPath.to.dataList}" />

<t:dataTable value="#{elPath.do.dataList}" />

Dennis Byrne

>-----Original Message-----
>From: Baker,Jonathan [mailto:[EMAIL PROTECTED]
>Sent: Thursday, June 22, 2006 01:14 PM
>To: [email protected], [email protected]
>Subject: [shale] t:commandLink issues
>
>I am experiencing an issue when embedding a t:commandLink component in 
>a t:dataTable/t:column.  For some reason my action is failing to bind 
>to my viewController method.  If I put the exact same link outside of 
>the table with hard-coded parameter values, the link works correctly.
>
>I have run in my debugger and discovered that during the 
>ApplyRequestValues phase while trying to decode the components 
>submitted, we work our way into the processDecodes method of UIData.
>This eventually calls a method called processColumnChildren which 
>should process each column and the components contained within.  I 
>created a table that only contains one row for simplicity.
>This method is supposed to get every component for a given row and 
>process their decode methods.  The problem is that before it process a 
>row it checks to see if the row is currently available.  This calls 
>dataModel.isRowAvailable.  Somehow I have an instance of 
>emptyDataModel, which always returns false to isRowAvailable, so my 
>linkComponent is never decoded.
>
>Why is my datamodel always becoming the EmptyDataModel.  During 
>rendering it has no problem finding my backing beans to populate the 
>view, it just can't find it during the applyrequestvalues step.
>
>JB
>
>


Reply via email to