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

BindingParam not work with @Init

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 6.0.1
    • 6.0.0
    • Databind 2
    • None

      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"

            dennis dennis
            dennis dennis
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: