Hai All,
 I wrote a portlet and I wanted to display this portlet only when the admin loged in 
how I can do this. How is the configuration for the portlet and which files.

Greetings,
Nishar.

///////////////////////////////////////////////////////////////////

public class LdapAdminPortlet extends AbstractPortlet{

  public LdapAdminPortlet() {
  }

  public ConcreteElement getContent(RunData data){

      try{

            return new StringElement ("test ") ;

      }
      catch(Exception ee){

            Log.info(" exception from LdapAdminPortlet : "+ee);
            ee.printStackTrace();
      }

            return new StringElement ("test ") ;
  }
}


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

Reply via email to