[jsr-314-open] <h:dataTable> binding vs. ui:repeat
Martin Marinschek
mmarinschek at apache.org
Wed Aug 12 18:26:14 EDT 2009
Hi Dan,
I did a little research, and it won't work. Therefore I just sent a
mail out to the JSR-245 spec lead asking for the following signature
in the EL-resolver - that might help at least a little in providing
such functionality. And I thought we had discussed that this should
work at some point of time.
public Object invoke(ELContext context,
Object base,
Object method,
Class[] formalParamTypes,
Object[] formalParams,
Class[] parsedParamTypes,
Object[] parsedParams
) {
...
}
regards,
Martin
On 8/7/09, Dan Allen <dan.j.allen at gmail.com> wrote:
>>
>> > EL2 helps with this, but... now what if I have a ValueChangeEvent for an
>> > input field on each <li> row? Now I can no longer use EL2 to pass the
>> > row into the ValueChangeListener
>>
>> why not? <h:inputText
>> valueChangeListener="#{myBean.valueChangeListener(listItem)}"/> should
>> work in the next EL version respectively the JBoss EL, right?
>
>
> In theory. Someone should check this because there are two things happening
> here:
>
> - Optional no-arguments method for ValueChangeListener
> - Parametrized method in EL
>
> Granted, in this case you aren't going to get the ValueChangeEvent argument
> because you are opting to not accept it. Does that sound right?
>
> -Dan
>
> --
> Dan Allen
> Senior Software Engineer, Red Hat | Author of Seam in Action
> Registered Linux User #231597
>
> http://mojavelinux.com
> http://mojavelinux.com/seaminaction
> http://in.relation.to/Bloggers/Dan
>
--
http://www.irian.at
Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German
Professional Support for Apache MyFaces
More information about the jsr-314-open-mirror
mailing list