Code: Select all
<f:subview id="tabs">
<p:tabView id="technologyTabView">
<p:tab id="someTab>
<h:form id="someFormId">
<h:inputText id="textInput"/>
</h:form>
</p:tab>
</p:tabView>
</f:subview>
When I deploy on Windows 10 development machine (Tomcat 7.0.70, JDK 8u111, Mojarra 2.2.13, Primefaces 6.0) it is properly translated to something like this
Code: Select all
<div id="tabs:technologyTabView" > // this is ui-tabview etc -
..
<form id="tabs:technologyTabView:someFormId">
<input type="text" id="tabs:technologyTabView:someFormId:textInput"/>
</form>
<div>
But when I deploy on Ubuntu Linux 14.04 LTS(production) using exact same versions of everything the id attribute is ignored and the id in generated html of tabView <div> is generated dynamically by Mojarra, so when I check page source html it looks like :
Code: Select all
<div id="tabs:j_idt2636" > // this is ui-tabview etc -
..
<form id="tabs:j_idt2636:someFormId">
<input type="text" id="tabs:j_idt2636:someFormId:textInput"/>
</form>
<div>