  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Tomcat - JSP/Servlet container | | Struts - A MVC web framework | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | JSP - A mailing list about Java Server Pages specification and reference | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | |
Struts & Hibernate
|
|
|
  | | | - Re: Action argument is null when it shouldn 't be nul | - Re: Action argument is null when it shouldn 't be nul 2007-07-17 - By fmars
Back 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:
@(protected) | @(protected)("methsearch") | public class MethSearch implements IMethSearch{ | .... | @(protected)(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 __ ____ ____ ____ ____ ____ ____ ____ ____ ____ jboss-user mailing list jboss-user@(protected) https://lists.jboss.org/mailman/listinfo/jboss-user
|
|
 |