[jboss-user] [JBoss Seam] - EL enhancements in Seam 1.2.1
neoko
do-not-reply at jboss.com
Wed May 9 12:05:54 EDT 2007
Hi :) Does EL enhancements work in Seam 1.2.1? Because i'm trying to make this code work:
The XHTML file:
| [...]
| <h:dataTable id="projectPlanList" var="pp"
| value="#{projectPlanList.resultList}"
| rendered="#{not empty projectPlanList.resultList}">
| <h:column>
| <f:facet name="header">Id</f:facet>
| #{pp.id}
| </h:column>
| <h:column>
| <f:facet name="header">Name</f:facet>
| <s:link id="pp" value="#{pp.name}" action="#{projectPlanHome.edit(pp.id)}"/>
| </h:column>
| </h:dataTable>
| [...]
|
And the code of the JavaBean
| [...]
| public String edit(Long id){
| projectPlanId = id;
| return "/project-plan.xhtml";
| }
| [...]
|
I'm debugging it, but inside the method the id variable always is null. Am I missing something? Thanks :)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4044384#4044384
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4044384
More information about the jboss-user
mailing list