HTMLB Code not working Please help.....

Hello All,
Ive new in HTMLB. Have written this code wherein a JSP page is called from a JSPDynPage file. But am <b>not getting any output. Its all blank.</b> Dunno if im going wrong .... Please help.
Struggling with this since y'day.
<b>CODE</b>:
<u><b>UserInfoDynPage.java</b></u>
package com.sap.sample;
import com.sapportals.htmlb.*;
import com.sapportals.htmlb.enum.*;
import com.sapportals.htmlb.event.*;
import com.sapportals.htmlb.page.*;
import com.sapportals.portal.htmlb.page.*;
import com.sapportals.portal.prt.component.*;
public class UserInfoDynPage extends PageProcessorComponent
{     public DynPage getPage()
     {     return new UserInfoDynPageDynPage();
       public static class UserInfoDynPageDynPage extends JSPDynPage
       {     //private UserInfoBean UserInfoBean = null;
         public void doInitialization()
         {          IPortalComponentRequest request = (IPortalComponentRequest) this.getRequest();
                   IPortalComponentSession componentSession = ((IPortalComponentRequest)getRequest()).getComponentSession();
                /*Object o = componentSession.getValue("UserInfoBean");
                if(o==null || !(o instanceof UserInfoBean))
                {     UserInfoBean = new UserInfoBean();
                  componentSession.putValue("UserInfoBean",UserInfoBean);
                else
                {     UserInfoBean = (UserInfoBean) o;
                // fill your bean with data here...
    public void doProcessAfterInput() throws PageException
    public void doProcessBeforeOutput() throws PageException
    {     this.setJspName("UserInfo.jsp");
<u><b>UserInfo.jsp</b></u>
<%@ taglib uri="tagLib" prefix="hjb" %>
<hbj:content id="myContext" >
     <hbj:page title="UserInfo Page">
        <hbj:form id="myFormId" >
             <hbj:textView id="title" text="Search Screen" design="STANDARD" />
             <table>
                  <tr>
                       <td>
                            <hbj:label id:"lb_Search" text"Search For" labelFor="search" />
                       </td>
                       <td>
                            <hbj:inputField id="search" type="string" maxlength="25" />
                       </td>
                  </tr>
                  <tr>
                       <td>
                            <hbj:label id="lb_SearchType" text="Search Type" labelFor="searchType" />
                       </td>
                       <td>
                            <hbj:dropdownListBox id="SearchType" tooltip="UME Object  to search for" disabled="false">
                                 <hbj:listBoxItem key="user" value="User" />
                                 <hbj:listBoxItem key="group" value="Group" />
                                 <hbj:listBoxItem key="role" value="Role" />
                            </hbj:dropdownListBox>
                       </td>
                  </tr>
             </table>
             <br>
             <hbj:button id="submit" text"search!" tooltip="Click me to search" disabled="false" design="emphasized" />
             <br>
             <br>
   </hbj:form>
  </hbj:page>
</hbj:content>
<u><b>Portalapp.xml</b></u>
<?xml version="1.0" encoding="utf-8"?>
<application>
  <application-config>
    <property name="PrivateSharingReference" value="com.sap.portal.htmlb"/>
  </application-config>
  <components>
    <component name="UserInfoDynPage">
      <component-config>
        <property name="ClassName" value="com.sap.sample.UserInfoDynPage"/>
        <property name="ComponentType" value="jspnative"/>
        <property name="JSP" value="pagelet/UserInfo.jsp"/>
      </component-config>
      <component-profile>
           <property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld"/>
      </component-profile>     
    </component>
  </components>
  <services/>
</application>
=============
Please help.
Awaiting Reply.
Thanks,
Uday
Message was edited by: Uday Hardikar

Hi BHI,
Thank you for your input.
Had made silly mistake and got solved.
And now, I have another problem which is related to this same program but the error seems to be a different one.
Have posted another query:
Error in HTMLB program..Please help..Urgent OR Error in HTMLB program..Please help..Urgent
Please help me as its kinda urgent.
Thanks in advance.
Uday

Similar Messages

Maybe you are looking for

  • Songs Can't be Synced Because Playlists No Longer Exist?

    Color me kind of stupid, but could you tell me why all music has disappeared from my Nano (second) and iTunes tells me, after I've connected, "Songs on the iPod "My Name's iPod" cannot be synced because all the playlists selected for synching no long

  • File not exist in application server

    Dear experts,                     Can anybody told me that if file not exist into the application server then what will happen to open dataset statement? it will show error or what? regards, sameek.

  • GW Messenger Client for 64-bit Windows?

    Has anyone found a way to run the messenger client on Windows Vista or 7 64-bit? The installer will not run, no matter which options I try. You get "The version of this file is not compatible with the version of Windows you're running. Check your com

  • How to switch off my main screen (Imac 24") to use an external proyector?

    Please Help! How to switch off my main screen (Imac 24") to use an external proyector? It's not comfortable when you want to see a nice movie! Thanks Jack

  • How To Format Sysdate

    How do you format sysdate? I want the results to be in date format, but I only want the date itself without the time added as 6/14/2010 The To_Date function doesn't seem to work as it converts a string to a date and sysdate isn't a string? Thanks for