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);
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
hello all
I've got a ArrayList in my ActionForm like
ArrayList alist = new ArrayList();
User user = new User();
user.setName("test1");
name="funProForm" property="functionProList ">
tr>
td>
table border="0">
tr>
logic:iterate id="pro" name="funPro" property="pros">
td>
[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
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
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
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
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
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
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[]
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
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
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
--- 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
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
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
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
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
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
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
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 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
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
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
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
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
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
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
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
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
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"
: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
>
>
>
> "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
>
>
>
>
>
>
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
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
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
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
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 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
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
-
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
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
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
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
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
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
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:
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
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
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
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
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
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:
>
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"
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
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
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
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
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
, 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
?
-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
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
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)
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
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
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
>
>
>
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
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
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
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
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
72 matches
Mail list logo