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

Parameters are ignored if include zul page with query string

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 7.0.7
    • 7.0.6.1
    • Components
    • Security Level: Jimmy

      After the fix of ZK-2473. The following sample cannot get the param by Execution.getParameter(), Execution.getArg() or Execution.getAttribute() anymore.

      <zk>
          <include src="include.zul?param=value" mode="auto" />
      </zk>
      

      This should either being treated as defer mode that the parameter can be retrieved by Execution.getParameter() or still remaining treated as instant mode but transfer parameters into arguments that the parameter can be retrieved by Execution.getArg() in Include.java#488.

      Workaround: pass the parameter with argument.

      <include src="include.zul" param="value"/>
      

            jumperchen jumperchen
            vincentjian vincentjian
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 30 minutes
                30m