Showing results for 
Search instead for 
Did you mean: 

Calling another Portal Component inside a Portal Application and pass param

Former Member
0 Kudos

Hello ...

I would like to call another PortalComponent inside my PortalApplication to handle form-data. Both components are AbrstractPortalComponents and inside the PortalApplication.

first component

response.write("<form action='PortalApplication.PortalComponent2'>"+
                      "<input type='text' name='textfield'>"+
                      "<input type='submit' value='post'></form>");

the second component should handle the passed data by the request Objekt.

How can I do that?

Edited by: Jochen Schmitz on Dec 10, 2008 6:47 PM

View Entire Topic
Former Member
0 Kudos

Maybe I misunderstand. Is the first component going to launch another URL, which is the 2nd component? If so, just get the passed parameters in the 2nd component using request.getParameter("paramname").

If you want to have both components on the page at the same time, then you'll probably need eventing.