Foren

URL - filter rewriting ? Integration.

thumbnail
Jose Herminio Parreno Piqueras, geändert vor 12 Jahren.

URL - filter rewriting ? Integration.

New Member Beiträge: 5 Beitrittsdatum: 26.01.12 Neueste Beiträge
Hello everybody,

I have a old web-application developed in JSP. The point is, that my company want to integrate it within Liferay Portal. I was doing quite well, but I have a problem with the links of my old application. Each time I click one of them, it goes to the full-screen mode and I lose my Portal structure.

I have tried the <portlet:actionURL> in combination with the portlet class and it is working (the linked content shows within a portlet). The point is that there are links that are not in the JSP, they are Java generated, or even obtained from AJAX or a database. And of course I do not want to search in every JSP, every Javascript, every database table for the links.

I guess the best choice is to get any link generated by my application and change it with any kind of filter, maybe with a URL rewritting filter liferay.

Is it that possible ? How does it work exactly ?
How does the filter knows my portlet id so the content can be updated ?
What about the URL parameters of the old app ?
Any good documentation out there ?

Thanks in advance.
thumbnail
Jose Herminio Parreno Piqueras, geändert vor 12 Jahren.

RE: URL - filter rewriting ? Integration.

New Member Beiträge: 5 Beitrittsdatum: 26.01.12 Neueste Beiträge
So the sort question would be

How do a change a link within a JSP in a Portlet like

/applitacion/helloworld.jsp

to something like

/portal/auth/portal/MyPortal/default/-/HelloWorldPortletWindow?action=1&myAction=create

Using a filter or whatever other tool.

Any help would be highly appreciated.