1 2 Previous Next 17 Replies Latest reply on Jul 23, 2007 5:47 PM by krishna Gopu

    Multiple instance of same portlet on same page

    Naveen Kumar Newbie

      hi,

      I am facing some problems with Multiple instance of same portlet on same page. I am creating a simple portlet which will be redirected to a JSP page having some input fields and having some buttons. Based on the user login I am enabling/disabling the buttons using javascript.(document.formName.buttonName.disabled = true)
      I created multiple instances of same portlet in the Dashboard.

      I found that for one instance the buttons are disabled/enabled as per the logic but for the second instance its throwing java script error as (document.formName.buttonName is null or not an object) the two instances(JSP) has the same FORM name in a single page. Is that I have to include some portlet tags in jsp to avoid this behavior.

      Thanks in advance.

        1 2 Previous Next