Settiing Initial Values to Check Box

2004-03-17 Thread Prakasan OK
Hi, I am setting a collection of ValueObjects in request and populating the page with the values from collection. I want to set the value of the check box with a particular value from the value object. My code is as follows. logic:iterate id=result name=result trtd

RE: Struts check box validation question

2004-02-11 Thread Ben Anderson
PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: Struts check box validation question Date: Tue, 10 Feb 2004 14:46:46 -0600 Ben, I am using a checkbox. What I am planning to do is allow the user to check/select items/checkboxes

Struts check box validation question

2004-02-10 Thread Samyukta A
Had a quick question on power of struts form validation.Sample code to validate checkboxes checked on the jsp, which will be sent as an array to the Struts Action Form. Tips appreciate.Thanks in advance! Thanks! - Do you Yahoo!? Yahoo! Finance: Get your

Struts check box validation question

2004-02-10 Thread Samyukta Akunuru
Had a quick question on power of struts form validation.Sample code to validate checkboxes checked on the jsp, which will be sent as an array to the Struts Action Form. Tips appreciate.Thanks in advance! Best Regards, Samy -

RE: Struts check box validation question

2004-02-10 Thread Ben Anderson
PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Struts check box validation question Date: Tue, 10 Feb 2004 12:57:23 -0600 Had a quick question on power of struts form validation.Sample code to validate checkboxes checked on the jsp, which will be sent

RE: Struts check box validation question

2004-02-10 Thread Samyukta Akunuru
] Subject: RE: Struts check box validation question Here's code I got from Kris Schneider. It validates that at least one of the check boxes was checked, but you should be able to change it fairly easily to do whatever you want. If you're wondering how this code fits in, check out: http

RE: Struts check box validation question

2004-02-10 Thread Ben Anderson
-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: Struts check box validation question Date: Tue, 10 Feb 2004 14:30:34 -0600 Thanks Ben, I am looking at the code closer now, but do we have to pass in the array of selections to the ActionForm

RE: Struts check box validation question

2004-02-10 Thread Samyukta Akunuru
:37 PM To: [EMAIL PROTECTED] Subject: RE: Struts check box validation question not too sure what you mean by your question, but I'd say no, you don't need to pass in the array. You're using a String[] as the form property, right? Are you using multibox? http://jakarta.apache.org/struts

Re: muli box\check box checked by default

2004-01-11 Thread Hari_s
thank's for your answer Mark, it's work fine for me - Original Message - From: Mark Lowe [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, January 08, 2004 4:57 PM Subject: Re: muli box\check box checked by default You need to use the value

Re: muli box\check box checked by default

2004-01-08 Thread Mark Lowe
You need to use the value attribute to whatever value you wish to match to tick the box. String foo = bar; theForm.setFoo(foo); html:checkbox property=foo value=bar / Also you use the eval method in javascript, which I don't believe anyone ever needs. It was in vogue a few years back when

muli box\check box checked by default

2004-01-07 Thread Hari_s
hi all how can i make checkbox or multibox checked by default when page is loaded... this is my jsp code but this is not work(I use java script ) %@ taglib uri=/WEB-INF/struts-html-el.tld prefix=html-el % %@ taglib uri=/WEB-INF/struts-bean.tld prefix=bean % %@ taglib

check box values get from collection

2003-12-25 Thread shahfazal
Hi I have to display rows based on an SQL query. i have the value objects returned in a collection. while iterating thru the collection i have to display a checkbox at the startingof the row with a value that is one of the properties of the Value object. i wrote something like logic:iterate

check box values get from collection (clearer version)

2003-12-25 Thread shahfazal
Hi I have to display rows based on an SQL query. i have the value objects returned in a collection. while iterating thru the collection i have to display a checkbox at the startingof the row with a value that is one of the properties of the Value object. i wrote something like logic:iterate

RE: validator for check box

2003-10-29 Thread Jayaraman Dorai
Does any one have any ideas or have written code to validate that at least one item is selected on the check box? Would be interested in the javascript code for the same. On the server side, I can do that validation on the action form, though doing it through struts validator will be the ideal

RE: validator for check box

2003-10-29 Thread Saul Q Yuan
[mailto:[EMAIL PROTECTED] Sent: Wednesday, October 29, 2003 12:49 PM To: Struts Users Mailing List Subject: RE: validator for check box Does any one have any ideas or have written code to validate that at least one item is selected on the check box? Would be interested in the javascript code

RE: validator for check box

2003-10-29 Thread Jayaraman Dorai
Been using an older version of validator-rules, which I had customized and so the multi-check box wasn't working. Required for a single-checkbox is not need for an application, since you are compelling the user to have that one choice selected. If you have only one check box and that too

RE: validator for check box

2003-10-29 Thread Saul Q Yuan
implementation and make them required regardless. I just ran into this situation. Saul -Original Message- From: Jayaraman Dorai [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 29, 2003 2:00 PM To: Struts Users Mailing List Subject: RE: validator for check box Been using an older

RE: validator for check box

2003-10-29 Thread Jayaraman Dorai
Yes, I agree, you are right. -Original Message- From: Saul Q Yuan [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 29, 2003 2:14 PM To: 'Struts Users Mailing List' Subject: RE: validator for check box This situation happens when the checkboxes and/or radio buttons

validator for check box

2003-10-27 Thread Jayaraman Dorai
Would like to validate that the user selects at least one option in the check box which was created using html-multibox. The struts-validator is not validating the required for a check box. Is there any code for validating the check box or am I missing something? Thanks Jayaraman

Check box problem.

2003-07-14 Thread Ravi Garg
Hi all, I am using JSPs with checkboxes(HTML:CHECKBOX property=) in all the screen. As we know that an on (or value of checkbox) is sent as request whenever I check the checkbox. Then what is sent when I uncheck the checkbox?? What I observed that if I have stored the form in session

RE: Check box problem.

2003-07-14 Thread Andrew Hill
List Subject: Check box problem. Hi all, I am using JSPs with checkboxes(HTML:CHECKBOX property=) in all the screen. As we know that an on (or value of checkbox) is sent as request whenever I check the checkbox. Then what is sent when I uncheck the checkbox?? What I observed that if I

RE: Check box problem.

2003-07-14 Thread Prashanth.S
shall be found all that which thou doust require. -Original Message- From: Ravi Garg [mailto:[EMAIL PROTECTED] Sent: Monday, 14 July 2003 18:09 To: Struts Users Mailing List Subject: Check box problem. Hi all, I am using JSPs with checkboxes() in all the screen. As we know

Select all / Unselect all check-box in a table

2003-03-26 Thread Heligon Sandra
commands. One of the column is a check-box column. I have defined the following DynaVaildatorForm: form-bean name=myForm dynamic=true type=org.apache.struts.validator.DynaValidatorForm form-property name=items type=java.util.ArrayList / form-property

how do i validate number of check box selected by user in DynaValidatorForm

2003-01-10 Thread Ashish Kulkarni
Hi, I am using DynaValidatorForm, and i want to validate number of check boxes selected by the user, for example to display details, user must select atleast one checkbox on the the main page before clicking display details button, or user must select only one check box for specific operation

RE: Nested tagscomplete example for Table (with check-box, hyperl ink) Help, help help

2002-09-18 Thread Heligon Sandra
-Original Message- From: Arron Bates [mailto:[EMAIL PROTECTED]] Sent: 17 September 2002 16:31 To: Struts Users Mailing List Subject: RE: Nested tagscomplete example for Table (with check-box, hyperl ink) Help, help help On Tue, 2002-09-17 at 20:53, Lister, Tom (ANTS) wrote: see http

Nested tagscomplete example for Table (with check-box, hyperlink) Help, help help

2002-09-17 Thread Heligon Sandra
I am searching JSP example with Struts tags (probably nested tags) to display a table with multiple rows and columns. I have to follow a minimum well-defined format: - one column has to offer hyperlink; - one column is composed of check-box

RE: Nested tagscomplete example for Table (with check-box, hyperlink) Help, help help

2002-09-17 Thread Howard Miller
(with check-box, hyperlink) Help, help help Importance: High I am searching JSP example with Struts tags (probably nested tags) to display a table with multiple rows and columns. I have to follow a minimum well-defined format: - one column has to offer hyperlink

RE: Nested tagscomplete example for Table (with check-box, hyperlink) Help, help help

2002-09-17 Thread Lister, Tom (ANTS)
Sandra [mailto:[EMAIL PROTECTED]] Sent: 17 September 2002 11:43 To: '[EMAIL PROTECTED]' Subject: Nested tagscomplete example for Table (with check-box, hyperlink) Help, help help Importance: High I am searching JSP example with Struts tags (probably nested tags) to display a table

RE: Nested tagscomplete example for Table (with check-box, hyperlink) Help, help help

2002-09-17 Thread Arron Bates
the upgrade though. :) Arron. :-) Tom Lister * 020 7612 3030 * [EMAIL PROTECTED] -Original Message- From: Heligon Sandra [mailto:[EMAIL PROTECTED]] Sent: 17 September 2002 11:43 To: '[EMAIL PROTECTED]' Subject: Nested tagscomplete example for Table (with check-box, hyperlink

Re: Check Box

2002-05-06 Thread SUPRIYA MISRA
In the Action Form reset method you need to set the value of checkbox to null; From: sanjeev_dutt [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Check Box Date: Mon, 6 May 2002 12:17:59 +0530 Hi All, I have

Check Box

2002-05-05 Thread sanjeev_dutt
Hi All, I have a check box on my JSP page which is a Search page. On the results page, there is a button New Search which is supposed to throw back the Search Page again. In the action class involved with New Search, I am resetting the formbean associated with my Search Page. When I come back

Re: Check Box

2002-05-05 Thread @Basebeans.com
Subject: Re: Check Box From: Vic Cekvenich [EMAIL PROTECTED] === This was answered. Please search first before posting. sanjeev_dutt wrote: Hi All, I have a check box on my JSP page which is a Search page. On the results page, there is a button New Search which is supposed to throw back

check box

2002-03-19 Thread Sanjay Choudhary
In our application, we are showing a list of records using nested tag. In front of each record we have a select/check box mapped to a property in a bean. We wish to provide a functionality to users by placing a checkbox at the top row (this is not mapped to any property in bean) and on click

RE: check box

2002-03-19 Thread Michael Skariah
Hi Sanjay, Let me give an example to help you out here. Here I am assuming that the checkboxes (including the master checkbox) are present in a table that has got an id 'checkTable'. When I say 'master' check box I mean the one that will help you to trigger the event for selecting/de-selecting

Re: check box - Attn. Ted Husted, Craig

2002-03-19 Thread Arron Bates
'checkTable'. When I say 'master' check box I mean the one that will help you to trigger the event for selecting/de-selecting the other child checkboxes. In the form you can have something like this html:checkbox property=selectAll onclick=checkAll()/ for the master checkbox. And the javascript

Re: check box

2002-03-19 Thread Sanjay Choudhary
--- Michael Skariah [EMAIL PROTECTED] wrote: Hi Sanjay, Let me give an example to help you out here. Here I am assuming that the checkboxes (including the master checkbox) are present in a table that has got an id 'checkTable'. When I say 'master' check box I mean the one

Re: check box

2002-03-19 Thread Arron Bates
me give an example to help you out here. Here I am assuming that the checkboxes (including the master checkbox) are present in a table that has got an id 'checkTable'. When I say 'master' check box I mean the one that will help you to trigger the event for selecting/de-selecting the other child

Re: Check Box,Radio button (Urgent)

2001-11-02 Thread Ted Husted
It's hard to say without seeing your code. They should automatically select the current value. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463 -- http://www.husted.com/struts/ yogesh borse wrote: Hi All, I'm populating a

Re: Check Box,Radio button (Urgent)

2001-11-02 Thread Jens Khnberger
When you call a page for the first time and you want some values in checkboxes or radiobuttons preselected, just initialise the form bean with the values you want to preselect. Jens Ted Husted wrote: It's hard to say without seeing your code. They should automatically select the current

Check Box,Radio button (Urgent)

2001-11-01 Thread yogesh borse
Hi All, I'm populating a FormBean from action class so that I can open the form(jsp)in edit mode with all values for updating purpose but the problem is, I'm having checkbox or radio button, It's not showing me selected radio or checked chech box if it is checked or selected before. Can

check box

2001-07-17 Thread rajiv mulay
Hi, I have a dynamically created jsp file which has multiple dynamically created check boxs. How do i write the form bean for this, and how to retrive the values in action class rajiv

How can i display dynamic list of check box in my jsp.

2000-11-16 Thread Pool Singh
iam working on struts framework .. i have created actionservlet,actionbean and action form. now i want to display a list of items in my jsp as check boxes ..can anyone please tell me how to do it.. scenario is like this.. i have to display items which is user going to select . help is highly