<h:panelGroup> in p:selectOneMenu generated issue

Post Reply
vished
Posts: 303
Joined: 02 Feb 2014, 17:38

22 Dec 2018, 13:39

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?

User avatar
aragorn
Posts: 3637
Joined: 29 Jun 2013, 12:38

25 Dec 2018, 08:58

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>

Post Reply

Return to “Morpheus - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest