You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by Ganesh <ga...@j4fry.org> on 2009/05/15 22:49:14 UTC

jsf.ajax.request parameters vs. f:ajax parameters

Hi,

The confusion was based on the mixup between javascript parameters and 
tag attributes. It's easy: The tag takes component ids and the 
javascript function takes clientids.

Here's what the spec says on this:

table 10-3, f:ajax's render attribute:
If a literal is specified, it must be a space delimited String of 
component identifiers and/or one of the keywords outlined in Section 
14.2.2 “Keywords”. If not specified, then @none is the default . If a 
ValueExpression is specified, it must refer to a property that returns a 
Collection of Strings. Each String in the Collection must not contain 
spaces.

table 14-1, jsf.ajax.request's render parameter:
A space delimited list of client identifiers or one of the keywords 
(Section 14.2.2 “Keywords”). These reference the components that will be 
processed during the “render” phase of the request processing lifecycle.

Best regards,
Ganesh