Uploaded image for project: 'Zeppelin'
  1. Zeppelin
  2. ZEPPELIN-3838

Input function example code incorrect on "What is Dynamic Form" page

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.8.0
    • 0.9.0
    • documentation
    • None

    Description

      No biggie, but this burned me briefly.. The documentation page is where i was looking for the standard textbox (I couldn't remember the exact syntax)

      Anyway, I looked here: https://zeppelin.apache.org/docs/0.8.0/usage/dynamic_form/intro.html#creates-programmatically-scope-paragraph

      I switched from the Scala to Python in the example block, copied & pasted and got an error
      <console>:26: error: value textbox is not a member of org.apache.zeppelin.spark.ZeppelinContext
      Then i looked back at the documentation page and saw that there is an image with the code working. The image has z.input, but the code for copy/paste has z.textbox.

       

      Once I changed to z.input, everything worked great.  I just wanted to report this issue so the next person doesn't get momentarily confused by this discrepancy between the image of the code that works and the code that is available for copy/paste that is incorrect.

      Attachments

        Activity

          People

            moon Lee Moon Soo
            jg2010 Jeff G
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 10m
                10m