|
It is great to hear a description of EGL based on specific features that have helped you! I will have to dig into it some more in the future to maybe reverse my initial dis-like of the technology. I did have a question/comment on one point.
Then you can hand the JSF page (which follows industry standards) to a web
designer who can make it pretty.
I am curious to know if they have eased the pain of JSF on web designers.
The reason I say that is because JSF imposes a whole bunch of specific tags
that will make little sense to a creative Dreamweaver type mind. For
instance, I operate in a JSF 1.1 environment using MyFaces and to compose a
table of data from a Java resource (say Vector or List) I have the following
code. I don't think this bodes well for easily handing it off to a designer.
Have they addressed this pain in the most recent version of JSF?
<x:dataTable id="data"
styleClass="table" headerClass="table_header"
var="user" value="#{UserCtl.userList}"
preserveDataModel="true"
rowClasses="row1,row2"
rows="25">
<h:column>
<f:facet name="header">
<h:commandLink action="#{UserCtl.orderByName}">
<h:outputText id="orderbyname"
value="#{fl.user_name}"/>
</h:commandLink>
</f:facet>
<h:outputText value="#{user.name}" styleClass="copy"/>
</h:column>
<h:column>
<f:facet name="header">
<h:commandLink action="#{UserCtl.orderByFirstName}">
<h:outputText id="orderbyfirstname" value="First
Name"/>
</h:commandLink>
</f:facet>
<h:outputText value="#{user.firstname}" styleClass="copy"/>
</h:column>
<h:column>
<f:facet name="header">
<h:commandLink action="#{UserCtl.orderByLastName}">
<h:outputText id="orderbylastname" value="Last
Name"/>
</h:commandLink>
</f:facet>
<h:outputText value="#{user.lastname}" styleClass="copy"/>
</h:column>
<h:column>
<f:facet name="header">
<h:commandLink action="#{UserCtl.orderByEmail}">
<h:outputText id="orderbyemail" value="Email"/>
</h:commandLink>
</f:facet>
<h:outputText value="#{user.email}" styleClass="copy"/>
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="Action"/>
</f:facet>
<h:commandLink id="edit" action="#{UserCtl.updateUserPage}"
value="edit" styleClass="copy"/>
<h:outputText value=" | " styleClass="copy"/>
<h:commandLink id="delete"
action="#{UserCtl.deleteUserPage}" value="delete" styleClass="copy"/>
</h:column>
</x:dataTable>
Aaron Bartell
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.