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