Parameter is not sent to my method from jsf

Hi.

On my jsf page I have this.

<h:dataTable value="#{surveys}" id="surveys"

var="surveyxx"

styleClass="dvdtable"

headerClass="dvdtablehead"

rowClasses="results"

columnClasses="dvdtablecol">

<h:column>

<f:facet name="header">

<h:outputText value="navn" />

</f:facet>

<s:link value="#{surveyxx.name}" action="#{editSurvey.selectSurvey(surveyxx)}"/>

</h:column>

</h:dataTable>

in my pages.xml I have this.

<page view-id="/ManageSurveys/surveyList.xhtml" login-required="true">

<navigation from-action="#{editSurvey.selectSurvey(surveyxx)}">

<redirect view-id="/ManageSurveys/surveyElementsEdit.xhtml"/>

</navigation>

</page>

and my method looks like this

public void selectSurvey(Survey surveyxx)

{

survey = surveyxx;

}

My method is called allright but surveyxx is just null instead of containing the object from the list. What Im trying to achieve here is that when a user clicks an object on the list I want it put on session and then return to a page where I can edit content on the object.

Im new to jsf. So I might be making some dumb rookie mistake =)

[1266 byte] By [Cogos.dk_Olea] at [2007-11-27 11:25:03]
# 1

> My method is called allright

Really? What JSF implementation and version are you using for the 's' taglib?

Anyway, you want to capture the row object, I see? Use HtmlDataTable#getRowData().

Also see http://balusc.xs4all.nl/srv/dev-jep-dat.html

BalusCa at 2007-7-29 16:02:09 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2

Im using xmlns:s=" http://jboss.com/products/seam/taglib

Jboss seam

Cogos.dk_Olea at 2007-7-29 16:02:09 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...