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

A way to specify both annotation and value for a property

    XMLWordPrintable

    Details

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

      Description

      Currently, specifying the annotation and the real value to property is a bit complicated:
      <textbox value="@annot()">
      <attribute name="value">the real value</attribute>
      </texbox>

      New Feature Request:
      It can be simplified by introducing a namespace as follows:
      <textbox value="the real value" a:annot="@annot()" xmlns:a="annotation"/>

      Furthermore, if a user want to specify a value that looks like an annotation, he could do:
      <textbox z:value="@annot()" xmlns:z="zul"/>

      since a non-annotation namespace is specified explicitly, so the value is considered as a real value rather than annotation.

      On the other hand, if the attribute is not specified with any annotation, whether it is an annotation is detected automatically (as the current spec does).

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            tomyeh tomyeh
            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 - 1 hour
                1h