Internet Explorer(jsf)上未设置输入文本值

时间:2015-02-12 14:26:17

标签: internet-explorer jsf jsf-1.2

我有一个包含单个字段的表单:

<div class="base-label-input">
    <div class="label-align dark-label">
        <h:outputLabel value="#{msg.negociacao_cadastro_cliente_cadastrar_insc_estadual}"
            for="inscr_estadual" /><span class="estilo-asterisco estilo-asterisco-add"><h:outputText
                value="#{msg.campoSimbolo}" /></span>
    </div>
    <div class="input-align">
        <h:inputText id="inscrEstadual" tabindex="1"
            required="false" maxlength="19"
            disabled="false"
            value="#{actionInscricaoEstadualCliente.inscricaoEstadual.inscricaoEstadual}"
            size="50" label="Inscr_Estadual">
        </h:inputText>
    </div>
</div>
<div class="base-label-input">
    <a4j:commandButton styleClass="button"
        value="#{msg.inserir}" type="submit"
        onclick="javascript:Richfaces.showModalPanel('progressWaitModalPanel');atualizarImagem();"
        action="#{actionInscricaoEstadualCliente.inserirInscricaoEstadualLista}"
        eventsQueue="eqCadastroUsuario" tabindex="2"
        reRender="grdInscricaoEstadual, inscrEstadual">
    </a4j:commandButton>
</div>

当我使用chrome点击按钮时,会在对象中设置该值。但是,当我对Internet Explorer执行相同操作时,该值未设置。有什么想法吗?

(表单非常大......所以我把输入文本和按钮放在一起)

1 个答案:

答案 0 :(得分:1)

关于Richfaces 4.x Technical Requirements,所需的最低JSF实现是2.x(javax.faces.jar为2.1.28或更高,myfaces-impl.jar为2.1.10或更高),因为你说您正在使用JSF 1.2我将假设您的Richfaces的版本是3.xx

仅在Internet Explorer 8或更低版本中支持RichFaces 3,如果您想使用IE 11,则需要设置meta tag,以便您控制文档兼容性模式:

<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" />