RE: html:multibox problem

2008-12-29 Thread m.harig
thanks Mr.Seshagiri V , sorry .. this is my code ArrayList alist = new ArrayList(); for(int i=1;i<=3;i++){ User user = new User(); user.setName("test"+i);

RE: html:multibox problem

2008-12-29 Thread Seshagiri V
2008 5:10 PM To: user@struts.apache.org Subject: html:multibox problem hello all I've got a ArrayList in my ActionForm like ArrayList alist = new ArrayList(); User

html:multibox problem

2008-12-29 Thread m.harig
hello all I've got a ArrayList in my ActionForm like ArrayList alist = new ArrayList(); User user = new User(); user.setName("test1");

Re: html:multibox read but not write

2008-05-08 Thread houser
name="funProForm" property="functionProList "> tr> td> table border="0"> tr> logic:iterate id="pro" name="funPro" property="pros"> td>

Re: html:multibox read but not write

2008-05-08 Thread Laurie Harper
[EMAIL PROTECTED]; [EMAIL PROTECTED] would be the customer support channel for the Nabble list browser/forum system. L. houser wrote: By the way.. to which email address should I post my message using the email program? is it: [EMAIL PROTECTED] or [EMAIL PROTECTED] thanks Laurie Harper wrot

Re: html:multibox read but not write

2008-05-08 Thread Laurie Harper
Sorry, I don't see a repost with the JSP readable so there's still nothing to take another look at :-/ L. houser wrote: Thanks for your reply.. I have already changed it by using tag and the JSP pieces of code are displayed.. can give it another look please? houser Laurie Harper wrote: None

Re: html:multibox read but not write

2008-05-08 Thread houser
By the way.. to which email address should I post my message using the email program? is it: [EMAIL PROTECTED] or [EMAIL PROTECTED] thanks Laurie Harper wrote: > > None of the JSP code made it out of your mail client into the message > I'm afraid. Try re-posting with your mail program set for

Re: html:multibox read but not write

2008-05-08 Thread houser
Thanks for your reply.. I have already changed it by using tag and the JSP pieces of code are displayed.. can give it another look please? houser Laurie Harper wrote: > > None of the JSP code made it out of your mail client into the message > I'm afraid. Try re-posting with your mail program

Re: html:multibox read but not write

2008-05-07 Thread Laurie Harper
None of the JSP code made it out of your mail client into the message I'm afraid. Try re-posting with your mail program set for plain text instead of multipart/mime. L. houser wrote: Hi All, I am in very strange situation, and stuck! please help, I have found one thread that much more or les

html:multibox read but not write

2008-05-07 Thread houser
Hi All, I am in very strange situation, and stuck! please help, I have found one thread that much more or less but does not help.. http://www.nabble.com/Check-a-multibox-dynamically-to6630704.html#a6630704 http://www.nabble.com/Check-a-multibox-dynamically-to6630704.html#a6630704 I have alread

[S2] html:multibox in S2

2007-05-29 Thread Jiang, Jane (NIH/NCI) [C]
I am experiencing multi selection boxes in Struts 2. I have a list of checkboxes in a table that spreads to more than one page. I am using the displaytag for the table. Here is my attempt In my action class, I defined selectedGrants as private String[]

Re: [s2] is there an equivalent for the old html:multibox tag?

2007-05-02 Thread Allen Gilliland
trying to print a single checkbox which is based on a list. it looks like that's what the old html:multibox tag was for, but i dunno, i didn't write the original code that i am updating :/ -- Allen Dave Newton wrote: --- Allen Gilliland <[EMAIL PROTECTED]> wrote: Is the

Re: [s2] is there an equivalent for the old html:multibox tag?

2007-05-01 Thread Allen Gilliland
rint entry details so i'm not really trying to print a whole list of checkboxes, i'm trying to print a single checkbox which is based on a list. it looks like that's what the old html:multibox tag was for, but i dunno, i didn't write the original code that i am upda

Re: [s2] is there an equivalent for the old html:multibox tag?

2007-05-01 Thread Allen Gilliland
a single checkbox which is based on a list. it looks like that's what the old html:multibox tag was for, but i dunno, i didn't write the original code that i am updating :/ -- Allen Dave Newton wrote: --- Allen Gilliland <[EMAIL PROTECTED]> wrote: Is there a direct equivale

Re: [s2] is there an equivalent for the old html:multibox tag?

2007-04-30 Thread Dave Newton
--- Allen Gilliland <[EMAIL PROTECTED]> wrote: > Is there a direct equivalent struts2 tag to the > struts1 html:multibox tag? I am looking at some old > code being migrated and i'm not sure how > best to accomplish the same thing in struts2 ... Does not work for you? h

[s2] is there an equivalent for the old html:multibox tag?

2007-04-30 Thread Allen Gilliland
Is there a direct equivalent struts2 tag to the struts1 html:multibox tag? I am looking at some old code being migrated and i'm not sure how best to accomplish the same thing in struts2 ... that code iterates over a collection of foo objects and the multibox makes check

html:multibox

2006-10-19 Thread Krishna, Hari
Hi, I have a peculiar requirement . I have 8 check boxes and corresponding 8 text boxes for questions(8 question textboxes) and 8 text boxes for answers(8 answer text boxes).User checks the check box-->enters the question in corresponding question textbox and enters the answer in the corres

Re: validate an html:multibox and show messages in the own page

2006-09-14 Thread Laurie Harper
Heidy Gutiérrez Guzmán wrote: Hi I'm using the struts tags. I need validate the total of "checked" that have been selected. I can do that with java script code, but i need put a var in the session scope with the purpose of show the error message later, and that, i can not do that with the java

validate an html:multibox and show messages in the own page

2006-09-12 Thread Heidy Gutiérrez Guzmán
Hi I'm using the struts tags. I need validate the total of "checked" that have been selected. I can do that with java script code, but i need put a var in the session scope with the purpose of show the error message later, and that, i can not do that with the java script code. If anybody could

Re: html:multibox problem

2006-07-21 Thread Antonio Petrelli
Vinicius Carvalho ha scritto: Hello there! I have a multibox on my jsp, that maps to a String[] id; property on my formbean. The problem is, when the user submits it, I get my Array filled, but the first position of the array is filled with a strange [EMAIL PROTECTED] string. Seems that some weir

html:multibox problem

2006-07-20 Thread Vinicius Carvalho
Hello there! I have a multibox on my jsp, that maps to a String[] id; property on my formbean. The problem is, when the user submits it, I get my Array filled, but the first position of the array is filled with a strange [EMAIL PROTECTED] string. Seems that some weird object had it toString() meth

Map-based html:multibox

2006-06-05 Thread Bourgon, Jean-Francois
Hello, I'm trying to assign html:multibox to a map object into my ActionForm. But it doesn't work, when I select multiple value only the first one is assign to the related map key. I only get a String object assign to my key instead of the expected String[]. Here is a sample of m

any help ?? Fwd: html:multibox validation using Struts Validator framework

2006-04-24 Thread HSS STANLEY
any help on this??? Date: Fri, 21 Apr 2006 11:00:34 -0700 (PDT) From: <[EMAIL PROTECTED]> Subject: html:multibox validation using Struts Validator framework To: user@struts.apache.org Hi I am trying to do a client side validation for html: multibox tag. I need to do clien

html:multibox validation using Struts Validator framework

2006-04-21 Thread HSS STANLEY
Hi I am trying to do a client side validation for html: multibox tag. I need to do client side validation if all the boxes are checked, before submitting the request. I tried using the "depends=required" rules in the validator-rules.xml. I see the JavaScript code in my jsp when I t

html:multibox validation using Struts Validator framework

2006-04-21 Thread HSS STANLEY
Hi I am trying to do a client side validation for html: multibox tag. I need to do client side validation if all the boxes are checked, before submitting the request. I tried using the "depends=required" rules in the validator-rules.xml. I see the JavaScript code in my jsp when I try

html:multibox validation using Struts Validator framework

2006-04-20 Thread Stanley, Hazel
Hi I am trying to do a client side validation for html: multibox tag. I need to check if all the boxes are checked, before submitting the request. I tried using the required rules in the validator-rules.xml. I see the JavaScript code in my jsp when I try to view source but I'm not getti

html:multibox for multiplecolumns

2006-03-04 Thread makarand sonawane
Hi I want informatio on how I can display multiple check boxes using html:multibox in different columns For example i have a Array of size 25 and I want display the checkboxes in 5*5 table i.e each column of the table will have 5 check boxes and each row will 5 check boxes

Re: html:multibox reset?

2005-12-27 Thread Laurie Harper
fea jabi wrote: I am using html:multibox in my jsp. I am not sure when the reset method is needed. Not sure if I have to use it. I have declared my formbeans in config file itself. If I have to use how to use that? Multibox is just another way of managing checkboxes, so the same caveats

html:multibox reset?

2005-12-27 Thread fea jabi
I am using html:multibox in my jsp. I am not sure when the reset method is needed. Not sure if I have to use it. I have declared my formbeans in config file itself. If I have to use how to use that? I am having the below code now to display a group of checkboxes in a column of a table

Re: html:multibox with LabelValueBean

2005-12-22 Thread Craig McClanahan
On 12/22/05, fea jabi <[EMAIL PROTECTED]> wrote: > > Thanks, Laurie. that worked. > > why is JSTL prefered over the logic tags? is there any doc I can read > about > the same? > > Thanks. A couple of reasons I (as the original developer of the logic tags :-) prefer the JSTL versions: * The expre

Re: html:multibox with LabelValueBean

2005-12-22 Thread Pazhanikanthan Periasamy
ts Users Mailing List cc Subject Re: html:multibox with LabelValueBean I may be wrong but i saw in some situations i dont have proper tag libs in struts. On 12/22/05, Pazhanikanthan Periasamy <[EMAIL PROTECTED]> wrote: > > Apache Struts developers are very very clever to en

Re: html:multibox with LabelValueBean

2005-12-22 Thread Srinivas Jadcharla
t; Thanks and regards, > Pazhanikanthan. P > Project Leader, > Caritor (India) Pvt. Ltd., > Madras - 600 006 > Mob: 9886152717 > Extn: 40123 > > > > Srinivas Jadcharla <[EMAIL PROTECTED]> > 12/22/2005 09:14 PM > Please respond to > "Struts Users Mailing List"

Re: html:multibox with LabelValueBean

2005-12-22 Thread Pazhanikanthan Periasamy
:14 PM Please respond to "Struts Users Mailing List" To Struts Users Mailing List cc Subject Re: html:multibox with LabelValueBean I think its always better to use Struts taglibs where ever it is possible because of less coding.Where exactly we need JSTL(Wild guess .where its n

Re: html:multibox with LabelValueBean

2005-12-22 Thread Srinivas Jadcharla
> > > > "fea jabi" <[EMAIL PROTECTED]> > 12/22/2005 09:03 PM > Please respond to > "Struts Users Mailing List" > > > To > user@struts.apache.org > cc > > Subject > Re: html:multibox with LabelValueBean > > > > > >

Re: html:multibox with LabelValueBean

2005-12-22 Thread Pazhanikanthan Periasamy
M Please respond to "Struts Users Mailing List" To user@struts.apache.org cc Subject Re: html:multibox with LabelValueBean Thanks, Laurie. that worked. why is JSTL prefered over the logic tags? is there any doc I can read about the same? Thanks. >From: Laurie Harper

Re: html:multibox with LabelValueBean

2005-12-22 Thread fea jabi
Thanks, Laurie. that worked. why is JSTL prefered over the logic tags? is there any doc I can read about the same? Thanks. From: Laurie Harper <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" To: user@struts.apache.org Subject: Re: html:multibox with LabelValueBe

Re: html:multibox with LabelValueBean

2005-12-21 Thread Laurie Harper
fea jabi wrote: Trying to use html:multibox with LabelValueBean. Getting error doing the same. In prepare Action ... ... LabelValueBean lblValueBean1 = new LabelValueBean("Visa1", "V1"); LabelValueBean lblValueBean2 = new LabelVa

html:multibox with LabelValueBean

2005-12-21 Thread fea jabi
Trying to use html:multibox with LabelValueBean. Getting error doing the same. In prepare Action ... ... LabelValueBean lblValueBean1 = new LabelValueBean("Visa1", "V1"); LabelValueBean lblValueBean2 = new LabelValueBea

Re: How to disable a particular selected checkbox in html:multibox

2005-11-16 Thread Laurie Harper
a value attribute, whose contents will be used literally as the value to be returned. * Specify no value attribute, and the nested body content of this tag will be used as the value to be returned." So, you need to add either a value attribute or some body content to your html:multibox

How to disable a particular selected checkbox in html:multibox

2005-11-14 Thread sma3har
How can I disable a particular checkbox based on a value in the selected items. Here is my code. There are two arraylist of disease and names. Someone please help me. __ Start your day with Yahoo! - Make it your home page! http://www.y

Re: html:multibox question

2005-05-25 Thread Wendy Smoak
From: "Apte, Dhanashree (Noblestar)" <[EMAIL PROTECTED]> > > How do I make sure that only the selected ones get through? > http://struts.apache.org/userGuide/struts-html.html#multibox WARNING: In order to correctly recognize cases where none of the associated checkboxes are selected, the ActionFo

RE: html:multibox question

2005-05-25 Thread meyawn
- From: Apte, Dhanashree (Noblestar) [mailto:[EMAIL PROTECTED] Sent: Thursday, May 26, 2005 12:21 AM To: 'Struts Users Mailing List' Subject: html:multibox question I have a page that has a series of check-boxes that a user can select/deselect at will. When the page loads up, s

html:multibox question

2005-05-25 Thread Apte, Dhanashree (Noblestar)
I have a page that has a series of check-boxes that a user can select/deselect at will. When the page loads up, some of the checkboxes are already checked. The user can then either select new ones or deselect existing ones. However, when I submit the page, the unselected ones are still a part of m

html:multibox

2005-04-18 Thread Riyaz Mansoor
hi reading from past postings this subject has been much talked about. but not finding a solution to my liking i post this question. i want a user a see a set of checkboxes some selected some not. the user is allowed to check uncheck anyone of them. upon form submission, i want the value of the

html:multibox

2005-04-12 Thread Riyaz Mansoor
hi reading from past postings this subject has been much talked about. but not finding a solution to my liking i post this question. i want a user a see a set of checkboxes some selected some not. the user is allowed to check uncheck anyone of them. upon form submission, i want the value of the

html:checkbox or html:multibox- question in implementation

2005-01-21 Thread Rosemary Philip
everything I could on how to implement this, and I think I need to do this via html:multibox --Now trying to implement checkboxes- the above code

Re: Use JSTL with html:multibox tag

2004-11-16 Thread andy wix
Thanks for the input - i've had a play and can't get it to work and now my patience has timed out so i'll use the logic:iterate method instead. Thanks, Andy _ Use MSN Messenger to send music and pics to your friends http://www.msn.c

Re: Use JSTL with html:multibox tag

2004-11-15 Thread Rick Reumann
andy wix wrote the following on 11/15/2004 12:58 PM: Hi, Thanks for the input Robert, but the array will be shorter than the arraylist whenever a checkbox is not selected. I've had a look at Rick Reumann's Struttin with Struts lesson 3 which does something similar and now have:

RE: Use JSTL with html:multibox tag

2004-11-15 Thread Robert Taylor
rom: andy wix [mailto:[EMAIL PROTECTED] > Sent: Monday, November 15, 2004 12:59 PM > To: [EMAIL PROTECTED] > Subject: RE: Use JSTL with html:multibox tag > > > Hi, > > Thanks for the input Robert, but the array will be shorter than the > arraylist whenever a checkb

RE: Use JSTL with html:multibox tag

2004-11-15 Thread andy wix
Hi, Thanks for the input Robert, but the array will be shorter than the arraylist whenever a checkbox is not selected. I've had a look at Rick Reumann's Struttin with Struts lesson 3 which does something similar and now have: This is a step in the right direction but still

RE: Use JSTL with html:multibox tag

2004-11-15 Thread Robert Taylor
e same length as your services ArrayList, then things are going to get ugly. > -Original Message- > From: andy wix [mailto:[EMAIL PROTECTED] > Sent: Monday, November 15, 2004 9:34 AM > To: [EMAIL PROTECTED] > Subject: Use JSTL with html:multibox tag > > > H

Use JSTL with html:multibox tag

2004-11-15 Thread andy wix
Hi, All the examples I've seen of using the above tag use the logic:iterate tag to output to the page. Does anyone have an example of how to this with JSTL? My attempt is: where services is an ArrayList in session with all available services and selectedServices is the array of St

Re: Question regarding html:multibox value

2004-11-01 Thread t t
Thanks. I got it work by using bean:wirte to assign the value to the multibox. João Vieira da Luz <[EMAIL PROTECTED]> wrote:Maybe it's because html:multibox doesn't support el... You could try to use struts-el tag library. On Fri, 29 Oct 2004 07:14:26 -0700 (PDT), t t wro

Re: Question regarding html:multibox value

2004-10-29 Thread João Vieira da Luz
Maybe it's because html:multibox doesn't support el... You could try to use struts-el tag library. On Fri, 29 Oct 2004 07:14:26 -0700 (PDT), t t <[EMAIL PROTECTED]> wrote: > Hi, all, I have such code: >

Question regarding html:multibox value

2004-10-29 Thread t t
Hi, all, I have such code: - -- Where "person" has a property called "userID". I intend to assign such "userID" to multibox. e.g., if userID="111", the multibox value should be "111"

Fw: html:multibox problem!!

2004-09-06 Thread RamKumar
I guess no one has seen this post. So resending it again. Hi, I have a question and 4 choices.You can select multiple answers for single question. I want to do skiplogic for this question .i.e. when the users selects choices 1 & 3 go to 5th page.Like this there will be multiple combinations(we li

html:multibox problem!!

2004-09-01 Thread RamKumar
Hi, I have a question and 4 choices.You can select multiple answers for single question. I want to do skiplogic for this question .i.e. when the users selects choices 1 & 3 go to 5th page.Like this there will be multiple combinations(we limited to 4 combinations for 4 choices question) I am r

Re: Error: html:multibox, backbutton, BeanPopulate Exception (IndexOutOfBoundsException)

2004-07-22 Thread Georg Filios
Hi Raghuram and Raul, thanks for your tips!!! I tried the caching tips, but the didnt worked on my apple using safari browser! Tip 1 did not help <% response.setHeader ("cache-control", "no-cache"); response.setHeader ("expires", "-1"); %> Tip 2: did not help and the configuration in strut

RE: Error: html:multibox, backbutton, BeanPopulate Exception (IndexOutOfBoundsException)

2004-07-22 Thread rahul.chaudhary
into an action other than the predefined order of action ... Rahul -Original Message- From: Georg Filios [mailto:[EMAIL PROTECTED] Sent: Thursday, July 22, 2004 3:18 PM To: Struts Users Mailing List Subject: Re: Error: html:multibox, backbutton, BeanPopulate Exception

RE: Error: html:multibox, backbutton, BeanPopulate Exception (IndexOutOfBoundsException)

2004-07-22 Thread Raghuram Kanadam
2004 3:16 PM To: Struts Users Mailing List Subject: Re: Error: html:multibox, backbutton, BeanPopulate Exception (IndexOutOfBoundsException) Hi, i am looking for preventing caching. So I am responsible on the server side, no matters what the users browser is. Regards, georg Am 22.07.2004 u

Re: Error: html:multibox, backbutton, BeanPopulate Exception (IndexOutOfBoundsException)

2004-07-22 Thread Georg Filios
, 2004 3:06 PM To: [EMAIL PROTECTED] Subject: Error: html:multibox, backbutton, BeanPopulate Exception (IndexOutOfBoundsException) Hi, I am having a unnices error, which I can't solve. Even I am having found any hints in the archives, making me very nervous, that I totally messed up some con

Re: Error: html:multibox, backbutton, BeanPopulate Exception (IndexOutOfBoundsException)

2004-07-22 Thread Georg Filios
? -Original Message- From: Georg Filios [mailto:[EMAIL PROTECTED] Sent: Thursday, July 22, 2004 3:06 PM To: [EMAIL PROTECTED] Subject: Error: html:multibox, backbutton, BeanPopulate Exception (IndexOutOfBoundsException) Hi, I am having a unnices error, which I can't solve. Even I am having

RE: Error: html:multibox, backbutton, BeanPopulate Exception (IndexOutOfBoundsException)

2004-07-22 Thread Raghuram Kanadam
George are you looking from preventing the user from going back or are you looking for preventing caching? -Original Message- From: Georg Filios [mailto:[EMAIL PROTECTED] Sent: Thursday, July 22, 2004 3:06 PM To: [EMAIL PROTECTED] Subject: Error: html:multibox, backbutton, BeanPopulate

Error: html:multibox, backbutton, BeanPopulate Exception (IndexOutOfBoundsException)

2004-07-22 Thread Georg Filios
Hi, I am having a unnices error, which I can't solve. Even I am having found any hints in the archives, making me very nervous, that I totally messed up some concepts. Here is my Problem: I am using a html:multibox to select some entries (the number of the entries, is dynamic)

RE: Problem with html:multibox not clearing

2004-03-31 Thread Murray, Christopher
the actionForm obtaining a value from the request which is only set when the search is first submitted. This ensures that the checkbox value is only reset when the search is submitted in the first place and not when returned to. Is there any intention to modify the html:multibox tag so that it

SV: Problem with html:multibox not clearing

2004-03-31 Thread hermod . opstvedt
Kennedy [mailto:[EMAIL PROTECTED] Sendt: 30. mars 2004 22:06 Til: 'Struts Users Mailing List' Emne: Problem with html:multibox not clearing I am using an html:multibox that is pretty much working fine except when I uncheck all choices. I am also using the logic:iterate tag to gen

RE: Problem with html:multibox not clearing

2004-03-30 Thread Robert Taylor
works for me. Good luck with your solution. robert > -Original Message- > From: Jim Kennedy [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 30, 2004 5:02 PM > To: 'Struts Users Mailing List' > Subject: RE: Problem with html:multibox not clearing > > >

RE: Problem with html:multibox not clearing

2004-03-30 Thread Jim Kennedy
ing List Subject: RE: Problem with html:multibox not clearing Jim, you can try this in your dynavalidatorform declaration: When you invoke an action, Struts will automatically reset your form. So when you hit submit, Struts will invoke form.reset() which will reset all your form properties to

RE: Problem with html:multibox not clearing

2004-03-30 Thread Robert Taylor
4 3:42 PM > To: 'Struts Users Mailing List' > Subject: RE: Problem with html:multibox not clearing > > > That's not what I had in mind. Thanks for the suggestion though. I found a > thread that suggests that you must subclass dynavalidatorform and override > the r

RE: Problem with html:multibox not clearing

2004-03-30 Thread Jim Kennedy
know why it happens, but are there any other suggestions? -Original Message- From: Wiebe de Jong [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 30, 2004 3:31 PM To: 'Struts Users Mailing List'; [EMAIL PROTECTED] Subject: RE: Problem with html:multibox not clearing This is an H

RE: Problem with html:multibox not clearing

2004-03-30 Thread Wiebe de Jong
TED] Sent: Tuesday, March 30, 2004 12:06 PM To: 'Struts Users Mailing List' Subject: Problem with html:multibox not clearing I am using an html:multibox that is pretty much working fine except when I uncheck all choices. I am also using the logic:iterate tag to generate many checkboxes. If

Problem with html:multibox not clearing

2004-03-30 Thread Jim Kennedy
I am using an html:multibox that is pretty much working fine except when I uncheck all choices. I am also using the logic:iterate tag to generate many checkboxes. If I have a single box checked I can't seem to uncheck it if it's the last one. If I have several checked, I can uncheck t