dev@jsf-extensions.java.net

Re: [JSF-EXT] using actionListeners with avatar

From: Ed Burns <ed.burns_at_sun.com>
Date: Fri, 11 Aug 2006 07:31:42 -0700

>>>>> On Tue, 11 Jul 2006 23:42:49 +1000, Roger Keays <roger.keays_at_ninthavenue.com.au> said:

RK> Hi there,
RK> Is avatar known to work on command buttons which use action listeners
RK> instead of method binding expressions? When I try, I can see the
RK> conversion & validation happening, but my action listeners aren't invoked.

RK> <h:commandLink onclick="new Faces.Event(this); return false;" value="add">
RK> <n:setProperty target="${entities.selected}" value="${item}"/>
RK> <f:actionListener type="steelmax.actions.AddFreight"/>
RK> <f:actionListener type="figbird.commerce.actions.AddToOrder"/>
RK> </h:commandLink>

RK> Or maybe something else could cause this problem?

Hello Roger,

Sorry for the tremendously tardy reply.

The above should work, and your actionListeners should get called.

I have it in my queue to investigate and I'll get back to you.

Thanks,

Ed

-- 
| ed.burns_at_sun.com  | {home: 407 869 9587, office: 408 884 9519 OR x31640}
| homepage:         | http://purl.oclc.org/NET/edburns/
| aim: edburns0sunw | iim: ed.burns_at_sun.com