Re: Form Bean and decions based on Business Logic calls

2004-07-25 Thread Muhammad Momin Rashid
de where to send the user. > > robert > > > -Original Message- > > From: news [mailto:[EMAIL PROTECTED] Behalf Of Muhammad Momin Rashid > > Sent: Saturday, July 24, 2004 7:54 AM > > To: [EMAIL PROTECTED] > > Subject: Re: Form Bean and decions bas

RE: Form Bean and decions based on Business Logic calls

2004-07-24 Thread Robert Taylor
24, 2004 7:54 AM > To: [EMAIL PROTECTED] > Subject: Re: Form Bean and decions based on Business Logic calls > > > Ok, I guess thats fair enough to keep business logic calls limited to action > classes only. > > How do you suggest I impliemnt the case where the user is sup

Re: Form Bean and decions based on Business Logic calls

2004-07-24 Thread Muhammad Momin Rashid
t; From: news [mailto:[EMAIL PROTECTED] Behalf Of Muhammad Momin Rashid > > Sent: Thursday, July 22, 2004 12:30 PM > > To: [EMAIL PROTECTED] > > Subject: Re: Form Bean and decions based on Business Logic calls > > > > > > Thank you for your quick response. > &g

RE: Form Bean and decions based on Business Logic calls

2004-07-22 Thread Robert Taylor
day, July 22, 2004 12:30 PM > To: [EMAIL PROTECTED] > Subject: Re: Form Bean and decions based on Business Logic calls > > > Thank you for your quick response. > > I do have the appropriate action class with the desired forwards defined (as > you have also outlined), but

RE: Form Bean and decions based on Business Logic calls

2004-07-22 Thread Jim Barrows
> -Original Message- > From: news [mailto:[EMAIL PROTECTED] Behalf Of Muhammad > Momin Rashid > Sent: Thursday, July 22, 2004 9:30 AM > To: [EMAIL PROTECTED] > Subject: Re: Form Bean and decions based on Business Logic calls > > > Thank you for your quick r

Re: Form Bean and decions based on Business Logic calls

2004-07-22 Thread Muhammad Momin Rashid
Thank you for your quick response. I do have the appropriate action class with the desired forwards defined (as you have also outlined), but the problem is that the form bean itself is making the business logic calls to get its desired data. Upon failure to get the desired data, how can I forward

RE: Form Bean and decions based on Business Logic calls

2004-07-22 Thread Robert Taylor
Define success and failure forwards in your struts-config file for the specified action. In the action class (which should delegate to a business object), retrieve the data. Upon failure, forward to the "failure" forward, else forward to the "success" forward. You could achieve the same using de