Unfortunately, IBM's portal server doesn't work as well as its advertised.  The 
PageListener interface is suppose to allow you to 
put markup in the Head section of a page but it doesn't work.  I suspect you would 
have to do the same thing that I'm doing,
namely modifying the jsp (or velocity template) which contains the HEAD markup tags.  
While I don't like that solution, since
the information is not located with the portlet, it does work.

Wayne Christian
Sr. Staff Software Engineer
Genesys Telecommunications Labs
2100 Gateway Centre Blvd.  Suite 300
Morrisville,  NC      27560
?       Office: (919) 466-6151
        Fax:    (919) 466-6157
?       EMail:  mailto:[EMAIL PROTECTED]

-----Original Message-----
From: Sandeep G Nijsure [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 17, 2002 6:48 PM
To: [EMAIL PROTECTED]
Subject: Jetspeed portlets and Javascript

Hi all,

If I want to use Javascript in the rendering of a portlet, how do I go
about? Ideally, portlet is not supposed to output any page level tags,
like <html> or <head>, since portlet is just a part of an HTML page, and
not the entire page. But Javascript needs the functions to be declared in
<head> section. So how to deal with this?

IBM websphere has a PageListener or something that basically allows you to
add something to the page level tags, when the page is being created. Is
there a corresponding mechanism in Jetspeed?

Thanks,
Sandeep


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to