• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Probem in javascript in a JSF when implementing tiles in it

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am working on RSA 6.0
I am writnig a jsp using jsf components. Also i am handling some hide and show functionality of drop down components through javascript.
The jsp is running fine with all the javascript but when i imlpemented the tiles concept in th jsf, the same files started throwing javascript error. It says that 'option' is null or not an object.

"listCoverType" is returning null

PLease refer the Snippet :


[ Edited to use code tags - Paul Sturrock ]
[ May 23, 2008: Message edited by: Paul Sturrock ]
 
Saloon Keeper
Posts: 27819
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Chances are good that the tiling is altering the ID of the generated control. This is where browser tools like the Firefox DOM explorer can be useful.

Or, if you prefer, "show page source".
 
Radhe Krishna
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks a lot.. I view the source of the page and yes the id was a different one. So i wrote in the newly generated id and it worked. Thanks again
 
reply
    Bookmark Topic Watch Topic
  • New Topic