div panelGroup rendered not empty question tooltip style position abso

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
<t:div>
<h:panelGroup rendered="#{not empty question.tooltip}" style="position:absolute;right:8px;">
<img class="alignMiddle" id="tip${question.number}"
src="${request.contextPath}/images/blue_info.gif" />
<script type="text/javascript">
infoTip('tip${question.number}', 'Information', '${question.tooltip}');
</script>
</h:panelGroup>
<t:div styleClass="floatLeft">
<h:outputText value="#{question.fullNumber}" escape="false" />
<h:outputText rendered="#{question.mandatory}" style="color:red" value="*" escape="false"/>
</t:div>
<t:div styleClass="ml40#{not empty question.tooltip ? ' pr12' : ''}">
<h:outputText value="#{question.text}" escape="false" />
</t:div>