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) [mailto:g.s31d05b@lfstad.bayern.de]
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?

Hiran

Received on Monday, 3 June 2002 11:05:52 UTC