You can find the source here...

http://www.niallp.pwp.blueyonder.co.uk/

Niall
----- Original Message ----- 
From: "Michael McGrady" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, February 18, 2004 11:54 PM
Subject: Re: Problem Dynamically creating form properties


> I would be interested int his, Niall.
>
> At 10:46 AM 2/17/2004, you wrote:
> >I have a version of DynaBean based on the MutableDynaClass interface
which
> >allows properties to be added dynamically - which anyone would be free to
> >use (I tried to attach here but struts-user rejected the mail saying "we
> >don't accept executable content" ). We have also equivalent versions of
the
> >DynaValidatorForm and DynaValidatorActionForm based on this  "dynamic"
> >DynaBean.
> >
> >Advantages - no more ActionForm declarations, but it still the "standard"
> >DynaBean and can plug into the Validator framework.
> >
> >LazyDynaBean - "dynamic" DynaBean
> >LazyDynaClass - implements the MutableDynaClass interface
> >
> >LazyValidatorForm - etension of ValidatorForm which is backed by
> >LazyDynaBean (equivalent to DynaValidatorForm)
> >LazyValidatorActionForm - path based LazyValidatorForm (equivalent to
> >DynaValidatorActionForm)
> >
> >I can email this directly to anyone who wants it - or even better if
someone
> >could offer/suggest a site to load it up to.
> >
> >Niall
> >
> >
> >
> >----- Original Message -----
> >From: "Guillermo Meyer" <[EMAIL PROTECTED]>
> >To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
> >Sent: Tuesday, February 17, 2004 2:07 PM
> >Subject: RE: Problem Dynamically creating form properties
> >
> >
> > > Actually, not today, because this development we made is not Open
> > > Source, but who knows... may we remake it and open it for free use.
> > >
> > > Cheers.
> > > Guillermo
> > >
> > > -----Original Message-----
> > > From: Paul-J Woodward [mailto:[EMAIL PROTECTED]
> > > Sent: Martes, 17 de Febrero de 2004 10:41 a.m.
> > > To: Struts Users Mailing List
> > > Subject: RE: Problem Dynamically creating form properties
> > >
> > >
> > > That sounds excellent, is it available for use?
> > >
> > > Paul
> > > ------------------------------------------------------------
> > > Global Equity Derivatives Technology
> > > Deutsche Bank [/]
> > > ------------------------------------------------------------
> > >
> > >
> > >
> > >
> > > "Guillermo Meyer" <[EMAIL PROTECTED]>
> > > 17/02/2004 09:43
> > > Please respond to "Struts Users Mailing List"
> > >
> > >
> > >         To:     "'Struts Users Mailing List'"
> > > <[EMAIL PROTECTED]>
> > >         cc:
> > >         Subject:        RE: Problem Dynamically creating form
properties
> > >
> > >
> > > I previuosly posted a mail to this list asking why DynaForms are
called
> > > Dynamic if you have to declare them statically in Struts-Config. But
> > > there was no answer :(
> > >
> > > We created in our project a DynamicBean (previous DynaBean release and
> > > when Struts 1.1 was no available) and extended ActionForm to be a
holder
> > > of DynamicBean (somethind like this: ((DynamicForm)form).getModel()
> > > returns a DynamicBean with all properties.)
> > >
> > > So, we add html:text fields to the JSP and these are populated to this
> > > DynamicForm without the need of declaring this property anywhere. And
we
> > > have optionall Contract asserter to verify properties in a DynamicBean
> > > when needed (usually when using DynamicBean as a DTO between Actions
and
> > > Business delegates)
> > >
> > > Cheers.
> > > Guillermo.
> > >
> > >
> > > -----Original Message-----
> > > From: Bernard Gaughran [mailto:[EMAIL PROTECTED]
> > > Sent: Martes, 17 de Febrero de 2004 07:11 a.m.
> > > To: [EMAIL PROTECTED]
> > > Subject: Problem Dynamically creating form properties
> > >
> > >
> > > Can someone PLEASE help?
> > >
> > > I need to create a User Interface (in JSP) which
> > > presents the user with a number of input fields. The
> > > number of input fields is not known until run-time
> > > (based on user selections in a previous screens).
> > >
> > > The 2 issues I see are:
> > > 1. generating the JSP dynamically with the correct
> > > number of properties
> > > 2. accessing these form fields in the action class.
> > >
> > > Normally, form property definitions need to be
> > > defined at compile time (whether you use Action Forms
> > > or DynaForms)
> > >
> > > Ideally, I'd like to use the struts framework to avail
> > > of Validator,etc,etc. Also, I would like to use Struts
> > > Dyna Forms.
> > >
> > > Can anyone advise a suitable approach & sample code?
> > >
> > > Bernard Gaughran
> > >
> > >
> > > __________________________________
> > > Do you Yahoo!?
> > > Yahoo! Finance: Get your refund fast by filing online.
> > > http://taxes.yahoo.com/filing.html
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > > NOTA DE CONFIDENCIALIDAD
> > > Este mensaje (y sus anexos) es confidencial, esta dirigido
> > > exclusivamente
> > > a las personas direccionadas en el mail y puede contener informacion
> > > (i)de
> > > propiedad exclusiva de Interbanking S.A. o (ii) amparada por el
secreto
> > > profesional. Cualquier opinion en el contenido, es exclusiva de su
autor
> > > y
> > > no representa necesariamente la opinion de Interbanking S.A. El acceso
> > > no
> > > autorizado, uso, reproduccion, o divulgacion esta prohibido.
> > > Interbanking
> > > S.A no asumira responsabilidad ni obligacion legal alguna por
cualquier
> > > informacion incorrecta o alterada contenida en este mensaje. Si usted
ha
> > >
> > > recibido este mensaje por error, le rogamos tenga la amabilidad de
> > > destruirlo inmediatamente junto con todas las copias del mismo,
> > > notificando al remitente. No debera utilizar, revelar, distribuir,
> > > imprimir o copiar este mensaje ni ninguna de sus partes si usted no es
> > > el
> > > destinatario. Muchas gracias.
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > > NOTA DE CONFIDENCIALIDAD
> > > Este mensaje (y sus anexos) es confidencial, esta dirigido
exclusivamente
> >a las personas direccionadas en el mail y puede contener informacion
(i)de
> >propiedad exclusiva de Interbanking S.A. o (ii) amparada por el secreto
> >profesional. Cualquier opinion en el contenido, es exclusiva de su autor
y
> >no representa necesariamente la opinion de Interbanking S.A. El acceso no
> >autorizado, uso, reproduccion, o divulgacion esta prohibido. Interbanking
> >S.A no asumira responsabilidad ni obligacion legal alguna por cualquier
> >informacion incorrecta o alterada contenida en este mensaje. Si usted ha
> >recibido este mensaje por error, le rogamos tenga la amabilidad de
> >destruirlo inmediatamente junto con todas las copias del mismo,
notificando
> >al remitente. No debera utilizar, revelar, distribuir, imprimir o copiar
> >este mensaje ni ninguna de sus partes si usted no es el destinatario.
Muchas
> >gracias.
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



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

Reply via email to