Hi

What approach do you people like to model business 
objects for Action to 
call?

For example, do struts guru like to create business object by 
extending org.apache.commons.scaffold.util.ProcessBeanBase 
and use it with org.apache.struts.scaffold.ProcessAction 
by specifying ProcessAction in ActionMapping? 

That's the approach used in Artimus from 'Struts in Action'
book.

Is there any other framework that models business object 
I can use or do you people simple wack up your own base 
business object for Action to call?

BTW, for people who use ProcessAction to process subclass 
of ProcessBeanBase, how do I specifiy alternative 
ActionForward for ProcessAction to return if 
ProcessAction catch a certain exception within my ProcessBean?

And how do I specify what ActionMessages to be added in 
ProcessBean if no error happen when I use ProcessAction
to handle ProcessBean?

Ideally I would like my business object (i.e. subclass 
of ProcessBean) to be able to specify what ActionError 
will be added if certain exception is caught in ProcessAction.

It seems ProcessAction can only return either success or 
failure forwards automatically.

Thanks

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to