For some reason the span's didn't come though on the email. In anycase,
I'm assuming you are not surrounding your static html with an
<f:verbatum> tag. The span should exist, but probably exists at the top
of your page (not where you want it). Although in JSF 1.2 this is
fixed, JSF 1.1 requires the use of the <f:verbatum> tag which ensures
that everything inside of it is sent to the client.. well.. verbatum. :)
Scott
laredotornado wrote:
Hi,
I'm using MyFaces 1.1.6. I'm trying to output a but this code. What is
the JSF way to outupt this HTML. What I'm trying below is not rendering ''.
- Dave
<h:panelGrid
id="secondRow" columns="2" cellpadding="0" cellspacing="0" border="0">
<h:panelGrid columns="4" id="featureControls" width="66%" cellpadding="0"
cellspacing="0" border="0">
<h:commandButton type="button" value="Add Feature"
onClick="location='BLS.jsf';"
styleClass="npsButton" onmouseover="hoverGridButton(this)"
onmouseout="unhoverGridButton(this)"/>
<h:commandButton type="button" value="Remove" onClick="deleteFeature()"
styleClass="npsButton" onmouseover="hoverGridButton(this)"
onmouseout="unhoverGridButton(this)"/>
<h:commandButton value="Apply" action="#{ConfigFeaturesPage.saveFeatures}"
styleClass="npsButton" onmouseover="hoverGridButton(this)"
onmouseout="unhoverGridButton(this)"/>
<h:commandButton value="Cancel" onClick="cancelEdit()"
styleClass="npsButton" onmouseover="hoverGridButton(this)"
onmouseout="unhoverGridButton(this)"/>
</h:panelGrid>
</h:panelGrid>