You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Henning Jensen <hj...@online.no> on 2003/03/14 11:51:08 UTC

Form with a submit button without a form-bean?

Hi!

I have an action where i'm trying to implement an abort button. I know that
i can do this with a link, but i really want to have an abort button because
i already have 2 other buttons on my page. But if i make a form with only a
submit button it complains because it can't find a form-bean. Any
suggestions?

--
Henning Jensen

> -----Original Message-----
> From: michael wimmer [mailto:m.wimmer@ecom-it.at]
> Sent: Friday, March 14, 2003 11:29 AM
> To: Struts Users Mailing List
> Subject: Struts evaluation and comparison
>
>
> Hi,
>
> as part of the requirements for a project I have to deliver at the
> university,
> I do a comparison between web application frameworks, mainly Fusebox and
> Struts.
>
> I would like to ask for your assistance by completing a short
> questionnaire with questions about Struts. There are not to many
> questions and you should be able to complete the from quick since it
> contains no mandatory fields (or they are defaulted).
>
> It is put online at:
> http://212.60.183.16/frameworks/struts.htm
>
> Your help would be very much appreciated,
>
> Best regards,
>
> Michael Wimmer
>
> P.S. If someone is interested in the results, just drop me a mail (off
> list).
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>


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


RE: Form with a submit button without a form-bean?

Posted by Henning Jensen <hj...@online.no>.
Thanx,
pretty obvious when i see it now.. sometimes you get to hung up on those
tags, forget that you actually can write regular html... :)
important to maintain the user interface, looked to stupid with a button and
then an abort link on side....



> -----Original Message-----
> From: Nicolas De Loof [mailto:nicolas.deloof@cgey.com]
> Sent: Friday, March 14, 2003 12:24 PM
> To: Struts Users Mailing List
> Subject: Re: Form with a submit button without a form-bean?
>
>
> You need a formbean only if you user <html:xxx> tags. you can use a
> HTML form by using :
> <form action="<html:rewrite page="/action.do"/>" >
>   <input type="reset">
> </form>
>
> I you want to use struts tags, you can use a bynabean to set a
> formbean without having to code a javabean for it.
>
> Nico.
>
>
> > Hi!
> >
> > I have an action where i'm trying to implement an abort button. I
> know that
> > i can do this with a link, but i really want to have an abort button
> because
> > i already have 2 other buttons on my page. But if i make a form with
> only a
> > submit button it complains because it can't find a form-bean. Any
> > suggestions?
> >
> > --
> > Henning Jensen
> >
> > > -----Original Message-----
> > > From: michael wimmer [mailto:m.wimmer@ecom-it.at]
> > > Sent: Friday, March 14, 2003 11:29 AM
> > > To: Struts Users Mailing List
> > > Subject: Struts evaluation and comparison
> > >
> > >
> > > Hi,
> > >
> > > as part of the requirements for a project I have to deliver at the
> > > university,
> > > I do a comparison between web application frameworks, mainly
> Fusebox and
> > > Struts.
> > >
> > > I would like to ask for your assistance by completing a short
> > > questionnaire with questions about Struts. There are not to many
> > > questions and you should be able to complete the from quick since
> it
> > > contains no mandatory fields (or they are defaulted).
> > >
> > > It is put online at:
> > > http://212.60.183.16/frameworks/struts.htm
> > >
> > > Your help would be very much appreciated,
> > >
> > > Best regards,
> > >
> > > Michael Wimmer
> > >
> > > P.S. If someone is interested in the results, just drop me a mail
> (off
> > > list).
> > >
> > >
> > >
> >
> > --------------------------------------------------------------------
> -
> > > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail:
> struts-user-help@jakarta.apache.org
> > >
> > >
> >
> >
> > --------------------------------------------------------------------
> -
> > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>


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


Re: Form with a submit button without a form-bean?

Posted by Nicolas De Loof <ni...@cgey.com>.
You need a formbean only if you user <html:xxx> tags. you can use a
HTML form by using :
<form action="<html:rewrite page="/action.do"/>" >
  <input type="reset">
</form>

I you want to use struts tags, you can use a bynabean to set a
formbean without having to code a javabean for it.

Nico.


> Hi!
>
> I have an action where i'm trying to implement an abort button. I
know that
> i can do this with a link, but i really want to have an abort button
because
> i already have 2 other buttons on my page. But if i make a form with
only a
> submit button it complains because it can't find a form-bean. Any
> suggestions?
>
> --
> Henning Jensen
>
> > -----Original Message-----
> > From: michael wimmer [mailto:m.wimmer@ecom-it.at]
> > Sent: Friday, March 14, 2003 11:29 AM
> > To: Struts Users Mailing List
> > Subject: Struts evaluation and comparison
> >
> >
> > Hi,
> >
> > as part of the requirements for a project I have to deliver at the
> > university,
> > I do a comparison between web application frameworks, mainly
Fusebox and
> > Struts.
> >
> > I would like to ask for your assistance by completing a short
> > questionnaire with questions about Struts. There are not to many
> > questions and you should be able to complete the from quick since
it
> > contains no mandatory fields (or they are defaulted).
> >
> > It is put online at:
> > http://212.60.183.16/frameworks/struts.htm
> >
> > Your help would be very much appreciated,
> >
> > Best regards,
> >
> > Michael Wimmer
> >
> > P.S. If someone is interested in the results, just drop me a mail
(off
> > list).
> >
> >
> >
>
> --------------------------------------------------------------------
-
> > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail:
struts-user-help@jakarta.apache.org
> >
> >
>
>
> --------------------------------------------------------------------
-
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org


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