Skip to Content
author's profile photo Former Member
Former Member

Portal Component Navigation

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Sep 01, 2006 at 12:53 PM

    I solved problem by changing Form action attribute to:

    IPortalComponentURI uri = request.createPortalComponentURI();

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

    >> uri.toString()

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.