Code: Select all
<p:dataList value="#{feedbackController.puntoControl.prototipo.preguntas}"
var="preg">
<p:outputLabel value="#{preg.pregunta}"></p:outputLabel>
<p:panelGrid columns="1" style="width:100%; text-align:center;">
<p:selectOneButton id="selectOneButton" value="#{preg.resultado}">
<f:selectItems value="#{preg.respuestas}" var="resp" itemLabel="#{resp.texto}" itemValue="#{resp.valor}" />
</p:selectOneButton>
</p:panelGrid>
</p:dataList>
Code: Select all
<div style="width:100px important;word-wrap:break-word;">
<p:outputLabel value="#{preg.pregunta}"></p:outputLabel>
</div>
Thanks in advance