Re: Multibox problem when defaulted all on

2004-03-17 Thread David Erickson
be populated, and if there are none, it will stay at none. -David > > Wiebe > > -Original Message- > From: David Erickson [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 17, 2004 12:28 PM > To: Struts Users Mailing List > Subject: Re: Multibox problem when

RE: Multibox problem when defaulted all on

2004-03-17 Thread Wiebe de Jong
Wednesday, March 17, 2004 12:28 PM To: Struts Users Mailing List Subject: Re: Multibox problem when defaulted all on Actually according to Ted inside the reset method your code should be: marketing = new String[] {}; HTH, David - Original Message - From: "David Erickson"

RE: Multibox problem when defaulted all on

2004-03-17 Thread Wendy Smoak
> From: David Erickson [mailto:[EMAIL PROTECTED] > I'm still a little hazy on when reset is called on forms, Right before they get populated from the values in the request. > but you may want to try moving > marketing = marketingItems; > to the forms constructor, so when the form is created the

Re: Multibox problem when defaulted all on

2004-03-17 Thread David Erickson
Actually according to Ted inside the reset method your code should be: marketing = new String[] {}; HTH, David - Original Message - From: "David Erickson" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, Ma

Re: Multibox problem when defaulted all on

2004-03-17 Thread David Erickson
I'm still a little hazy on when reset is called on forms, but you may want to try moving marketing = marketingItems; to the forms constructor, so when the form is created the first time its holding the default values. And inside the reset method: marketing = null; -David - Original Message

RE: Multibox and selected values

2004-03-15 Thread Craig Tataryn
Oh right, sorry yeah my code looks in the Application scope in this instance. For getting the request scope variables I needed I had subclassed DispatchAction for my project and set the properties on my form bean which were grabbed from the request from within an overriden dispatchMethod (exec

RE: Multibox and selected values

2004-03-15 Thread Wendy Smoak
> From: Craig Tataryn [mailto:[EMAIL PROTECTED] > this.servlet.getServletContext().getAttribute() should give > you access to beans in the user session. Application/Context scope != Session scope -- Wendy Smoak - To unsubscr

RE: Multibox and selected values

2004-03-15 Thread Craig Tataryn
t does not have access to the HttpSession object. > > > >From: "Craig Tataryn" <[EMAIL PROTECTED]> > >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > >To: [EMAIL PROTECTED] > >Subject: RE: Multibox and selected values > &

RE: Multibox and selected values

2004-03-15 Thread Saul Q Yuan
. > -Original Message- > From: Amish Patel [mailto:[EMAIL PROTECTED] > Sent: Monday, March 15, 2004 11:05 AM > To: [EMAIL PROTECTED] > Subject: RE: Multibox and selected values > > > How can I do what you are telling me do. Look at my

RE: Multibox and selected values

2004-03-15 Thread Amish Patel
And then how do I get the session from there? I looked at the API and the servlet context object does not have access to the HttpSession object. From: "Craig Tataryn" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: [EMAIL PROT

RE: Multibox and selected values

2004-03-15 Thread Craig Tataryn
n your action class, and in > your action class, try get the current user and set it in the form bean. > > > -Original Message- > > From: Amish Patel [mailto:[EMAIL PROTECTED] > > Sent: Sunday, March 14, 2004 11:13 PM > > To: [EMAIL PROTECTED] > >

RE: Multibox and selected values

2004-03-15 Thread Amish Patel
;'Struts Users Mailing List'" <[EMAIL PROTECTED]> Subject: RE: Multibox and selected values Date: Mon, 15 Mar 2004 10:40:09 -0500 I am not sure you can get the session directly in the form bean, however, you can get the current session in your action class, and in your action c

RE: Multibox and selected values

2004-03-15 Thread Saul Q Yuan
> Sent: Sunday, March 14, 2004 11:13 PM > To: [EMAIL PROTECTED] > Subject: Re: Multibox and selected values > > > Saul, > > How can I access the current user from the form bean? The > current user is > in the session. So in other words my question is how can I > a

Re: Multibox and selected values

2004-03-14 Thread Amish Patel
ts Users Mailing List" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Subject: Re: Multibox and selected values Date: Sun, 14 Mar 2004 20:42:31 -0500 If I understand your questions correctly, you can define two String arrays in your form bean, o

Re: Multibox and selected values

2004-03-14 Thread Saul Q Yuan
If I understand your questions correctly, you can define two String arrays in your form bean, one for allRoles, and the other for selectedRoles, which is the array of roles of the current user. Before forwarding to your jsp, in your action class, you can retrive all the roles of the currently us

RE: Multibox and Validation

2004-01-23 Thread Justin Miller
I downloaded the nightly build from last night. It did fix the javascript validation but if I turn javascript off, the validators still don't enforce the required validation on the multibox. Any suggestions? >>> [EMAIL PROTECTED] 01/22/04 08:35AM >>> This is a known issue for the release version

RE: Multibox and Validation

2004-01-22 Thread Saul Q Yuan
This is a known issue for the release version of Struts1.1, but if you download a nightly build after Sep 24 2003, the required validation will work. Saul -Original Message- From: Justin Miller [mailto:[EMAIL PROTECTED] Sent: Thursday, January 22, 2004 9:43 AM To: [EMAIL PROTECTED] Subj

Re: multibox - Null attribute name ServletException - SOLVED

2003-11-06 Thread ZYD
iling List" <[EMAIL PROTECTED]> Sent: Thursday, November 06, 2003 10:23 AM Subject: Re: multibox - Null attribute name ServletException > Thanks for your response. > Could you give me some hint? I'm a struts newbie. > > Thanks a lot. > > - Original Message - &

Re: multibox - Null attribute name ServletException

2003-11-06 Thread ZYD
Thanks for your response. Could you give me some hint? I'm a struts newbie. Thanks a lot. - Original Message - From: "Firat TIRYAKI" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, November 06, 2003 11:04 PM S

Re: multibox - Null attribute name ServletException

2003-11-06 Thread Firat TIRYAKI
store the properties in a bean and recall them in your action. F. - Original Message - From: "ZYD" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, November 06, 2003 3:52 AM Subject: multibox - Null attribute name ServletException > > I tried to

RE: Multibox over a collection

2003-07-09 Thread Alex Shneyderman
> My problem is that I have a table in which every row is a object of a > formbean and has checkbox on the left which is a column of the table. So Then each row is identified somehow (indexed?). Each row will need to have that checkbox named (property) exactly the same way on each row, but you ca

Re: Multibox persistence problem

2003-06-18 Thread David Chelimsky
tribute("allRoles", allRoles); - Original Message - From: "David Chelimsky" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, June 18, 2003 1:58 PM Subject: Re: Multibox persistence problem I've only been a

Re: Multibox persistence problem

2003-06-18 Thread Mykola Ostapchuk
ECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, June 18, 2003 1:58 PM Subject: Re: Multibox persistence problem > I've only been able to make this work w/ session scope. Can you please > post your code so I can see your solution? Thanks

Re: Multibox persistence problem

2003-06-18 Thread David Chelimsky
in my code - I didn't put Collection for multibox to the form bean, but to separate bean... - Original Message - From: "David Chelimsky" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, June 18, 2003 1:24 AM Subject: Re

Re: Multibox persistence problem

2003-06-18 Thread Mykola Ostapchuk
y" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, June 18, 2003 1:24 AM Subject: Re: Multibox persistence problem > 1. Make sure that you are overriding the reset() method in the ActionForm. > 2. In reset(), make sure you do

Re: Multibox persistence problem

2003-06-17 Thread David Chelimsky
IL PROTECTED]>; "Mykola Ostapchuk" <[EMAIL PROTECTED]> Sent: Tuesday, June 17, 2003 11:15 PM Subject: Re: Multibox persistence problem try setting scope="session" in your action. HTH - Original Message - From: "Mykola Ostapchuk" <[EMAIL PROTE

Re: Multibox persistence problem

2003-06-17 Thread Richard Raquepo
try setting scope="session" in your action. HTH - Original Message - From: "Mykola Ostapchuk" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 18, 2003 10:35 AM Subject: Multibox persistence problem > Hi, > > I'm using multibox to display multiple checkboxes: > > > >

RE: multibox?

2003-02-25 Thread Jobe, Mike [EESUS]
No I haven't, thanks I will look at it! Mike -Original Message- From: Sri Sankaran [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 25, 2003 10:49 AM To: Struts Users Mailing List Subject: RE: multibox? Have you looked at html-multibox.jsp that is in the struts-exercise-t

RE: multibox?

2003-02-25 Thread Sri Sankaran
Have you looked at html-multibox.jsp that is in the struts-exercise-taglib application that ships with Struts? Sri -Original Message- From: Jobe, Mike [EESUS] [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 25, 2003 10:46 AM To: '[EMAIL PROTECTED]' Subject: multibox? Can anyone send

RE: multibox and DynaValidatorForm

2003-01-22 Thread Durham David Cntr 805CSS/SCBE
Yah, that's it. Thanks. Dave > -Original Message- > From: Robert Taylor [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, January 22, 2003 1:27 PM > To: Struts Users Mailing List > Subject: RE: multibox and DynaValidatorForm > > > >

RE: multibox and DynaValidatorForm

2003-01-22 Thread Robert Taylor
robert > -Original Message- > From: Durham David Cntr 805CSS/SCBE [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, January 22, 2003 2:00 PM > To: [EMAIL PROTECTED] > Subject: multibox and DynaValidatorForm > > > What type should/can I associate with multibox inputs in the > form-bean de

RE: Multibox and setter problem

2003-01-06 Thread AMIR-TAHMASSEB Marc
where ? -Message d'origine- De : Alireza Fattahi [mailto:[EMAIL PROTECTED]] Envoyé : mardi 7 janvier 2003 07:00 À : 'Struts Users Mailing List' Objet : RE: Multibox and setter problem http://husted.com/struts/tips/007.html -Original Message- From: AMIR-TAHMASS

RE: Multibox and setter problem

2003-01-06 Thread Alireza Fattahi
http://husted.com/struts/tips/007.html -Original Message- From: AMIR-TAHMASSEB Marc [mailto:[EMAIL PROTECTED]] Sent: Monday, January 06, 2003 5:45 PM To: '[EMAIL PROTECTED]' Subject: Multibox and setter problem Hi everybody (and happy new year :-) I have a jsp page with multibox. When

RE: multibox problem - No getter method

2002-12-30 Thread Sterin, Ilya
kiuma [mailto:[EMAIL PROTECTED]] Sent: Monday, December 30, 2002 8:33 AM To: Struts Users Mailing List Subject: Re: multibox problem - No getter method David Rothschadl ha scritto: >Kiuma, >It looks like you need to change your property "caChecked" to "acChecked" > Dav

Re: multibox problem - No getter method

2002-12-30 Thread kiuma
David Rothschadl ha scritto: Kiuma, It looks like you need to change your property "caChecked" to "acChecked" David R kiuma <[EMAIL PROTECTED]> wrote:hello, On some forms I have a no getter method error , and I can't see the reason. The problem doesn't exist if I use for ex. a html-el.tex

Re: multibox problem - No getter method

2002-12-30 Thread David Rothschadl
Kiuma, It looks like you need to change your property "caChecked" to "acChecked" David R kiuma <[EMAIL PROTECTED]> wrote:hello, On some forms I have a no getter method error , and I can't see the reason. The problem doesn't exist if I use for ex. a html-el.text element. This is my form

RE: Multibox

2002-12-03 Thread shirishchandra . sakhare
yes..U are right... -Original Message- From: donl34 [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 03, 2002 2:57 PM To: struts-user Cc: donl34 Subject: Multibox Hello, I'm using struts 1.0.2. I would like to present an input form on a jsp and part of that would be to display a number

RE: Multibox

2002-12-03 Thread Sri Sankaran
> -Original Message- > From: dlee [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, December 03, 2002 8:57 AM > To: Struts Users Mailing List > Subject: Multibox > > > Hello, > I'm using struts 1.0.2. > I would like to present an input form on a jsp and part of > that would be to display a

Re: MultiBox problem.

2002-10-25 Thread Susan Bradeen
Kavitha, I am not sure about your specific error, but you should use a String array instead of ArrayList. At least give that a try and see how far you get. There is quite a bit of information on the multibox in the list archives. Susan Bradeen "Kavitha ranga" <[EMAIL PROTECTED]> 10/25/2002

RE: multibox : problem with preselected array

2002-10-25 Thread Sri Sankaran
How is the TestForm(boolean) constructor being invoked? The Struts framework will simply invoke the default constructor. How are you "setting the selected string array in Action class"? Are you creating this form bean in the Action class then setting the array? If so, are you persisting this

RE: multibox, checkbox PROBLEM FOUND, SOLUTION NOT!!!

2002-10-19 Thread Wendy Smoak
Kiuma wrote: > I've found a tip placing code in validate method : > But it's a very dirty technique of course. That will work, but... what if you have a form that you don't want to validate? The reason this is working is that you have validate set to true so that the validate method gets called.

Re: multibox, checkbox PROBLEM FOUND, SOLUTION NOT!!!

2002-10-19 Thread kiuma
Thanks a lot , you have been very clarifying. I've found a tip placing code in validate method : public ActionErrors validate( ActionMapping mapping, HttpServletRequest req) { String str = req.getParameter( "isOn" ); if (str == null) isOn = false; return nu

Re: multibox, checkbox PROBLEM FOUND, SOLUTION NOT!!!

2002-10-19 Thread C. Struts
lse in the reset() method." -c - Original Message - From: "Wendy Smoak" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Saturday, October 19, 2002 12:03 PM Subject: RE: multibox, checkbox PROBLEM FOUND, SOLUTION NOT!!!

RE: multibox, checkbox PROBLEM FOUND, SOLUTION NOT!!!

2002-10-19 Thread Wendy Smoak
I'm coming into this discussion late, so ignore me if I'm out in left field, but it sounds like you're unhappy that when *no* checkboxes are checked, *no* methods get called. When you submit the form, only "successful" form elements are sent in the request, so if *no* checkboxes are checked, *not

Re: multibox, checkbox PROBLEM FOUND, SOLUTION NOT!!!

2002-10-19 Thread kiuma
Ok suppose to have a Form with a checkbox named "isOn" and a submit button name "Save" a NOT checked value will produce: http://localhost:8080/webappointments/openChk.do?action=Save a checked value will produce: http://localhost:8080/webappointments/openChk.do?isOn=on&action=Save The problem i

RE: multibox problem

2002-10-18 Thread Karr, David
The property associated with a multibox is not a collection. It's just a scalar. Look at the "struts-exercise-taglib" for simple examples of this. > -Original Message- > From: kiuma [mailto:kiuma@;usa.net] > Sent: Thursday, October 17, 2002 10:29 AM > To: Struts Users Mailing List > Subj

Re: multibox problem

2002-10-18 Thread kiuma
And so how can I use a collection ? I used this but os u pointed doesn't work ! Karr, David wrote: The property associated with a multibox is not a collection. It's just a scalar. Look at the "struts-

RE: multibox validation and collections

2002-07-28 Thread Zimmer, Robin (SSABSA)
lto:[EMAIL PROTECTED]] Sent: Saturday, 27 July 2002 12:09 AM To: Struts Users Mailing List Subject: Re: multibox validation and collections On Fri, Jul 26, 2002 at 10:03:00AM +0930, Zimmer, Robin (SSABSA) wrote: > I have overrridden the validate method of the form bean to ensure > that at least

RE: multibox bug (Help needed)

2002-07-02 Thread Mark Nichols
ions" link listed on the Struts site. -Original Message- From: Toni Nehme [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 02, 2002 12:28 PM To: [EMAIL PROTECTED] Subject: Re: multibox bug (Help needed) Does anybody know how to fix this bug? Thanks. >From: "Toni Nehme"

Re: multibox bug (Help needed)

2002-07-02 Thread Toni Nehme
Does anybody know how to fix this bug? Thanks. >From: "Toni Nehme" <[EMAIL PROTECTED]> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: multibox bug >Date: Tue, 02 Jul 2002 11:35:24 -0400 > >Hi, > >I am using multibox in a Logic:iterator see below: > >

RE: multibox bug

2002-07-02 Thread Toni Nehme
Yes, I did include teh struts-bean.tld. Toni. >From: "Xinhong Luo, NY" <[EMAIL PROTECTED]> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> >To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> >Subject: RE: mul

RE: multibox bug

2002-07-02 Thread Xinhong Luo, NY
hi, did you include the following in the top of your jsp? <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> -Original Message- From: Toni Nehme [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 02, 2002 11:35 AM To: [EMAIL PROTECTED] Subject: multibox bug Hi, I am using multibox

Re: Multibox intial selection problem

2002-06-24 Thread gnanaseelan
Hi Raj Thanks ,i got it its working fine Thanks a lot Bye gnan - Original Message - From: "Rajesh Pradhan" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Monday, June 24, 2002 7:11 PM Subject: RE: Multibox intial selection p

Re: Multibox intial selection problem

2002-06-24 Thread gnanaseelan
Hi Nico Thanks ,i got it its working fine Thanks a lot Bye gnan - Original Message - From: "Nicolas De Loof" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, June 24, 2002 7:24 PM Subject:

RE: Multibox intial selection problem

2002-06-24 Thread Rajesh Pradhan
List Subject: Re: Multibox intial selection problem Hi I saw the mails in Archive in that uyou have said a some code has to be inclued in the Action Class I am little bit Confused on this .Whether i should put the code in the Action class before forwarding it to the jsp or Action Class whic

Re: Multibox intial selection problem

2002-06-24 Thread gnanaseelan
, thx gnan - Original Message - From: "Nicolas De Loof" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, June 24, 2002 7:26 PM Subject: Re: Multibox intial selection problem > http

Re: Multibox intial selection problem

2002-06-24 Thread gnanaseelan
]> Sent: Monday, June 24, 2002 7:24 PM Subject: Re: Multibox intial selection problem > A cleaner (IMHO) way for generating such select in HTML would be : > > >property="value" > labelProperty="label"/> >

Re: Multibox intial selection problem

2002-06-24 Thread Nicolas De Loof
PROTECTED]> Sent: Monday, June 24, 2002 3:41 PM Subject: RE: Multibox intial selection problem > Hi, > This is already answered by Nico. > I faced the same problem some time ago. > Why don't u go to the archives and search for it > I am sure u will get it. > Search

Re: Multibox intial selection problem

2002-06-24 Thread Nicolas De Loof
A cleaner (IMHO) way for generating such select in HTML would be : ... where "monthstosaveValues" is a collection of objects that have "value" and "label" property (attribute+getters) for your select box items (that could be placed in application scope if it is constant between users). I

RE: Multibox intial selection problem

2002-06-24 Thread Rajesh Pradhan
an -Original Message- From: Susmita Pati [mailto:[EMAIL PROTECTED]] Sent: Monday, June 24, 2002 6:48 PM To: 'Struts Users Mailing List' Subject:RE: Multibox intial selection problem though i havent used multibox...i think the code shud work... give it a try --

RE: Multibox intial selection problem

2002-06-24 Thread Susmita Pati
though i havent used multibox...i think the code shud work... give it a try -Original Message- From: gnanaseelan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 27, 2002 8:09 AM To: Struts Users Mailing List Subject: Re: Multibox intial selection problem Hi Susmita Thanks for

Re: Multibox intial selection problem

2002-06-24 Thread gnanaseelan
D]> Sent: Monday, June 24, 2002 6:12 PM Subject: RE: Multibox intial selection problem > Hi > Do something like this: > > > > > > > <% > for(int i=0;i %> > <% > if (downloadday.equals(mo

RE: Multibox intial selection problem

2002-06-24 Thread Susmita Pati
Hi Do something like this: <% for(int i=0;i selected<%}%> value='<%=monthstosave[i]%>'><%=monthstosave[i]%> <%} %>

Re: Multibox...

2002-01-15 Thread David M. Karr
> "Marcelo" == Marcelo Caldas <[EMAIL PROTECTED]> writes: Marcelo> Hei, Marcelo> Can somebody give me an example on how to use the tag... Marcelo> It's complaining that can't find the getter method... Marcelo> that's what I got so far: Marcelo> on the JSP: Marcelo>

RE: Multibox in iterate

2002-01-10 Thread Tricia Ong Cheah Yen
[] inMgrAdminAccess) { this.mgrAdminAccess = inMgrAdminAccess; } +trish -Original Message- From: Tom Klaasen (TeleRelay) [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 10, 2002 6:00 PM To: Struts Users Mailing List Subject: RE: Multibox in iterate You should add the "n

RE: Multibox in iterate

2002-01-10 Thread Tom Klaasen (TeleRelay)
You should add the "name='role'" attribute in the tag. When you think about it, it is logical. hth, tomK > -Original Message- > From: Viljoen, Danie [mailto:[EMAIL PROTECTED]] > Sent: woensdag 9 januari 2002 13:54 > To: 'Struts Users Mailing List' > Subject: Multibox in iterate > > >

RE: Multibox in iterate

2002-01-09 Thread Chen, Yong
make sure in your ActionForm class, you have an attribute called testChecked and coresponding getter/setter Yong Chen -Original Message- From: Viljoen, Danie [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 09, 2002 6:54 AM To: 'Struts Users Mailing List' Subject: Multibox in iterat

Re: multibox - i know is easy but i am lost!!!

2001-12-12 Thread simon
Raul, Did you did you work out the solution to this, I think what you need to do is for the Form object that you've defined that maps this form you need a property that relates to the multiple box e.g. if i have a jsp mainmenu.jsp with Then in my form handler i need bean property that refle

Re: multibox and reset() "ERIK"

2001-10-02 Thread martin . cooper
iginal Message- > From: Erik Hatcher [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, October 02, 2001 11:46 AM > To: [EMAIL PROTECTED] > Subject: Re: multibox and reset() "ERIK" > > > The better way is just what was mentioned set your values to null > (false?

RE: multibox and reset() "ERIK"

2001-10-02 Thread Krueger, Jeff
added the code to my action to see if no check boxes were submitted and then call the set method and pass in a string array of length 0. Jeff -Original Message- From: Erik Hatcher [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 02, 2001 11:46 AM To: [EMAIL PROTECTED] Subject: Re: multib

Re: multibox and reset() "ERIK"

2001-10-02 Thread Erik Hatcher
> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 02, 2001 7:49 AM Subject: RE: multibox and reset() "ERIK" > Thanks Erik for the extra info. I was thinking that was the problem I was > having. One idea that I had was to check in my action class to see if any > check boxes

RE: multibox and reset() "ERIK"

2001-10-02 Thread Krueger, Jeff
. Thanks Jeff -Original Message- From: Erik Hatcher [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 02, 2001 8:49 AM To: [EMAIL PROTECTED] Subject: Re: multibox and reset() "ERIK" Jeff, No, my patch did not fix this particular case. Here is what is happening in your scenario:

Re: multibox and reset() "ERIK"

2001-10-02 Thread Erik Hatcher
builds are running on a different branch or something). Erik - Original Message - From: "Krueger, Jeff" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 02, 2001 7:07 AM Subject: RE: multibox and reset() "ERIK" > Erik, > > I bel

RE: multibox and reset() "ERIK"

2001-10-02 Thread Krueger, Jeff
build? Thanks Jeff -Original Message- From: Erik Hatcher [mailto:[EMAIL PROTECTED]] Sent: Friday, September 14, 2001 8:24 PM To: [EMAIL PROTECTED] Subject: Re: multibox and reset() reset is currently not called if creates the form bean, which happens if you go to the JSP page directly wi

Antw: RE: multibox always checked

2001-09-26 Thread Marion Schwarz
Yes, that's what I figured out at last. One more question: I notice that even objects in session scope cannot be used by different frames. When my frameset is built, the first frame contains a jsp page which is called with a parameter. This page puts the parameter in session scope. The second js

RE: multibox always checked

2001-09-25 Thread Hans Gilde
I don't have a direct solution to our problem but why not submit the checkbox form, targeted to the frame that's supposed to display the total? An action can count the check boxes and display the total page without having to refresh the form every time. The form can also use a JavaScript timer to

Re: multibox and reset()

2001-09-14 Thread Erik Hatcher
t;[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, September 14, 2001 10:12 AM Subject: Re: multibox and reset() > The signature for reset() is the following: > > void reset(ActionMapping, HttpServletRequest) > > I don't know whet

Re: multibox and reset()

2001-09-14 Thread Renaud Waldura
The signature for reset() is the following: void reset(ActionMapping, HttpServletRequest) I don't know whether setting the array reference is null is enough, or you truly need to create a zero-length array like in your example below. I set mine to null, it seemed to work. - Original Mes

RE: Multibox Question

2001-08-27 Thread SUHAS G. KULKARNI
I was looking into wrong file org.apache.struts.taglib.MultiBoxTag.java Instead of org.apache.struts.taglib.html.MultiBoxTag.java where " value" is checked if it is set in the jsp if not then uses the body content of the multibox tag -Original Message- From: SUHAS G. KULKARNI [mailto

Re: Multibox confusion after reading Struts mail-archive

2001-06-22 Thread Becky Moyer
a box shouldn't get checked, and that was causing a null pointer. Anyway, thanks SO MUCH for your replies, they helped a lot. Thanks again, Becky Original Message Follows From: Steve A Drake <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: <[EMAIL PROTECTED

Re: Multibox confusion after reading Struts mail-archive

2001-06-21 Thread Steve A Drake
On Thu, 21 Jun 2001, Becky Moyer wrote: > Steve, >Thanks so much for your reply, it gave me some more leads to follow. I > have been playing with this for the last 2 days...I have tried to change my > webapp to be similar to yours. That could get ugly. =:] > I made my form have 2 string a

Re: Multibox confusion after reading Struts mail-archive

2001-06-21 Thread Becky Moyer
A Drake <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: <[EMAIL PROTECTED]> Subject: Re: Multibox confusion after reading Struts mail-archive Date: Tue, 19 Jun 2001 15:41:52 -0600 (MDT) On Tue, 19 Jun 2001, Becky Moyer wrote: > Hi all... >I've read all I can find in th

Re: Multibox confusion after reading Struts mail-archive

2001-06-19 Thread Steve A Drake
On Tue, 19 Jun 2001, Becky Moyer wrote: > Hi all... >I've read all I can find in the archives about the html:multibox tag, and > I have gotten farther, but I still would like to ask for some help. > > In my jsp, I have the following: > > > > > > Where entryData is an ArrayList of class

Re: multibox

2001-02-11 Thread William Jaynes
orm is not populated with the values that have been checked. - Original Message - From: "Nick Chalko" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, February 09, 2001 3:42 PM Subject: RE: multibox > right now multibox does not cooperate with the iterato

RE: multibox

2001-02-09 Thread Nick Chalko
right now multibox does not cooperate with the iterator, The text in the value field is not evaluated, it is static. R, Nick -Original Message- From: William Jaynes [mailto:[EMAIL PROTECTED]] Sent: Friday, February 09, 2001 12:25 PM To: [EMAIL PROTECTED] Subject: Re: multibox Are you

Re: multibox

2001-02-09 Thread William Jaynes
Are you saying the multibox tag doesn't work at all now? From reading the documentation, I don't understand how it should work now. - Original Message - From: "Nick Chalko" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, February 09, 20

RE: multibox

2001-02-09 Thread Nick Chalko
This doesn't work yet, I submitted a patch Vote for bug #402 at http://nagoya.betaversion.org/bugzilla/show_bug.cgi?id=402 With my patch the usage is ... ... Now your form needs to have public String[] getCheckbox() {...} public void setCheckbox(String []) {...} R, Nick -Original