Java Mailing List Archive

http://www.junlu.com/

Google
Google
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
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Oracle Connection Pooling in 3 2 2
Servlet : Session invalidate
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Tomcat and webapplication specific java library path
Running a Simple JMS Example
Mapping in workers2 properties
org apache jasper JasperException
Cannot find message resources under key org apache struts action
   MESSAGE
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
url string for connecting jboss to oracle
Value attribute of <html:checkbox
javax servlet ServletException: BeanUtils populate
HTTP Status 404 The requested resource is not available
5 0 18: Windows XP Pro vs Windows 2000
 
- Action argument is null when it shouldn 't be null

- Action argument is null when it shouldn 't be null

2007-07-16       - By grettke_spdr

 Back
Hi folks,

I'm running into something here where an argument to an action method is null,
when I know that the value is actually not null. Here is the course of events:

A link gets displayed. The name of the link is the account number. When the
link is clicked a call is made to a session scoped seam component. The argument
is the account number.

 | <s:link id="viewDetail"
 | value="#{dto.accountNumber}"  action="#{accountMaintenanceAction
.selectAccount(dto.accountNumber)}"/>
 |

That link gets rendered as

 | 1024768
 |
And when I click it the action gets run. After that the page is redirected to
another page where we get the details for that account.


 | <page view-id="/inspectionSearch.xhtml">
 |         <navigation from-action="#{accountMaintenanceAction.selectAccount
(dto.accountNumber)}">
 |             <redirect view-id="/accountMaintenance.xhtml"/>
 |         </navigation>
 |     </page>
 |

The problem is that the argument that gets passed in to that method is null!

What am I doing wrong here?



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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode
=reply&p=4064712
__ ____ ____ ____ ____ ____ ____ ____ ____ ____
jboss-user mailing list
jboss-user@(protected)
https://lists.jboss.org/mailman/listinfo/jboss-user

©2008 junlu.com - Jax Systems, LLC, U.S.A.