Page 1 of 1

<h:panelGroup> in p:selectOneMenu generated issue

Posted: 22 Dec 2018, 13:39
by vished
Dear all,

I have the following issue, if I have a h:panelGroup over the the p:selectOneMenu, than the p:selectOneMenu appears at the end of the page.
This happened after I migrated to primefaces6.2. In Primefaces 6.1 this issue has not appear.

Can you check this, please.

Code: Select all

		<h:panelGroup id="ocrPattern_status_panel">
									<p:outputLabel for="ocrPattern_status" value="Status:" />
									<p:selectOneMenu id="ocrPattern_status" filter="false"
										required="true" requiredMessage="Bitte ein Status auswählen"
										value="#{ocrPatternEditController.ocrPattern.status}">
										<f:selectItem itemLabel="Aktiv" itemValue="ACTIVE" />
									</p:selectOneMenu>
									<p:tooltip for="ocrPattern_status" position="top"
										value="Bitte ein Status auswählen" />
								</h:panelGroup>
-> issue

Code: Select all

		
									<p:outputLabel for="ocrPattern_status" value="Status:" />
									<p:selectOneMenu id="ocrPattern_status" filter="false"
										required="true" requiredMessage="Bitte ein Status auswählen"
										value="#{ocrPatternEditController.ocrPattern.status}">
										<f:selectItem itemLabel="Aktiv" itemValue="ACTIVE" />
									</p:selectOneMenu>
									<p:tooltip for="ocrPattern_status" position="top"
										value="Bitte ein Status auswählen" />
								/code]
								
-> Is working
							
Any ideas?

Re: <h:panelGroup> in p:selectOneMenu generated issue

Posted: 25 Dec 2018, 08:58
by aragorn
Could you please try the following code?

Code: Select all

<h:panelGroup id="ocrPattern_status_container"> <!-- ocrPattern_status_container instead of ocrPattern_status_panel -->
   <p:outputLabel for="ocrPattern_status" value="Status:" />
   <p:selectOneMenu id="ocrPattern_status" filter="false" required="true" requiredMessage="Bitte ein Status auswählen" value="#{ocrPatternEditController.ocrPattern.status}">
         <f:selectItem itemLabel="Aktiv" itemValue="ACTIVE" />
   </p:selectOneMenu>
   <p:tooltip for="ocrPattern_status" position="top" value="Bitte ein Status auswählen" />
</h:panelGroup>