W3C home > Mailing lists > Public > www-forms@w3.org > June 2002

RE: Wizards in XForms

From: Plechsmíd Martin <Martin.Plechsmid@merlin.cz>
Date: Mon, 3 Jun 2002 17:19:49 +0200
Message-ID: <E50028F23FC6D3118B7D00609761083F01D40F33@merkur.merlin.cz>
To: "'Chaudhuri, Hiran (Software AG)'" <g.s31d05b@lfstad.bayern.de>, "'www-forms@w3.org'" <www-forms@w3.org>


You can have a dedicated branch in the instance data (or a  whole model) for
each page in the wizard. Then you can make relevant only the branch that
corresponds to the particular step of the wizard. But this would require, of
course, that you copy the data you want to have at multiple pages from one
branch to another, and to collect them finally at one place for submitting

We chose, instead, to extend XForms and to allow the "relevant" attribute
also on groups and other form controls. In case of a more comlicated wizard,
this would be probably a more suitable approach.


> -----Původní zpráva-----
> Od: Chaudhuri, Hiran (Software AG) [mailto:g.s31d05b@lfstad.bayern.de]
> Odesláno: 3. června 2002 17:05
> Komu: 'www-forms@w3.org'
> Předmět: AW: Wizards in XForms
> Hi, Micah.
> [Sorry, I sent this mail to you already - but I missed 
> sending it to the
> list, so here is the 'official' version]
> I also thought of a multi-page form. But how do I decide per switch
> statement which form is getting displayed? Or is this implementation
> dependent?
> The current chiba implementation will always render all forms 
> inside one
> document. And considered the introduction in the working 
> draft of XForms,
> the analogy to HTML forms is wished. A web browser will 
> always render all
> forms in a HTML page, which really serves a use case. So I 
> believe you need
> to specify something here (like a parameter that starts single-form
> rendering), or a wizard must consist of several XForm documents.
> Your other approach with switch-statements can reside in one form
> completely, so the multi-form grayzone is worked around. On 
> the other hand I
> consider such a form to look very complex and it will be more 
> difficult to
> maintain or generate with tools. However I will try that.
> By the way, what XForms implementation do you consider as 
> "closes to the
> spec"?
> Hiran
> -----Ursprüngliche Nachricht-----
> Von: Micah Dubinko [mailto:MDubinko@cardiff.com]
> Gesendet: Montag, 3. Juni 2002 11:45
> An: 'Chaudhuri, Hiran (Software AG)'
> Cc: 'www-forms@w3.org'
> Betreff: RE: Wizards in XForms
> A "wizard" is just a special rendering of a multiple-page form, right?
> To do that, you can use the <switch> construct, with each 
> panel inside a
> <case>. Separately, you can use <button>s that fire <toggle> events to
> change which panel is presented.
> Try this out and let us know how it works.
> Thanks,
> .micah
> -----Original Message-----
> From: Chaudhuri, Hiran (Software AG) 
Sent: Monday, June 03, 2002 1:54 AM
To: 'www-forms@w3.org'
Subject: Wizards in XForms

Hi there.

As I need to create some forms that need flexible use, I had a look at
XForms and am missing one feature (at least, it's not mentioned in the
XForms WD): Wizards.

I have searched the mailing list archives for that topic, only to find
others have asked about it, but there has not been a definitive answer.

So how are you supposed to build a Wizard? Shall all wizard pages reside in
one XForm document? Then how do you mark it as being a wizard? Which is the
start page, and how do you switch to subsequent pages? How do you ensure all
the pages operate with the same instance data?

Received on Monday, 3 June 2002 11:20:36 UTC

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