Do you other sugestion then Hubert?
--- Hubert Rabago <[EMAIL PROTECTED]> escreveu: > Hmm... you'd have to check how BeanUtils works if > you do this. > BeanUtils will just copy properties without checking > for the declared > type, and in fact it can't check for the declared > type. Even if you > just pass an interface declaration, the instance > itself will expose > the properties and BeanUtils will still populate > them. > > > *********************************************** > > This e-mail and its attachments are not > confidential > > and are intended for anyone who will believe what > > I've written without holding me liable. > > If this has come to you in error, please > > don't notify me at any given time and just delete > this > > e-mail from your system. > > You must take no action that you will blame me for > > later, though if you want you can 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 people who > > pay me. Please note that e-mail > > communications may be monitored by those > > who have nothing better to do than read other > people's e-mail. > > ************************************************ > > On Fri, 15 Oct 2004 15:24:21 +0100, McCormack, Chris > <[EMAIL PROTECTED]> wrote: > > 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] > > _______________________________________________________ Yahoo! Acesso Grátis - Internet rápida e grátis. Instale o discador agora! http://br.acesso.yahoo.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]