W3C home > Mailing lists > Public > public-xformsusers@w3.org > December 2018

Re: ACTION-2196: Spec up collapsing sections

From: Steven Pemberton <steven.pemberton@cwi.nl>
Date: Tue, 11 Dec 2018 23:48:24 +0100
To: public-xformsusers@w3.org, "XForms Users Community Group Issue Tracker" <sysbot+tracker@w3.org>
Message-ID: <op.ztvqyyxfsmjzpq@steven-xps>
Here is my proposal:

<group appearance="closed">

<group appearance="open">

This specifies that the control is collapsible, and gives its initial  
The control is presented to the user with a method to open and close it  
(visually for instance with a widget you click on)

Opening and closing is done by sending the events
    xforms-open or xforms-close
A control can know its state by listening for those events.
An action can cause a control to change state by sending one of those  


    <data xmlns="">

<output ref="state"/>

<group id="g" appearance="open">

    <action ev:event="xforms-open">
       <setvalue ref="state">open</setvalue>

    <action ev:event="xforms-close">
       <setvalue ref="state">closed</setvalue>


<trigger label="toggle">
    <action ev:event="DOMActivate">
       <dispatch name="{if(state='open', 'xforms-close', 'xforms-open')}"  

On Wed, 19 Sep 2018 15:11:59 +0200, XForms Users Community Group Issue  
Tracker <sysbot+tracker@w3.org> wrote:

> ACTION-2196: Spec up collapsing sections
> https://www.w3.org/2005/06/tracker/xforms/actions/2196
> Assigned to: Steven Pemberton
Received on Tuesday, 11 December 2018 22:48:53 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:37:50 UTC