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

A way to specify component's annotation in component's Java class

    Details

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

      Description

      For example,

      import org.zkoss.zk.ui.annotation.ComponentAnnotation;
      
      public class MyComponent extends AbstractComponent {
        @ComponentAnnotation(
      "@ZKBIND(ACCESS=both, SAVE_EVENT=onChange, LOAD_REPLACEMENT=rawValue, LOAD_TYPE=java.lang.String")
        public String getValue() throws WrongValueException {
      ...
      

        Attachments

          Activity

            People

            • Assignee:
              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 - 7 hours
                7h