-
1. Re: ajaxSingle attribute for <a4j:support>
oterral Jul 11, 2008 6:13 AM (in response to oterral)Ok I've resolved my problem
The javascript variable : options.single is never set by the server , so I've correct this in the class :
AjaxRendererUtils.java l219
// For input components in single mode or without form submit input
// control )
if (ajaxSingle && input) { // || action
// TODO - inside form, put reference :
// document.forms['form'].controls['control']
options.put("control", JSReference.THIS);
options.put("single", JSReference.TRUE);
}
I don't know if it's an issue or a architecture choice
but If it's an issue I hope you'll commited soon this patch in the a4j trunk.
I use :
repository : http://anonsvn.jboss.org/repos/ajax4jsf/trunk/framework
revison 323
Bye guys -
2. Re: ajaxSingle attribute for <a4j:support>
oterral Jul 16, 2008 8:12 AM (in response to oterral)I've found a better solution ::
The ajaxSingle options is commented l220 AjaxRenderUtils :
if (ajaxSingle) {
options.put("single", JSReference.TRUE);
}
just commmented out these 3 lines to make tha options ajaxSingle available