h:panelGroup styleClass="md-inputfield" with selectonemenu not working

Post Reply
Posts: 2
Joined: 24 May 2015, 21:10

29 Jun 2018, 21:26

I'm trying to make the panelGroup work with the md-inputfield style and the selectOneMenu component, but I'm not getting it.

Code: Select all

<h:panelGroup styleClass="md-inputfield">								
		widgetVar="w_princAtivoPrinc" id="princAtivoPrinc"
		name="princAtivoPrinc" filter="true" filterMatchMode="contains">
		<f:selectItem itemLabel="Selecione" noSelectionOption="true" />
		<f:selectItems value="#{beanFichaTecnica.listaPrincAtivoPrinc}"
			var="princAtivoPrinc" itemValue="#{princAtivoPrinc}"
			itemLabel="#{princAtivoPrinc.nome}" />
		<p:ajax event="change" update="tab_princAtivoSec:princAtivoSec" />
	<label>Princípio Ativo Principal</label>				

Posts: 3968
Joined: 29 Jun 2013, 12:38

02 Jul 2018, 08:26

I tested it. It works fine for me. My test code;

Code: Select all

<h:panelGroup styleClass="md-inputfield">
    <p:selectOneMenu id="console">
        <f:selectItem itemLabel="" itemValue="" />
        <f:selectItem itemLabel="Xbox One" itemValue="Xbox One" />
        <f:selectItem itemLabel="PS4" itemValue="PS4" />
        <f:selectItem itemLabel="Wii U" itemValue="Wii U" />
Which Ultima version are you using?

Post Reply

Return to “Ultima - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest