cancel
Showing results for 
Search instead for 
Did you mean: 

HTMLB in NWDS do not display visible controls in the EP

Former Member
0 Kudos

I created a JSPDyn program in NWDS that include the following jsp code

<hbj:content id="myContext" >

<hbj:page title="Primer Ejercicio de HTMLB">

<hbj:form id="myFormId"

method="post"

target="_blank"

encodingType="multipart/form-data"

action="/htmlb/servlet/com.sap.htmlb.test.MyTestJsp1Test">

This form submits to a new web client window

<br>

because of 'target=_blank'.

<br>

<br>

<hbj:label

id="label_InputName"

required="TRUE"

text="ZIP Code"

design="LABEL"

labelFor="InputName"

/>

<hbj:inputField

id="InputName"

type="string"

maxlength="100"

/>

<br>

</hbj:form>

</hbj:page>

</hbj:content>

But when i enter to the EP to see the result in the iview i can not see the visible controls label and inputfield Does i need configure something previusly to run the ivew? in order i can see the visible controls.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

HI,

Please post such queries in EP Content Devlopement forum.

As for answer to your question,ensure to add the following in your <b>portal-app.xml</b> file in your portal project when using HTMLB:

<component name="<par file name>">

<component-config>

<property name="ClassName" value="<par file name>"/>

<property name="ComponentType" value="jspnative"/>

<property name="JSP" value="pagelet/welcome.jsp"/>

</component-config>

<b><component-profile>

<property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld"/>

</component-profile></b>

</component>

Also,add the following line on top of your code , like :

<b><%@ taglib uri= "tagLib" prefix="hbj" %></b>

<hbj:content id="myContext" >

<hbj:page title="MyPAge">

<hbj:form id="sid_id" >

;;;;

.....

</hbj:form>

</hbj:page>

</hbj:content>

Hope this resolves the issue.

Regards,

Siddhartha

Answers (1)

Answers (1)

athavanraja
Active Contributor
0 Kudos

this is BSP forum. you need to post this in the Enterprise Portal forum.

Anyhow to answer your question.

you need to maintain portalapp.xml and upload the par file to portal server and create a iview based on that.

Regards

Raja