Maybe this PR is what you want, see the examples in screenshot

https://github.com/apache/zeppelin/pull/3464


Joshua Ochsankehl <joshua.ochsank...@gmail.com> 于2019年10月5日周六 上午7:39写道:

> Thanks for the tip! I'll likely stubbornly figure it out myself lol.  I
> got it to work so far by making paragraphs that call the functions but
> that's messy.  If I figure it out I'll be sure to add the solution here.
>
> On Fri, Oct 4, 2019, 6:30 PM Stephen Boesch <java...@gmail.com> wrote:
>
>> I don't have the  scala side code anymore apologies (former company
>> private codebase).  I coded it due to not wanting to use a heavier weight
>> framework - e.g. Play.  If you don't mind integrating a heavy framework
>> it's baked into Play/Play2 : but that adds  codebase  complexity. Your
>> call.   otherwise you could code it up in under a day.  Surprisingly i've
>> not seen a standalone websockets server in scala out there : maybe just
>> overlooked.
>>
>> Am Fr., 4. Okt. 2019 um 16:14 Uhr schrieb Joshua Ochsankehl <
>> joshua.ochsank...@gmail.com>:
>>
>>> Ok, I understand what you're saying but I'm not sure how to go about
>>> it.  Any tips or good tutorials on it to point me in the right direction.
>>> Thanks for the response.
>>>
>>> On Fri, Oct 4, 2019 at 5:58 PM Stephen Boesch <java...@gmail.com> wrote:
>>>
>>>> You'll need to start a listener/server on the scala end and communicate
>>>> vai  a websocket connection from angular.
>>>>
>>>> Am Fr., 4. Okt. 2019 um 13:00 Uhr schrieb Joshua Ochsankehl <
>>>> joshua.ochsank...@gmail.com>:
>>>>
>>>>> Is it possible to pass a value to a spark/scala function from
>>>>> an angular submit button?
>>>>>
>>>>

-- 
Best Regards

Jeff Zhang

Reply via email to