tapestry-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Carman" <ja...@carmanconsulting.com>
Subject Wizard...
Date Wed, 05 Jul 2006 13:10:51 GMT
All,

I am trying to develop a "wizard" for a page I'm working on.  Basically, the
user needs to select something to be a property of the object they're
editing on the current page.  The object they need to select is a child in a
parent/child relationship and there are *way* too many parents to just show
in a drop-down list (like 250K of them).  Anyway, the idea is that they'll
type in some text and choose the parent.  Then they're taken to another
screen which shows the children for that parent (at most about 10 or so).
They then choose which child they want to use.  Here's the tricky part (at
least for me).  I want to invoke this wizard while they're filling out the
form, but I don't want them to lose what they've typed in any of the other
fields and I don't want to stop them from going through the wizard if any of
the form fields don't pass validation.  So, in order to bind the form field
values into the object they're editing before going through the wizard, I
have to submit the form (can't use a DirectLink, because that doesn't
trigger a form rewind).  But, the form will not submit if there are errors
in any of the required/constrained fields.  How would you guys go about
this?  Am I missing something?  There's got to be a standard way to do such
a thing.

Right now, I'm using Tacos to display the wizard as a "floating pane" above
my form, but that's proven to be buggy at best in IE (Firefox works great of
course).  The form is somewhat long and the floating pane shows up at the
top of my form so the user doesn't see it unless they scroll up.  Also, if I
put two of these wizards on the screen at the same time (editing multiple
fields of the same type), then they don't submit properly for some reason.
Anyway, any help would be greatly appreciated.

Thanks,

James



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Mime
View raw message