How can I use <portlet:namespace/> tag?
I develop a portlet for Sun Sun Java System Portal Server. This portlet can be inserted on one page two or more times. I need a solution for exact definition of html element, because in every of this portlets works JavaScript, which get and set values of html-elemnts in this portlet.
Thank you.
[308 byte] By [
DenisTa] at [2007-11-27 0:26:40]

# 1
Here are some reference urls which will help:
Developing a Portlet Application (using Creator)
http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/por tlets.html
Deploying a Portlet to Sun Java Portal Server
http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/por tletdeploy.html
http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/goo gleportlet.html
http://docs-pdf.sun.com/817-7695/817-7695.pdf
# 2
Thank you, Rradhika.
But it is not what I need.
I have script:
nextButton = document.getElementById("form1:nextButton")
It works perfect on pluto portal, when only one portlet on page.
But if two or more instances of my portlets will be on one page, then some problems can appear.