cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From da...@cocoon.zones.apache.org
Subject [DAISY] Updated: Field widget
Date Mon, 19 Mar 2007 09:01:55 GMT
A document has been updated:

http://cocoon.zones.apache.org/daisy/documentation/481.html

Document ID: 481
Branch: main
Language: default
Name: Field widget (unchanged)
Document Type: Cocoon Document (unchanged)
Updated on: 3/15/07 1:08:16 PM
Updated by: Helma van der Linden

A new version has been created, state: publish

Parts
=====

Content
-------
This part has been updated.
Mime type: text/xml (unchanged)
File name:  (unchanged)
Size: 9364 bytes (previous version: 9035 bytes)
Content diff:
(160 equal lines skipped)
    pairs to be associated with the widget. These attributes have no special meaning
    to CForms itself, but can be retrieved via the API.</p>
    
--- <p><strong>Note:</strong> Events used in &lt;fd:on-value-changed&gt;
require
--- that the form instance is stored serverside (because otherwise CForms doesn't
--- know what the previous values of the fields were). This is automatically the
--- case when you use flowscript. If you don't use flowscript you could store the
--- form instance in e.g. the session.</p>
+++ <p class="note"><strong>Note:</strong> Events used in
+++ &lt;fd:on-value-changed&gt; require that the form instance is stored serverside
+++ (because otherwise CForms doesn't know what the previous values of the fields
+++ were). This is automatically the case when you use flowscript. If you don't use
+++ flowscript you could store the form instance in e.g. the session.</p>
    
    <h1>Template</h1>
    
(9 equal lines skipped)
    default be rendered as a dropdown list. If the datatype of the field is date, a
    date-picker icon will be put next to the field.</p>
    
+++ <p class="note">The following applies only if you use the default (i.e.
+++ provided) XSL stylesheets. It is entirely up to you if you want to redefine
+++ these XSL sheets with different styling tags. However, since the provided XSL
+++ sheets are very generic and flexible, think twice before you start redoing the
+++ work.</p>
+++ 
    <p>To render the input field as a textarea:</p>
    
    <pre>&lt;ft:widget id="..."&gt;
(32 equal lines skipped)


Mime
View raw message