[opencms-dev] Linking (forwarding) pages

Petr Procházka petr.prochazka at pvasystems.cz
Wed Dec 5 22:06:40 CET 2012


Hi Paul,
thanks for your reply.
Yes, I think about again and I created it similarly.
I defined own property name and on each resource in CMS has key from
application.
I created servlet, which find path to repository by key and call
redirect to page.

Thanks again

Petr

Dne 3.12.2012 12:49, Paul-Inge Flakstad napsal(a):
> Hi Petr,
>
> Long delay here, but couldn't see any answers to your question. 
>
> There's no module that I know of that fits your need. But do you really need one? If I was creating this sort of system, I'd simply define an OpenCms property and store each function key on the corresponding OpenCms page, in that property. A very simple JSP could then - using only the function key as input parameter - be used to locate the correct page in OpenCms.
>
> This way, the key<-->page "mapping" should be more robust than if you had, say, the mapping in a separate file or database. (If you were to move pages around in OpenCms, for example, you wouldn't have to update any mapping table, everything would just work.)
>
> Hope this was of some help to you.
>
> Cheers,
> Paul
>
> -----Original Message-----
> From: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] On Behalf Of Petr Procházka
> Sent: 20. november 2012 11:46
> To: opencms-dev at opencms.org
> Subject: [opencms-dev] Linking (forwarding) pages
>
> Hello,
> I want to use OpenCMS as online help over embedded browser in our application.
> Each function|form in application has page in OpenCMS. But we do not directly add path to page to application.
> We want to forward by unique key of function (number, string) to specified page in CMS.
>
> I try to find any module which can be helpful to this problem but without success :-(.
> I could create a simple servlet which can forward to real page in CMS and define mapping between application key and context path in CMS or create add-on module to OpenCMS.
> So exists any module?
>
> Thanks for reply
>
> Petr Procházka
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>
>
>


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 551 bytes
Desc: OpenPGP digital signature
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20121205/b492caca/attachment.sig>


More information about the opencms-dev mailing list