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.
>
You are right, this is a problem with commandLinks only. commandButtons
work okay.
> What version of the Sun JSF Impl are you using?
>
<dependency>
<groupId>javax.faces</groupId>
<artifactId>jsf-impl</artifactId>
<version>1.2</version>
<scope>runtime</scope>
</dependency>
I've gone ahead and submitted a defect to the issue tracker for this
[1]. Speaking of which... can you have a look at my proposed solution to
the CDATA problem [2]?
Thanks,
Roger
[1]
https://jsf-extensions.dev.java.net/issues/show_bug.cgi?id=15
[2]
https://jsf-extensions.dev.java.net/issues/show_bug.cgi?id=13
--
----------------------------------------
Ninth Avenue Software
p: +61 7 3137 1351 (UTC +10)
f: +61 7 3102 9141
w: http://www.ninthavenue.com.au
e: info_at_ninthavenue.com.au
----------------------------------------