html:multibox with DynaValidatorForm reset problem

2004-03-08 Thread Lucas Claude
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

How to disable a particular checkbox in html:multibox

2003-09-04 Thread Shankar Ranganathan
Hi All, How can I disable a particular checkbox based on a value in the selected items. Here is my code.

RE: single checkbox - still use html:multibox?

2003-08-14 Thread Yansheng Lin
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

Re: single checkbox - still use html:multibox?

2003-08-10 Thread David Thielen
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

single checkbox - still use html:multibox?

2003-08-10 Thread David Thielen
Hi; If I have a single checkbox on my page, should I still use multibox? And if not, what do I use? thanks - dave

Re: single checkbox - still use html:multibox?

2003-08-09 Thread David Thielen
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

RE: single checkbox - still use html:multibox?

2003-08-08 Thread Yansheng Lin
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]

RE: getting value of html:multibox

2003-08-02 Thread Alex Shneyderman
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

getting value of html:multibox

2003-08-02 Thread Prashant Samant
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

html:multibox and multiple pages

2003-07-28 Thread Alexey Styrov
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

Beginner html:multibox help

2003-07-28 Thread White, Joshua A (HTSC, CASD)
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

Re: Problem with html:multibox

2003-06-26 Thread Prashanth.S
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

RE: Problem with html:multibox

2003-06-26 Thread Sandeep Takhar
: 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

RE: Problem with html:multibox

2003-06-26 Thread O_Parthasarathy Kesavaraj
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

Re: Problem with html:multibox

2003-06-26 Thread Sandeep Takhar
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

Problem with html:multibox

2003-06-26 Thread O_Parthasarathy Kesavaraj
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.

html:multibox vs html:checkbox with logic:iterate

2003-04-01 Thread Heligon Sandra
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

Re: html:multibox and bean:write

2003-03-02 Thread shashi_struts
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

RE: html:multibox and bean:write

2003-02-28 Thread Sri Sankaran
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

html:multibox and bean:write

2003-02-28 Thread shashi_struts
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

2003-02-04 Thread Jörg Maurer
: 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

RE: html:multibox and arrays in the ActionForm

2003-02-04 Thread Sri Sankaran
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

html:multibox and arrays in the ActionForm

2003-02-03 Thread Charles H. Baker
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

RE: html:multibox values not populated in the form bean

2002-12-03 Thread Tuan H. Le
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

html:multibox values not populated in the form bean

2002-12-03 Thread Tuan H. Le
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.

Re: When using a html:multibox element, no setter-methode is called.

2002-11-06 Thread Bernhard Oberndorfer
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. > >>>&

Re: When using a html:multibox element, no setter-methode is called.

2002-11-05 Thread David M. Karr
>>>>> "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

When using a html:multibox element, no setter-methode is called.

2002-11-05 Thread Bernhard Oberndorfer
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

Re: Need help on html:multibox

2002-09-17 Thread Sharon Tam
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

Re: Need help on html:multibox

2002-09-17 Thread Eddie Bush
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

Need help on html:multibox

2002-09-17 Thread Sharon Tam
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

RE: Details of Action, ActionForm, and JSP page using logic:itera te a nd html:multibox?

2002-08-14 Thread Martin Cooper
> -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? > > >

Details of Action, ActionForm, and JSP page using logic:iterate and html:multibox?

2002-08-14 Thread Karr, David
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

Re: Example for html:multibox tag (I get a BeanUtils.populate error)

2001-11-21 Thread Graham King
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

Example for html:multibox tag (I get a BeanUtils.populate error)

2001-11-13 Thread Torsten Trzeciak
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

html:multibox

2001-09-14 Thread Gus Delgado
> 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