[jboss-user] [JBoss Seam] - Re: Action argument is null when it shouldn't be null

fmars do-not-reply at jboss.com
Tue Jul 17 05:14:41 EDT 2007


anonymous wrote : <view-handler>org.jboss.seam.ui.facelet.SeamFaceletViewHandler</view-handler>
I use Seam 2 and there is no more "SeamFaceletViewHandler".

methsearch.xhtml displays my table. The generated URL looks like this:

http://localhost:8080/methcancerdb2/methsearch.seam?
  | dataModelSelection=gene:genes[1]&cid=18&actionMethod=methsearch.xhtml:tableviewer.displayTargetSequences(gene)

dataModelSelection=gene:genes[1] : i've clicked link on the second row. so it is the second object in the list "genes". With gene:genes[1] is "gene" is set to genes[1]. what the rest of the url means, i don't know.

More Details:

I have this methsearch.xhtml for searching my database. there is a button "Show All", which displays all entries on the table with a <s:link> for more infos.

there is a statefull sb for this site, MethSearch.java. here is the relevant part of it:


@Stateful
  | @Name("methsearch")
  | public class MethSearch implements IMethSearch{
  | ....
  | @Out(required=false)
  | private List<Gene> genes;
  | 
  | public void showAll(){
  |         genes = ((org.hibernate.Session)this.entityManager.getDelegate()).createCriteria(Gene.class).list();
  |     }
  | }

"genes" outjected as expected. the table displayed. only the var "gene" is not sent to method successfully. Any Idea?

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

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



More information about the jboss-user mailing list