Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-139

A way to define a template that component could use

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.0.0
    • Component/s: General
    • Labels:
      None

      Description

      https://sourceforge.net/tracker/?func=detail&aid=3355295&group_id=152762&atid=785194

      For example, the following code define a template called render, and then listbox could use it to render the content of the model (so no ListitemRenderer is required).

      <listbox model="${foo}">
      <template name="render">
      <listcell label="${each.name}"/>
      <listcell label="${each.description}"/>
      </template>
      </listbox>

      Notice the use and naming of template depends on the implementation of the component.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            asukachen asukachen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 6 hours
                6h