webtier@glassfish.java.net

Re: [webtier] f:ajax event attribute won't accept expression

From: Paulo Cesar Reis <casmeiron_at_gmail.com>
Date: Tue, 02 Jun 2009 16:47:50 -0300

Hi,

Thanks for the answer.

The issue has been reported at
https://glassfish.dev.java.net/issues/show_bug.cgi?id=8470

Thanks.


On 6/2/09 12:26 PM, "Jim Driscoll" <Jim.Driscoll_at_Sun.COM> wrote:

>> I am trying to create a simple composite component where user can customize
>> the ajax event:
>> <f:ajax event="#{cc.attrs.event}" render="#{cc.attrs.target}" execute="@this"
>> />
>>
>> But when I try to execute the page I get:
>> <f:ajax> Event attribute could not be determined: #{cc.attrs.event}
>>
>> And when I put the same expression inside a outputText the value is shown
>> correctly.
>>
>> So does the f:ajax event attribute accepts expression?