You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by James Prance <Ja...@hotmail.com> on 2003/02/26 10:11:54 UTC

DynaActionForm vs ActionForm

Having used DynaActionForms in my app, i now wonder what use ActionForms
are?
Is there ever a case for needing an ActionForm and if so when and why?

I thought there may be something to do with session states but i'm not sure.




---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: DynaActionForm vs ActionForm

Posted by Nick Sharples <ni...@runtime-collective.com>.
James Prance writes:
 > can you give an example..
 > 
 > 
 > "Nick Sharples" <ni...@runtime-collective.com> wrote in message
 > news:15964.34342.421216.362025@gryffindor.runtime-collective.com...
 > >
 > > James Prance writes:
 > >  > Having used DynaActionForms in my app, i now wonder what use
 > ActionForms
 > >  > are?
 > >  > Is there ever a case for needing an ActionForm and if so when and why?
 > >  >
 > >  > I thought there may be something to do with session states but i'm not
 > sure.
 > >
 > > Uploading files with FileForms?

I'm no expert, but if you want to upload a file using the html:file
tag then the type for the form field must be FormFile and I don't
thing that type is supported with DynaActionForms. I could be wrong
though and if so maybe someone could correct me.

..Nick

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: DynaActionForm vs ActionForm

Posted by James Prance <Ja...@hotmail.com>.
can you give an example..


"Nick Sharples" <ni...@runtime-collective.com> wrote in message
news:15964.34342.421216.362025@gryffindor.runtime-collective.com...
>
> James Prance writes:
>  > Having used DynaActionForms in my app, i now wonder what use
ActionForms
>  > are?
>  > Is there ever a case for needing an ActionForm and if so when and why?
>  >
>  > I thought there may be something to do with session states but i'm not
sure.
>
> Uploading files with FileForms?
>
> ..Nick




---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: DynaActionForm vs ActionForm

Posted by Nick Sharples <ni...@runtime-collective.com>.
James Prance writes:
 > Having used DynaActionForms in my app, i now wonder what use ActionForms
 > are?
 > Is there ever a case for needing an ActionForm and if so when and why?
 > 
 > I thought there may be something to do with session states but i'm not sure.

Uploading files with FileForms?

..Nick

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: DynaActionForm vs ActionForm

Posted by Gemes Tibor <ti...@i-trade.hu>.
James Prance wrote:

>Having used DynaActionForms in my app, i now wonder what use ActionForms
>are?
>Is there ever a case for needing an ActionForm and if so when and why?
>  
>
you want your own reset() implementation
you have a tool which generates your Forms (eg xdoclet)

Tib




---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org