RE: Question: How do I put iterated radio buttons in the same gro up?

2004-01-16 Thread Eric Hodges
, 2004 7:50 AM To: Struts Users Mailing List Subject: RE: Question: How do I put iterated radio buttons in the same gro up? Thanks for the advice, but I can't get that to work. I have to add a value attribute to get it to compile, so I changed it to this: html:radio property=master idName=account

RE: Question: How do I put iterated radio buttons in the same gro up?

2004-01-15 Thread Eric Hodges
iterated radio buttons in the same group? Try: html:radio property=master idName=account/ Quoting Eric Hodges [EMAIL PROTECTED]: I'm using nested:iterate to display a list of items in a table. Each row shows on element of the list like this: nested:iterate id=account property=accounts tr

Question: How do I put iterated radio buttons in the same group?

2004-01-14 Thread Eric Hodges
I'm using nested:iterate to display a list of items in a table. Each row shows on element of the list like this: nested:iterate id=account property=accounts tr td nested:radio property=master value=Master/ /td /tr /nested:iterate I'd like to have one column that shows radio

Re: Question: How do I put iterated radio buttons in the same group?

2004-01-14 Thread Kris Schneider
=master value=Master/ /td /tr /nested:iterate I'd like to have one column that shows radio buttons and I'd like all of those buttons to be in the same group so only one of them can be selected at a time. To do this I need them to have the same name property in the resulting HTML

DynaActionForm and radio-buttons

2004-01-08 Thread Daniel Bieberstein
Hi, i have a problem with handling my DynaActionsForm (Struts 1.1)and radio-buttons. In the JSP is a iteration over a bean (bookingPaymentTickets) that creates radio-options. logic:iterate id=tickets name=bookingPaymentTickets scope=request Price 1html:radio property=price value=1

radio buttons

2004-01-08 Thread Otávio Augusto
I'm trying to generate a set of radio buttons with values defined in a collection implemented in my ActionForm class. There, I have a Collection attribute which returns a collection of A objects. Each A object has a 'nome' and a 'id' attribute. So...in the jsp page i have this: logic:iterate

RE: DynaActionForm and radio-buttons

2004-01-08 Thread Matthias Wessendorf
: DynaActionForm and radio-buttons Hi, i have a problem with handling my DynaActionsForm (Struts 1.1)and radio-buttons. In the JSP is a iteration over a bean (bookingPaymentTickets) that creates radio-options. logic:iterate id=tickets name=bookingPaymentTickets scope=request Price 1html:radio

Whats the best way to handle a dynamic form with lots of radio buttons

2004-01-07 Thread Murdo
Hi, I’m working on an online questionnaire and am fairly new to java web dev and struts. What I already have is a dynamically generated questionnaire that has topics, sub-topics then offers 5 choices to the user. The 5 options are a single radio group with the values 0-4  So my generated html

Radio Buttons Required

2003-10-29 Thread Rhet Behler
I am having difficulties requiring radio buttons using the depends=required in the validation.xml. However if someone does NOT select a radio button then the javascript does not pop up and require the field. However I do have textfields and option/select menus on the same page that do pop up

RE: Radio Buttons Required

2003-10-29 Thread Wendy Smoak
Rhet Behler wrote: However if someone does NOT select a radio button then the javascript does not pop up and require the field. Hmmm... I got my hand slapped a while ago for not having a radio button pre-selected. Apparently it's invalid HTML unless exactly one of the radio buttons

Validator question for radio buttons.

2003-10-16 Thread mohan
I have 3 radio buttons representing a property called paymentdetail.paymentTypeId, like this table width=80% border=0 cellspacing=4 cellpadding=4 name=paymentOptions align=center tr bgcolor=#CC td bgcolor=#efefef html:radio property

RE: Validator question for radio buttons.

2003-10-16 Thread Saul Q Yuan
: Thursday, October 16, 2003 10:35 AM To: [EMAIL PROTECTED] Subject: Validator question for radio buttons. I have 3 radio buttons representing a property called paymentdetail.paymentTypeId, like this table width=80% border=0 cellspacing=4 cellpadding=4 name=paymentOptions align=center

Radio Buttons (answered my own questions)

2003-09-11 Thread Sloan Seaman
One of my developers has some things mis-configured. Please ingore the last email. I got it working... Sorry! This email has been scanned for all viruses by the MessageLabs Email Security System. For more information on a

Re: Struts form validation of radio buttons and checkboxes

2003-09-04 Thread Greg Amaroso
:14 -0400 To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: Struts form validation of radio buttons and checkboxes Greg Amaroso wrote: I'm having trouble with the struts form validation framework when it comes to radio buttons and checkboxes. For some reason, I can validate any

RE: Struts form validation of radio buttons and checkboxes

2003-09-04 Thread Mathew, Manoj
if getCheckbox():return String in your action form. -Original Message- From: Greg Amaroso [mailto:[EMAIL PROTECTED] Sent: Thursday, September 04, 2003 7:48 AM To: Struts Users Mailing List Subject: Re: Struts form validation of radio buttons and checkboxes Thanks for the response

RE: Struts form validation of radio buttons and checkboxes

2003-09-04 Thread Andrew Hill
[mailto:[EMAIL PROTECTED] Sent: Thursday, 4 September 2003 21:48 To: Struts Users Mailing List Subject: RE: Struts form validation of radio buttons and checkboxes YES YOU R RIGHT. WHEN THE CHECK BOX IS NOT CHECKED, THE FORM WILL NOT EVEN HAVE THAT ELEMENT PRESENT. THIS IS AN ERROR IN STRUTS. IN OUR

Re: Struts form validation of radio buttons and checkboxes

2003-09-04 Thread Greg Amaroso
PROTECTED] Date: Thu, 4 Sep 2003 08:48:19 -0500 To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: Struts form validation of radio buttons and checkboxes YES YOU R RIGHT. WHEN THE CHECK BOX IS NOT CHECKED, THE FORM WILL NOT EVEN HAVE THAT ELEMENT PRESENT. THIS IS AN ERROR IN STRUTS

RE: Struts form validation of radio buttons and checkboxes

2003-09-04 Thread Andrew Hill
Have you implemented code in reset() to reset the checkbox to its unticked value in the form yet? Not sure why radio buttons would give you problems though. They usually have one option selected which would get submitted. -Original Message- From: Greg Amaroso [mailto:[EMAIL PROTECTED

Re: Struts form validation of radio buttons and checkboxes

2003-09-04 Thread Greg Amaroso
Mailing List [EMAIL PROTECTED] Date: Thu, 4 Sep 2003 22:38:19 +0800 To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: Struts form validation of radio buttons and checkboxes Have you implemented code in reset() to reset the checkbox to its unticked value in the form yet? Not sure why

RE: Struts form validation of radio buttons and checkboxes

2003-09-04 Thread Andrew Hill
? -Original Message- From: Greg Amaroso [mailto:[EMAIL PROTECTED] Sent: Thursday, 4 September 2003 23:03 To: Struts Users Mailing List Subject: Re: Struts form validation of radio buttons and checkboxes No, I haven't implemented it yet. But I must plead ignorance here, because I don't understand

RE: Struts form validation of radio buttons and checkboxes

2003-09-04 Thread Mathew, Manoj
, September 04, 2003 9:00 AM To: Struts Users Mailing List Subject: Re: Struts form validation of radio buttons and checkboxes I currently have Struts 1.1. Is the checkbox/radio update available in the most current nightly build? Also, should the form-property type be boolean or java.lang.Boolean (case

Re: Struts form validation of radio buttons and checkboxes

2003-09-04 Thread Robert Leland
[mailto:[EMAIL PROTECTED] Sent: Thursday, September 04, 2003 7:48 AM To: Struts Users Mailing List Subject: Re: Struts form validation of radio buttons and checkboxes Thanks for the response, but I don't think the problem lies with the actual validation that's happening. I suspect that when a user

Re: Struts form validation of radio buttons and checkboxes

2003-09-04 Thread Robert Leland
)? Thanks. From: Mathew, Manoj [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] Date: Thu, 4 Sep 2003 08:48:19 -0500 To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: Struts form validation of radio buttons and checkboxes YES YOU R RIGHT. WHEN THE CHECK BOX

Struts form validation of radio buttons and checkboxes

2003-09-03 Thread Greg Amaroso
I'm having trouble with the struts form validation framework when it comes to radio buttons and checkboxes. For some reason, I can validate any other type of field, but not radios/checkboxes. Here's where I seem to be having trouble: In the struts-config.xml file, should the form-property type

Re: Struts form validation of radio buttons and checkboxes

2003-09-03 Thread Robert Leland
Greg Amaroso wrote: I'm having trouble with the struts form validation framework when it comes to radio buttons and checkboxes. For some reason, I can validate any other type of field, but not radios/checkboxes. Here's where I seem to be having trouble: Try a --nightly-- build of struts. I

Newbie Validator and radio buttons question

2003-08-27 Thread John Boyes
the same mask with an input field and it works fine, so I'm stumped. I've also verified that my fieldnames etc are correct (I can get the required validation to work with the radio buttons). The mask I'm using is: var-value^(yes)$/var-value Does anyone know why this won't work, or have any

radio buttons in dynamic forms

2003-08-19 Thread Claire Suttle
to do using radio buttons. So my table looks something like: radiobuttonsomedatasometext (All from ArrayList[0]) radiobuttonsomedatasometext (All from ArrayList[1]) radiobuttonsomedatasometext (All from ArrayList[2]) and I need all these radio buttons to be part of the same

Re: radio buttons in dynamic forms

2003-08-19 Thread Hary
, looking at this page, to be able to select one and only one row in the table - which I am trying to do using radio buttons. So my table looks something like: radiobuttonsomedatasometext (All from ArrayList[0]) radiobuttonsomedatasometext (All from ArrayList[1]) radiobutton

Re: Radio active? :-) or a working example of nested radio buttons

2003-07-25 Thread Adam Hardy
totally changes the tags behavior. In summary, if you are tying to create a matrix of radio buttons and are pulling your hair out, try the above approach and see if it works for you. Here's what the jsp outputs from above: 07/24/2003 *Furner, Bob *Doe, John *Smith, James 07/31/2003 *Jones, Bill

Saving a dynamically created list of radio buttons

2003-07-25 Thread Sebastian F. Martin
Hello, I need to save a dynamically created list of radio buttons to the database. In order to give the administrator the possibility to give users roles for certain departments, I am creating a dynamic list of radio buttons, wich looks like this: DepartmentNo RightsUser Rights

Re: Radio active? :-) or a working example of nested radio buttons

2003-07-25 Thread ScottC
populated in the tag (using the bean define, etc.) and I hate to admit it, but I RTFM for html:radio and near the top of the doc there is a reference to how idName when populated totally changes the tags behavior. In summary, if you are tying to create a matrix of radio buttons

Re: Radio active? :-) or a working example of nested radio buttons

2003-07-24 Thread ScottC
of the doc there is a reference to how idName when populated totally changes the tags behavior. In summary, if you are tying to create a matrix of radio buttons and are pulling your hair out, try the above approach and see if it works for you. Here's what the jsp outputs from above: 07/24/2003

Nested Radio Buttons + Mutual Exclusion

2003-03-13 Thread Jonathan
Does anybody know how to use the nested:radio button component so That you can have mutually exclusive sets of radio buttons? Jon. *-* Jonathan Holloway, Dept. Of Computer Science, Aberystwyth University, Ceredigion

RE: Nested Radio Buttons + Mutual Exclusion

2003-03-13 Thread Sri Sankaran
Does anybody know how to use the nested:radio button component so That you can have mutually exclusive sets of radio buttons? I think you are referring to radio button groups when you mutually exclusive sets. Going on that premise, radio buttons with the same name are grouped

Mutually Exclusive Radio Buttons

2003-03-12 Thread Jonathan
I wonder whether somebody could help me out here. I'm trying to create a number of radio buttons that have to be mutually exclusive. I know that its possible just by setting the property to be the same value for all but what if I'm using a nested:iterate tag? Surely this will result

Multiple radio buttons and an ActionForm

2003-01-31 Thread Ian Howlett
Hi, I have a question regarding the use of multiple radio buttons on a form. The part that’s causing problems is taking the radio button input from the JSP page and putting it into an ActionForm. Then later, if the page has to be re-displayed, getting the data back out of the ActionForm and onto

RE: Multiple radio buttons and an ActionForm

2003-01-31 Thread Sri Sankaran
Radio buttons are shown selected if the property and value attributes are equal. So, html:radio property=gender value=m/Male will display selected if the gender property of the form-bean is m. public class MyFormBean extends ActionForm { private String gender; // getters and setters

Group of radio buttons with indexed=true within nested iterate

2003-01-17 Thread Yujin Kim
Hi I'm having some issues with indexed=true and nested iterate tags. I'm hoping some of you would be able to give me some directions. BTW, I had to strip out the orignial source code. I apologize for that if this makes difficult to follow. I'd be happy to provide more details in private

RE: Radio buttons inside an iterate tag?

2002-10-11 Thread Wendy Smoak
there was more to it. The radio buttons were actually *all* getting checked. input type=radio name=key value=0123456 checked=checked Apparently radio buttons are meant to display a pre-defined set of choices, and the html:radio tag will pre-select one of them based on a property of a bean. What I

RE: Radio buttons inside an iterate tag?

2002-10-11 Thread Kris Schneider
value=0123456 Thought I'd follow up on this one since there was more to it. The radio buttons were actually *all* getting checked. input type=radio name=key value=0123456 checked=checked Apparently radio buttons are meant to display a pre-defined set of choices, and the html:radio tag

RE: Radio buttons inside an iterate tag?

2002-10-11 Thread Wendy Smoak
This is what I was getting at in my previous reply. The property attribute of the radio tag should correspond to a property of your form, not a property of the beans in the collection you're iterating through. But there *is* no form. To clarify, there is an html form tag, but NOT a Struts

RE: Radio buttons inside an iterate tag?

2002-10-11 Thread Kris Schneider
Okaaay...if there's no html:form, why use html:radio? How 'bout just doing something like: input type=radio name=key value='bean:write name=resView property=key/' You said you don't want any radio buttons initially selected, bit here's a snippet from the HTML 4.01 spec: quote If no radio

RE: Radio buttons inside an iterate tag?

2002-10-11 Thread Karr, David
-Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED]] Sent: Friday, October 11, 2002 11:57 AM To: 'Struts Users Mailing List' Subject: RE: Radio buttons inside an iterate tag? This is what I was getting at in my previous reply. The property attribute of the radio

RE: Radio buttons inside an iterate tag?

2002-10-11 Thread Wendy Smoak
to set the action! [Lunch interfered with trying that out.] You said you don't want any radio buttons initially selected, bit here's a snippet from the HTML 4.01 spec: quote Since user agent behavior differs, authors should ensure that in each set of radio buttons that one is initially

Re: Radio buttons inside an iterate tag?

2002-10-10 Thread John Owen
] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Wednesday, October 09, 2002 6:29 PM Subject: Radio buttons inside an iterate tag? I can't find an example of this one: logic:iterate id=resView name=foundPersons html:radio property=key value=??? / bean:write name=resView property=key

Re: Radio buttons inside an iterate tag?

2002-10-10 Thread John Owen
Also, I think you have to supply the name attribute in the html:radio tag. - Original Message - From: John Owen [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, October 10, 2002 8:58 AM Subject: Re: Radio buttons inside an iterate tag? I think the body

RE: Radio buttons inside an iterate tag?

2002-10-10 Thread Wendy Smoak
John wrote: I think the body of the html:radio tag is the value, so just do this : logic:iterate id=resView name=foundPersons html:radio property=key bean:write name=resView property=key filter=true/ /html:radio /logic:iterate That didn't work: According to the TLD attribute

RE: Radio buttons inside an iterate tag?

2002-10-10 Thread Wendy Smoak
Back to the scriptlet or JSTL approach I'm still trying to get a property from a bean while iterating, and use it as the value of a radio button: logic:iterate id=resView name=foundPersons bean:write name=resView property=key filter=true/ html:radio property=key value=${resView.key}

RE: Radio buttons inside an iterate tag?

2002-10-10 Thread Sri Sankaran
-Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 10, 2002 1:13 PM To: 'Struts Users Mailing List' Subject: RE: Radio buttons inside an iterate tag? Back to the scriptlet or JSTL approach I'm still trying to get a property from a bean while

RE: Radio buttons inside an iterate tag?

2002-10-10 Thread Karr, David
-Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 10, 2002 10:13 AM To: 'Struts Users Mailing List' Subject: RE: Radio buttons inside an iterate tag? Back to the scriptlet or JSTL approach I'm still trying to get a property from a bean

RE: Radio buttons inside an iterate tag?

2002-10-10 Thread Wendy Smoak
When you get the Cannot find bean ... error message, it's hard to tell WHICH bean it can't find. Do you know that there is a bean named foundPersons? Yeah, for me, too. :) But yes, the foundPersons collection is there. The page loads fine if I comment out the the html:radio tag. It has to

RE: Radio buttons inside an iterate tag?

2002-10-10 Thread Wendy Smoak
org.apache.struts.taglib.html.BEAN (And it's definitely the html:radio tag, because if I comment it out, the page loads fine without radio buttons.) It seems to me that logic:iterate isn't putting that resView bean in a place that the scriptlet can find it. -- Wendy Smoak http://sourceforge.net/projects

RE: Radio buttons inside an iterate tag?

2002-10-10 Thread Sri Sankaran
to use the nested tags although that's where its strengths lie. Sri -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 10, 2002 2:26 PM To: 'Struts Users Mailing List' Subject: RE: Radio buttons inside an iterate tag? Sri wrote: You *should* be able

RE: Radio buttons inside an iterate tag?

2002-10-10 Thread Karr, David
-Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 10, 2002 11:26 AM To: 'Struts Users Mailing List' Subject: RE: Radio buttons inside an iterate tag? Sri wrote: You *should* be able to do html:radio property=key value=%=resView.getKey

RE: Radio buttons inside an iterate tag?

2002-10-10 Thread Sri Sankaran
I think that's it. I glossed over that detail since nested:iterate takes care of that for you. Sri -Original Message- From: Karr, David [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 10, 2002 2:48 PM To: 'Struts Users Mailing List' Subject: RE: Radio buttons inside an iterate tag

RE: Radio buttons inside an iterate tag?

2002-10-10 Thread Brian Holzer
Hi Wendy, Have you tried html:radio name=resView property=key value=Your scriplet from before/ You need to specify name=resView because this is the handle to each object during the iterate. Brian Wendy Smoak 10/10/02 09:00am John wrote: I think the body of the tag is the value, so

RE: Radio buttons inside an iterate tag?

2002-10-10 Thread Kris Schneider
()%/ bean:write name=resView property=key filter=true/ Same error. org.apache.jasper.JasperException: Cannot find bean under name org.apache.struts.taglib.html.BEAN (And it's definitely the html:radio tag, because if I comment it out, the page loads fine without radio buttons.) It seems

RE: Radio buttons inside an iterate tag?

2002-10-10 Thread Wendy Smoak
Brian wrote: You need to specify name=resView because this is the handle to each object during the iterate. Finally! This works: logic:iterate id=resView name=foundPersons type=edu.asu.vpia.value.ResolutionView html:radio name=resView property=key value=%=resView.getKey()%/ It turns into:

Radio buttons inside an iterate tag?

2002-10-09 Thread Wendy Smoak
I can't find an example of this one: logic:iterate id=resView name=foundPersons html:radio property=key value=??? / bean:write name=resView property=key filter=true/ /logic:iterate What I really need for the radio button is something like: html:radio property=key value=%

Re: Radio buttons inside an iterate tag?

2002-10-09 Thread Will Jaynes
Wendy, Your example with the scriptlet is just what you need to do. This is a case where scriptlets are still necessary. JSTL will be the way to do it in the future, but you don't need to move to them before you are ready. And to use JSTL now in a struts tag like html:radio you would need to

How to handle dynamic number of radio buttons using struts?

2002-07-30 Thread Gupta, Priyank x57787
Hi All, I am trying to write a struts application where I will be getting a set of options that I need to display using groups of radio buttons. For example: Group 1 *Red *Blue *Green Group 2 *Red *Blue *Green Group 3 *Red *Blue *Green ... Group n *Red *Blue *Green Here

RE: How to handle dynamic number of radio buttons using struts?

2002-07-30 Thread SATISH.T
To: 'Struts Users Mailing List' Subject: How to handle dynamic number of radio buttons using struts? Hi All, I am trying to write a struts application where I will be getting a set of options that I need to display using groups of radio buttons. For example: Group 1 *Red *Blue *Green Group 2 *Red

RE: How to handle dynamic number of radio buttons using struts?

2002-07-30 Thread Gupta, Priyank x57787
' Subject: RE: How to handle dynamic number of radio buttons using struts? Try reading the nested tutorial at http://www.keyboardmonkey.com/struts/primer/Tutorial_partOne.html That should give u a fair idea ,how to go about it. Regards, Satish -Original Message- From: Gupta, Priyank x57787

RE: How to handle dynamic number of radio buttons using struts?

2002-07-30 Thread dhay
PROTECTED] cc:(bcc: David Hay/Lex/Lexmark) Subject: RE: How to handle dynamic number of radio buttons using struts? I couldn't open the link that you sent. Anyways thanks for the help. I will try to find out radio button related stuff on the site that you have suggested. -Original Message

Validator and radio buttons

2002-05-27 Thread Todd Pierce
Can anyone help? I am using the Validator add on to do some client-side form validation, but have been unsuccessful in getting it to work with radio buttons or checkboxes. Any advice? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: radio buttons

2002-05-17 Thread Mike Dewhirst
Hello and thanks for reading! I have a form that contains a Collection of objects. The Objects have these String properties: ownAccess, roleAccess and allAccess. How can I write this out using the html:radio tags? Can use them at all for this? Each property will need a radio button group,

radio buttons

2002-05-16 Thread Mike Dewhirst
Hello and thanks for reading! I have a form that contains a Collection of objects. The Objects have these String properties: ownAccess, roleAccess and allAccess. How can I write this out using the html:radio tags? Can use them at all for this? Each property will need a radio button group,

Table of Radio Buttons

2002-05-02 Thread Daniel Haynes
Hi, I am attempting to create a (fairly) simple web app using struts. I need to create a table of questions with each question having radio buttons (a range of numeric values) so the user can input and submit their answers: question1o o o o o o o o question2o o o o o o o o

RE: Table of Radio Buttons

2002-05-02 Thread Sandra Cann
of Radio Buttons Hi, I am attempting to create a (fairly) simple web app using struts. I need to create a table of questions with each question having radio buttons (a range of numeric values) so the user can input and submit their answers: question1o o o o o o o o question2o o

RE: tabular radio buttons :(

2002-04-29 Thread James Mitchell
tabular radio buttons :(You'll probably get a quicker response using the strut-user list. JM -Original Message- From: Chakradhar Tallam [mailto:[EMAIL PROTECTED]] Sent: Monday, April 29, 2002 11:48 PM To: '[EMAIL PROTECTED]' Subject: tabular radio buttons :( hi guys

Re: Radio Buttons

2002-04-18 Thread Struts Developer
PROTECTED] Subject: Radio Buttons Date: Mon, 15 Apr 2002 19:11:37 +0530 Hi All, I am using struts html tags to have radiobuttons on my JSP. There are three of them. How do I keep one of them selected by default ? Thanks Sanjeev -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional

Groups of radio buttons

2002-03-15 Thread lindsay . hamoudi
in a table of radio buttons, so that the user can choose a color to represent something. I have begun by logic:iterating over the array. I'd like the value of each radio button to be the color (i.e. the current String from the array). It seems that there is no obvious support for something

Preselecting Radio Buttons

2002-02-04 Thread John M. Corro
I would have thought this was a simple thing, but I must be missing something. Is there an attribute to the html:radio tag that sets it as selected? I want to have a group of radio buttons w/ 1 button being the default. I didn't see anything in the tag lib documentation and I tried coding

Re: Preselecting Radio Buttons

2002-02-04 Thread MARK NICHOLS
the Internet on computers now. - Homer Simpson [EMAIL PROTECTED] 02/04/02 09:57AM I would have thought this was a simple thing, but I must be missing something. Is there an attribute to the html:radio tag that sets it as selected? I want to have a group of radio buttons w/ 1 button being

Re: Preselecting Radio Buttons

2002-02-04 Thread John M. Corro
though! - Original Message - From: MARK NICHOLS [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, February 04, 2002 10:25 AM Subject: Re: Preselecting Radio Buttons Add the 'checked' parm to your default radio button, like so... What is your gender?br Female input type=radio name

Re: Preselecting Radio Buttons

2002-02-04 Thread Ted Husted
AM Subject: Re: Preselecting Radio Buttons Add the 'checked' parm to your default radio button, like so... What is your gender?br Female input type=radio name=gender value=female checked Male input type=radio name=gender value=male _ /\/\ark /\/ichols

Re: Preselecting Radio Buttons

2002-02-04 Thread John M. Corro
For those interested, Ivan Siviero was kind enough to answer my question. Apparently, you preselect a radio button based on the incoming value from the form. So for set of radio buttons... html:radio property=propertyname value=1 html:radio property=propertyname value=2 you'd preselect

RE: Preselecting Radio Buttons

2002-02-04 Thread Maturo, Larry
that as the initial value. I haven't used the radio tag yet, so I may be totally off track here. I hope this helps. -- Larry -Original Message- From: John M. Corro [mailto:[EMAIL PROTECTED]] Sent: Monday, February 04, 2002 9:57 AM To: [EMAIL PROTECTED] Subject: Preselecting Radio Buttons I would have

prepopulate radio buttons?

2002-01-30 Thread humera . f . arshi
How can I prepopulate the radio buttons with the value coming from database and also be able to reselect a different value when I am submitting the form again. My scenario is I have a save task where I save the value selected for radio button to the database. I come back again and retrieve

prepopulate radio buttons

2002-01-30 Thread humera . f . arshi
How can I prepopulate the radio buttons with the value coming from database and also be able to reselect a different value when I am submitting the form again. My scenario is I have a save task where I save the value selected for radio button to the database. I come back again and retrieve

Re: Radio Buttons

2001-10-27 Thread martin . cooper
: Wednesday, October 24, 2001 9:55 AM Subject: Radio Buttons Hello All, I'm confused on the usage of the Radio Buttons. I have simply have two html:radio tags defined. Each have the same property and of course, their values are different. But when my form bean is populated upon submit

Radio Buttons

2001-10-24 Thread Steven Leija
Hello All, I'm confused on the usage of the Radio Buttons. I have simply have two html:radio tags defined. Each have the same property and of course, their values are different. But when my form bean is populated upon submit, the values are not read in. I changed the values of the radio

RE: How To: Radio Buttons and Regular buttons

2001-10-23 Thread dhay
: RE: How To: Radio Buttons and Regular buttons I ended up writing this way: % Collection col = (Collection)request.getAttribute(AttributeKeys.SuppliersLookupListKey); Iterator iter = col.iterator(); while (iter.hasNext()) { SupplierModel model = (SupplierModel)iter.next

How To: Radio Buttons

2001-10-22 Thread L. Yeung
Hi All! I need to iterate a collection of supplier info with radio buttons. I want the value property to have dynamic values extractd from the collection. logic:iterate name=user id=suppliersLookupList property=suppliersLookupListCollection .. html:radio name=suppliersLookupList property

RE: How To: Radio Buttons and Regular buttons

2001-10-22 Thread Strichartz, Beth
] Subject: How To: Radio Buttons Hi All! I need to iterate a collection of supplier info with radio buttons. I want the value property to have dynamic values extractd from the collection. logic:iterate name=user id=suppliersLookupList property=suppliersLookupListCollection .. html:radio name

RE: How To: Radio Buttons and Regular buttons

2001-10-22 Thread dhay
to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc:(bcc: David Hay/Lex/Lexmark) Subject: RE: How To: Radio Buttons and Regular buttons Hi all, I have a similar questions. In my iterate I have a regular Button and I need to know which one was clicked. Therefore, I have to have a dynamic value

RE: How To: Radio Buttons and Regular buttons

2001-10-22 Thread Strichartz, Beth
What if I am looking for more than the iterator? I really need the address Id... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, October 22, 2001 5:25 PM To: [EMAIL PROTECTED] Subject: RE: How To: Radio Buttons and Regular buttons The indexed

RE: How To: Radio Buttons and Regular buttons

2001-10-22 Thread dhay
: David Hay/Lex/Lexmark) Subject: RE: How To: Radio Buttons and Regular buttons What if I am looking for more than the iterator? I really need the address Id... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, October 22, 2001 5:25 PM To: [EMAIL PROTECTED

RE: How To: Radio Buttons and Regular buttons

2001-10-22 Thread L. Yeung
Strichartz, Beth [EMAIL PROTECTED] on 10/22/2001 05:36:45 PM Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc:(bcc: David Hay/Lex/Lexmark) Subject: RE: How To: Radio Buttons and Regular buttons What if I am looking for more than the iterator? I really

radio buttons

2001-10-02 Thread Smith, Chris
Good morning. Does anybody know how to use radio buttons in a struts app? It appears from the documentation, that I might have to treat each button as it's own entity versus grouping them together in a box. Is this true? Ideally, I'd like to treat the buttons like a select box so to speak, i.e

Re: How to use radio-Buttons when iterating

2001-08-30 Thread Ralph vd Houdt
How to use radio-Buttons when iteratingThis should do the trick. html:radio property=auswahl value=%= adresse.getName() % / or even html:radio property=auswahl value=bean:write name=adresse property=name/ / Greetings Ralph - Original Message - From: Friedli Beat [UFA AG Her

Now Look with radio-Buttons when iterating

2001-08-30 Thread Friedli Beat [UFA AG Her]
Title: Now Look with radio-Buttons when iterating Hi Ralph I tried ... html:radio property=auswahl value=%= adresse.getName() % / and got ... A Servlet Exception Has Occurred org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: 49 in the jsp

Re: Now Look with radio-Buttons when iterating

2001-08-30 Thread Ralph vd Houdt
Now Look with radio-Buttons when iteratingYou should add the classname of adresse to the type attribute of the iteration. logic:iterate name=radio property=adressen id=adresse type=the fully classified classname of adresse html:radio property=auswahl value=%= adresse.getName

radio buttons

2001-08-08 Thread Rachel Warburton
using the strut tag library does any one no of a way of making two radio buttons in the same group ie click one deselects the other one thanks ** This email and any files transmitted with it are confidential and intended

Re: radio buttons

2001-08-08 Thread Matt Raible
give them the same name. --- Rachel Warburton [EMAIL PROTECTED] wrote: using the strut tag library does any one no of a way of making two radio buttons in the same group ie click one deselects the other one thanks

RE: radio buttons

2001-08-08 Thread Allamsetty, Venkata
name=dtActionForm property=defaultTime value=15 nbsp;15 Minutes/html:radiobrbr hope that helps thanks VA -Original Message- From: Rachel Warburton [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 08, 2001 10:40 AM To: '[EMAIL PROTECTED]' Subject: radio buttons using

Checked radio buttons

2001-07-06 Thread Guus Holshuijsen
I'm trying to find out if it is possible to set a radiobutton to checked using the HTML tag library. The documentation does not describe it. Regards, Guus Guus Holshuijsen, VideturHorsten 1, unit 1.185612 AX Eindhoven The NetherlandsT:+31-40-2450214 F:+31-40-2939343 M:+31-6-25077204

Re: Checked radio buttons

2001-07-06 Thread Jean-Noel Ribette
A radio button will be cheked if its value is equals to the value of the form property specified. Jean-Noel - Original Message - From: Guus Holshuijsen [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, July 06, 2001 10:28 AM Subject: Checked radio buttons I'm trying to find out

RE: Checked radio buttons

2001-07-06 Thread Dudley [EMAIL PROTECTED]
can anyone supply a good radio buttons example? preferably with more than 1 button..pLEASE!! -Original Message- From: Jean-Noel Ribette [mailto:[EMAIL PROTECTED]] Sent: Friday, July 06, 2001 11:10 AM To: [EMAIL PROTECTED] Subject: Re: Checked radio buttons A radio button

RE: Checked radio buttons

2001-07-06 Thread flare
can anyone supply a good radio buttons example? preferably with more than 1 button..pLEASE!! that's what I'm using tr th align=right bean:message key=prompt.newsletter/ /th td align=left colspan=5 html:radio property=newsletter value=si /si html:radio property=newsletter value

  1   2   >