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 13066] New: - [PATCH] new <help> and <hint> elements for XMLForms
Date Fri, 27 Sep 2002 09:35:33 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=13066>.
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=13066

[PATCH] new <help> and <hint> elements for XMLForms

           Summary: [PATCH] new <help> and <hint> elements for XMLForms
           Product: Cocoon 2
           Version: Current CVS
          Platform: All
               URL: http://localhost:8080/cocoon/samples/xmlform/wizard
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: core
        AssignedTo: cocoon-dev@xml.apache.org
        ReportedBy: simon.price@bristol.ac.uk


The current XForms 1.0 draft (http://www.w3.org/TR/2002/WD-xforms-20020821/) 
has HELP and HINT elements as part of the Additional Elements meta data for 
form controls ie. all form controls can have these elements in the same way 
that all controls can have a CAPTION (or LABEL as XForms calls it now).

HELP - The optional element help provides a convenient way to attach help 
information to a form control. type=modeless

HINT - The optional element hint provides a convenient way to attach hint 
information to a form control. type=ephemeral

How you render this information in your documents is up to you. As an example, 
this patch includes changes to the XMLFormWizard's stylesheets and XMLForm 
markup to show one possible rendering:

HELP is rendered as a comment beneath the control.
HINT is "rendered" as a javascript rollover that displays the hint text in the 
browser status bar.

The patch includes a minor change to XMLFormTransformer that treats these new 
elements in a similar way to the caption element. The patch also includes 
changes to the XMLForm how-to so that these tags appear in the examples.

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


Mime
View raw message