ICEfaces
  1. ICEfaces
  2. ICE-6825

Change the Eclipse design time validator values for width/height to a String type

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.0.1, EE-2.0.0.GA
    • Fix Version/s: 2.0.2
    • Component/s: Tool Integrations
    • Labels:
      None
    • Environment:
      Eclipse 3.6

      Description

      If the following attributes are set:

      width="24px" height="24px"

      In Eclipse is gives a warning: "Value is not a valid positive integer or positive integer percentage.". This warning is displayed because these values are set as an integer type. Changing these to a String type will allow the warning to not display.

      NOTE: This warning does not effect the components functionality.

        Activity

        Hide
        Liming Wu added a comment - - edited

        This is an issue from current eclipse design time. You can verify it by comparing h:inputtext with maxLength attribute.

        For the first issue, action attribute in commandLink is assigned to actionType, but current eclipse design time doesn't seems to support action method with parameter. This is why it gets warning.

        Show
        Liming Wu added a comment - - edited This is an issue from current eclipse design time. You can verify it by comparing h:inputtext with maxLength attribute. For the first issue, action attribute in commandLink is assigned to actionType, but current eclipse design time doesn't seems to support action method with parameter. This is why it gets warning.
        Hide
        Liming Wu added a comment -

        resolved in oss 2.0.2 release.
        IntegerType assigned to width/Height attribute has been removed
        For actionType, I leave it unchanged waiting for eclipse/oracle to enhance it.

        Show
        Liming Wu added a comment - resolved in oss 2.0.2 release. IntegerType assigned to width/Height attribute has been removed For actionType, I leave it unchanged waiting for eclipse/oracle to enhance it.

          People

          • Assignee:
            Liming Wu
            Reporter:
            Arran Mccullough
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: