cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 16513] New: - simple form transformer aka SimpleFormTransformer problem, sticky </error> tag
Date Tue, 28 Jan 2003 21:07:31 GMT
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=16513>.
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=16513

simple form transformer aka SimpleFormTransformer problem, sticky </error> tag

           Summary: simple form transformer aka SimpleFormTransformer
                    problem, sticky </error> tag
           Product: Cocoon 2
           Version: 2.0.4
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: sitemap components
        AssignedTo: cocoon-dev@xml.apache.org
        ReportedBy: stark1@axelero.hu


hi, 
I've tried out the SimpleFormTransformer, and it seems to me if no error occured
during a form submit or just before a form submit, the transformer leaves in
it's result the closing </error> tag. This is true for all error element, if i
use 3 error element then the result will contain 3 closing </error> tag.

for example: 
...
<form method="GET" action="addEditMusicGuide" name="MG"></error>

author: <input maxlength="100" name="sp_author" value="" type="text">
...

after validation, when error occured: 
...
<form method="GET" action="addEditMusicGuide" name="MG">
<error>
<a href="javascript:jumpTo(document.MG.sp_description);">description required</a>
<br>
</error>

author: <input maxlength="100" name="sp_author" value="" type="text">
...
I hope this is a real problem, not just because of a user mistake :-))
If this information isn't enough, feel free to ask me for more details.

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message