isis-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From SE Song <seson...@gmail.com>
Subject Re: Append HTML tag into VM(JAXB) or Entity
Date Fri, 17 Nov 2017 09:46:13 GMT
Dear Andi Huber

It's work now. Thank you!!!

On Fri, Nov 17, 2017 at 4:12 PM, Andi Huber <ahuber@apache.org> wrote:

> 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 <sesong11@gmail.com> 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!
> >
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message