cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Madu" <>
Subject Difference between fi:group and ft:group
Date Wed, 12 Jul 2006 15:27:42 GMT
can someone tell me what the difference is between an fi:group and ft:group?
I ask i relation to:

'Container widgets must enclose a container element

The Ajax support of Cocoon Forms works by sending partial page updates to
the browser. This requires the representation of widgets to be contained in
a single element, which becomes the "replacement unit" for that widget.

The styling stylesheets take care of this for terminal widgets such as
fields and actions, but not for container widgets whose layout are
completely defined by the page template. Concretely, this means that
<ft:repeater>, <ft:group> and <ft:union> instructions must contain a single
element such as HTML <div>, <table>, <span>, etc.

<ft:group id="info">
    <p><ft:widget id="foo"/></p>
    <p><ft:widget id="bar"/></p>
</ft:group> '

In my jx I have the following type of widget definitions:

                              <ft:widget id="credit">
                                <fi:styling class="keyinbox"

Is it required in this example to wrap the ft:widget section inside <DIV />



View raw message