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: Action widget
Date Sun, 23 Oct 2005 14:32:09 GMT
A document has been updated:

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

Document ID: 477
Branch: main
Language: default
Name: Action widget (unchanged)
Document Type: Cocoon Document (unchanged)
Updated on: 10/23/05 2:31:51 PM
Updated by: Bruno Dumon

A new version has been created, state: publish

Parts
=====
Content
-------
This part has been updated.
Mime type: text/xml (unchanged)
File name:  (unchanged)
Size: 2298 bytes (previous version: 1776 bytes)
Content diff:
(12 equal lines skipped)
    disables this (by using the method <tt>endFormProcessing</tt> method on the
    <tt>Form</tt> object).</p>
    
--- <h1>Configuration</h1>
+++ <h1>Definition</h1>
    
    <pre>&lt;fd:action id="..." command="..." state="..."&gt;
      &lt;fd:label&gt;...&lt;/fd:label&gt;
(21 equal lines skipped)
    event listeners is <tt>org.apache.cocoon.forms.event.ActionListener</tt>.
The
    WidgetEvent subclass is <tt>org.apache.cocoon.forms.event.ActionEvent</tt>.</p>
    
+++ <h1>Template</h1>
+++ 
+++ <p>An action widget is inserted in a template using the ft:widget tag:</p>
+++ 
+++ <pre>&lt;ft:widget id="..."/&gt;
+++ </pre>
+++ 
+++ <h1>Styling (default HTML XSL)</h1>
+++ 
+++ <p>By default an action widget is shown as a button.</p>
+++ 
+++ <p>To render the action widget as an image:</p>
+++ 
+++ <pre>&lt;ft:widget id="..."&gt;
+++   &lt;fi:styling type="image" src="foo.gif"&gt;
+++ &lt;/ft:widget&gt;
+++ </pre>
+++ 
+++ <p>To render the action widget as a link:</p>
+++ 
+++ <pre>&lt;ft:widget id="..."&gt;
+++   &lt;fi:styling type="link"&gt;
+++ &lt;/ft:widget&gt;</pre>
+++ 
    </body>
    </html>


Fields
======
no changes

Links
=====
no changes

Custom Fields
=============
no changes

Collections
===========
no changes

Mime
View raw message