Hi, sorry but you cannot set the id attribute for you tr:column via an el expression (see the taglib documentation of Trinidad). Regards, Sven
________________________________ Von: Andrew Robinson [mailto:[EMAIL PROTECTED] Gesendet: Montag, 11. Februar 2008 20:53 An: MyFaces Discussion Betreff: Re: [Trinidad] how to PPR a table row upon selecting its detail contents BTW, you should report a bug that tr:column has a partialTriggers attribute but does not render an ID attribute. This would be a good reason to have a tr:row component and maybe just support ID and partialTriggers. I am not that knowledgeable about the TableRenderer though so perhaps someone else has better information. -Andrew On Feb 11, 2008 12:47 PM, Andrew Robinson <[EMAIL PROTECTED]> wrote: You can add a partialTriggers for all the components in your columns so that they update for the current row. More work, but it should work. On Feb 11, 2008 11:38 AM, Renzo Tomaselli <[EMAIL PROTECTED]> wrote: Oh well, I guess that in such case the tag documentation is wrong in reporting the partialTriggers attribute on tr:column. Indeed I want to PPR a row - not a column. So either I spread partialTriggers on all cells - not sure whether all will PPR though - or I might try using addPartialTarget(). In the latter case however I miss the way to identify the row component (or single cell components). -- Renzo Andrew Robinson wrote: You can't PPR a column. On Feb 11, 2008 11:22 AM, Renzo Tomaselli <[EMAIL PROTECTED]> wrote: Hi, I have a tr:table where rows can show details through a tr:tree representing several versions of row contents. I would PPR row fields upon selecting detail nodes, hosting tr:commandLinks. Columns are dynamic, such as: <tr:table id="result" ... <c:forEach var="column" items="#{bean.columnHeaders}" varStatus="iteration"> <tr:column id="col#{iteration.index}" partialTriggers="versionTree:thisv"> Then I have as table detail: <f:facet name="detailStamp"> <tr:tree id="versionTree" <f:facet name="nodeStamp"> <tr:commandLink id="thisv" ... partialSubmit="true"> ... But - although bean action is actually reached upon clicking nodes - there is no PPR, no refresh. Instead I got several times (once per column): WARNING: No PPR-capable 'id' found for elements of CoreColumn[UIXFacesBeanImpl, id=col1]. This component has not written-out an 'id' attribute. I guess the PPR target should defined in some other way - but after all I don't want to refresh the entire table, just the current row. And of course - I use Facelets. Any suggestion is welcome. -- Renzo

