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 36381] New: - [PATCH] Styling for booleanfield with state="output" is reversed
Date Fri, 26 Aug 2005 13:53:00 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36381>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36381

           Summary: [PATCH] Styling for booleanfield with state="output" is
                    reversed
           Product: Cocoon 2
           Version: Current SVN 2.2
          Platform: Other
               URL: http://svn.apache.org/repos/asf/cocoon/blocks/forms/trun
                    k/java/org/apache/cocoon/forms/resources/forms-field-
                    styling.xsl
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: CocoonForms
        AssignedTo: dev@cocoon.apache.org
        ReportedBy: apache.bugs@lojjic.net


In forms-field-styling.xsl, the template for fi:booleanfield[@state = 'output']
adds the "checked" attribute to the checkbox if the fi:value != 'true'.  This is
backwards, and should instead be fi:value != 'false' to match the template for
active booleanfields.

The problem exists in both the 2.2 trunk and the 2.1 branch.  Patch against
trunk forthcoming.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Mime
View raw message