defining a paramName in a link inside a column causes an Error
--------------------------------------------------------------

         Key: DISPL-373
         URL: http://jira.codehaus.org/browse/DISPL-373
     Project: DisplayTag
        Type: Bug

    Versions: 1.2    
    Reporter: cedric wider
    Priority: Minor


I define a list using the following line:
<display:table name="sessionScope.USER_KEY" id="foo" class="msgList">

In one column there should be a dynamic link to a jsp page. A user Id should be 
passed to the processing java class. When I define the link as shown in the 1st 
example, everything works fine. However in the second example it doesn't work. 
Somehow the userId is not written to the session correctly and I get null in 
the processing java class.

<display:column title="foo" >
  <html:link page="/loadUserProf.jsp" paramName="foo"
    paramId="USER_PROFILE" paramProperty="userId">
    see profile</html:link>
</display:column>

<display:column property="userId" paramName="foo"
  href="/loadUserProf.jsp" paramId="USER_PROFILE"
  paramProperty="userId" title="see profile" />

Removing the paramName="foo" statement completely in the 2nd column tag, solved 
the problem for me. - However it looks like the href inside a column isn't 
quite the same as the struts like <html:link> even if it says so in the 
documentation.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
displaytag-devel mailing list
displaytag-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to