Like this:

MainDataObj implements ISeller, IBuyer

Seller implements ISeller

Buyer implements IBuyer

Seller seller = (ISeller)mainDataObj;

then add seller to the request and populate your form from that for the Seller view 
and vice versa for the Buyer view.

Friday pub lunch may have tarred my brain but I think that will work :)

Chris

-----Original Message-----
From: Leandro Melo [mailto:[EMAIL PROTECTED]
Sent: 15 October 2004 14:49
To: Struts Users Mailing List
Subject: RE: Exposing ActionForm and MVC fields


Hi Chris, what do you mean by "interfaces to filter"
(sorry for the stupidness)???
Is it an ordinary Servlet filter??
If so, i remember once using a few filters but i
coulnd`t get a reference to the request it self, only
to the context as a whole. Could you give an example?



 --- "McCormack, Chris"
<[EMAIL PROTECTED]> escreveu: 
> Look at using interfaces to filter the sensitive
> data away from each user when putting the data
> object in the request.
> 
> Chris McCormack
> 

***********************************************
This e-mail and its attachments are confidential
and are intended for the above named recipient
only. If this has come to you in error, please 
notify the sender immediately and delete this 
e-mail from your system.
You must take no action based on this, nor must 
you copy or disclose it or any part of its contents 
to any person or organisation.
Statements and opinions contained in this email may 
not necessarily represent those of Littlewoods.
Please note that e-mail communications may be monitored.
The registered office of Littlewoods Limited and its
subsidiaries is 100 Old Hall Street, Liverpool, L70 1AB.
Registered number of Littlewoods Limited is 262152.
************************************************


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

Reply via email to