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

Re: ACTION-2196: Spec up collapsing sections

From: Steven Pemberton <steven.pemberton@cwi.nl>
Date: Wed, 03 Oct 2018 12:32:19 +0200
To: public-xformsusers@w3.org
Message-ID: <op.zqa0v5v3smjzpq@steven-xps>
I'm glad we agree on this.

So here are some options:

1. Use values or MIP states of @ref to signal collapse/open

2. Use appearance="{expression}"

3. Actions and/or Events: Use an action or send an event to toggle the  
state, and use events to announce state change.
    For instance, we could repurpose the actions and events around dialog  
to work here as well:
       <hide dialog="groupid"/>
       <show dialog="groupid"/>
       xforms-dialog-hide/xforms-dialog-show
4. Other possibilities?

Steven


On Tue, 02 Oct 2018 18:20:58 +0200, Philip Fennell  
<Philip.Fennell@marklogic.com> wrote:

>
> I agree too.
>
>
> Philip
>
>
> From: Erik Bruchez <ebruchez@orbeon.com>
> Date: Tuesday, 2 October 2018 at 17:10
> To: Steven Pemberton <steven.pemberton@cwi.nl>
> Cc: XForms <public-xformsusers@w3.org>, XForms Users Community Group  
> Issue Tracker <sysbot+tracker@w3.org>
> Subject: Re: ACTION-2196: Spec up collapsing sections
> Resent-From: <public-xformsusers@w3.org>
> Resent-Date: Tuesday, 2 October 2018 at 17:10
>
>
> I agree that to make it a complete feature this is needed.
>
> -Erik
>
>
> On Mon, Oct 1, 2018 at 7:30 AM Steven Pemberton  
> <steven.pemberton@cwi.nl> wrote:
>>
>> While doing this action, it struck me that this would be the first  
>> example of an interaction in XForms that has an effect, but that isn't  
>> controllable: you can't interrogate the state, and you can't change the  
>> state programmatically.
>>
>> So I thought it good to draw up some requirements:
>>
>> 1. The simple case should be really easy: just adding an attribute  
>> value makes a group that is collapsible/openable with a simple  
>> interaction.
>>
>> 2. It should be possible to enquire what the state is (Open/closed)
>>
>> 3. It should be possible to change the state.
>>
>> Do we agree? Are there any other requirements?
>>
>> Steven
>>
>>
>>
>> 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 Wednesday, 3 October 2018 10:32:44 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 3 October 2018 10:32:45 UTC