httpServletRequest.getParameter(
action )
any day! :)
-Original Message-
From: Yee Keat [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 29 November 2001 12:36 PM
To: Struts Users Mailing List
Subject: Re: Hidden Field in a form. Do I use struts taglib or
vanilla
html
Mailing List
Betreff: Re: Hidden Field in a form. Do I use struts taglib or
vanilla html?
The cleanest thing is to put the ArrayList on the ActionForm. The syntax
of the options tag is suboptimal, so you need to expose the property as
a bean.
html:select property=namesId
bean:define id
I believe Ted actually means 'reset()' instead of 'init()'.
- Original Message -
From: Ted Husted [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Thursday, November 29, 2001 11:15 AM
Subject: Re: Hidden Field in a form. Do I use struts taglib or vanilla html
Brett Porter wrote:
This can trip you up though - at least once I have added the form element,
added it to the bean, added it to the form bean, and forgetten to do the
setter in the action :) The way around that is probably a function in the
form bean that says fill my business class and fill
prefer form.getAction() over httpServletRequest.getParameter( action )
any day! :)
-Original Message-
From: Yee Keat [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 29 November 2001 12:36 PM
To: Struts Users Mailing List
Subject: Re: Hidden Field in a form. Do I use struts taglib
14:04
To: Struts Users Mailing List
Subject: Re: Hidden Field in a form. Do I use struts taglib or vanilla html?
Is there a method in the framework that gets invoked allowing you to
initialize the ActionForm before the JSP is displayed?
Brett Porter wrote:
That's an interesting design decision
To: Struts Users Mailing List
Subject: Re: Hidden Field in a form. Do I use struts taglib or vanilla
html?
Yup, using the taglib makes it compulsory to have that field in your
FormBean
On Thursday 29 November 2001 09:25 am, you wrote:
Hi
I want to include a hidden
PM
To: Struts Users Mailing List
Subject: Re: Hidden Field in a form. Do I use struts taglib or vanilla
html?
Yup, using the taglib makes it compulsory to have that field in your
FormBean
On Thursday 29 November 2001 09:25 am, you wrote:
Hi
I want
List
Subject: Re: Hidden Field in a form. Do I use struts taglib or vanilla
html?
Yup, using the taglib makes it compulsory to have that field in your
FormBean
On Thursday 29 November 2001 09:25 am, you wrote:
Hi
I want to include a hidden
To: Struts Users Mailing List
Subject: Re: Hidden Field in a form. Do I use struts taglib or vanilla
html?
Yup, using the taglib makes it compulsory to have that field in your
FormBean
On Thursday 29 November 2001 09:25 am, you wrote:
Hi
]]
Sent: Thursday, 29 November 2001 12:36 PM
To: Struts Users Mailing List
Subject: Re: Hidden Field in a form. Do I use struts taglib or vanilla
html?
Yup, using the taglib makes it compulsory to have that field in your
FormBean
On Thursday 29
The cleanest thing is to put the ArrayList on the ActionForm. The syntax
of the options tag is suboptimal, so you need to expose the property as
a bean.
html:select property=namesId
bean:define id=names name=actionForm
property=names type=java.util.Collection/
html:options
Hi
I want to include a hidden field in a form which I have. I do not want
this information to be included in the formbean which is defined for
this page. How can I do this? Should I just use plain html
INPUT TYPE=hidden NAME=action VALUE=send
without using the html taglib supplied with
Won't hurt.
You'll just have to use request.getParameter(action) in your Action to get
it.
- Original Message -
From: [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Wednesday, November 28, 2001 8:25 PM
Subject: Hidden Field in a form. Do I use struts taglib
Mailing List
Subject: Hidden Field in a form. Do I use struts taglib or vanilla html?
Hi
I want to include a hidden field in a form which I have. I do not want
this information to be included in the formbean which is defined for
this page. How can I do this? Should I just use plain html
INPUT
15 matches
Mail list logo