You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2003/02/26 10:25:23 UTC

DO NOT REPLY [Bug 17418] New: - taglib/html/ErrorsTag

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

taglib/html/ErrorsTag

           Summary: taglib/html/ErrorsTag
           Product: Struts
           Version: 1.1 RC1
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Custom Tags
        AssignedTo: struts-dev@jakarta.apache.org
        ReportedBy: darius_peksys@hotmail.com


Hello

I think I find out bug... not e feature.
All tags (at least which I know) from struts are started and finished whithout
any line ends or etc.
ONLY html:error tag is executed in a such a way:
error.header + EOL + error + EOL + error.footer + EOL
Imagine I'm using javaScript and I want, that one variable will have value,
which comes from html:error tage.
var error = "
Mr. Peksys you'v got an error
";
won't work.

In my opinion EOL(to show them or not) must be configurable. From as far as I
know xml - it wouldn't be so hard to one attribute for a such a thing. And after
looking at your code - I think it won't be also to change it

P.S. Writing here because I notice, that you will releace 1.1 version. I checked
code on 1.1 candidat, but there was the same bug/feature. So I hope that with
next releace I dont have to change ErrorsTag class :))))

Kind regards,
Darius

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