[jboss-user] [JBoss Seam] - Re: more seam resolver issues - how to handle a list that is

gavin.king@jboss.com do-not-reply at jboss.com
Wed Nov 15 12:30:22 EST 2006


You wasted two weeks, and you didn't even bother to look at the examples???!! 

You have multiple trivial errors here, all of which would be obvious if you looked at examples:

<h:dataTable var="aDriver" value="#{dpsDriversList[currentDpsDriver]}" rendered="#{not empty dpsDriversList[dpsDriversFound]}">

Should be:

<h:dataTable var="aDriver" value="#{dpsDriversFound}" rendered="#{not empty dpsDriversFound}">

And

<td class="formFieldColumn"><h:inputText id="driverName" value="#{dpsDriversList[dpsDriverCriteria].DriverName}"/></td>

should be:

<td class="formFieldColumn"><h:inputText id="driverName" value="#{dpsDriverCriteria.driverName}"/></td>

And

<h:outputText value="#{aDriver.DriverName}"/>

should be:

<h:outputText value="#{aDriver.driverName}"/>

And

q.setParameter("@pDtDOB", dpsDriverCriteria.getDriverDob());

should not have an @ in it.


I recommend actually trying to learn JSF and Seam before typing random things into your editor. Geez!!

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986238#3986238

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986238



More information about the jboss-user mailing list