In your domain-object, you might consider using a property  of type

org.apache.isis.applib.value.Markup

which allows you to render HTML as is.

See comments on following issue for example usage:

https://issues.apache.org/jira/browse/ISIS-1616

Regards, Andi


On 2017-11-17 04:14, SE Song <[email protected]> wrote:
> Hi All
>
> I want to add some HTML tags to my View Module (JAXB), but I can't
find any
> solution. e.g I want to display an `iframe` or add some `div` tags.
>
> What I can add to my VM is `property` as bellow.
>
> <cpt:property id="fieldName" />
>
> How can I create another tags similar to above, e.g `<cpt:iframe src="
> http://examle.com"; />` into my `layout.xml`.
>
> If I can add some HTML tag, I will be able to make my UI much more better.
>
> If I use FreeMaker to generate my own template , How can I display it into
> my pages?
>
> Please Help!
>

Reply via email to