Add textbox type constants to avoid hard-coding them in richlets or defining the own ones

XMLWordPrintable

    • Type: New Feature
    • Resolution: Unresolved
    • Priority: Trivial
    • None
    • Affects Version/s: None
    • Component/s: Components
    • None

      When the textbox type is wanted to set in a richlet, it have to be hard-coded, or the type have to be defined in a custom constant. For instance:

      Textbox textbox = new Textbox();
      textbox.setType("password");
      ...

      It would be great the type constants is provided by ZK framework. So the type can be set like:

      Textbox textbox = new Textbox();
      textbox.setType(Textbox.TEXT);
      ...

      I've attached a patch which can help you to implement that feature.

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

              Created:
              Updated: