Hello,

I would like some input into the following situation. I am diagraming a bean 
that will hold data for a checkout. Basically it will be a bean that will hold 
user_information, shipping_information, etc. So in effect the bean will hold 
other beans.

So my question is as follows:
When using struts, is a nested bean common? And if so, how do you validate just 
one bean from the parent?

eg: Lets say that the bean lets call it "checkout" and inside it has the users 
shipping information. So that bean will be called "shippinginfo"
So the bean checkout has a shippinginfo bean in it. Now when the user navigates 
to the html form where he can update the shippinginfo, contents, I need to 
validate the shippinginfo, that exists inside checkout.

Can this be done, and if so is this the clean way to accomplish my task. Up 
until now, I have basically created one bean, per html form so this is kind of 
new to me.

Thanks,
Scott

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

Reply via email to