Hello,
I have a problem with IE9 and suggestionBox.
This is the code I use :
<s:decorate template="layout/edit.xhtml" switchType="ajax">
<ui:define name="label">#{msgs_status.lbl_current_status}</ui:define>
<h:inputText value="#{task.name}" readonly="true" />
<rich:suggestionbox id="orderstatus" for="labelOrderforms" suggestionAction="#{orderformStateList.getResult}"
usingSuggestObjects="false" var="state" fetchValue="#{state.labelOrderforms}">
<h:column>
<h:outputText value="#{state.labelOrderforms}" />
</h:column>
<a4j:support status="waitStatus" ajaxSingle="true" event="onselect" reRender="buttonSaveRegion">
<f:setPropertyActionListener value="#{state.idOrderforms}"
target="#{orderformHome.instance.selected_status}" />
</a4j:support>
</rich:suggestionbox>
</s:decorate>
<s:decorate template="layout/edit.xhtml">
<ui:define name="label">#{msgs_status.lbl_change_status}</ui:define>
<h:inputText id="labelOrderforms"
value="#{orderformStateList.orderformState.labelOrderforms}"></h:inputText>
<h:graphicImage value="/images/arrow2.gif"
onclick="#{rich:component('orderstatus')}.callSuggestion(true)" />
</s:decorate>
When I try to click or to enter text in the suggestionBox I have this the javascript error
SCRIPT5007: Unable to get value of the property 'callSuggestion': object is null or undefined
But it works fine in FF.
I tried compatibility mode IE7 and IE8 but still have the error.
Do you have any idea why ?