Hello!
I am using the sandbox tableSuggestAjax component. I would like to add an
a4j:support tag to it to capture the onchange event and reRender another
part of the page.
The following code works great in IE7, but fails in Firefox 2.0.0.6.
<s:tableSuggestAjax size="50" var="respondent" id="reqRespEmail"
startRequest="2"
value="#{correspondenceBackingBean.requiredRespondentEmail}"
betweenKeyUp="300"
suggestedItemsMethod="#{correspondenceBackingBean.suggestRespondentsMethod}">
<t:column>
<f:facet name="header">
<s:outputText value="Email"/>
</f:facet>
<s:outputText for="reqRespEmail" label="#{respondent}"/>
</t:column>
<a4j:support ajaxSingle="true" event="onchange"
reRender="requiredRespondentTable"/>
</s:tableSuggestAjax>
<a4j:outputPanel id="requiredRespondentTable">
[... more jsf components here ...]
</a4j:outputPanel>
In IE7, this works beautifully -- the onchange event is triggered, ajax4Jsf
calls the server and the reRender works great. However, Firefox displays
the following error as soon as the onchange JavaScript event is fired:
"Error: messagesComponent has no properties
Source File:
http://localhost:8080/CouncilCorrNew/faces/myFacesExtensionResource/org.apache.myfaces.renderkit.html.util.MyFacesResourceLoader/11872031/dojo.DojoResourceLoader/dojo.js
Line: 96"
I have tried the latest sandbox 1.1.7 builds of tomahawk & the sandbox, as
well as the last 1.1.6 builds of each. Both of them displayed this
behavior.
I've also searched and searched, but haven't found any solution to a problem
like this.
Any help or ideas would be appreciated.
Regards,
Tara Peltier
--
View this message in context:
http://www.nabble.com/Sandox-tableSuggestAjax---Ajax4Jsf-tf4274985.html#a12168141
Sent from the MyFaces - Users mailing list archive at Nabble.com.