Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

You can use the HTML container to embed any external web content to your web application components or reusable parts.

Image Modified

The HTML container allows raw HTML to be embedded in a page. This is useful you want to use a particular feature of HTML which cannot easily be emulated in LANSA.

...

     Define_Com Class(#PRIM_WEB.HtmlContainer) Name(#Html1) Parent(#COM_OWNER)
Evtroutine Handling(#Com_owner.Initialize)
   #Html1.html := '<h1>My heading</h1>'
Endroutine


Image Modified

Note that using raw HTML introduces browser dependencies and browser specific functionality.