Using multibox to indicate checked value

2008-11-30 Thread Odelya Yom-Tov Glick
Hi guys I have this ActionForm public class InterestsForm extends ActionForm { private String[] selectedItems = {}; private String[] items = {"business","htech""}; private String[] userPreviousSelectedItems= {"business"}; public String[] getSelectedItems() { retu

Map based Struts Action Form and multibox Issue

2008-02-21 Thread MoorthyHome.com
) { return values.get(key); } } In Jsp I have something like below Map based Form works well for others except multibox or select with multiple=true In setValue, The Object value always String and not String array that is what I expect for

struts action form vs # of multibox fields determined at runtime

2007-11-28 Thread john feng
I have a jsp page that produces a matrix page based on database queries for both column header records and row records. The column and row crossed fields are displayed as multiboxes, i.e., each vertical column of those is a multibox field named as "crossCheckBox0", "

RE: RE: RE: [HELP] struts 1.2.9 multibox/checkbox in session scoped form

2006-11-17 Thread Lance Semmens
s. include the relevant parts of struts-config.xml, your action and your form. -Original Message- From: Garner Shawn [mailto:[EMAIL PROTECTED] Sent: 14 November 2006 17:36 To: user@struts.apache.org Subject: RE: RE: RE: [HELP] struts 1.2.9 multibox/checkbox in session scoped form I am not

RE: RE: RE: [HELP] struts 1.2.9 multibox/checkbox in session scoped form

2006-11-14 Thread Garner Shawn
Shawn -- From: Lance Semmens <[EMAIL PROTECTED]> To: 'Struts Users Mailing List' Date: Tue, 14 Nov 2006 09:51:00 + Subject: RE: RE: [HELP] struts 1.2.9 multibox/checkbox in session scoped form The only

RE: RE: [HELP] struts 1.2.9 multibox/checkbox in session scoped form

2006-11-14 Thread Lance Semmens
wn [mailto:[EMAIL PROTECTED] Sent: 13 November 2006 20:19 To: user@struts.apache.org Subject: RE: RE: [HELP] struts 1.2.9 multibox/checkbox in session scoped form 1. Yes 2. Yes 3 In ActionForm.reset If I comment out my reset method then it populates the checkboxes based on the form values l

RE: RE: [HELP] struts 1.2.9 multibox/checkbox in session scoped form

2006-11-13 Thread Garner Shawn
. From: Lance Semmens <[EMAIL PROTECTED]> To: 'Struts Users Mailing List' Date: Mon, 13 Nov 2006 17:08:00 + Subject: RE: [HELP] struts 1.2.9 multibox/checkbox in session scoped form A couple of things to check 1. Is your get

RE: [HELP] struts 1.2.9 multibox/checkbox in session scoped form

2006-11-13 Thread Lance Semmens
- From: Garner Shawn [mailto:[EMAIL PROTECTED] Sent: 13 November 2006 16:47 To: user@struts.apache.org Subject: [HELP] struts 1.2.9 multibox/checkbox in session scoped form I reset my checkboxes and a multibox in a form reset method but then when I come back to the page the values arn't chec

[HELP] struts 1.2.9 multibox/checkbox in session scoped form

2006-11-13 Thread Garner Shawn
I reset my checkboxes and a multibox in a form reset method but then when I come back to the page the values arn't checked. If I don't reset them then it won't register them as not checked anymore. How do I f

Re: doubt with multibox

2006-10-25 Thread Laurie Harper
Yariel Ramos Moreno wrote: hello... I´m using html:multibox to generate a dynamic list of items... so far so good, but I have a problem because at the same time I generate a dynamic list too, but this list print always the same (example "working")... then, what can I do if the second list always

doubt with multibox

2006-10-24 Thread Yariel Ramos Moreno
hello... I´m using html:multibox to generate a dynamic list of items... so far so good, but I have a problem because at the same time I generate a dynamic list too, but this list print always the same (example "working")... then, what can I do if the second list always print the same and this is n

Re: Check a multibox dynamically

2006-10-04 Thread Uday Karrothi
Hi thre, I am trying to give you an example. Multibox basically fills in using a string array. i am sure you are aware of that. in the code " toBeAddedList" is the string array in the form bean that has the userID's of the selected users. So, when

Check a multibox dynamically

2006-10-03 Thread grifoxx
Hi, I have a multibox tag that gets the labels and velues from the data base and I also have a bean that contains the data that the user choose. Now I want to check the boxes each time the user wants to update it's preferences. 1. I display the check boxes with the data comming from the

Re: multibox not works when all checkboxes are unselected!

2006-06-08 Thread Truong Xuan Tinh
I dont' have such a sequence like that, but you can get the same when you read the source code of the RequestProcessor class. starki78 wrote: > Thanks for this great explanations > I already solved this problem > and now 'm quite close to understand it! > It would be great to have a sequence diagra

Re: multibox not works when all checkboxes are unselected!

2006-06-08 Thread starki78
Thanks for this great explanations I already solved this problem and now 'm quite close to understand it! It would be great to have a sequence diagramm to see this flow submit-reset-populate-validate because knowing this flow isn't quite clear to a normal struts-user. THANKS A LOT > starki78

Re: multibox not works when all checkboxes are unselected!

2006-06-08 Thread Scott Van Wart
starki78 wrote: Hi! I've a large problem with html:multibox. I've tree checkboxes. When I choose one or two or three it arrives correct at the next action! Only then all checkboxes are deselected it remembers the state of the checkboxes that was selected before! The state of the form is session

Re: multibox not works when all checkboxes are unselected!

2006-06-08 Thread Truong Xuan Tinh
;checkbox=off" are not sent. >> >> -Adam >> >> -Original Message- >> From: starki78 [mailto:[EMAIL PROTECTED] >> Sent: Thursday, June 08, 2006 11:40 AM >> To: user >> Subject: multibox not works when all checkboxes are unselected! &g

RE: multibox not works when all checkboxes are unselected!

2006-06-08 Thread starki78
d objects to store > the value of checkboxes your processing needs to be aware of the fact > that values for "checkbox=off" are not sent. > > -Adam > > -Original Message- > From: starki78 [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 08, 2006 11:40

RE: multibox not works when all checkboxes are unselected!

2006-06-08 Thread Samere, Adam J
for "checkbox=off" are not sent. -Adam -Original Message- From: starki78 [mailto:[EMAIL PROTECTED] Sent: Thursday, June 08, 2006 11:40 AM To: user Subject: multibox not works when all checkboxes are unselected! Hi! I've a large problem with html:multibox. I've tre

multibox not works when all checkboxes are unselected!

2006-06-08 Thread starki78
Hi! I've a large problem with html:multibox. I've tree checkboxes. When I choose one or two or three it arrives correct at the next action! Only then all checkboxes are deselected it remembers the state of the checkboxes that was selected before! The state of the form is session in struts-config.

Re: How do I insert a value from an id-iterate-bean into the value-tag of multibox?

2006-05-06 Thread Andreas Hartmann
, Tarun and Rick, for your great help! Is the component above used as nested body content of the html:multibox tag? >> Btw: the property deaktserver resolves to a >> get/setDeaktserver() which gets or sets an ArrayList . > > I'm fairly certain your backing form

Re: How do I insert a value from an id-iterate-bean into the value-tag of multibox?

2006-05-06 Thread Rick Reumann
to a get/setDeaktserver() which gets or sets an ArrayList . I'm fairly certain your backing form bean property needs to be an array (String[] typically) and not a List for a multibox. (I might be wrong, though, but try changing it to String[] just to see.) -- Rick http://www.learnt

Re: How do I insert a value from an id-iterate-bean into the value-tag of multibox?

2006-05-05 Thread Andreas Hartmann
Hello Tarun, Tarun Reddy wrote: Hi, You can do this way, This should work. This produces an Unterminated

Re: How do I insert a value from an id-iterate-bean into the value-tag of multibox?

2006-05-05 Thread Tarun Reddy
Hi, You can do this way, This should work. On 5/5/06, Andreas Hartmann <[EMAIL PROTECTED]> wrote: Hello! I've got in a jsp the following code: -> This does not work. srv contains a string which I want to have as value of html:multibox. How should it be written? I

How do I insert a value from an id-iterate-bean into the value-tag of multibox?

2006-05-05 Thread Andreas Hartmann
Hello! I've got in a jsp the following code: -> This does not work. srv contains a string which I want to have as value of html:multibox. How should it be written? I would be glad to get a hint! Kind regards, Andreas Hartmann --

RE: Ignorant multibox question.

2005-11-16 Thread bsimonin
ut of the Struts in Action Book hth, On 11/11/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Lets say I have the following multibox: > > > > > > > > > > > > > > I have a List of POJOs with a name and a boolean value for each POJ

Re: Ignorant multibox question.

2005-11-11 Thread Keith Sader
Have you stumbled on this link: http://husted.com/struts/tips/007.html I think it's almost verbatim out of the Struts in Action Book hth, On 11/11/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Lets say I have the following multibox: > > > > > > &g

Ignorant multibox question.

2005-11-11 Thread bsimonin
Lets say I have the following multibox: I have a List of POJOs with a name and a boolean value for each POJO. I want to change the boolean value to true if a user check marks a specific item in the List. If I wasn't in struts I could easily do this if I were using a Se

Re: [OT] scrollbar vs multibox

2005-11-10 Thread Eric Plante
Thanks, it worked. Sorry of the out of topic post. > Eric Plante wrote: > > hi, > > > > I have a div on autoscroll that contains multibox. Here's the code > > > > > > > >   > > > > > > >

Re: [OT] scrollbar vs multibox

2005-11-10 Thread Laurie Harper
Eric Plante wrote: hi, I have a div on autoscroll that contains multibox. Here's the code   It works fine when the vertical scroll bar is needed but instead of applying the horizontal, the text change line

scrollbar vs multibox

2005-11-10 Thread Eric Plante
hi, I have a div on autoscroll that contains multibox. Here's the code   It works fine when the vertical scroll bar is needed but instead of applying the horizontal, the text change line which is annoying.

Re: multibox error

2005-10-30 Thread Deepa Khetan
is your form mapping correct in struts-config??? On 10/29/05, Chris Pat <[EMAIL PROTECTED]> wrote: > > Hello > I am using TC5.5.9,JSTL1.1,Struts1.2 With this code: > > > > value="Value1"/> > > > > > > > > > I have made sure my actionForm has the s/getter for > checkbox1, checkbox2 &

Re: multibox error

2005-10-30 Thread Laurie Harper
Is that table inside a html:form? Chris Pat wrote: Hello I am using TC5.5.9,JSTL1.1,Struts1.2 With this code:           I have made sure my actionForm has the s/getter for checkbox1, checkbox2 & strArray. Made sure the reset is setting the booleans to fal

multibox error

2005-10-29 Thread Chris Pat
Hello I am using TC5.5.9,JSTL1.1,Struts1.2 With this code:           I have made sure my actionForm has the s/getter for checkbox1, checkbox2 & strArray. Made sure the reset is setting the booleans to false. The page comes up without the html:multibox tag, s

RE: Multibox problem

2005-07-06 Thread Shyam . Tummala
To: "'Struts Users Mailing List'" cc: Subject:RE: Multibox problem Code where i put the values back: map.put("districtIds", stringArr); where stringArr is an array of what the user selected. -> This

RE: Multibox problem

2005-07-06 Thread Apte, Dhanashree (Noblestar)
Code where i put the values back: map.put("districtIds", stringArr); where stringArr is an array of what the user selected. -> This is not the same as calling setDistrictIds. You need to call setDistrictIds(stringArr) explicitly.

Multibox problem

2005-07-06 Thread Shyam . Tummala
Hi- I am having a problem with repopulating multiboxes. Scenario: My application is a wizard based one. User clicks on a couple of checkboxes(multibox) and does a submit and after a couple of screens he wants to come back to the checkboxes screen and the way i do is, i save the values he

Re: Multibox

2005-03-19 Thread Vamsee Kanakala
Ben Taylor wrote: Cheers, I've manged to get the ticks appearing now... However although they load fine on the first load they do not move after that. i.e. I can change which ones are selected and it'll go off and update the db but when I load the page again the origonal ticks are still shown.

Re: Multibox

2005-03-19 Thread Ben Taylor
e tried calling setting the String[] to null as well as each value to "false" but nothing seems to work :o( On Sat, 19 Mar 2005 18:51:30 -0500, Robert Taylor <[EMAIL PROTECTED]> wrote: > The multibox is "bound" to the selectedModule property of your form. > Prior

Re: Multibox

2005-03-19 Thread Robert Taylor
The multibox is "bound" to the selectedModule property of your form. Prior to displaying the page, populate selectedModule property of the form with its corresponding row.id values. When is invoked on the page, it will "recongize" the relationship and render the checkboxes

Re: Multibox

2005-03-19 Thread Wendy Smoak
From: "Ben Taylor" <[EMAIL PROTECTED]> Can anyone let me know how to automatically check checkboxes? Set the underlying form property and the framework will automatically render "checked" checkboxes. I have: The form property "accounts" is a String[] containing account numbers.

Multibox

2005-03-19 Thread Ben Taylor
Hi, Can anyone let me know how to automatically check checkboxes? Below is my current code: This is one of the many ways I've tried to get it to work: {some Boolean equation} Cheers for you help!

Re: map-backed forms with multibox/multiselect lists?

2005-03-08 Thread Radu Badita
ike -Original Message- From: Radu Badita [mailto:[EMAIL PROTECTED] Sent: Monday, March 07, 2005 11:10 AM To: Struts Users Mailing List Subject: RE: map-backed forms with multibox/multiselect lists? I had the same problem some time ago (the solution vaguely suggested by Jack wouldn&

RE: map-backed forms with multibox/multiselect lists?

2005-03-08 Thread Nidel, Mike
ect: RE: map-backed forms with multibox/multiselect lists? > > > > I had the same problem some time ago (the solution vaguely > suggested by > Jack wouldn't had been an option since the properties were > dynamic so I > needed the key to distinguish between them).

RE: map-backed forms with multibox/multiselect lists?

2005-03-07 Thread Radu Badita
nest solution if I can make it work. Mike > -Original Message- > From: Dakota Jack [mailto:[EMAIL PROTECTED] > Sent: Monday, March 07, 2005 9:42 AM > To: Struts Users Mailing List > Subject: Re: map-backed forms with multibox/multiselect lists? > > > public void set

RE: map-backed forms with multibox/multiselect lists?

2005-03-07 Thread Nidel, Mike
> -Original Message- > From: Dakota Jack [mailto:[EMAIL PROTECTED] > Sent: Monday, March 07, 2005 9:42 AM > To: Struts Users Mailing List > Subject: Re: map-backed forms with multibox/multiselect lists? > > > public void setFoos(String [] foos) > > > On Fr

Re: map-backed forms with multibox/multiselect lists?

2005-03-07 Thread Dakota Jack
public void setFoos(String [] foos) On Fri, 4 Mar 2005 18:55:53 + (UTC), Mike Nidel <[EMAIL PROTECTED]> wrote: > I'm trying to build a form element that combines the features of a map-backed > property with a multibox (and the same for a multiple-selection list). I'v

map-backed forms with multibox/multiselect lists?

2005-03-07 Thread Mike Nidel
I'm trying to build a form element that combines the features of a map-backed property with a multibox (and the same for a multiple-selection list). I've made multiboxes work fine without the map-backed element, but I can't seem to get this to work. I've tried various method s

Re: multibox with label value beans

2005-02-10 Thread Ravi Tadi
following code will display multobox (Multiple Checkbox) using Label value bean List. id="checkboxid" This id will be referd in multibox tag , bean write tag entries_list : is LabelValue Bean List selectedEntriesArray

multibox with label value beans

2005-02-10 Thread Shey Rab Pawo
I do a dropdown list as follows with a list holding label value beans: How would I put these into a mulit-checkbox? Thanks for any assistance. -- The radiance of all the stars does not e

RE: creating a for loop structure for multibox

2004-12-17 Thread David G. Friedman
r AND excitement at that idea* Just my $0.02 worth. Regards, David -Original Message- From: Frank W. Zammetti [mailto:[EMAIL PROTECTED] Sent: Friday, December 17, 2004 5:44 PM To: Struts Users Mailing List Subject: Re: creating a for loop structure for multibox > Well, then you h

Re: creating a for loop structure for multibox

2004-12-17 Thread Frank W. Zammetti
Well, then you have JSTL... :) And, struts tags don't require struts. As I just wrote in another reply :) Yeah, your right about the Struts tags, but I always worry that there might be something under the covers that ties it to Struts. Sure, I could look at the source, but I've never wanted to k

Re: creating a for loop structure for multibox

2004-12-17 Thread Frank W. Zammetti
It's also fair to tell you that you can do the same thing with JSTL and NOT be tied to Struts (assuming you abstract the ActionForm a little and don't do anything with it that can't be done with a normal bean later). Kind of a best of both worlds answer I guess, but I think JSTL tends to be ju

RE: creating a for loop structure for multibox

2004-12-17 Thread Jim Barrows
> -Original Message- > From: Kedar Deshpande [mailto:[EMAIL PROTECTED] > Sent: Friday, December 17, 2004 3:19 PM > To: Struts Users Mailing List > Subject: Re: creating a for loop structure for multibox > > > Both solutions seem like they will do the trick. th

Re: creating a for loop structure for multibox

2004-12-17 Thread Kedar Deshpande
Both solutions seem like they will do the trick. thank you for giving me two choices to deceide from, i guess my choice will be based on wheather i want to stick firmly with struts tag or not. thanks for all your help Jim and Frank. Frank W. Zammetti wrote: Fair enough. But, now you are tied

Re: creating a for loop structure for multibox

2004-12-17 Thread Frank W. Zammetti
ogies http://www.omnytex.com Jim Barrows wrote: -Original Message- From: Frank W. Zammetti [mailto:[EMAIL PROTECTED] Sent: Friday, December 17, 2004 2:14 PM To: Struts Users Mailing List Subject: Re: creating a for loop structure for multibox If I understand correctly, you will get from an Action

Re: creating a for loop structure for multibox

2004-12-17 Thread Wendy Smoak
is > sent to the action? The List would contain the values. As you iterate over the List, for each multibox, the Struts framework will render it as checked if its value matches one of the values in the String[] that's in the Form bean. This uses a Map which is sitti

RE: creating a for loop structure for multibox

2004-12-17 Thread Jim Barrows
> -Original Message- > From: Frank W. Zammetti [mailto:[EMAIL PROTECTED] > Sent: Friday, December 17, 2004 2:14 PM > To: Struts Users Mailing List > Subject: Re: creating a for loop structure for multibox > > > If I understand correctly, you will get from an Act

RE: creating a for loop structure for multibox

2004-12-17 Thread Jim Barrows
>From the struts multibox documentation: Renders an HTML element of type checkbox, whose "checked" status is initialized based on whether the specified value matches one of the elements of the underlying property's array of current values. This element is useful when you hav

Re: creating a for loop structure for multibox

2004-12-17 Thread Frank W. Zammetti
im Barrows wrote: -Original Message- From: Kedar Deshpande [mailto:[EMAIL PROTECTED] Sent: Friday, December 17, 2004 1:52 PM To: Struts Users Mailing List Subject: Re: creating a for loop structure for multibox i am currently using struts tags and cant find a proper solution. it would be better

Re: creating a for loop structure for multibox

2004-12-17 Thread Kedar Deshpande
rom: Kedar Deshpande [mailto:[EMAIL PROTECTED] Sent: Friday, December 17, 2004 1:52 PM To: Struts Users Mailing List Subject: Re: creating a for loop structure for multibox i am currently using struts tags and cant find a proper solution. it would be better to have a simple struts code, otherwise i&

RE: creating a for loop structure for multibox

2004-12-17 Thread Jim Barrows
> -Original Message- > From: Kedar Deshpande [mailto:[EMAIL PROTECTED] > Sent: Friday, December 17, 2004 1:52 PM > To: Struts Users Mailing List > Subject: Re: creating a for loop structure for multibox > > > i am currently using struts tags and cant find a prop

Re: creating a for loop structure for multibox

2004-12-17 Thread Kedar Deshpande
2004 1:21 PM To: [EMAIL PROTECTED] Subject: creating a for loop structure for multibox Could someone please post an example of using a 'for loop' structure in Using JSTL, or Struts tag libs? a JSP. i need to get the loop limit from the action and then assign individual '

RE: creating a for loop structure for multibox

2004-12-17 Thread Jim Barrows
> -Original Message- > From: Kedar Deshpande [mailto:[EMAIL PROTECTED] > Sent: Friday, December 17, 2004 1:21 PM > To: [EMAIL PROTECTED] > Subject: creating a for loop structure for multibox > > > Could someone please post an example of using a 'for loop&

creating a for loop structure for multibox

2004-12-17 Thread Kedar Deshpande
Could someone please post an example of using a 'for loop' structure in a JSP. i need to get the loop limit from the action and then assign individual 'value' values for a column of checkboxes so that i know which ones were selected and so that they can be set again when viewing the page. than

RE: Multibox & DynaActionForm

2004-12-09 Thread Jaakko Rytinki
("continue"); } -Original Message- From: Robert Taylor [mailto:[EMAIL PROTECTED] Sent: 9. joulukuuta 2004 17:13 To: Struts Users Mailing List Subject: RE: Multibox & DynaActionForm You will need to set the "selectedCompanies" in the ActionForm so that the can determi

RE: Multibox & DynaActionForm

2004-12-09 Thread Robert Taylor
ntext on application startup to avoid the database hit everytime that action is executed. robert > -Original Message- > From: Jaakko Rytinki [mailto:[EMAIL PROTECTED] > Sent: Thursday, December 09, 2004 9:14 AM > To: Struts Users Mailing List > Subject: Multibox & DynaAct

Multibox & DynaActionForm

2004-12-09 Thread Jaakko Rytinki
How I can prepopulate a form containing a multibox when using DynaActionForms? The following code doesn't seem to work - it wont check any checkboxes (why?) --- Action which prepopulates the form: --- String[] companies = MyDBTools.getUser(userId).getCompanies(); ArrayList allComp

RE: Multibox deselection problem

2004-11-26 Thread Seetamraju, Uday
Mailing List > Subject: Re: Multibox deselection problem > > > Hi ! > > Thank you for you help, it works fine now ! > > BTW, it seems like Struts does not support all standart HTML > options : I had to use a pure HTML tag because the > "readonly" attribu

RE: Multibox deselection problem

2004-11-26 Thread Seetamraju, Uday
t: Friday, November 12, 2004 12:59 PM > To: 'Struts Users Mailing List' > Subject: RE: Multibox deselection problem > > > This is a problem with HTTP: when all the checkboxes are > deselected, the > browser doesn't send anything back, so you get the default of

Re: Multibox deselection problem

2004-11-15 Thread Olivier Croisier
oisier [mailto:[EMAIL PROTECTED] Sent: Friday, November 12, 2004 6:47 AM To: [EMAIL PROTECTED] Subject: Multibox deselection problem Hi ! I have a problem with the Multibox behaviour. I have checked the online doc but nothing helped me so far... Here is my problem : My app workflow is

Re: Multibox deselection problem

2004-11-13 Thread Rick Reumann
Olivier Croisier wrote the following on 11/12/2004 9:46 AM: Now here is my problem. When I de-select all the checkboxes in my jsp page, by hand or by javascript, my processImport.do receives a String[] array containing the entities that were defined in preparaImport.do as default, instead of an

RE: Multibox deselection problem

2004-11-12 Thread Wiebe de Jong
ED] Sent: Friday, November 12, 2004 6:47 AM To: [EMAIL PROTECTED] Subject: Multibox deselection problem Hi ! I have a problem with the Multibox behaviour. I have checked the online doc but nothing helped me so far... Here is my problem : My app workflow is : prepareImportAction.do -> Import.jsp -&

Multibox deselection problem

2004-11-12 Thread Olivier Croisier
Hi ! I have a problem with the Multibox behaviour. I have checked the online doc but nothing helped me so far... Here is my problem : My app workflow is : prepareImportAction.do -> Import.jsp -> processImportAction.do In the prepareImportAction.do, I initialize the "entities&qu

SV: Multibox problem

2004-11-03 Thread Roland Carlsson
November 03, 2004 5:02 AM >> To: Struts Users Mailing List >> Subject: Multibox problem >> >> >> Hi! >> >> I'm trying to create a set of checkboxes with the MulitBox-tag. >> >> The problem is that I get an extra checkbox with brack

RE: Multibox problem

2004-11-03 Thread Robert Taylor
How many items are in the "func" data structure in request scope? This is what drives the number of iterations. robert > -Original Message- > From: Roland Carlsson [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 03, 2004 5:02 AM > To: Struts Users Mailing Li

Multibox problem

2004-11-03 Thread Roland Carlsson
Hi! I'm trying to create a set of checkboxes with the MulitBox-tag. The problem is that I get an extra checkbox with brackets around its value, like in this html-code where I expect two checkboxes but get three: [test, prov] prov test My page has this code inside it: ("funk" are

conditional multibox validation using validwhen

2004-10-30 Thread xml spy
I am trying to use validwhen with html multibox in struts tag. In my JSP I am using a) A html:multibox which renders 4 check boxes for me (using iterate tag). In my ActionForm this multibox property stores values to a "String Array" property name "reasons" And b) A te

multibox validation using validwhen

2004-10-30 Thread xml spy
I am trying to use validwhen with html multibox in struts tag. In my JSP I am using a) a html:multibox which renders 4 check boxes for me (using iterate tag). In my actionform this multibox property stores values to a "String Array" property name "reasons" and b) a text fi

Re: DynaValidatorForm and multibox

2004-10-19 Thread Wendy Smoak
From: "Brian Kuhn" <[EMAIL PROTECTED]> > I'm using struts 1.1 > Is it possible to use a multibox with a DynaValidatorForm? Sure. I use a String[] property in the dynamic form, and it works fine. If you're having trouble with it, post the relevant parts of the

DynaValidatorForm and multibox

2004-10-19 Thread Brian Kuhn
I'm using struts 1.1 Is it possible to use a multibox with a DynaValidatorForm? Are there any documented examples? I searched the archives...no mention of it. Thanks, Brian - To unsubscribe, e-mail: [EMAIL PROT

RE: Help! Questions about Checkbox and multibox

2004-10-13 Thread Freddy Villalba A.
original- De: t t [mailto:[EMAIL PROTECTED] Enviado el: miercoles, 13 de octubre de 2004 3:31 Para: [EMAIL PROTECTED] Asunto: Help! Questions about Checkbox and multibox Hi, all, I have some questions regarding Checkbox and multibox: 1. What value will be returned if a checkbox is checked? H

Help! Questions about Checkbox and multibox

2004-10-12 Thread t t
Hi, all, I have some questions regarding Checkbox and multibox: 1. What value will be returned if a checkbox is checked? How to get it from the relevant form bean? any example? 2. If I want to check a group of checkboxes (multibox) after a single checkbox is checked, how to do that? I guess

multibox indexed

2004-09-10 Thread Claudia Woestheinrich
Hello, I have a big Problem with reading the values of the text-field in the iterate-tag. The Value with the ID=1 is all time wrong! and the athers are ok.? The Value with the index=1 is all time the value of the initialisation and not the changed. My JSP: .  

Re: Antwort: Re: problem with multibox

2004-09-07 Thread Deepak
: "Claudia Woestheinrich" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Tuesday, September 07, 2004 4:29 PM Subject: Antwort: Re: problem with multibox > > ..Thanks that works. > > Now I have in the JSP-Page checkboxes

Antwort: Re: problem with multibox

2004-09-07 Thread Claudia Woestheinrich
..Thanks that works. Now I have in the JSP-Page checkboxes and textfields. I want to write the two values (test,info) in an Map or Array[][]. How must I do this in the ActionForm? Thanks Claudia My JSP: --

Re: problem with multibox

2004-09-07 Thread Deepak
Try, - Original Message - From: "Claudia Woestheinrich" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, September 07, 2004 1:21 PM Subject: problem with multibox > Hi, > > I have a Proble

problem with multibox

2004-09-07 Thread Claudia Woestheinrich
Hi, I have a Problem with using multiboxes. I want to generate following HTML-Code: Ronja Petra Heini But I became: 2002 Ronja 2003 Petra 2004 Heini What must I do??? Thanks Claudia My JSP-Code: And my Act

Re: Multibox/LabelValueBean Input Forms -- Paged Input

2004-06-10 Thread Niall Pemberton
gin" and "end" attributes Niall - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, June 11, 2004 1:47 AM Subject: Multibox/LabelValueBean Input Forms -- Paged Input > I have found an example on the net where a LabelValueBe

Multibox/LabelValueBean Input Forms -- Paged Input

2004-06-10 Thread chris . cranford
I have found an example on the net where a LabelValueBean array and a string array are encapsulated inside a custom ActionForm object giving the user the ability to select checkboxed values and store the "values" behind the scene with labeling each checkbox with the LabelValueBean's label propert

Multibox combined with other fields

2004-06-08 Thread Guillermo Meyer
Hi: I have a form that may contain one or more "rows". Each row has a passenger data. All the passengers in the form consists in a reservation: Number Title NameExtraSeat CabinBaggage 1 Mr Carlos Gardel Yes(1) No(1) 2 Mr

Re: Can I use multibox with text fields?

2004-06-02 Thread atta-ur rehman
ROTECTED]> Sent: Wednesday, June 02, 2004 4:04 PM Subject: Can I use multibox with text fields? > Hi! > >I need to display a page that loads a list of items from a DB, and > that displays that list, with a text field and a checkbox per row. The > checkbox is easy to do, using mul

Can I use multibox with text fields?

2004-06-02 Thread Miguel Arroz
Hi! I need to display a page that loads a list of items from a DB, and that displays that list, with a text field and a checkbox per row. The checkbox is easy to do, using multibox. But how can I get the text field? Can I use something like multibox (and then read all the text boxes from an

Re: multibox mayhem

2004-06-02 Thread Irfandhy Franciscus
PROTECTED]> wrote in message news:[EMAIL PROTECTED] I have one multibox per page on a few pages. Each page name is represented by the 'key' property of a HashMap. Each selected checkbox number is stored in Integer[]'s in the 'value' property of a HashMap. After selecting a

Re: multibox mayhem

2004-06-02 Thread pls
i had to add tags around the because there were some trailing 'null' values in the Integer[] after reading from DB. "pls" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I have one multibox per page on a few pages. > Each page name is represented by

multibox mayhem

2004-06-02 Thread pls
I have one multibox per page on a few pages. Each page name is represented by the 'key' property of a HashMap. Each selected checkbox number is stored in Integer[]'s in the 'value' property of a HashMap. After selecting all of the checks, the user is forwarded to a confir

RE: JSTL and Multibox Submit Problem (SOLVED)

2004-05-25 Thread Ricardo Cortes
rench Open this week.) Thanks Richard. -Original Message- From: Richard Yee [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 25, 2004 11:36 AM To: Struts Users Mailing List Subject: Re: JSTL and Multibox Submit Problem Ricardo, If you are going to use the html:link tag, then you need to have it

Re: JSTL and Multibox Submit Problem

2004-05-25 Thread Richard Yee
e, > > I am having a problem getting the checked values > from a multibox that is submitted to my action and I > was hoping one of you could help me out. I followed > Ted Husted's example of using a Multibox within an > iteration but I have a feeling that my setup is a &g

JSTL and Multibox Submit Problem

2004-05-25 Thread Ricardo Cortes
Hi there, I am having a problem getting the checked values from a multibox that is submitted to my action and I was hoping one of you could help me out. I followed Ted Husted's example of using a Multibox within an iteration but I have a feeling that my setup is a bit different and

Multipage form and multibox fields

2004-05-19 Thread Diego
Hi everyone! I have a multi-page form with several multibox fields in its different pages. The form is stored in session. In the ActionForm Javadoc I found this: --If the form is stored in session-scope so that values can be collected over --multiple requests (a "wizard"), you mu

  1   2   >