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

Re: ACTION-2206: Propose text for using mirroring for <control/>

From: Erik Bruchez <ebruchez@orbeon.com>
Date: Tue, 27 Nov 2018 22:26:25 -0800
Message-ID: <CAAc0PEVhS-LMpbroToy=PVoQk8v-YDTOBW026h0GEih8mh4tKw@mail.gmail.com>
To: Steven Pemberton <steven.pemberton@cwi.nl>
Cc: XForms <public-xformsusers@w3.org>, XForms Users Community Group Issue Tracker <sysbot+tracker@w3.org>
In our implementation, we have also encountered the need for something like
this, although in most cases the value can be reduced to a string.

So in addition to mirroring, we also have what we call *parameters*. Those
are expressed as attributes, which can be AVTs. Then we have an XPath
function to access the value of a parameter passed to the component.

-Erik

On Wed, Nov 21, 2018 at 5:19 AM Steven Pemberton <steven.pemberton@cwi.nl>
wrote:

> While I am working on this, although I am charmed by the idea of
> mirroring, I would like to make a point about requirements for an
> embedded
> XForm that I don't yet see how to do.
>
> One thing I did like about the earlier proposal was the ability to do
> something like this:
>
>    <control resource="graph.xml" label="positive" initial="values[. > 0]"/>
>    <control resource="graph.xml" label="negative" initial="values[. &lt;
> 0]"/>
>
> With a pure mirroring solution, only allowing a single element, I don't
> yet see how to do this easily; it would be good to try and brainstorm a
> way.
>
> Maybe with @ref and @value? (just off the top of my head).
>
> Steven
>
> On Wed, 07 Nov 2018 15:17:50 +0100, XForms Users Community Group Issue
> Tracker <sysbot+tracker@w3.org> wrote:
>
> > ACTION-2206: Propose text for using mirroring for <control/>
> >
> > https://www.w3.org/2005/06/tracker/xforms/actions/2206
> >
> > Assigned to: Steven Pemberton
> >
> >
> >
> >
> >
> >
> >
>
>
Received on Wednesday, 28 November 2018 06:27:11 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 28 November 2018 06:27:11 UTC