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
> >
> >
>