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

From: John Huss (johnthus..mail.com)
Date: Mon Mar 09 2009 - 23:21:27 EDT

  • Next message: Łukasz Szydł: "Re: WOLips for Eclipse 3.3"

    You should use $true and $false

    On Mon, Mar 9, 2009 at 9:52 PM, David Holt <programmingos..ac.com> 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 : Mon Mar 09 2009 - 23:22:21 EDT