• 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
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Javascript in JSF portlets(IBM Websphere portals)

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

Can anybody share some tutorials as how to use Javascript in JSF portlets in IBM Websphere portals.

Thanks
 
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I've tried hacking JavaScript inside a JSR-168 portlet running on WebSphere Portal, and I was never successful. I was using Rational Application Developer 6.0, using their JSF/portlet libraries, which have a lot of nifty JavaScript built-in.

I would first find a good book (like Core JavaServer Faces by Geary) that describes how you can properly name HTML elements generated by JSF libraries, and then account for the fact that they need to be namespace-encoded. The namespace-encoding can really throw people, but if you throw some JSF stuff on the page, and View Source, that may help you.

In general the JSF documentation for WebSphere Portal is very sparse. On the plus side, the integration with Portal is quite elegant, and works in a very straightforward way.

Good luck,
 
Legend has it that if you rub the right tiny ad, a genie comes out.
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic