0 Replies Latest reply on Mar 17, 2006 2:31 PM by Sudhir Kumar Singh

    UseBean in Portal

    Sudhir Kumar Singh Newbie

      Can we use Jsp useBean tag in Portal? Here is the simple code I am trying to use but it's not working.

      <jsp:useBean id="partner" scope="session" class="org.jboss.portlet.hello.PartnerForm"/>
      <jsp:setProperty name="partner" property="*" />

      <td><input type="text" title="" value="<jsp:getProperty name="partner" property="name" />" id="name" name="name" size="40"></td>

      On Process action I am not doing any thing and do view is again including the same jsp. So name filed should the previous entered values but it is not. Let me know what is wrong if any one have used useBean in Protal.

      Thaks in advance.