You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2001/10/10 10:09:31 UTC

DO NOT REPLY [Bug 4064] New: - Problem with the mapping of attributes onto tag handler properties.

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4064>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4064

Problem with the mapping of attributes onto tag handler properties.

           Summary: Problem with the mapping of attributes onto tag handler
                    properties.
           Product: Tomcat 3
           Version: 3.2 Final
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Jasper
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: damien.mcdermott@autotrader.co.uk


I have been using serveral custom tags through out a web application I am 
currently developing. The application is running on Tomcat 3.2 as the JSP and 
servlet engine, with Apache  1.3.17 as the http deamon. The OS is SunOS 5.8

The problem seems to be in the Jasper module, when converting the JSP page into 
a servlet code. The convention of setXxxx is being ignored on some occasions. 
This seems to be a random occurance.

The following code taken from the Tomcat work file, in the same converted JSP 
file, demonstrates this.

 _jspx_th_htmlUtils_insert_0.setPageContext(pageContext);
                _jspx_th_htmlUtils_insert_0.setParent(null);
                _jspx_th_htmlUtils_insert_0.setdid(dbid);
                _jspx_th_htmlUtils_insert_0.setTablename(tablename);

_jspx_th_htmlUtils_remove_0.setPageContext(pageContext);
                _jspx_th_htmlUtils_remove_0.setParent(null);
                _jspx_th_htmlUtils_remove_0.setDid(dbid);
                _jspx_th_htmlUtils_remove_0.settablename("image_temp");

The variables attempted to be set are:

/**Tablename to be queried and updated*/
    private String tablename = null;

/**The id of the record to be temporarily recorded*/
    private int did = 0;

with the tag called by

<htmlUtils:remove tablename="image_temp" did="<%=dbid%>"></htmlUtils:remove>