Hi<br><br>Just one comment: on 07-08-2009 I sent a mail to <span class="gI"><span class="ik"></span><a href="mailto:jsr-314-comments@jcp.org">jsr-314-comments@jcp.org</a></span> with subject:<br><br>Composite components not available on plddocs<br>
<br>that says this:<br><br><i>Checking some documentation about <span class="il">composite</span>
component feature, and after a previous comment about
BehaviorAttachedObjectHandler / Target, it is clear that not all
components are on plddocs. On the spec javadoc (jsf-spec-2.0-20090626)
mention this ones:<br><br>//Tags for handle specification of the component<br><span class="il">composite</span>:interface<br><span class="il">composite</span>:attribute<br><span class="il">composite</span>:implementation<br>
<span class="il">composite</span>:extension<br><br>//Tags for handle children
and facets<br><span class="il">composite</span>:insertChildren<br><span class="il">composite</span>:facet<br><span class="il">composite</span>:insertFacet<br><span class="il">composite</span>:renderFacet<br><br>//Tags for AttachedObjectHandler / Target instances<br>
<span class="il">composite</span>:actionSource<br><span class="il">composite</span>:editableValueHolder<br><span class="il">composite</span>:valueHolder<br><br>Doing a fast check for
CompositeLibrary file, this tags are registered, but there are not
present on plddocs:<br><br><span class="il">composite</span>:deferred-value<br><span class="il">composite</span>:deferred-method<br><span class="il">composite</span>:method-signature<br><span class="il">composite</span>:<span class="il">clientBehavior</span> //This is the one handling
BehaviorAttachedObjectHandler<br><br>Thanks for read this and my
previous comments.<br></i>
<br>Anyway, I hope some day this will be solved ;-). The next time I'll open issues on spec issue tracker. It seems the best way to be listen. <br><br>regards,<br><br>Leonardo Uribe<br><br><div class="gmail_quote">2010/5/3 Leonardo Uribe <span dir="ltr"><<a href="mailto:lu4242@gmail.com">lu4242@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi<br><br>In myfaces we don't have <composite:clientBehavior> tag. The reason is that we don't know which attributes this tag has, how it looks like or where there is some example. In theory it works like <composite:actionSource>, <composite:valueHolder>, <composite:editableValueHolder>. I pointed this issue multiple times (really a lot of times but it seems nobody took that seriously). Just take a look at:<br>
<br><a href="http://markmail.org/message/dxlpoa3qgul7uuns?q=composite:clientBehavior" target="_blank">http://markmail.org/message/dxlpoa3qgul7uuns?q=composite:clientBehavior</a><br><br>As soon as any documentation is available on mojarra javadoc I'll do the necessary stuff on myfaces.<br>
<br>regards,<br><br>Leonardo Uribe<br><br><div class="gmail_quote">2010/5/3 David Geary <span dir="ltr"><<a href="mailto:clarity.training@gmail.com" target="_blank">clarity.training@gmail.com</a>></span><div><div></div>
<div class="h5"><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div>Thanks, Roger!</div><div><br></div><div><br></div><div>david</div><div><br></div>2010/5/3 Roger Kitain <span dir="ltr"><<a href="mailto:roger.kitain@oracle.com" target="_blank">roger.kitain@oracle.com</a>></span><div>
<div></div><div><br><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div bgcolor="#ffffff" text="#000000">
I think this was an oversight since this was one of the last remaining
spec areas that went in.<br>
I will file a spec issue on this.<br>
Thanks for catching it.<br>
<br>
-roger<div><div></div><div><br>
<br>
On 5/3/10 2:31 PM, David Geary wrote:
<blockquote type="cite">
There is a <composite:clientBehavior> tag in the 2.0 version of
JSF that comes with GlassFish, and it appears to work as advertised by
Alexandr and Andy below.
<div><br>
</div>
<div>But, as Alexandr points out, it’s not documented in the PDL
docs, nor could I find any mention of it in the spec (or Ed’s book,
either).</div>
<div><br>
</div>
<div>This is a vital tag that lets page authors attach ajax
functionality to components within composite components. I see no
reason why it should not be documented.</div>
<div><br>
</div>
<div>Does anyone know why this tag was not documented in the first
place, or what the plans are for its future? Anyone know if it works
with MyFaces 2.0?</div>
<div><br>
</div>
<div>If there’s not a compelling reason for blacklisting it from the
docs, can we document it?</div>
<div><br>
</div>
<div>Thanks,</div>
<div><br>
</div>
<div><br>
</div>
<div>david<br>
<div><br>
</div>
<div><br>
<br>
<div>2009/5/26 Alexandr Smirnov <span><<a href="mailto:asmirnov@exadel.com" target="_blank">asmirnov@exadel.com</a>></span><br>
<blockquote>Sure, the composite client event tags are not included in
the PDL doc.<br>
There is one <composite:clientBehavior> tag with
attributes: 'name' -<br>
the virtual event name that composite component has.<br>
'default' "true/false" defines the default event that is enclosed<br>
<f:ajax> tag serves if 'event' attribute was omited.<br>
'event' - the real event name for target component.<br>
'targets' - space-delimited list of component id's for which composite<br>
component behavior or <f:ajax> tag will be redirected.<br>
<br>
The model with 'for' attribute was the first implementation but it was<br>
replaced wit 'virtual' event model.<br>
<div>
<div><br>
Andy Schwartz wrote:<br>
> David -<br>
><br>
> David Geary wrote On 5/24/2009 5:55 PM ET:<br>
>> For JSF 2, we added a "for" attribute to f:actionListener,<br>
>> f:converter, etc., but we don't have a "for" attribute for
<f:ajax>.<br>
>> AFAICT, that means that although you can attach listeners,
validators,<br>
>> converters, etc. to a component contained in a composite
component,<br>
>> you cannot attach Ajax functionality.<br>
>><br>
>> Why is that? Is it an oversight, or is there some compelling
technical<br>
>> reason to disallow adding Ajax behavior to components
contained in<br>
>> composites?<br>
><br>
> We definitely intended to support this, though instead of exposing
a<br>
> "for" attribute on <f:ajax>, we wanted to leverage the fact
that<br>
> behaviors already have a targeting mechanism in the "event" name.
The<br>
> idea was that a composite component would, like any other<br>
> ClientBehaviorHolder, expose a set of logical event names that
behaviors<br>
> can be attached to. So, for example, assuming a composite
component<br>
> included "OK" and "Cancel" buttons and wanted to allow the user to<br>
> attach action behaviors to these, the composite component might
surface<br>
> "okAction" and "cancelAction" event names, allowing the page
author to do:<br>
><br>
> <foo:someComposite><br>
> <f:ajax event="okAction"/><br>
> <f:ajax event="cancelAction"/><br>
> </foo:someComposite><br>
><br>
> I know that Alexander did the implementation work to get this up
and<br>
> running. However, I do not see any pdldoc for the composite tag
that<br>
> the composite component author uses to specify the supported client<br>
> behavior event names (composite:clientBehavior I believe).<br>
><br>
> Alex, Roger -<br>
><br>
> Did this make it into 2.0?<br>
><br>
> Andy<br>
><br>
>><br>
>> Thanks,<br>
>><br>
>><br>
>> david<br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
<br>
<br>
</div></div><pre cols="72">--
<a href="mailto:roger.kitain@oracle.com" target="_blank">roger.kitain@oracle.com</a>
<a href="https://twitter.com/rogerk09" target="_blank">https://twitter.com/rogerk09</a>
<a href="http://www.java.net/blogs/rogerk" target="_blank">http://www.java.net/blogs/rogerk</a>
</pre>
</div>
</blockquote></div><br>
</div></div></blockquote></div></div></div><br>
</blockquote></div><br>