I Had read that Arron had submitted patches to the nested tags to allow the
upgrade to tomcat 4.1.x.
(I assume that the zip jakarta-struts-20030306 contains the nested fixes)

We are currently developing on TC4.04 with 1.1b2.

I dropped that latest binaries in and got several problems (compile errors)
on many pages that work fine other wise.

If I understand the upgrade.....I just replace the JARS, *.tld, and the
*.dtd 's...?


This is not all the problems but two main ones are the nested:img tag and
the nested:radio tag

With a usage such as:
<nested:img  pageKey="calendar.logo" />
I get:
javax.servlet.jsp.JspException: No getter method for property  of bean taskListForm
        at org.apache.struts.util.RequestUtils.lookup(RequestUtils.java:881)
        at org.apache.struts.taglib.html.ImgTag.url(ImgTag.java:622)
        at org.apache.struts.taglib.html.ImgTag.doEndTag(ImgTag.java:410)
        at 
org.apache.struts.taglib.nested.html.NestedImgTag.doEndTag(NestedImgTag.java:106)
        at 
org.apache.jsp.TaskListMainForm$jsp._jspService(TaskListMainForm$jsp.java:390)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
..

If I replace it with:
<html:img  pageKey="calendar.logo" />
It will work Fine.


The nested:radio tag gives me this:

javax.servlet.jsp.JspException: Cannot find bean under name
        at org.apache.struts.taglib.html.RadioTag.doStartTag(RadioTag.java:229)
        at 
org.apache.struts.taglib.nested.html.NestedRadioTag.doStartTag(NestedRadioTag.java:94)
        at 
org.apache.jsp.InvOnDemandFilterTable$jsp._jspService(InvOnDemandFilterTable$jsp.java:126)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at 
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:201)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)

with a usage of:
inside a jsp:include
<nested:root>
    <table>
        <tr>
          <td >All</td>
          <td  ><nested:radio property="status" value="<%= 
Integer.toString(ArConstants.TRANSACTION_STATUS_ALL) %>"/></td>
          <td >Open</td>
          <td ><nested:radio property="status" value="<%= 
Integer.toString(ArConstants.TRANSACTION_STATUS_OPEN) %>"/></td>
        </tr>
    </table>
</nested:root>

sorry for the long email..

Jeff



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to