jsr344-experts@javaserverfaces-spec-public.java.net

[jsr344-experts] Re: [1111-PassThruElements] DISCUSSION

From: Frank Caputo <frank_at_frankcaputo.de>
Date: Thu, 31 May 2012 16:24:11 +0200

Hi,

I will reply at the latest next tuesday, when I'm back home.


Cheers,
Frank

On 31.05.2012, at 00:05, Edward Burns <edward.burns_at_oracle.com> wrote:

> Hello Experts,
>
> I've had a hard time following the discussion on passthru elements,
> mainly because I was trying to *not* follow it because I was trying to
> make progress on passthru attributes. To save all of us time, I
> nominate Frank Caputo to craft a cohesive and self-contained proposal,
> IF he can answer this question. Why do we need pass through elements in
> the first place when you can do something like this?
>
> Using page:
>
> <my:componentUsingHtml5 a="b" c="#{d.e}">
> <f:actionListener binding="#{d.f}" />
> </my:componentUsingHtml5>
>
> Defining page:
>
> <cc:interface componentType="javaTopLevelComponent">
> <cc:actionListener ...>
> <cc:attribute >
> ...
> </cc:interface>
>
> <cc:implementation>
>
> arbitrary html 5 capable content goes here.
>
> </cc:implementation>
>
> I'd say that if the composite component feature is not up to the task,
> then we should improve it rather than inventing more syntax and giving
> our detractors more reason to say we're too complex.
>
> Sincerely,
>
> Ed
>
> --
> | edward.burns_at_oracle.com | office: +1 407 458 0017
> | homepage: | http://ridingthecrest.com/
> | 31 Business days til JSF 2.2 Public Review to EG
>