Skip to Content
0
Former Member
Jul 06, 2005 at 02:45 PM

HTMLB classes in non-portal application

11 Views

Hi,

I want to use HTMLB library in J2EE web application. I made an example using htmlb taglib in JSP. But i want using classlib in servlet. How can i do?

tablib example code :

<%@ page language="java" %>

<%@ taglib uri="/htmlb" prefix="hbj" %>

<hbj:page title="sap page">

<hbj:form

id="myFormId"

method="post"

target="_blank"

encodingType="multipart/form-data"

This form submits to a new web client window

<br>

because of 'target=_blank'.

<br>

<br>

<hbj:inputField

id="myInputField1"

type="String"

invalid="false"

width="310"

value="After editing press <Enter> to submit"

visible="true"

disabled="false"

required="true"

maxlength="30"

size="50">

</hbj:inputField>

<br>

<br>

<hbj:button

id="oKbutton"

text="OK"

onClick="onOKClick"

design="EMPHASIZED"

width="100">

<%

myFormId.setDefaultButton(oKbutton);

%>

</hbj:button>

<hbj:button

id="Infobutton"

text="Info"

onClick="onInfoClick"

width="100"

/>

<hbj:button

id="Cancelbutton"

text="Cancel"

onClick="onCanClick"

width="100"

/>

</hbj:form>

</hbj:page>