Re: Hidden Field in a form. Do I use struts taglib or vanilla html?

2001-11-30 Thread Greg Callaghan
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

AW: Hidden Field in a form. Do I use struts taglib or vanilla html?

2001-11-30 Thread Moritz Björn-Hendrik, HH
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

Re: Hidden Field in a form. Do I use struts taglib or vanilla html?

2001-11-30 Thread Erik Hatcher
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

Re: Hidden Field in a form. Do I use struts taglib or vanilla html?

2001-11-29 Thread Ted Husted
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

Re: Hidden Field in a form. Do I use struts taglib or vanilla html?

2001-11-29 Thread David Lauta
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

RE: Hidden Field in a form. Do I use struts taglib or vanilla html?

2001-11-29 Thread Jon.Ridgway
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

Re: Hidden Field in a form. Do I use struts taglib or vanilla html?

2001-11-29 Thread Ted Husted
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

Re: Hidden Field in a form. Do I use struts taglib or vanilla html?

2001-11-29 Thread David Lauta
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

Re: Hidden Field in a form. Do I use struts taglib or vanilla html?

2001-11-29 Thread Ted Husted
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

Re: Hidden Field in a form. Do I use struts taglib or vanilla html?

2001-11-29 Thread David Lauta
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

Re: Hidden Field in a form. Do I use struts taglib or vanilla html?

2001-11-29 Thread David Lauta
]] 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

Re: Hidden Field in a form. Do I use struts taglib or vanilla html?

2001-11-29 Thread Ted Husted
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

Hidden Field in a form. Do I use struts taglib or vanilla html?

2001-11-28 Thread antony
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

Re: Hidden Field in a form. Do I use struts taglib or vanilla html?

2001-11-28 Thread Erik Hatcher
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

RE: Hidden Field in a form. Do I use struts taglib or vanilla html?

2001-11-28 Thread Shri
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