I suppose I should get to grips with cf_returnFuseaction, but I don't find
its use logical for nested wizards, at least one where the user initiates a
nested wizard.
I have just found one problem, easily seen with checkboxes, if you set a
check box then this is caught and saved, but if you uncheck it, then it is
not passed so it will not be in the attribute list. As CF_wizard will not
see it, it doesn't clear the existing value for the check box in the
background session variable.
Perhaps one solution is to pass into the wizard a defaults structure, if an
element is in the defaults structure and is not in attributes list, it uses
the defaults value. The problem with this method is that you must ensure you
only pass the variables you want it to check, this may be different for each
step of the wizard.
Can you think of an alternant method?
Gary
-----Original Message-----
From: Toby Tremayne [mailto:[EMAIL PROTECTED]]
Sent: 19 April 2001 02:14
To: [EMAIL PROTECTED]
Subject: RE: cf_wizard
Gary,
thanks for the feedback! that makes me feel quite vindicated actually,
because I had the basic functions perfect ages ago but I had some problems
with the nesting functionality. I couldn't see a scenario when anyone would
ever use it but I thought I'd better fix it anyways hehehe. Glad it came in
handy
Toby
Toby Tremayne
Code Poet and Zen Master of the Heavy Sleep
Show Ads Interactive
359 Plummer St
Port Melbourne
VIC 3207
P +61 3 9245 1247
F +61 3 9646 9814
ICQ UIN 13107913
-----Original Message-----
From: Gary Morin [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 19 April 2001 4:52 AM
To: Fusebox
Subject: RE: cf_wizard
I have been working on something similar for the last couple of days, see
messages form two days ago regarding returnfuseaction. I needed a way to do
nested wizards, the returnfuseaction tag was not really suited for it. I was
working on a similar technique to cf_wizard, but it was slow going. Within
an hour of downloading your cf_wizard tag, I have my existing application
working with it, and have just got the nested wizard to work. The longest
item was downloading 4.5.1 sp 2.
It's excellent
Cheers
Gary
-----Original Message-----
From: Toby Tremayne [mailto:[EMAIL PROTECTED]]
Sent: 18 April 2001 11:53
To: Fusebox
Subject: cf_wizard
Many apologies to everyone I took ages to get back to, things went kind of
insane here shortly afte rI last posted.
I've updated the wizard tag, fixed all the bugs I'd found and put up some
example apps at
http://kato.sai.com.au/cfwizard
you can download the source to the apps there, which include the tag itself.
You'll find wizard.cfm and wizard_readme.txt in the \tags directory inside
the zip file. Please let me know what you think and any ideas for
improvement...
Cheers
Toby
Toby Tremayne
Code Poet and Zen Master of the Heavy Sleep
Show Ads Interactive
359 Plummer St
Port Melbourne
VIC 3207
P +61 3 9245 1247
F +61 3 9646 9814
ICQ UIN 13107913
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists