Re: SOLVED: Multibox problem when defaulted all on

2004-03-18 Thread as as
Mailing List Subject: Re: Multibox problem when defaulted all on I don't think I explained myself quite clearly. WORKS: All the checkboxes on the form default to on. WORKS: User leaves all checkboxes on. WORKS: User turns some of the checkboxes off. DOESN'T WORK: User turns all of the checkboxes

Re: SOLVED: Multibox problem when defaulted all on

2004-03-18 Thread as as
Mailing List Subject: Re: Multibox problem when defaulted all on I don't think I explained myself quite clearly. WORKS: All the checkboxes on the form default to on. WORKS: User leaves all checkboxes on. WORKS: User turns some of the checkboxes off. DOESN'T WORK: User turns all of the checkboxes

Re: SOLVED: Multibox problem when defaulted all on

2004-03-18 Thread as as
Mailing List Subject: Re: Multibox problem when defaulted all on I don't think I explained myself quite clearly. WORKS: All the checkboxes on the form default to on. WORKS: User leaves all checkboxes on. WORKS: User turns some of the checkboxes off. DOESN'T WORK: User turns all of the checkboxes

Re: SOLVED: Multibox problem when defaulted all on

2004-03-18 Thread as as
Mailing List Subject: Re: Multibox problem when defaulted all on I don't think I explained myself quite clearly. WORKS: All the checkboxes on the form default to on. WORKS: User leaves all checkboxes on. WORKS: User turns some of the checkboxes off. DOESN'T WORK: User turns all of the checkboxes

Multibox problem when defaulted all on

2004-03-17 Thread Wiebe de Jong
I am having a problem with multibox. I need to have a set of checkboxes to default on in my form. I found and followed Ted Husted's Struts Tip #7 http://husted.com/struts/tips/007.html - Use Multibox to manage checkboxes and everything works well, except in one condition explained below. When

Re: Multibox problem when defaulted all on

2004-03-17 Thread David Erickson
- From: Wiebe de Jong [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, March 17, 2004 1:14 PM Subject: Multibox problem when defaulted all on I am having a problem with multibox. I need to have a set of checkboxes to default on in my form. I found

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, March 17, 2004 1:22 PM Subject: Re: Multibox

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 Wiebe de Jong
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 [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday

Re: Multibox problem when defaulted all on

2004-03-17 Thread David Erickson
Erickson [mailto:[EMAIL PROTECTED] Sent: 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

SOLVED: Multibox problem when defaulted all on

2004-03-17 Thread Wiebe de Jong
. The display:none; makes the checkbox totally invisible. It's a hack, but it works!!! Wiebe -Original Message- From: David Erickson [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 17, 2004 1:48 PM To: Struts Users Mailing List Subject: Re: Multibox problem when defaulted all on I

RE: Multibox and selected values

2004-03-15 Thread Saul Q Yuan
, 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 access the session from the form bean? Thanks

RE: Multibox and selected values

2004-03-15 Thread Amish Patel
is used. Thanks in advance for your help! From: Saul Q Yuan [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: '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

RE: Multibox and selected values

2004-03-15 Thread Craig Tataryn
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] Subject: Re: Multibox and selected values Saul, How can I

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 PROTECTED] Subject: RE: Multibox and selected

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 code logic:iterate name=associateUserRoleForm property=allRoles id

RE: Multibox and selected values

2004-03-15 Thread Craig Tataryn
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 Date: Mon, 15 Mar 2004 10:36:58 -0600 (CST) I've done this in the past within an ActionForm like so

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

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

Re: Multibox and selected values

2004-03-14 Thread Saul Q Yuan
user, and set the roles to the selectedRoles in the form bean. HTH, Saul - Original Message - From: Amish Patel To: [EMAIL PROTECTED] Sent: Sunday, March 14, 2004 11:59 AM Subject: Multibox and selected values Hello All, I am running into this problem, that I am

Re: Multibox and selected values

2004-03-14 Thread Amish Patel
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, one for allRoles, and the other for selectedRoles, which

validator framework / multibox and javascript validation

2004-03-09 Thread harm
Hi all, I have want to validate (client-side using javascript generated by the validator framework) if my user has at least selected one checkbox in my html:multibox form item. Unfortunatly the javascript generator does not generate the JavaScript needed to validate this. I read somewhere

Validating number of selected multibox items

2004-02-23 Thread Wendy Smoak
Is there an existing validator to limit the number of items a user can select in a multibox? I have a few users who have access to way too many accounts, and if they use the handy 'select all' link, it will break. Right now I'm doing the validation manually in the ActionForm's validate method

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

Multibox and Validation

2004-01-22 Thread Justin Miller
Hi all Is there an out of the box struts-validator way to check to see if at least one of x number of checkboxes has been checked using the html:multibox? I have been attempting to use the required and requiredif rules to no avail. Background: Struts 1.1 DynaValidatorActionForm Tomcat 4.1

RE: Multibox and Validation

2004-01-22 Thread Saul Q Yuan
] Subject: Multibox and Validation Hi all Is there an out of the box struts-validator way to check to see if at least one of x number of checkboxes has been checked using the html:multibox? I have been attempting to use the required and requiredif rules to no avail. Background: Struts 1.1

Need some Multibox help.

2004-01-06 Thread rgould
Hi everyone. I need some simple multibox help here. I've gone through the example in the O Reilly book, and have thoroughly torn apart the example at http://j2ee.lagnada.com/struts/multibox-example1.htm and I cannot get mine to work. The problem lies in the logic:iterate's id tag. error

RE: Need some Multibox help.

2004-01-06 Thread Tim Lucia
(...)) or request.setAttribute(...). Tim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 06, 2004 8:17 PM To: Struts Users Mailing List Subject: Need some Multibox help. Hi everyone. I need some simple multibox help here. I've gone

Re: Need some Multibox help.

2004-01-06 Thread Saul Q Yuan
, make sure wfsContentForm exists in one of the scopes, request, session etc. Saul - Original Message - From: [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, January 06, 2004 8:16 PM Subject: Need some Multibox help. Hi everyone. I need some simple

Re: Problem with multibox check state

2003-12-27 Thread Mark Lowe
multibox, I need some coding for a dynamic array of multiboxes with the same property value, how do I set the values in the action class? Thanks in advance Regards H.Rajesh -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 24, 2003 5:00 PM To: Struts Users

html:checkbox or multibox?? how to value as getter from collection

2003-12-26 Thread shahfazal
, and at the beginning of the row i need a check box with a value of one of the properties of the value object how do i go about it? i know the multibox can do this but i'm having trouble binding the property to the value of this multibox .. can anyone help me? my code : logic:iterate id=appList name

RE: Problem with multibox check state

2003-12-26 Thread Rajesh, Harikrishnan (H.)
Hi, Thanks for the info, I can understand this type of program would suit a static multibox, I need some coding for a dynamic array of multiboxes with the same property value, how do I set the values in the action class? Thanks in advance Regards H.Rajesh -Original Message- From

Problem with multibox check state

2003-12-24 Thread Rajesh, Harikrishnan (H.)
Hi, I have a jsp input form with dynamically generated multibox, I need to fill these boxes with checked and unchecked state once the user selects a previously saved record. I need to know how to resolve this problem. I have done the same with a single multibox, using the set('property name

Re: Problem with multibox check state

2003-12-24 Thread Mark Lowe
multibox, I need to fill these boxes with checked and unchecked state once the user selects a previously saved record. I need to know how to resolve this problem. I have done the same with a single multibox, using the set('property name', value) in the action component. But for dynamically

Multibox not checking the selected values.

2003-11-17 Thread Nathan Maves
=engineer/ br /logic:iterate both arrays display on the screen just fine. the check boxes are also displayed. 6 of them to be precise. The only problem is that they are not checked by default. I thought that the multibox took case of this? Nathan

Multibox + iterate + design question

2003-11-13 Thread ZYD
Dear all I have a design question: there are three columns in a database table: category_id, category_description, is_main_category I want to iterate all the records in this table in a jsp page using one check box for each record. category_id is the checkbox's value,

multibox - Null attribute name ServletException

2003-11-06 Thread ZYD
I tried to use multibox. I copied the code snippet from Struts in Action, but I got: [ServletException in:/WEB-INF/jsp/form/multiboxTest.jsp] Null attribute name' --- This is my multiboxTest.jsp: %@ taglib uri=/WEB-INF/struts-bean.tld prefix=bean

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 use

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 Subject: Re: multibox - Null attribute name

Re: multibox - Null attribute name ServletException - SOLVED

2003-11-06 Thread ZYD
Mailing 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 - From: Firat TIRYAKI [EMAIL

Re: Can't uncheck multibox

2003-09-23 Thread SCOTT VENTER
) { actionItemIndicator = new String[] {}; } HTH. S. [EMAIL PROTECTED] 09/22/03 04:56PM Can anyone help??? I have the following multibox in a dyanValidatorForm: logic:iterate id=defectsList name=reviewRecordForm property=defectsList indexId=i html:multibox property=actionItemIndicator

RE: Can't uncheck multibox

2003-09-23 Thread Andrew Hill
] Subject: Re: Can't uncheck multibox Hi, I had this problem when I placed my ActionForm in the Session. I noticed that when I uncheck all the checkboxes, the browser would transmit no value for the checkbox property and so the ActionForm property would not be updated to an empty String[] as I had

RE: Can't uncheck multibox

2003-09-23 Thread SCOTT VENTER
it. -Original Message- From: SCOTT VENTER [mailto:[EMAIL PROTECTED] Sent: Tuesday, 23 September 2003 14:59 To: [EMAIL PROTECTED] Subject: Re: Can't uncheck multibox Hi, I had this problem when I placed my ActionForm in the Session. I noticed that when I uncheck all the checkboxes, the browser would

RE: Can't uncheck multibox

2003-09-23 Thread Andrew Hill
a clean form (new instance) every time anyhow. -Original Message- From: SCOTT VENTER [mailto:[EMAIL PROTECTED] Sent: Tuesday, 23 September 2003 15:21 To: [EMAIL PROTECTED] Subject: RE: Can't uncheck multibox The Actionform is in the session. I may not alway want to reset the property. hell

RE: Can't uncheck multibox

2003-09-23 Thread SCOTT VENTER
. -Original Message- From: SCOTT VENTER [mailto:[EMAIL PROTECTED] Sent: Tuesday, 23 September 2003 15:21 To: [EMAIL PROTECTED] Subject: RE: Can't uncheck multibox The Actionform is in the session. I may not alway want to reset the property. hell ! [EMAIL PROTECTED] 09/23/03 09:21AM snip

Re: Can't uncheck multibox

2003-09-23 Thread Natalie D Rassmann
it? Thank you, for your answer Natalie... -Original Message- From: Natalie D Rassmann [mailto:[EMAIL PROTECTED] Sent: Monday, September 22, 2003 9:57 PM To: Struts Users Mailing List Subject: Can't uncheck multibox Can anyone help??? I have the following multibox

Can't uncheck multibox

2003-09-22 Thread Natalie D Rassmann
Can anyone help??? I have the following multibox in a dyanValidatorForm: logic:iterate id=defectsList name=reviewRecordForm property=defectsList indexId=i html:multibox property=actionItemIndicator bean:write name=defectsList property=defectId/ /html:multibox

RE: Can't uncheck multibox

2003-09-22 Thread hari_s
: Monday, September 22, 2003 9:57 PM To: Struts Users Mailing List Subject: Can't uncheck multibox Can anyone help??? I have the following multibox in a dyanValidatorForm: logic:iterate id=defectsList name=reviewRecordForm property=defectsList indexId=i html:multibox property

how to manage the value from multibox

2003-09-18 Thread hari_s
) { return super.validate(mapping, request); } public String getTombol() { return tombol; } public void setTombol(String newTombol) { tombol = newTombol; } } and my problem is the value from the multibox can't show up in my output form, is it something wrong with my code ,can

FW: Checkall for Multibox--pls. help

2003-08-14 Thread Mike Jasnowski
-Original Message-From: Mike Jasnowski [mailto:[EMAIL PROTECTED]Sent: Thursday, August 14, 2003 2:57 PMTo: Goldy JCc: [EMAIL PROTECTED]Subject: RE: Checkall for Multibox--pls. help Hello, Attached is a JSP that illustrates the checkbox interaction you describe in the context

RE: Checkall for Multibox--pls. help

2003-08-14 Thread Mike Jasnowski
Sorry, resending due to errors in attaching file -Original Message-From: Mike Jasnowski [mailto:[EMAIL PROTECTED]Sent: Thursday, August 14, 2003 2:59 PMTo: [EMAIL PROTECTED]Subject: FW: Checkall for Multibox--pls. help -Original Message-From: Mike Jasnowski

RE: Checkall for Multibox--pls. help

2003-08-14 Thread Mike Jasnowski
Yes it is possible, I'm not using multibox, but the same logic applies: function checkAll(cAll){ var cbs = document.forms[0].elements[' + checkBoxNamePrefix + ']; if (typeof cbs.length == \undefined\) { cbs = document.forms[0]. + checkBoxNamePrefix + ; if (cAll.checked

Checkall for Multibox--pls. help

2003-08-14 Thread Goldy J
Hello, I have a JSP in which I show number of records in a table. Each row has a checkbox associated with it. All the valid records has to be checked by default. I have been able to do so using MULTIBOX using TED's famous tip. My problem is that the client wants a checkbox at the top

Struts multibox and LabelValueBean

2003-08-14 Thread Sydenham, Nick
in a multibox it won't work. Nick This message contains information that may be privileged or confidential and is the property of the Cap Gemini Ernst Young Group. It is intended only for the person to whom

argggh! DynaAF in session scope with multibox woes!

2003-07-24 Thread Mike Whittaker
This is about the classic Inability to uncheck checkboxes with DAF. I know I must overide reset() but I can't get anything to both keep session state AND allow all boxes unchecked. I tried the code below, obviously this isn't allowing session persistence because the request param is being

multibox tag problems with Ampersand characters

2003-07-17 Thread harinder . ryatt
Hi, I have a multibox tag that renders some checkboxes: logic:iterate name=interestsForm property=interestsColumn1Values id=itemA html:multibox name=interestsForm property=selectedInterestsAndExpertisesValues bean:write

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 can

Multibox over a collection

2003-07-08 Thread Sussu Struts
Hello, I have read thru the archives on this topic and want to know is there a way of using multibox over a collection . All that every one put as example is from Ted's tip , which uses a string buffer(which has item as string array etc etc) My problem is that I have a table in which every row

Re: Multibox persistence problem

2003-06-18 Thread Mykola Ostapchuk
Thank you for help - I solved the problem. Actually, it works with request scope well, no need to use session. The problem was 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

Re: Multibox persistence problem

2003-06-18 Thread David Chelimsky
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: Multibox persistence problem 1. Make sure that you

Re: Multibox persistence problem

2003-06-18 Thread Mykola Ostapchuk
); - 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 able to make this work w/ session scope. Can you please post your code so I can see

Re: Multibox persistence problem

2003-06-18 Thread David Chelimsky
())); } application.setAttribute(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 able to make this work w

Multibox persistence problem

2003-06-17 Thread Mykola Ostapchuk
Hi, I'm using multibox to display multiple checkboxes: font size=2pre logic:iterate id=item name=allRoles html:multibox name=requestUser property=selectedRoles bean:write name=item property=value/ /html:multibox bean:write name=item property=label/ /logic:iterate /pre/font Everything

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: font size=2pre

Re:Re: Multibox persistence problem

2003-06-17 Thread Mykola Ostapchuk
will appear pre-populated in the form. All the data in html:text.. tags is pre-populated well. But multibox - not... Any suggestions? - Original Message - From: Richard Raquepo [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED]; Mykola Ostapchuk [EMAIL PROTECTED] Sent: Tuesday

Re: Multibox persistence problem

2003-06-17 Thread David Chelimsky
1. Make sure that you are overriding the reset() method in the ActionForm. 2. In reset(), make sure you do NOT reset the value of the Collection that contains your multibox options, but make sure that you DO reset all other values besides your Collection. 3. set scope=session as was suggested

Struts Multibox example

2003-06-16 Thread Mihai.Creanga
Hi over there, I'm new into the Struts area and I hope that somebody can give me a piece of help with implementing Multibox tag into my scenario. Here is my problem: I have into the session a simple ArrayList containing ValueObjects. Each ValueObject is a JavaBean, one of the properties being

Problem Using Multibox tag Across Multiple Pages

2003-06-16 Thread Jean, Victor [IT]
and check 4 items. When I return to page one, those 2 items I selected are no longer checked. What's happening is the 4 items I selected on page two are overwriting the selectedItem array instead of appending to the array. Is there a struts solution for using the multibox tag across multiple pages

Re: Problem Using Multibox tag Across Multiple Pages

2003-06-16 Thread Jing Zhou
- Original Message - From: Jean, Victor [IT] [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, June 16, 2003 4:49 PM Subject: Problem Using Multibox tag Across Multiple Pages I have a problem where I need to keep track of what checkboxes are selected across multiple pages. I'm

Multibox value always checked

2003-06-15 Thread Paul Wells
Hi, I've a problem with using a multibox in that when I uncheck all values and submit my form, the array of selected items is not updated. I've seen this question posted a few times before and the answer always seems to be to perform a reset in the Action class. This sounds like a logical

RE: how to pass more than one value when a multibox ischecked?

2003-06-13 Thread Huan Gao
Hi Sashi, Thanks very much for your answer. But my jsp page is a little different from yours, I have multibox and text fields in my jsp page: My jsp page is as followings: logic:iterate id=element name=projects tr td align=right html:multibox property=selectedItems

RE: how to pass more than one value when a multibox ischecked?

2003-06-13 Thread Sashi Ravipati
is a little different from yours, I have multibox and text fields in my jsp page: My jsp page is as followings: logic:iterate id=element name=projects tr td align=right html:multibox property=selectedItems bean:write name=element property=id/ /html:multibox

RE: how to pass more than one value when a multibox ischecked?

2003-06-13 Thread Mike Jasnowski
Can you use indexed elements? -Original Message- From: Sashi Ravipati [mailto:[EMAIL PROTECTED] Sent: Friday, June 13, 2003 2:36 PM To: [EMAIL PROTECTED] Subject: RE: how to pass more than one value when a multibox ischecked? This is an interesting paper which talks abt iteration, look

how to pass more than one value when a multibox is checked?

2003-06-12 Thread Huan Gao
Hi, I am not able to pass more than one value when a multibox is checked. Is there any possible (or alternate) way to do it? I have a table in the JSP where each row contains a multibox, and a text field. When I select a checkbox and then enter some value in the text field and Submit, I need

Re: how to pass more than one value when a multibox ischecked?

2003-06-12 Thread Sashi Ravipati
PROTECTED] 06/12/03 01:35PM Hi, I am not able to pass more than one value when a multibox is checked. Is there any possible (or alternate) way to do it? I have a table in the JSP where each row contains a multibox, and a text field. When I select a checkbox and then enter some value in the text

I have error with multibox

2003-06-10 Thread Tuxor
I'm french, sorry for my english. I have a form with multibox tag. It works, but when i validate the form, i have this error message : HTTP Status 500 - type Exception reportmessage description The server encountered an internal error () that prevented it from fulfilling

Map-backed action form and multibox problem (only 1st checked item detected)

2003-06-04 Thread C
the field as a String, rather than String[] so I only get the first value. (Please see code snippets below). If anyone can help me figure out how to make the multibox work with a Map-backed form, I'd really appreciate it. I'm hoping that I won't need to hardcode String[] properties in my

Map-backed action form and multibox problem

2003-06-03 Thread C H
Hi, I’m working on an application that’s designed to render dynamic pages that take as input an ArrayList of DisplayItemBeans. Each DisplayItemBean has properties that define: (a) the UI widget type (text, checkbox, radio button, etc) (b) the data item’s db column name (used as key in an

indexed properties and multibox

2003-05-27 Thread Matthew Van Horn
[] Blantons Scotch [] Johnnie Walker [] Macallan [] Lagavulin Beer [] Budweiser [] Heineken [] Duvel Users can select 0 or more from each category, so I would like to use multibox to create checkbox groups. I created a HashMap of String[]s like so: public HashMap getDrinksList() { drinks = new

multibox problem with constantly checked item

2003-03-25 Thread Reid Pinchback
I'm using struts 1.1rc1 with Tomcat 4.0.6. I've got a logic:iterator on a list-valued property. I'm using a multibox to produce a bunch of checkboxes. The first item in the list is always checked when the page is rendered. What the heck could be going on? I have a reset method, and I've

RE: Problems with multibox and checkbox

2003-03-11 Thread Jörg Maurer
2003 08:42 To: Struts Users Mailing List Subject: RE: Problems with multibox and checkbox I orginally thought the problem was with struts, but it seems to be an xsl problem I am having. I am generating many struts forms using jsp/xml syntax and struts. It is working quite nicely so far. I am

Problems with multibox and checkbox

2003-03-10 Thread Jason Long
of the following I get the following rendered to the browser. I have radio, and text fields working fine. multibox value=47 property=chkItems/ checkbox value=47 property=chkItems/ What am I missing? Do I need to set chkItems to zero length in the form reset() method? If so, what is the syntax? Jason Long

RE: Problems with multibox and checkbox

2003-03-10 Thread Jason Long
sheet renders html:checkbox or html:mulitbox without html prefix. I found the problem for anyone who may need an answer. It was nothing to do with checkbox or multibox. Since I was calling this from within and XSL template, I needed to declare the tag library in the xsl style sheet as well

multibox?

2003-02-25 Thread Jobe, Mike [EESUS]
Can anyone send me an example of a Multibox by any chance? Thanks, Mike

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

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-taglib

Help on MultiBox !

2003-02-20 Thread Nandakumar Subramaniam
Hi, I am stuck with using multi box in my jsp page. I tried using the example provided in Ted Husted site. But when i try it, I get null pointer exceptions related to getHashMap() ... Can any one please help with some sample code on how to correctly implement it. Thanks, S.Nandakumar.

RE: Help on MultiBox !

2003-02-20 Thread Sri Sankaran
: Help on MultiBox ! Hi, I am stuck with using multi box in my jsp page. I tried using the example provided in Ted Husted site. But when i try it, I get null pointer exceptions related to getHashMap() ... Can any one please help with some sample code on how to correctly implement it. Thanks

WOW for struts reflection using multibox + pls assist with usage of nested taglib

2003-02-19 Thread Jörg Maurer
I can't believe it - it works! Look at this : I am currently (?overengineering) organising my view data in the following way : TicketTypeForm | _ property type Vector of tickettypeChooseViews |...|_ each has 1. property type vector of multiBox_ids

RE: html multibox tag-- order of checked items in array

2003-01-24 Thread Andrew Hill
) [mailto:[EMAIL PROTECTED]] Sent: Thursday, 23 January 2003 12:32 To: '[EMAIL PROTECTED]' Subject: html multibox tag-- order of checked items in array Does the html multibox tag guarantee that the array of checked items will be populated in the same order that they occur in on the JSP page (i.e. top

multibox and DynaValidatorForm

2003-01-22 Thread Durham David Cntr 805CSS/SCBE
What type should/can I associate with multibox inputs in the form-bean declaration? The docs say that the multibox property should be an Array, so I tried using java.lang.reflect.Array for the type. This didn't work and neither java.util.Vector. So what type should I use? It is possible

RE: multibox and DynaValidatorForm

2003-01-22 Thread Robert Taylor
PROTECTED] Subject: multibox and DynaValidatorForm What type should/can I associate with multibox inputs in the form-bean declaration? The docs say that the multibox property should be an Array, so I tried using java.lang.reflect.Array for the type. This didn't work and neither

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 form-property name=products

html multibox tag-- order of checked items in array

2003-01-22 Thread Weibert, Jason (NBC)
Does the html multibox tag guarantee that the array of checked items will be populated in the same order that they occur in on the JSP page (i.e. top to bottom) after a submit? I need to make sure that the value from the first checkbox selected is in the zero position of the array and so

Multibox and setter problem

2003-01-06 Thread AMIR-TAHMASSEB Marc
Hi everybody (and happy new year :-) I have a jsp page with multibox. When i check some boxes and submit the form, then setter of my form is never used ! So i can not get the selected values, Can anybody help me please ? I'm using Struts 1.02 thanks for you help, Marc Here are my codes

Multibox and set/get problem

2003-01-06 Thread AMIR-TAHMASSEB Marc
Hi everybody (and happy new year :-) I have a jsp page with multibox. When i check some boxes and submit the form, then setter of my form is never used ! So i can not get the selected values, Can anybody help me please ? I'm using Struts 1.02 thanks for you help, Marc Here are my codes

Multibox and set/get problem

2003-01-06 Thread AMIR-TAHMASSEB Marc
Hi everybody (and happy new year :-) I have a jsp page with multibox. When i check some boxes and submit the form, then setter of my form is never used ! So i can not get the selected values, Can anybody help me please ? I'm using Struts 1.02 thanks for you help, Marc Here are my codes

Multibox and set/get problem

2003-01-06 Thread AMIR-TAHMASSEB Marc
Hi everybody (and happy new year :-) I have a jsp page with multibox. When i check some boxes and submit the form, then setter of my form is never used ! So i can not get the selected values, Can anybody help me please ? I'm using Struts 1.02 thanks for you help, Marc Here are my codes

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

Multibox Set get problem

2003-01-06 Thread AMIR-TAHMASSEB Marc
Hi everybody (and happy new year :-) I have a jsp page with multibox. When i check some boxes and submit the form, then setter of my form is never used ! So i can not get the selected values, Can anybody help me please ? I'm using Struts 1.02 thanks for you help, Marc Here are my codes

  1   2   >