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

A way to specify both annotation and value for a property

    XMLWordPrintable

Details

    • New Feature
    • Resolution: Fixed
    • Normal
    • 6.0.0
    • None
    • None

    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

            Unassigned Unassigned
            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