Martin,

do you know the ID of the part that should be rendered, or are you
able to *calculate* it on the server?

RequestContext.addPartialTarget(UIComp) might be an option:

<sample>
   UIXTable table = (UIXTable) event.getComponent().findComponent("userTable");
   table.setValue(this.users);
   RequestContext afContext = RequestContext.getCurrentInstance();
   afContext.addPartialTarget(table);
</sample>


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



--
Matthias Wessendorf
http://tinyurl.com/fmywh

further stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com

Reply via email to