cancel
Showing results for 
Search instead for 
Did you mean: 

Portal Component Navigation

Former Member
0 Kudos

Hi all,

I would like to ask you for help with my problem. I have created simple Portal Application with one Portal Component, created iView from deployed PAR.

iView works fine, but if I want to send some data through HTML form (from my page to the same), there is problem. I tried to use simple form:


<FORM method="post" action="">
<input type="text" name="required_field">
<input type="submit" name="mysubmit" value="go">
</FORM>

Problem is, that when I submitted form, page was refreshed, but result page is blank (no error, only blank).

I tried another method with using form action like this:


<FORM method="post" action="ParUserMapping">
<input type="text" name="required_field">
<input type="submit" name="mysubmit" value="go">
</FORM>

If I use my Portal Application name as link destination it returns to me error:

An exception occurred while processing a request for :

iView : N/A

Component Name : N/A

iView not found: ParUserMapping.default.

Exception id: 05:36_31/08/06_0032_16393450

See the details for the exception ID in the log file

My portalapp.xml is:

<application>

<application-config>

<property name="SharingReference" value="com.sap.portal.usermapping, com.sap.portal.runtime.logon"/>

</application-config>

<components>

<component name="MyPortalComponent">

<component-config>

<property name="ClassName" value="com.deloitte.MyPortalComponent"/>

<property name="PrivateSharingReference" value="com.sap.portal.usermapping, com.sapportals.portal.prt.runtime.PortalRuntime"/>

</component-config>

<component-profile/>

</component>

</components>

<services/>

</application>

I just want to send my value via form to same page, but I don't now, why this not works. Should I set any default point/object for my Portal Application?

I would appreciate any help.

Many thanks,

Pavel

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

I solved problem by changing Form action attribute to:

IPortalComponentURI uri = request.createPortalComponentURI();

uri.setPortalRequestEvent(request.createRequestEvent("LoadUserMapping"));

>> uri.toString()