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 2003/07/26 02:04:11 UTC

DO NOT REPLY [Bug 21902] New: - tag property don't seem to be set correctly

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=21902>.
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=21902

tag property don't seem to be set correctly

           Summary: tag property don't seem to be set correctly
           Product: Tomcat 4
           Version: 4.1.24
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Unknown
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: eric.taix@libertysurf.fr


Hello,

I'm writing some LayoutManager tags which look like this :
<l:layout>
   <l:add>
     <a:comp name="foo1"> (*)
   </l:add>
</l:layout>
<a:comp name="foo2"> (**)
<a:comp name="foo3" tips="Hey guy"> (***)
 
(*)ServletContainer create instance "i1" for foo1, don't set width and call 
doStartTag. AddTag call it's layoutManager parent, and this one set component 
width to "100%"
 
(**)ServletContainer use instance "i1" because foo2 set ONLY the same attribute 
as foo1 (so normally other attribute will have the same value as foo1). But 
because LayoutManager change width to 100%, foo2 will have it's width set to 
100%
 
(***)ServletContainer create a new instance "i2" because foo3 use another 
attribute (tips). So foo3 will have the default width value.

First i try to reset width in "release" method, but this one don't seem to be 
call before tag instance is push in tag pool.

Hope this will help you.

Eric

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org