RE: itemset, cross population

Mark,

I'm not exactly sure what effect you want to achive, but something like this
(which is part of XForms 1.0) might help.

The 'model' attribute lets you bind to any XForms Model in the containing
document:
<input model="firstModel" ref="a/b/c">...

Also, if you need to populate two things in parallel, you can use an XForms
Action:
  <setvalue model="secondModel" ref="z/y/x">literal value here</setvalue>

This example copies whatever gets entered in the <input> into a second
XForms Model.

I hope this helps.

.micah

-----Original Message-----
From: Mark Seaborne [mailto:MSeaborne@origoservices.com]
Sent: Wednesday, November 27, 2002 12:16 AM
To: tvraman@almaden.ibm.com
Cc: www-forms@w3.org
Subject: RE: itemset, cross population



Hi

Does that mean you can't achieve the same by some other means then?

All the best

Mark

> -----Original Message-----
> From: T. V. Raman [mailto:tvraman@us.ibm.com]
> Sent: 27 November 2002 00:31
> To: Mark Seaborne
> Cc: www-forms@w3.org
> Subject: itemset, cross population
> 
> 
> 
> Mark --
> For XForms 1.0 we intended itemset to be used only inside the select
> controls.
> 
> As an implementor if you can come up with good use cases for other
> places where it proves useful we'd be happy to consider that as input
> for 2.0.
> >>>>> "Mark" == Mark Seaborne <MSeaborne@origoservices.com> writes:
> 
> 
>     Mark> Hi
> 
>     Mark> The itemset is really useful, it lets you populate an XML
>     Mark> instance element or attribute in one model, from an XML
>     Mark> instance in another. But it only works with select and
>     Mark> select1. Can anyone tell me how to achieve the same for
>     Mark> other form controls?
> 
>     Mark> Thanks in advance
> 
>     Mark> Mark Seaborne
> 
> -- 
> Best Regards,
> --raman
> ------------------------------------------------------------
> T. V. Raman:  PhD (Cornell University)
> IBM Research: Human Language Technologies
> Architect:    Conversational And Multimodal WWW Standards
> Phone:        1 (408) 927 2608   T-Line 457-2608
> Fax:        1 (408) 927 3012     Cell: 1 650 799 5724
> Email:        tvraman@us.ibm.com
> WWW:      http://www.cs.cornell.edu/home/raman
> AIM:      TVRaman
> PGP:          http://emacspeak.sf.net/raman.asc
> Snail:        IBM Almaden Research Center,
>               650 Harry Road
>               San Jose 95120
> 

Received on Wednesday, 27 November 2002 12:16:11 UTC