aspose file tools
The moose likes Struts and the fly likes Passing a collection to javascript Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Reply Bookmark "Passing a collection to javascript" Watch "Passing a collection to javascript" New topic
Author

Passing a collection to javascript

Anjali Naveen
Greenhorn

Joined: Jun 28, 2005
Posts: 15
Problem:

I have a drop down of items and on the click of a particular item i want the amount of the item displayed on a text box.
I have retireved a list of items (Each Item has a id, name and amount). I have also displayed the items in a drop down. My problem is populating a text field with the amount of the item that has been selected.

<td><html:select property="selectedFee" >
<html ption value="0" >Select One</html ption>
<html ptions collection="feesList" property="feeName"></html ptions>
</html:select>


<td>
<mifos:mifosalphanumtext property="selectedFee"/>
</td>
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Passing a collection to javascript
 
Similar Threads
how to fill a combobox with values from objects in an ArrayList...
Passing a collection to javascript
Regarding html:select kind of URGENT
dynamic data arranged in alphabetical order in html:select and html:options
After validation drop down box values will be lost.