[ 
https://issues.apache.org/jira/browse/NIFI-3021?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15883046#comment-15883046
 ] 

dmitry zakharov edited comment on NIFI-3021 at 2/24/17 4:44 PM:
----------------------------------------------------------------

!screen.png! 

Yes this is an issue with firefox, Chrome works, but in custom property new 
lines added easlily with shift+enter, and custom property editor shows line 
numbers which is convenient for script body, so if script body field was able 
to support expression language with ${customBody} it may be  even better than 
current script body editor. 
!screen-custom-body.png!


was (Author: dzakharov):
!screen.png! 

Yes this is an issue with firefox, Chrome works, but in custom property new 
lines added easlily with shift+enter, and custom property editor shows line 
numbers which is convenient for script body, so if script body field was able 
to substitute custom property with ${customBody} it may be  even better than 
current script body editor.

!screen-custom-body.png!

> Multi-line text boxes in View Configuration dialog (NFEL editors) do not 
> honor newlines 
> ----------------------------------------------------------------------------------------
>
>                 Key: NIFI-3021
>                 URL: https://issues.apache.org/jira/browse/NIFI-3021
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core UI
>    Affects Versions: 1.0.0
>            Reporter: Matt Burgess
>            Assignee: Scott Aslan
>              Labels: ui
>             Fix For: 1.1.0
>
>         Attachments: Configure_multiline.png, screen-custom-body.png, 
> screen.png, View_Configuration_multiline.png
>
>
> In multi-line editors for properties in a Configure dialog, if Shift+Enter is 
> pressed, a newline will be inserted into the text. This is honored for the 
> Configure dialog.
> However if the processor is running (such that Configure is not available and 
> instead View Configuration is), the newlines are not honored in the property 
> when viewed as a multi-line text box (editor/viewer).
> One such processor that has this behavior is ExecuteScript, the Script Body 
> property (see attached screenshots).



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to