Skip to Content
Former Member
Feb 04, 2010 at 08:01 AM

JSPDynPage, error calling one component from another within same appln



I am working on JSP dynpage and facing some problems.


The Portal Application contains two JSPDynPage Components. Both have been defined in low_safety security zone. I want to access the second component (ViewCompensationStmt) from the first component(CompensationStmt).

Detail from portalapp.xml

<component name="CompensationStmt">


<property name="ClassName" value="com.mss.compstmt.CompensationStmt"/>

<property name="SecurityZone" value="com.mss.compstmt.CompensationStmt/low_safety"/>

<component name="ViewCompensationStmt">


<property name="ClassName" value="com.mss.compstmt.ViewCompensationStmt"/>

<property name="SecurityZone" value="com.mss.compstmt.ViewCompensationStmt/low_safety"/>

The Portal Runtime throws an exception when I try to call second component, the logs show

Caused by: Access denied (Object(s):

I modified the portalapp.xml, added a sharing reference to second component.


<property name="PrivateSharingReference" value=",,,,landscape"/>

<property name="SharingReference" value="com.mss.compstmt.ViewCompensationStmt"/>


But now the application is not rendered inside portal and the logs show Could not find portal application com.mss.compstmt.ViewCompensationStmt

Any help.



Edited by: Suresh Yadav on Feb 4, 2010 9:08 AM