• 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
  • Paul Clapham
  • Ron McLeod
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Rob Spoor
  • Devaka Cooray
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Jj Roberts
  • Al Hobbs
  • Piet Souris

onload function is not working in portlets

 
Ranch Hand
Posts: 33
  • 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 websphere portal server.
I think portal server doesnt support body tag
I have placed onload tag in body tag.
Is there any alternative method to call onload functionality in portlets?

Thanks & Regards,
K.Kiran Kumar
 
Ranch Hand
Posts: 3851
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

kasyaparushi kiran wrote:Hi,

I am working on websphere portal server.
I think portal server doesnt support body tag
I have placed onload tag in body tag.
Is there any alternative method to call onload functionality in portlets?

Thanks & Regards,
K.Kiran Kumar



You need to think how "portal" creates a page that is served to browser.
Typically a portal page has many portlets in it. If you put <body> tag in each of the "portlet" you will end up with too many <body> tags in "final" page that is served to browser.

May be you can call your function in <body> tag added by "portal". I am not sure which JSP in WebSphere Portal.
reply
    Bookmark Topic Watch Topic
  • New Topic