[opencms-dev] jsp fragments in pages

Michael Emmerich m.emmerich at alkacon.com
Thu Aug 14 10:15:06 CEST 2025


Hello Laurent,

when you are working with continerpages, i.e. you drag&drop content 
elements into containers, a function is the usual way to add a generic 
jsp to a page.

Depending on what you want to do, another option would be to add a 
trigger to the template itself which then "activates" the jsp code.

For example, you could define a property which enables some jsp code in 
your template if the property is set on the page you are currently on.

Or that it then would include an external jsp.


Kind regards,

Michael


Am 06.08.25 um 16:11 schrieb laurent.druart via opencms-dev:
> Hello,
>
> Is there another way to include JSP code (bean calls) on certain website pages other than using "functions"?
> I want to be able to use the templates I define on the website.
>
> Thank you,
>
> Regards,
>
> Laurent
> _______________________________________________
> 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
> https://lists.opencms.org/mailman/listinfo/opencms-dev
>
>
>
-- 
Michael Emmerich
  -------------------

Alkacon Software GmbH & Co. KG - The OpenCms Experts

http://www.alkacon.com
http://www.opencms.org



More information about the opencms-dev mailing list