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

BindingParam not work with @Init

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 6.0.0
    • Fix Version/s: 6.0.1
    • Component/s: Databind 2
    • Labels:
      None

      Description

      Is there an example of @BindingParam in @Init anywhere? When I try

      <vlayout apply="org.zkoss.bind.BindComposer"
      viewModel="@id('vm') @init('some.ViewModel', foo='some string')">

      with

      @Init
      public void initialize(@BindingParam("foo") String foo) {

      foo is null instead of "some string"

        Attachments

          Activity

            People

            • Assignee:
              dennis dennis
              Reporter:
              dennis dennis
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: