[jsr-314-open] Roger or Andy: high level question on Component Behaviors (was: Re: Behavior API overview)

Ed Burns Ed.Burns at SUN.COM
Mon Mar 16 10:23:25 EDT 2009


>>>>> On Sat, 14 Mar 2009 23:02:52 -0400, Andy Schwartz <andy.schwartz at ORACLE.COM> said:

AS> So this pulls in the "foo.js" JavaScript library any time a Foo 
AS> component is present in the component tree:

AS>   @ResourceDependency(name="foo.js")
AS>   public class FooComponent extends UIComponentBase { ...}

AS> And this attaches an Ajax behavior to the "mouseover" event on a 
AS> FooComponent instance, causing an Ajax request to be fired when the user 
AS> mouses over the component's content:

AS>   <my:foo id="bar">
AS>       <f:ajax event="mouseover"/>
AS>   </my:foo>

AS> Roger -

AS> Let's sync up tomorrow and see if we can make sure that the spec is 
AS> clear on this.

Ok, great.  Please do.

-- 
| ed.burns at sun.com  | office: 408 884 9519 OR x31640
| homepage:         | http://ridingthecrest.com/




More information about the jsr-314-open-mirror mailing list