https://issues.apache.org/jira/browse/ZEPPELIN-428 addresses this feature
in python. (resolved and available in master branch)

Otherwise, this thread may help for workaround.
http://apache-zeppelin-users-incubating-mailing-list.75479.x6.nabble.com/Dynamic-forms-using-pyspark-interpreter-td1612.html#a1614

Thanks!
moon

On Thu, Nov 26, 2015 at 5:08 AM Mark Luk <m...@juicero.com> wrote:

> Moon,
>
> This was very helpful. Thank you very much.
>
> It seems like Angular integration has been done in Scala, so that I can
> get the value by simply doing
>
>     z.angular("ANGULAR_VARIABLE").toString
>
> It doesn't seem like this feature is available in Python. Is that correct?
> If I want it in Python, what do you suggest? Should I write a scala wrapper
> that calls the python function? Seems a bit hacky IMO.
>
>
> mark
>
>
>
>
>
> On Fri, Nov 20, 2015 at 6:30 PM, moon soo Lee <m...@apache.org> wrote:
>
>> Hi,
>>
>> Here's one alternative. Please check
>>
>> https://www.zeppelinhub.com/viewer/notebooks/aHR0cHM6Ly9yYXcuZ2l0aHVidXNlcmNvbnRlbnQuY29tL0xlZW1vb25zb28vemVwcGVsaW4tZXhhbXBsZXMvbWFzdGVyLzJCNDRRNVU3VC9ub3RlLmpzb24
>> (Calendar on viewer looks little bit broken, but it'll have no problem on
>> your Zeppelin instance)
>>
>> If you want to know more about how it works, see
>> http://zeppelin.incubator.apache.org/docs/0.5.5-incubating/displaysystem/angular.html
>> .
>>
>> Hope this helps.
>>
>> Thanks,
>> moon
>>
>> On Sat, Nov 21, 2015 at 8:15 AM Mark Luk <m...@juicero.com> wrote:
>>
>>> According to the specs, we have 2 types of form creation - text field,
>>> and a dropdown box
>>>
>>>
>>> http://zeppelin-project.org/docs/zeppelincontext.html
>>>
>>>
>>> Text field
>>>
>>> /* Create text input form */z.input("formName")
>>>
>>>
>>>
>>> Dropdown box
>>>
>>> /* Create select form */z.select("formName", Seq(("option1", 
>>> "option1DisplayName"),
>>>                          ("option2", "option2DisplayName")))
>>>
>>>
>>> Is there a way to have Zeppelin get input from a calendar widget
>>> instead?
>>>
>>> if not, what do people recommend as the next best thing?
>>>
>>> I could have something else host the calendar widget (maybe django, or
>>> servlet). and when people click on the date in the calendar, it'd link it
>>> to the zeppelin paragraph. and somehow get the date as a parameter to the
>>> paragraph python code? does that sound like a good idea?
>>>
>>>
>>>
>

Reply via email to