Re: [OS-JIRA] Created: (WOL-977) Edit > Refactor > Format puts quotes around boolean values in inline bindings in the component editor

From: Mike Schrag (mschra..dimension.com)
Date: Mon Mar 09 2009 - 23:24:08 EDT

  • Next message: Ken Anderson: "Re: WOLips for Eclipse 3.3"

    "$true" and "$false" is the correct way ... $ prefix means "interpret
    this value as if it was the right side of a wod binding without
    quotes" ... so it's technically correct that the formatter has a bug
    here, but it really should be turning those values into "$true" and
    "$false".

    On Mar 9, 2009, at 10:52 PM, David Holt wrote:

    > Well, if they aren't quoted, the values true and false are treated
    > as booleans. If they are quoted, the values are treated as strings.
    > I guess I am doing something wrong (again? ;-). What is the right
    > way to do this?
    >
    > David
    >
    > On 9-Mar-09, at 7:39 PM, John Huss wrote:
    >
    >> Uh, attribute values are always supposed to be quoted. Why
    >> wouldn't you quote them?
    >>
    >> John
    >>
    >> On Mon, Mar 9, 2009 at 7:38 PM, David Holt (JIRA) <jira-norepl..bjectstyle.org
    >> > wrote:
    >> Edit > Refactor > Format puts quotes around boolean values in
    >> inline bindings in the component editor
    >> -----------------------------------------------------------------------------------------------------
    >>
    >> Key: WOL-977
    >> URL: http://issues.objectstyle.org/jira/browse/
    >> WOL-977
    >> Project: WOProject/WOLips
    >> Issue Type: Bug
    >> Environment: Mac/Eclipse 3.4.1 / WOLips 3.4.5693
    >> Reporter: David Holt
    >>
    >>
    >> after a Refactor > Format in the component editor
    >> this:
    >> <tr>
    >> <td width = "200" align = "right">Requires Interpreter?</td>
    >> <td width = "400" align = "left">
    >> <wo:radio name = "interpreter" value = false selection =
    >> "$aPerson.interpreter" />
    >> No<br />
    >> <wo:radio name = "interpreter" value = true selection =
    >> "$aPerson.interpreter" />
    >> Yes</td>
    >> </tr>
    >>
    >> becomes:
    >>
    >> <tr>
    >> <td width = "200" align = "right">Requires Interpreter?</td>
    >> <td width = "400" align = "left">
    >> <wo:radio name = "interpreter" value = "false" selection
    >> = "$aPerson.interpreter" />
    >> No<br />
    >> <wo:radio name = "interpreter" value = "true" selection
    >> = "$aPerson.interpreter" />
    >> Yes</td>
    >> </tr>
    >>
    >>
    >> --
    >> 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 : Tue Mar 10 2009 - 07:35:42 EDT