Thanks for your reply, Andrew! Moving the partialTriggers to the table did indeed cause it to update properly. This table is usually small (only 1-5 rows), so refreshing the entire table is not too much of a problem.
Thanks again! -Steve “Many men go fishing all of their lives without knowing it is not fish they are after.” - Henry David Thoreau On Tue, Feb 24, 2009 at 11:07 AM, Andrew Robinson < [email protected]> wrote: > You cannot PPR an item inside a stamped component from outside the stamped > component without PPR'ing the entire stamped component. So in your case, > calcAll should PPR the table, not the panel group layout. If you only really > want to PPR just the panel group layouts in every row, you will have to do > it yourself, by using the row indexes on UIData, and adding the component as > a partial target for every visible row index in the table. > > -Andrew > > > On Tue, Feb 24, 2009 at 9:57 AM, Steve Horne <[email protected]> wrote: > >> I have the following component hierarchy (leaving out parts that are not >> important): >> >> <tr:commandLink id="calcAll" action="#{backer.calcAll}" >> partialSubmit="true"/> >> <tr:table> >> <tr:column> >> <tr:panelGroupLayout partialTriggers="calc ::calcAll"> >> ... results of calculation... >> </tr:panelGroupLayout> >> </tr:column> >> <tr:column> >> <tr:commandLink id="calc" action="#{backer.calc}" partialSubmit="true"/> >> </tr:column> >> </tr:table> >> >> So, when I click the "calc" link (in a table row), the other column >> (containing the panelGroupLayout) refreshes properly. When I click the >> "calcAll" link, the action works properly, but the panelGroupLayout does not >> refresh. I have tried it with 1, 2, and 3 colons preceding the trigger >> 'calcAll', but nothing seems to work. >> >> As far as I can tell, the only naming container here is the <tr:table>. >> So, according to the docs, I should use 2 colons, e.g. "::calcAll": >> >> <snip from the docs:> >> If you need to go up and out of a naming container to get the trigger >> component, start with two colons. (e.g., >> partialTriggers="::someComponentOutsideNamingContainer") This includes the >> current component if the component is a NamingContainer. (e.g., tr:table >> partialTriggers="::mySiblingComponent" pops out of the table to get to the >> sibling) >> </snip> >> >> I can hide then show the table and the information refreshes correctly... >> >> Any ideas why this isn't working? >> > >

