5 Replies Latest reply on Jul 10, 2009 2:32 PM by paulbotta

    'limitToList' working on FF but not IE

    paulbotta

      I am experiencing an issue using IE 8.0 that works as expected on FF 3.0.11.

      I have an inplaceInput that when a user enters a value, enables the 'Save' and 'Cancel' button. I needed to add the limitToList in order to suppress the validation message until 'Save' was clicked. I am new to RichFaces and could use some assistance. Thanks.

      <div xmlns:html="http://www.w3.org/1999/xhtml"
       xmlns:ui="http://java.sun.com/jsf/facelets"
       xmlns:h="http://java.sun.com/jsf/html"
       xmlns:f="http://java.sun.com/jsf/core"
       xmlns:rich="http://richfaces.org/rich"
       xmlns:a4j="http://richfaces.org/a4j">
      
      
       <h:panelGrid columns="2" styleClass="cmdButtonPnl">
      
       <a4j:commandButton id="save"
       value="Save"
       actionListener="#{myController.save}"
       disabled="#{!myController.entity.isDirty}"
       styleClass="cmdButton"/>
      
       <a4j:commandButton id="cancel"
       value="Cancel"
       actionListener="#{myController.cancel}"
       disabled="#{!myController.entity.isDirty}"
       immediate="true"
       styleClass="cmdButton"
       reRender="input"/>
       </h:panelGrid>
      
       <h:panelGrid columns="2">
      
       <h:panelGrid id="input" columns="2">
       <h:form>
       <h:outputText value="Name" styleClass="labelText"/>
       <rich:inplaceInput
       id="commonName"
       layout="block"
       value="#{myController.entity.commonName}"
       selectOnEdit="true"
       required="true"
       requiredMessage="'Common-Name' is required."
       valueChangeListener="#{myController.entityValueChangeListener}">
       <a4j:support event="onviewactivated" limitToList="true" reRender="save, cancel"/>
       </rich:inplaceInput>
      
       </h:form>
       </h:panelGrid>
      
       <rich:panel id="adminMessages" styleClass="adminMsgs" bodyClass="rich-laguna-panel-no-header">
       <rich:messages errorClass="bulletErrors" infoClass="bulletErrors"/>
       </rich:panel>
      
       </h:panelGrid>
      
      </div>