0

Dynamic HTML content in a detail tag with fulfill on open

asked 2013-05-21 07:34:41 +0800

CRuchat gravatar image CRuchat
0

Hi,

Could you please tell me how to set the content of a HTML tag in a detail with fulfill="onOpen" without preloading all the content ?

I tried like that:

<grid ...>
  <template name="model" var="entry">

  <custom-attributes details="${entry.detailCA}"/>
    <row>
      <detail fulfill="onOpen">
        <vlayout>
    <!-- behaviour is what I'm looking for (getDetails() is only called when the detail is opened) but the HTML content is displayed as text since it's not in a HTML tag -->
    <label value="@load(entry.details)"/>

    <!-- works but all the details are preloaded, so the "fulfill" attribute becomes useless -->
    <html hflex="1"><![CDATA[${detailCA}]]></html>

    <!-- not possible to use @load in a HTML tag
    <html hflex="1"><label value="@load(entry.details)"/></html> -->
         </vlayout>
       </detail>
    …
</grid>

Thanks in advance.

delete flag offensive retag edit
Be the first one to answer this question!
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2013-05-21 07:34:41 +0800

Seen: 29 times

Last updated: May 21 '13

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More