PDA

View Full Version : Dynamic embedded code


paultpreiss
12-10-2006, 10:56 AM
I am working on a portlet in Liferay which would show liferay content items using laszlo vews. I want to store the custom laszlo code inside the database for each 'type' of content item. However, I cant seem to embed the code once Ive stored it in the db.

Ive tried include and import but both are looking for a file and not the content of a url. For example I tried

<include href="/web/home?struts_action=get_laz_content"/> which returns some basic laszlo code but it can't resolve.

Does anyone know of anyway to include dynamic content into a laszlo file? Im setup in a proxied environment with a basic version of laszlo server installed in my liferay portal.