Hi,

Just about to build a horizontally split Log-in / Sign-up form and I was 
thinking...

The Log-in form entails a simple user name and password
The Sign-up form entails a wizard like interface for a multi-page set of 
forms

I am considering 2 options:

1) 2 ActionBeans... the LoginActionBean presents both forms by default 
and validates and processes Login requests AND the SignupActionBean 
takes some initial information and starts the Sign-up process (first, 
last, email, password) and continues the process in the SignupActionBean...

However, what if the e-mail address in the Sign-up isn't formatted 
correctly... it doesn't seem right to bounce back to the LoginActionBean

2) Have an initial ActionBean that presents the 2 forms and have the 
forms post to either of 2 independent ActionBeans...

However, once again on validation both beans need to direct back to this 
initial ActionBean.  I wonder if the 2nd ActionBean being a wizard if I 
am going to come across any issues... .

I know that splitting the forms into 2 separate pages is obviously the 
simple solution but alas requirements are otherwise... .

Any pointers on how others have tackled or would tackle such a problem?

Thanks,

--Nikolaos

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to