File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Retrieve a dataTable ID for javascript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Retrieve a dataTable ID for javascript" Watch "Retrieve a dataTable ID for javascript" New topic
Author

Retrieve a dataTable ID for javascript

Kelly Adams
Greenhorn

Joined: Feb 15, 2003
Posts: 13
Hi,

I tried to retrieve a dataTable ID in JSF using the following two ways:

1. document.forms["form1"].elements["form1 ataTableID"]
2. Use a proxyID: http://www.jsftutorials.com/proxyTag.html#feedback

Both ways gave me Javascript error - null object exception

How can I get the dataTable ID then?

Thanks!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Retrieve a dataTable ID for javascript
 
Similar Threads
commandLink not working in datatable+jsf2.0
[JSF 2.0] re-render a dataTable with Ajax ?
How to stop JSF to append extra text in ID attribute of th components
Google Map Mashup in JSF
inputText, javascript