[jboss-user] [JBoss Seam] - Re: Seam 1.1 beta 1

bpatters do-not-reply at jboss.com
Fri Nov 3 13:03:30 EST 2006

HUGE kudo's for the facelet support of parameters in action expressions!

Being able to do: "#{contact.addContact(c)}" has really simplified some the things I'm trying to do. 

One thing, I don't know if this is a bug or I'm misunderstanding something but:

a4j namespace is the Ajax4Jsf function set.

the command:

<a4j:commandLink action="#{contactManager.deleteContact(c)}"/>Works inside a datatable like:
<h:dataTable var="c" value="#{contacts}">
  |  <h:column>
  |       ## above action here
  | </h:column>
  | </h:dataTable>
But when it's inside:
<c:forEach var="c" items="#{contacts}">
  |   ## command goes here
  | </c>

it doesn't work, the pareamter sent to the function always resolves to null.

The above is just a contrived example of what I saw last night with my real application, if you need the real code example that doesn't work I will have to do that tonight/this weekend.

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

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

More information about the jboss-user mailing list