W3C home > Mailing lists > Public > www-forms@w3.org > July 2006

Re: i18n, componentized forms and multiple models

From: Steven Pemberton <steven.pemberton@cwi.nl>
Date: Fri, 21 Jul 2006 13:54:18 +0200
To: "Townley, Andrew" <andrew.townley@bearingpoint.com>, www-forms@w3.org
Message-ID: <op.tc1fcswesmjzpq@acer3010.ins.cwi.nl>

On Fri, 21 Jul 2006 13:44:44 +0200, Townley, Andrew  
<andrew.townley@bearingpoint.com> wrote:

> I have this part working fine in my example using two such selection  
> lists, but where I'm a bit stuck is that I also would ideally like to  
> have a separate model which stores the language preference for the  
> user.  No matter what I've tried, I can't seem to be able to dynamically  
> evaluate something sensible for:
> <xforms:select ...>
>   <xforms:itemset model="List1" nodeset="/ListItems/Item">
>     <xforms:label ref="Label[lang(????)]"/>
>     <xforms:value ref="@Code"/>
>   </xforms:itemset>
> </xforms:select>

You should check my tutorial 'XForms for HTML Authors, Part 2' at
where I give exactly such an example.

Hope it helps,

Best wishes,

Steven Pemberton
Received on Friday, 21 July 2006 11:55:07 UTC

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