struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Riyad Kalla <...@email.arizona.edu>
Subject Re: button as link
Date Tue, 04 May 2004 21:40:17 GMT
Sam,
I do the same thing you are, and do what Hubert has suggested. It works 
nicely. I always define atleast one throw-away dynaform to use for these 
purposes, then you can use the form as a link, no problem.

On Tuesday 04 May 2004 02:37 pm, Hubert Rabago wrote:
> You can use an empty dyna form:
>
> <form-beans>
> <form-bean name="emptyForm"
> type="org.apache.struts.action.DynaActionForm"/> </form-beans>
>
> --- Samuel Rochas <samuel.rochas@andinasoft.com> wrote:
> > Hello,
> >
> > I would like to use a button as a link.
> >
> > I used to solve that, before struts, with a form containing only a
> > button.
> >
> > With struts, it seems I have to declare a form object in the
> > struts-config.xml, create a class for that empty form, etc.
> >
> > Is there a simple way to solve that?
> >
> > Sincerly
> > Samuel Rochas
> >
> > ---  andinasoft SA - Software y Consulting  ---
> > Mariano Aguilera 276 y Almagro - Quito, Ecuador
> > Tel. +593 2 290 55 18 ---- Cel. +593 9 946 4046
> > ---------  http://www.andinasoft.com  ---------
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
>
> __________________________________
> Do you Yahoo!?
> Win a $20,000 Career Makeover at Yahoo! HotJobs
> http://hotjobs.sweepstakes.yahoo.com/careermakeover
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org

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


Mime
View raw message