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

Dropupload has "native" property (reserved identifier in EL)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 6.5.2
    • Fix Version/s: 6.5.3
    • Component/s: Databind 2
    • Labels:

      Description

      cannot bind to property "native" on Dropupload component (org.zkoss.zkmax.zul.Dropupload)

      <dropupload id="upload" maxsize="5120" detection="none" onUpload="@command('onUpload', event=event)" native="@bind(vm.nativeUpload)">

      this error message is thrown -->
      The identifier [native] is not a valid Java identifier as required by section 1.19 of the EL specification (Identifier ::= Java language identifier). This check can be disabled by setting the system property org.zkoss.zel.impl.parser.SKIP_IDENTIFIER_CHECK to true.

      same might happen for Fileupload (but here the property is already deprecated)

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: