I want to add a commandButoon at the right of some p:selectOneButton.
It results on the commandButton not vertically aligned with the selectOne buttons
Do you have a nice way to align with css ?
code ito reproduce (if needed) :
Code: Select all
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:p="http://primefaces.org/ui"
xmlns:c="http://xmlns.jcp.org/jsp/jstl/core" template="/template.xhtml">
<ui:define name="content">
<p:selectOneButton id="oneBtn" value="#{equipmentDataChartModel.nbDays}">
<f:selectItem
itemLabel="Day"
itemValue="1" />
<f:selectItem
itemLabel="Week}"
itemValue="7" />
<f:selectItem
itemLabel="Month}"
itemValue="31" />
</p:selectOneButton>
<p:commandButton value="commandButton"/>
</ui:define>
</ui:composition>
Philippe