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
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
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
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
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
-
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
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
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
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
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
. 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
, 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
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
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
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
.
-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
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
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
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
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
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
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
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
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
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
]
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
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
(...)) 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
, 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
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
, 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
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
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
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
=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
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,
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
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
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
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
) {
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
]
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
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
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
.
-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
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 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
: 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
)
{
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
-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
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
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
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
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
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
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
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
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
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
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
);
- 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
()));
}
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
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
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
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
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
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
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
- 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
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
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
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
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
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
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'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
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
Hi,
Im working on an application thats 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 items db column name (used as key in an
[] 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
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
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
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
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
Can anyone send me an example of a Multibox by any chance?
Thanks,
Mike
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
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
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.
: 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
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
) [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
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
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
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
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
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
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
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
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
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
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 - 100 of 192 matches
Mail list logo