Component ID changes after submit if encoding='multipart/form-data' and part of
page has been included.
-------------------------------------------------------------------------------------------------------
Key: MYFACES-1905
URL: https://issues.apache.org/jira/browse/MYFACES-1905
Project: MyFaces Core
Issue Type: Bug
Affects Versions: 1.2.2
Environment: Myfaces 1.2.2
JSP
Reporter: Andrey Markavtsov
My test page:
<h:form enctype="multipart/form-data" id="_form">
<jsp:include page="menu.jsp" />
<t:inputFileUpload ></t:inputFileUpload>
<h:commandButton value="Upload"></h:commandButton>
</h:form>
menu.jsp :
<h:panelGrid columns="1" id="grid">
<h:selectOneMenu value="#{bean.select}" id="select">
<f:selectItem itemValue="none" itemLabel="none"/>
<f:selectItem itemValue="www" itemLabel="www"/>
</h:selectOneMenu>
</h:panelGrid>
Firstly SelectOneMenu has '_form:select' id. After upload and page refreshed ID
changed to '_form:selectj_id_1'.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.