Radio Button..in struts..

2001-09-16 Thread Balasubrahmanyam Pasumarthy
Hi All, I'm for the first time implementing struts in my project. I've got a set of radio buttons inside table (row wise). I need to set the value / name of the radio button with the form bean's property( say companyNumber) How I can do that? Anyway help is appreciated. Thanks

Re: Radio Button..in struts..

2001-09-16 Thread Jishan Li
Hi, html:form ... ... html:radio value=0 proptery=companyNumber/1 html:radio value=1 proptery=companyNumber/2 html:radio value=2 proptery=companyNumber/3 html:radio value=3 proptery=companyNumber/4 ... /html:form --- Balasubrahmanyam Pasumarthy [EMAIL PROTECTED] £º Hi All, I'm for the first

jdbc connection

2001-09-16 Thread Tamanaei, ITS PersWi C500, DA
Hi, i want to build a jdbc-connection to my Oracle database. How should i configure my server.xml from Tomcat? Thanks. Ebi

Re: Radio Button..in struts..

2001-09-16 Thread Renaud Waldura
You could also iterate over a collection of your company numbers (if you have many). E.g. below I'm iterating over a collection of platforms (I previously prepared a collection named platforms). The radio buttons let me choose one platform; this is equivalent to a pop-up menu widget.

populate form using parameters instead of form

2001-09-16 Thread Brian K. Buckley
Hello, I have a working MyForm subclass ActionForm. Elsewhere in my application, I'd like to use the same MyForm but populate it using the parameters in the httpquest (the querystring), so that a user can click on a link (setup with the appropriate querystring) to submit data. To get this

Re: populate form using parameters instead of form

2001-09-16 Thread Erik Hatcher
What is your complete struts-config.xml? Also, what is the HTML hyperlink to that action like? If you've got the form-bean and action set up appropriately there is no problem with making a hyperlink directly to an action without using a form. Erik - Original Message - From:

indexed form properties

2001-09-16 Thread Robert Parker
Can anyone shed some light on indexed properties. According to the documentation for the html taglib, the text tag can take an attribute called indexed which can be used to access say arrays of fields etc. However, when I look at the associated TLD, there is no indexed attribute. Thus I seem to

Re: indexed form properties

2001-09-16 Thread Ted Husted
The indexed properties are actually available in the nightly build, and not Struts 1.0. We're working on an update to clarify the documentation. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463 --

Re: populate form using parameters instead of form

2001-09-16 Thread Brian K. Buckley
Thanks Eric, Just asking those question make me study things harder and I got it working. Amongst other things, I was omitting the input attribute necessary to tell struts where to go if there are errors. action path=/linktest name=myForm scope=request type=myAction