Skip to Content
0
Former Member
Dec 21, 2006 at 07:10 AM

portalapp.xml for Button Example

17 Views

HI,

How to write Portalapp.xml file for Button Example?

Project Name: Button

src.core - > bean -> ButtonBean, ButtonExample.

ButtonExample extends PageProcessorComponent.

Button.jsp is jsp file.

I wrote Portalapp.xml file like this:

<?xml version="1.0" encoding="utf-8"?>

<application>

<application-config>

<property name="SharingReference" value="com.sap.portal.htmlb"/>

</application-config>

<components>

<component name="Button">

<component-config>

<property name="ClassName" value="Button.Button"/>

<property name="SecurityZone" value="com.sap.portal.pdk/low_safety"/>

</component-config>

<component-profile>

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

</component-profile>

</component>

</components>

</application>

The output throws some exception.

How to modify the above code? Also where can I see the log file?

Please guide me

Regards,

Ravi.