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



Hello,

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">
    <tempInstance>
        <language>de</language >
    </tempInstance>
</xforms:instance>

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.

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

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 10 March 2012 06:21:54 GMT