jou can modify the juserloginaction or write your own one... -----Ursprüngliche Nachricht----- Von: Hari, Piyush [mailto:[EMAIL PROTECTED] Gesendet: Montag, 8. August 2005 22:21 An: '[email protected]' Betreff: How to programmitically add or delete a portlet form a PSML page ?
Here is my scenario : http://localhost:8080/jetspeed/portals/default-page.psml <http://localhost:8080/jetspeed/portals/default-page.psml> carries a log-in portlet. Once, the user enters the userID and password and clicks on the sign-in button, I want the same default-page to reopen without the login portlet. How can I do that ? Here is my JSP page I use in the Login portlet: <%@ page session="false" %> <%@ taglib uri="http://java.sun.com/portlet" prefix="portlet" %> <portlet:defineObjects/> <form action = "http://localhost:8080/jetspeed/portal/default-page.psml"> <table> <tr> <td><font size="2" face="Verdana">User ID :</font></td> <td><input type="text" id="text_userID" value=""></td> </tr> <tr> <td><font size="2" face="Verdana">Password :</font></td> <td><input type="text" id="text_pass" value=""></td> </tr> <tr> <td/> <td> <input type="submit" value="Signin"> </td> </tr> </table> </form> I would really appreciate if someone can help me out with this. Thanks in advance, Piyush --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
