wood burning stoves 2.0*
The moose likes JSF and the fly likes How to call onload() from Datatable    Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "How to call onload() from Datatable    " Watch "How to call onload() from Datatable    " New topic
Author

How to call onload() from Datatable

suman roy
Greenhorn

Joined: Apr 10, 2007
Posts: 1
Hi,

I am having a javascript which actually change the color of the selected row when a radio button is clicked. The radio button is present on the data table.

script :



I am calling this from a radio select in a data table :


Problem:

When I am going to next and coming back to the form, the radio button is selected, but the highlighting is not shown for the particular row.

The reason is I am calling the javascript function from onclickk method of the outputLinkEx.

Can anybody guide me how to I display the selected row after coming back to the page? May be I have to call the method from onload.

Regards,
Suman.
 
Don't get me started about those stupid light bulbs.
 
subject: How to call onload() from Datatable
 
Similar Threads
Anchor tag calling Javascript function
get id of selected rows
row selected index id (rich data table)
Problrm in calling userdefined method in onclick event of button dynamically
Default selection of Radio Button when added to h:panelGrid