views:

14

answers:

0

hi.

i'm trying to surround a component tree section with:

<mycomp id="top">

    <f:ajax process=":#{component.clientId}" render=":#{component.clientId}">

    .....

    </f:ajax>

</mycomp>

but for every action i can see that the the actual expression is being held and evaluated at the poin it's written into the associated action, at which point the component id is evaluated as the action itself, so it in effect becomes an '@this'.

is there any way to force evaluation of the el at the f:ajax tag so it remains static for all nested items?

i do not want to hard code the absolute id as you then can't arbitrarily re-use it somewhere else.

its a bit confusing how ajax can be used for re-usable components when these attributes have to be specified as absolute outside the naming container.