[jsr-314-open-mirror] [jsr-314-open] Ajax inside a DataTable

Andy Schwartz andy.schwartz at oracle.com
Thu May 20 11:29:04 EDT 2010


On 5/20/10 11:20 AM, Cagatay Civici wrote:
> Sounds very good to me. I'm not a fan of findComponent calls either.
>   

Cool.  I will make sure that we've got a spec issue logged for the idea 
that we discussed (avoiding aggressive rendering of the execute/render 
ids). 

> Regarding my initial mail, datatable is found correct but as it's being rendered as well as the f:ajax, getClientId implementation of UIData appends the current rowIndex, in the end each f:ajax in every row renders something like render="table:0", render="table:1" whereas users expect render="table" since they want to update the datatable.

Yep.  I got ahead of myself and didn't fully understand what was 
happening when I responded to your original mail, but this make perfect 
sense now. :-)

>  This happens both with mojarra 2and myfaces 2.
>
> So to confirm, what have we decided? Should I create implementation tickets for Martin's suggestion on getContainerClientId() getClientId() idea to solve this?
>   

I think that this is the right way to go.

Andy




More information about the jsr-314-open-mirror mailing list