Am 14.01.11 21:12, schrieb Martin Koci:
>Spec. says: "@this = The element that triggered the request". Thats very
>unclear: specification uses 'element' word in two contexts: DOM element
>and XHTML element.
actually the this always refers to the first parameter in
jsf.ajax.request which always is the issuing element, you do not have to
pass the event emitting element as @this element you can pass down
something else.
this however must be a dom node and always should have an id (in case of
myfaces it also could have a name only)
And @this always refers on jsf.ajax.request level to a dom element!
In case of f:ajax the this determination is done via the attached
clientbehavior of f:ajax and then passed down to jsf.ajax.request.