These are quite powerful, but also hard to learn to use properly.

I would add that the JSF tags are also quite the pain for a creative
designer to use within their familiar tools (i.e. Dreamweaver), AND when you
need to go outside of the box then it can be quite cumbersome to use the JSF
tags.

Below is an example of needing a plain HTML table within a JSF dataTable.
Note how the verbatim tag really makes a mess of things.

<x:dataTable id="data"
styleClass="table" headerClass="table_header"
var="address" value="#{UserCtl.addressList}"
preserveDataModel="true" rows="3">
<h:column>
<f:facet name="header">
<h:outputText id="listname" value="Existing Addresses"/>
</f:facet>
<f:verbatim>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></f:verbatim><h:outputText value="#{address.company}"
styleClass="copy" /> <f:verbatim></td></tr></f:verbatim>
<f:verbatim><tr><td></f:verbatim><h:outputText value="#{
address.name}" styleClass="copy" /> <f:verbatim></td></tr></f:verbatim>
<f:verbatim><tr><td></f:verbatim><h:outputText
value="#{address.address1}" styleClass="copy" />
<f:verbatim></td></tr></f:verbatim>
<f:verbatim><tr><td></f:verbatim><h:outputText
value="#{address.address2}" styleClass="copy" />
<f:verbatim></td></tr></f:verbatim>
<f:verbatim><tr><td></f:verbatim><h:outputText
value="#{address.address3}" styleClass="copy" />
<f:verbatim></td></tr></f:verbatim>
<f:verbatim><tr><td></f:verbatim><h:outputText
value="#{address.city}, #{address.state} #{address.zipcode}
#{address.country}" styleClass="copy" /> <f:verbatim></td></tr></f:verbatim>
<f:verbatim><tr><td></f:verbatim><h:outputText
value="#{address.phone}" styleClass="copy" /> <f:verbatim></td></tr>
</table>
</f:verbatim>
</h:column>

<h:column>

<h:commandLink id="prefill" action="#{OrderCtl.prefillOrderAddress}"
value="use this" styleClass="copy" immediate="false"/>
</h:column>
</x:dataTable>

Aaron Bartell
http://mowyourlawn.com

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.