I'm not sure how this would play out with stamping, but I do know that the ID specified in partial triggers is a component ID and NOT a client id. Have you tried referring to the stamped component's componentId in the partial trigger? I would expect that whenever ANY of them are clicked or changed that the partialTrigger would update which sounds like the behavior you're expecting. But I could be wrong.

The other thing you could do is programatically do an addPartialTarget in response to the event generated by the items in the table. That will always force an update if you are able to do it there.

Scott

Matthias Wessendorf wrote:
Not sure, but I think that isn't supported.
I saw the reg_expr in Tomahawk and I like it!

Wouldn't that be a valid enhancement ?

-M

On 4/3/07, Martin Marinschek <[EMAIL PROTECTED]> wrote:
Hi *,

I'm using partial page rendering, where the triggering component is
supposed to sit in a data-table (e.g. commandButton as a kid of
dataTable, table has 15 rows, so 15 buttons).

The button have an id like:

myTable:1:myButton

When any of the buttons has been clicked, I want to update a separate
part of the page, but I can't specify each button in the
partialTriggers attribute, I don't even know yet how many buttons
there might be.

Tomahawk's pprPanelGroup has a partialTriggerExpression attribute,
where I can put a reg-ex to solve this issue. Is there something like
this in Trinidad as well? Any ideas for a workaround?

regards,

Martin



--

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces




Reply via email to