Hi,

You can try to use a request dispatcher in your webapp-Portlet that
forwards te request to your original webapps.

Example:
--------

Jahia Portlet:
RequestDispatcher rd =
request.getRequestDispatcher("/servlet/orginalWebApp");
rd.include(request, response);

Portlet JSR168:
PortletRequestDispatcher dispatcher =
getPortletContext().getRequestDispatcher("/servlet/orginalWebApp");
dispatcher.include(request, response);

whith "/servlet/originalWebApp" = mapping to your original webApps


In that case, response.encodeUrl() will be executed "outside" Jahia and
the generated url will be correct.

The draw back is that you can't use jahia tag lib, ...


Regards,

Khaled

On Wed, August 31, 2005 11:27 am, [EMAIL PROTECTED] wrote:
>

> Hi:)
>
>
> I hava a small webapp (a voting tool) which works quite well as Jahia
> portlet, within some Jahia page. This webapp has some adminstration pages
> -
> for add/edit/delete votes - which need more space than the regular end
> user views. So I want to run these maintenance pages within a popup of my
> portlet. I wonder if there is an easy way to do this, my first
> experiments dont look do't look like this.
>
> The problem is that the Jahia response.encodeUrl() wrapper,  which I have
>  to use for all portlet urls, will always generate a url for the complete
>  Jahia page, but in my popup I want to show only the portlets content and
>  not the surrounding page content.
>
> Does anyone has any experience or tips?
> ___
> kind regards Wilhelm
>
>
>


Reply via email to