Hi

Look the javadoc for composite:attribute "targets" property. It says
something like this:

"... If this element has a method-signature attribute, the value of
the targets attribute must be interpreted as a space (not tab)
separated list of client ids (relative to the top level component) of
components within the <composite:implementation> section. Space is
used as the delimiter for compatibility with the IDREFS and NMTOKENS
data types from the XML Schema. Each entry in the list must be
interpreted as the id of an inner component to which the
MethodExpression from the composite component tag in the using page
must be applied. If this element has a method-signature attribute, but
no targets attribute, the value of the name attribute is used as the
single entry in the list. If the value of the name attribute is not
one of the special values listed in the description of the name
attribute, targets (or its derived value) need not correspond to the
id of an inner component. ..."

There are example about how to use it in the internet.

regards,

Leonardo

2012/7/23 [email protected] <[email protected]>:
> On 23/07/2012 15:49, Leonardo Uribe wrote:
>>
>> Hi
>>
>> The stack trace shows it is a Tomcat EL bug. MyFaces is passing the
>> params properly. I would suggest to use another EL implementation to
>> see if it works, but first it is necessary to see if the listener
>> defines the parameter correctly or not. You can use the alternate
>> syntax with "target" attribute, instead a cc EL expression, to see if
>> there is a problem there.
>
> Thank you for your quick reply.
>
> What do you mean by "alternate syntax" ? I tried to add a "targets"
> attribute to the composite attributes declarations, but it has no effect.
>
> I will try with another el implementation, but I think that I will not be
> able to get such a configuration on our production servers...
>
> Best regards,
>
>
> Ludovic
> |
> | AVANT D'IMPRIMER, PENSEZ A L'ENVIRONNEMENT.
> |
>

Reply via email to