Thanks Jim, and everyone else, for your help.
Ken -----Original Message----- From: Jim Barrows [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 18, 2004 12:04 PM To: Struts Users Mailing List Subject: RE: Learning the basics > -----Original Message----- > From: Kenneth Litwak [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 18, 2004 11:52 AM > To: Struts Users Mailing List > Subject: RE: Learning the basics > > > Hi Jim, > > Well, I did actually look in google before posting. If I was doing > this in regular HTML, I would not use Javascript, which I > view as evil. Ah... sorry... How would you do it without javascript? Which, while evil, is occasionaly useful. As occasional as possible of course. I was thinking you would want to do it as the user clicked the radio button. Unless you're talking about: <html:form action="/dispatchAction"> <html:radio property="action" value="action1"/> <html:radio property="action" value="action2"/> <html:submit/> </html:form> You can look at dispatchAction, or LookupDispatchAction for details on how to set that up. And for more info: http://husted.com/struts/tips/002.html http://husted.com/struts/tips/003.html And in general: http://husted.com/struts/tips/index.html > Thanks. > > Ken > > -----Original Message----- > From: Jim Barrows [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 18, 2004 11:49 AM > To: Struts Users Mailing List > Subject: RE: Learning the basics > > > -----Original Message----- > > From: Kenneth Litwak [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, August 18, 2004 11:23 AM > > To: Struts Users Mailing List > > Subject: Learning the basics > > > > > > If I'm an experienced developer, but new to Struts, do I > > need to buy > > a book to write a basic app, or is there an online tutorial > > or something > > like that that is sufficient? One of the things I'd like to > > figure out > > is to how to have three radio buttons, and a regular button, > > and have a > > different action for each radio button. I can't figure out > > how to wire > > that. Thanks. > > http://www.google.com/search?q=struts+tutorial&sourceid=mozill a-search&s tart=0&start=0 How would you wire these three in regular html? You need to trap the onclick action in javascript to do that, just like in regular html. When looking at how do I in struts, sometimes the answer is actually how would I in html. Then look for something similar in struts tags. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]