[OS-JIRA] Created: (WOL-1120) Component editor is confused by escaped backslash

From: Johann Werner (JIRA) ("Johann)
Date: Wed Oct 14 2009 - 11:34:53 EDT

  • Next message: Guillaume Polet: "Re: Eclipse 3.5 status and some issues"

    Component editor is confused by escaped backslash
    -------------------------------------------------

                     Key: WOL-1120
                     URL: http://issues.objectstyle.org/jira/browse/WOL-1120
                 Project: WOProject/WOLips
              Issue Type: Bug
              Components: WOLips General
             Environment: 3.4.5950
                Reporter: Johann Werner

    If you have a binding with a text value and want a backslash to appear on the final html you have to escape that backslash with another one.
    For example:

    <wo:textfield value="$aValue" onkeyup="if(/^.*\\w+.*$/.test(this.value){ alert('character found'); }" />

    The component editor then shows lots of errors stating "<..> start tag is not found." for nearly all following tags.

    -- 
    This message is automatically generated by JIRA.
    -
    If you think it was sent incorrectly contact one of the administrators: http://issues.objectstyle.org/jira/secure/Administrators.jspa
    -
    For more information on JIRA, see: http://www.atlassian.com/software/jira
    



    This archive was generated by hypermail 2.0.0 : Wed Oct 14 2009 - 11:35:53 EDT