W3C home > Mailing lists > Public > www-forms@w3.org > August 2005

Re: XForms problem

From: Allan Beaufour <abeaufour@novell.com>
Date: Tue, 23 Aug 2005 13:45:38 +0200
To: www-forms@w3.org
Message-Id: <200508231345.38315.abeaufour@novell.com>

Tuesday 23 August 2005 12:05 skrev Vincent Berger:
> Le mardi 23 août 2005 à 16:16 +0700, Saran Toochinda a écrit :
> > We're planning to use XForms to collect XML data (currently using Novell
> > XForms Explorer for IE). The data we're collecting is company data, 1
> > file per company. The schema is change from time to time which most of
> > the time is resulting in newly added data elements. The XForms controls
> > need to be added accordingly to accept the new data elements. There is no
> > problem on new file data entry so far but the problem arise when dealing
> > with existing files. Because Xforms' controls bind to existance of
> > element in an instance document. The newly added controls don't get
> > display because no such data ever exists before. Do I missing something?
> >
> > One other issue is about repeat control. Usually we provide a trigger to
> > insert and delete repeated element. Once we delete all elements, we have
> > way(s) to insert it back again?
>
> About repeat control, I keep an element in a section (called in an
> arbitrary way)  "<patterns>" ,
> and use the xforms function "duplicate" when I want to populate an empty
> "container".

Unfortunately duplicate is an XForms 1.1 control.

-- 
Allan Beaufour
Novell Denmark

Novell® BrainShare® Barcelona 2005
11-15 September
The CCIB, Barcelona, Spain
www.novell.com/brainshare/europe
Received on Tuesday, 23 August 2005 11:46:01 GMT

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