Programmatic added ajax not work.
---------------------------------
Key: TOMAHAWK-1478
URL: https://issues.apache.org/jira/browse/TOMAHAWK-1478
Project: MyFaces Tomahawk
Issue Type: Bug
Components: Calendar
Affects Versions: 1.1.7
Environment: tomcat 5.5, myfaces 1.15
Reporter: Georg Black
I am using composed component in Java. I work with myfaces input components and
tomahawk calendar component. At all times I use
getchildren(inputcomponent).add(htmlajaxsupport). It works on all and on
calendar in tomahawk version 1.1.6 too. But from 1.1.7 it fails.
It fails only with click on action on page which result is the same page.
javax.faces.el.EvaluationException: AjaxUpdate component not found for id:
:frm:zdobd_od_epo:zdobd_od_ajax
at
org.ajax4jsf.framework.ajax.EventValueBinding.getComponent(EventValueBinding.java:108)
at
org.ajax4jsf.framework.ajax.EventValueBinding.getValue(EventValueBinding.java:91)
at
javax.faces.component.html._ComponentUtils.getStringValue(_ComponentUtils.java:36)
at
javax.faces.component.html.HtmlInputText.getOnchange(HtmlInputText.java:170)
at
org.apache.myfaces.shared_tomahawk.renderkit.RendererUtils.copyHtmlInputTextAttributes(RendererUtils.java:
728)
at
org.apache.myfaces.custom.calendar.HtmlCalendarRenderer.renderPopup(HtmlCalendarRenderer.java:184)
at
org.apache.myfaces.custom.calendar.HtmlCalendarRenderer.encodeEnd(HtmlCalendarRenderer.java:148)
By quickly view in rendering calendar was added getchildren().removeAll ....
may be this is causation?
With debug it looks like ajax support not in tree in restore phase.
Thanks for any work info or idea.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.