Hello,
As I'm using html:multibox in my JSP and need to reset the selected items,
I've extended the DynaValidatorForm and written a reset() method to do this.
Although the reset() method is called, the list of selected items is never
reseted. What did I missed? Thanks for help.
It seem
Hi All,
How can I disable a particular checkbox based on a value in the
selected items. Here is my code.
statement setting the
corresponding boolean property to false in the reset() method.
-Original Message-
From: David Thielen [mailto:[EMAIL PROTECTED]
Sent: August 7, 2003 12:26 PM
To: 'Struts Users Mailing List'
Subject: Re: single checkbox - still use html:multibox?
Thanks - the b
thank you very very much - dave
- Original Message -
From: "Yansheng Lin" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Thursday, August 07, 2003 12:43 PM
Subject: RE: single checkbox - still use html:multib
Hi;
If I have a single checkbox on my page, should I still use multibox? And if not, what
do I use?
thanks - dave
ts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Thursday, August 07, 2003 12:19 PM
Subject: RE: single checkbox - still use html:multibox?
Um, ? Please read the api carefully if you want to use this
tag. There is something you have to do in your form's reset()...
-Orig
l use html:multibox?
Hi;
If I have a single checkbox on my page, should I still use multibox? And if not,
what do I use?
thanks - dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
something like:
myForm.submit ();return false;
Alex.
> -Original Message-
> From: Prashant Samant [mailto:[EMAIL PROTECTED]
> Sent: Saturday, August 02, 2003 6:03 AM
> To: Struts Users Mailing List (E-mail)
> Subject: getting value of html:multibox
>
> Hello everybody
Hello everybody,
I want to get the value of the checkbox which i have clicked.
For that i am building the following JSP page
some image
When i click the link, the framework calls the Action class(Shown below) but print
blank on the console.
But if i use ,than everything works fine.
How ca
ems I've selected on EACH
page. How to implement this? It seems that html:multibox is of little use
here? What will the gurus say?
With best regards, Alexey Styrov. E-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [E
I would like to generate a list of check boxes from a collection but
determine if the checkbox is checked using a String[]. How could this be
done? The following code does not work, but shows what I have tried.
Regards,
Joshua
...
private String[] userSelectedState;
publ
Hi Partha,
I think u have completely messed up iterate and multibox...
So instead of myself suggesting u changes to be done u better take a look at the below
url
http://article.gmane.org/gmane.comp.jakarta.struts.user/52790/match=html+multibox+
Cheers
Prashanth
O_Parthasarathy Kesavaraj <[EMAIL
: Thursday, June 26, 2003 5:33 PM
> > To: Struts Users Mailing List
> > Subject:Re: Problem with html:multibox
> >
> > try and make id of iterate = property.
> >
> > may work...
> >
> > sandeep
> > --- O_Parthasarathy Kesava
No.it is not working
> --
> From: Sandeep Takhar[SMTP:[EMAIL PROTECTED]
> Reply To: Struts Users Mailing List
> Sent: Thursday, June 26, 2003 5:33 PM
> To: Struts Users Mailing List
> Subject: Re: Problem with html:multibox
>
> tr
try and make id of iterate = property.
may work...
sandeep
--- O_Parthasarathy Kesavaraj
<[EMAIL PROTECTED]> wrote:
> I am having a value object inside an arraylist.The
> array list i have
> declared as a property in my form bean.The value
> object contains id and
> name.The arraylist gets popula
I am having a value object inside an arraylist.The array list i have
declared as a property in my form bean.The value object contains id and
name.The arraylist gets populated from my action class and i'm displaying
like this.
Can soemone explain me the difference between the two tags
html:multibox and html:checkbox in aJSP page which used
logic:iterate tag.
For example:
The allows to display the following column in a
table
[x]
[x
o: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, February 28, 2003 9:50 PM
Subject: RE: html:multibox and bean:write
You cannot emded a tag inside another tag. You can achieve what you are
trying as follows
value="<%=styleData.getKey()%>"
Sri
-O
ing List
Subject: html:multibox and bean:write
hi
hi i am using multibox and in the value i want a data comes from the logic:iterate and
write through the bean:write
but it gives a problem
"/>
-
this is my code
hi
hi i am using multibox and in the value i want a data comes from the logic:iterate and
write through the bean:write
but it gives a problem
"/>
-
this is my code
please consider this and help me
Shashi
: RE: html:multibox and arrays in the ActionForm
I don't understand why you say you can't use to populate
cells in a
What am I missing?
Sri
-Original Message-
From: Charles H. Baker [mailto:[EMAIL PROTECTED]]
Sent: Monday
iling List
Subject: html:multibox and arrays in the ActionForm
I have been using the most excellent ``Struts in Action'' by Ted Husted
et. al., but I need a little clarification.
There is a code snippet from an ActionForm:
private String[] selectedItems = {};
private String[] i
I have been using the most excellent ``Struts in Action'' by Ted Husted
et. al., but I need a little clarification.
There is a code snippet from an ActionForm:
private String[] selectedItems = {};
private String[] items = {"UPS","FedEx","Airborne"};
public String[] getSelectedItems(){
return th
Le
> Sent: Tuesday, December 03, 2002 9:42 AM
> To: Struts Users Mailing List (E-mail)
> Subject: html:multibox values not populated in the form bean
>
> Hi,
>
> I'm having a problem that the setter method in the form bean does not get called
>when I submit
Hi,
I'm having a problem that the setter method in the form bean does not get called when
I submit an HTML form with a to an action class.
I read some of previous related posts in the archives, but I couldn' t find a solution
to this problem. Please advise on how to troubleshoot this problem.
ml.html to elements other than
or .
- Original Message -
From: "David M. Karr" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 06, 2002 7:42 AM
Subject: Re: When using a html:multibox element, no setter-methode is
called.
> >>>&
>>>>> "Bernhard" == Bernhard Oberndorfer <[EMAIL PROTECTED]> writes:
Bernhard> Hello
Bernhard> I´m using a logic:iterate and html:multibox element in my jsp-page.
Bernhard> The getter-methode of my multibox-element(getSelectedFoos()) is called
Hello
I´m using a logic:iterate and html:multibox element in my jsp-page.
The getter-methode of my multibox-element(getSelectedFoos()) is called as it
should.
But the setter-methode(setSelectedFoos()) is never called by the controller.
Why? What I´m doing wrong?
I´m using Struts 1.1-b2.
-
My
Thank you so much, Eddie. It was because I have an extra method getSelectedItems(int
i) besides getSelectedItems().
Eddie Bush wrote:
I have no clue. I believe Ted Husted covers that topic in his tips
though: http://husted.com/struts/tips
Sharon Tam wrote:
>Hi,
>
>Does anyone know why the
I have no clue. I believe Ted Husted covers that topic in his tips
though: http://husted.com/struts/tips
Sharon Tam wrote:
>Hi,
>
>Does anyone know why the multibox selected values are not populated into the formbean
>after I submit the form? Everything works with struts 1.0.2, but not wi
Hi,
Does anyone know why the multibox selected values are not populated into the formbean
after I submit the form? Everything works with struts 1.0.2, but not with struts 1.1.
Thanks in advance!
-
Do you Yahoo!?
Yahoo! News - Today's headlines
> -Original Message-
> From: Karr, David [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 14, 2002 12:30 PM
> To: '[EMAIL PROTECTED]'
> Subject: Details of Action, ActionForm, and JSP page using
> logic:iterate
> a nd html:multibox?
>
>
>
I could use a concise description of the alternatives and details of setting
up my Actions, ActionForm, and JSP pages so I can have a logic:iterate
wrapping a set of html:multibox elements, and so the set options can be
communicated back and forth effectively. I could also use any pointers to
Good luck,
Graham King.
Torsten Trzeciak wrote:
> Hello,
> I always get a BeanUtils.populate error trying to submit html:multibox
> information.
>
> I use a form with the following tags:
>
>
>
> In the corresponding ActionForm I define the following var
Hello,
I always get a BeanUtils.populate error trying to submit html:multibox
information.
I use a form with the following tags:
In the corresponding ActionForm I define the following var:
String[] scombo=String[0]; vwith
setScombo(String[])
and
setScombo(int index, String scombo
> I have used the html:multibox before to successfully group checkboxes but
> now I'm trying to group text fields, I know that, or at least I think I know
> that the html:text won't work. Has anyone ran into this problem before and
> if so what were the solutions? Thanks in advanced.
Gus
36 matches
Mail list logo