W3C home > Mailing lists > Public > www-forms@w3.org > January 2003

Fw: Not storing select values in the XForms instance

From: Guillermo MenÚndez <gmcorral@terra.es>
Date: Thu, 2 Jan 2003 16:09:22 +0100
Message-ID: <008d01c2b270$ef303370$0200a8c0@amd1700>
To: "Roman Huditsch" <roman.huditsch@hico.com>, <www-forms@w3.org>

I forgot to point that if you use this solution you will need to add the
function "instance('....')" to all  your binding expressions, to refer to
the correct instance within the model.

----- Original Message -----
From: "Guillermo MenÚndez" <gmcorral@terra.es>
To: "Roman Huditsch" <roman.huditsch@hico.com>; <www-forms@w3.org>
Sent: Thursday, January 02, 2003 4:00 PM
Subject: Re: Not storing select values in the XForms instance


I think a possible solution for your problem could be adding a new instance
within your XForm model, for example (using German as default language):

<xforms:instance id="temp">
        <language>de</language >

The select1 control could be like this :

<xforms:select1 appearance="compact" ref="instance('temp')/language">

Multiple instances per model are supported on Novell xForms T.P. and on
X-Smiles 0.71.

Guillermo MenÚndez
Received on Thursday, 2 January 2003 10:06:22 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:36:07 UTC