[jbosstools-issues] [JBoss JIRA] Issue Comment Edited: (JBIDE-9203) Add support for special and non-ASCII characters to the Externalize Strings Wizard for JSP

Vlado Pakan (JIRA) jira-events at lists.jboss.org
Tue Sep 6 09:41:26 EDT 2011


    [ https://issues.jboss.org/browse/JBIDE-9203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12626459#comment-12626459 ] 

Vlado Pakan edited comment on JBIDE-9203 at 9/6/11 9:40 AM:
------------------------------------------------------------

Property Key is not selected correctly.
When cursor position is within text containing more lines Property Key is selected with special characters '\r' and '\n' displayed not correctly

!wrongPropertykeySelection.png!

When Property Key with more lines is used validator is displaying error

!errorAfterWrongPropertyKeySelection.png!

      was (Author: vpakan):
    Property Key is not selected correctly.
  
> Add support for special and non-ASCII characters to the Externalize Strings Wizard for JSP
> ------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-9203
>                 URL: https://issues.jboss.org/browse/JBIDE-9203
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: Visual Page Editor core
>    Affects Versions: 3.3.0.M2
>         Environment: Linux 32bit, Sun JDK 1.6.0_25, jbdevstudio-product-linux-gtk-5.0.0.v201106172137N-H681-M2.
>            Reporter: Vlado Pakan
>            Assignee: Denis Maliarevich
>              Labels: new_and_noteworthy
>             Fix For: 3.3.0.M3
>
>         Attachments: encoded.png, errorAfterWrongPropertyKeySelection.png, externalizestringdialog.png, externalizestringresult.png, JBIDE-9203 - nothing selected.png, JBIDE-9203 - text selected.png, nothingSelected.png, propertiesfile.png, textSelected.png, wrongPropertykeySelection.png
>
>
> 1. Create JSF kick start project
> 2. Open hello.jsp page
> 3. Insert "Plain" text as shown on picture below and choose Externalize selected string toolbar button
> In the Externalize String dialog is set text "Plain" as Property value but together with special characters <EOL>
> !externalizestringdialog.png!
> 4. Choose next>, next>, OK. (Use default values)
> hello.jsp page look like this. <EOL> characters around "Plain" text were removed/replaced with reference to .properties file:
> !externalizestringresult.png!
> hello.properties has wrong contnent:
> !propertiesfile.png!

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list