>>>>> On Tue, 17 Oct 2006 11:16:18 +1000, Roger Keays <roger.keays_at_ninthavenue.com.au> said:
RK> Hi Ed,
RK> Using the onclick attribute to trigger an ajax transaction doesn't
RK> invoke action listeners because the onclick javascript overrides the
RK> regular submit js which sets a hidden parameter to allow the view to
RK> know which button was pressed.
>>
RK> onclick="var a=function(){DynaFaces.fireAjaxTransaction(this, { render: 'editOrderPanel' }); return false;};var b=function(){clearFormHiddenParams_editOrderForm('editOrderForm');document.forms['editOrderForm']['editOrderForm:j_idcl'].value='j_id27'; document.forms['editOrderForm'].submit(); return false;};return (a()==false) ? false : b();">
>>
>> You mean for commandLink components, right? For regular buttons this
>> should not be a problem. I think you have found a real bug with respect
>> to the command link issue.
>>
RK> You are right, this is a problem with commandLinks only. commandButtons
RK> work okay.
>> What version of the Sun JSF Impl are you using?
>>
RK> <dependency>
RK> <groupId>javax.faces</groupId>
RK> <artifactId>jsf-impl</artifactId>
RK> <version>1.2</version>
RK> <scope>runtime</scope>
RK> </dependency>
RK> I've gone ahead and submitted a defect to the issue tracker for this
RK> [1]. Speaking of which... can you have a look at my proposed solution to
RK> the CDATA problem [2]?
Oooh. I'd love to see that get fixed. I'll take a look today.
RK> Thanks,
RK> Roger
RK> [1]
https://jsf-extensions.dev.java.net/issues/show_bug.cgi?id=15
RK> [2]
https://jsf-extensions.dev.java.net/issues/show_bug.cgi?id=13
RK> --
RK> ----------------------------------------
RK> Ninth Avenue Software
RK> p: +61 7 3137 1351 (UTC +10)
RK> f: +61 7 3102 9141
RK> w:
http://www.ninthavenue.com.au
RK> e: info_at_ninthavenue.com.au
RK> ----------------------------------------
RK> ---------------------------------------------------------------------
RK> To unsubscribe, e-mail: dev-unsubscribe_at_jsf-extensions.dev.java.net
RK> For additional commands, e-mail: dev-help_at_jsf-extensions.dev.java.net
--
| 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