This should work; you should just be able to write:
panelGroupLayout.setPartialTriggers(new String[]{"genTable});
... though this will, of course, redraw the buttons for every action
on the table, not just selection. If you just want selection, you'd
have to add a selectionListener and explicitly call
RequestContext.addPartialTarget(table.getFacet("actions"));
-- Adam
On 9/12/07, Bertrand, Shawn R <[EMAIL PROTECTED]> wrote:
>
> My table looks like this:
>
>
>
> <tr:table id="genTable"
>
> binding="#{TableFactoryBean.genTable}"
>
> value="#{HelperHolderBean.helper.tmpTable}"
>
> rows="#{HelperHolderBean.helper.tmpTableSize}"
>
> first="0" var="row" rowBandingInterval="1"
> rowSelection="single"
>
> selectionListener="#{HelperHolderBean.helper
> .selectionListener}"
>
> emptyText="(no entries)">
>
> </tr:table>
>
>
>
> In my backing bean, I call my CoreTable's setActions() with a
> CorePanelGroupLayout component, and I add various CoreCommandButtons to said
> component. I'd like to, on the selection of rows, make the buttons in the
> actions component update but I can't seem to make that happen. This worked
> fine in ADF Faces when we had a CoreTableSelectOne to key the partial update
> on. One interesting note: we have a poll on the same page that, when it
> polls, updates those buttons without any partialTriggers set for the actions
> component.
>
>
>
> Thanks in advance,
>
>
>
> Shawn Bertrand
>
> Tyco Electronics Corporation
>
>
>