• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Inline bindings: attribute string value begining with $
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Inline bindings: attribute string value begining with $


  • Subject: Re: Inline bindings: attribute string value begining with $
  • From: Anjo Krank <email@hidden>
  • Date: Sun, 6 Apr 2008 19:47:02 +0200

But you *can* set the pre- and postfix chars, so the question was how to escape them. Which is the same problem how to escape "[" at the start.

Cheers, Anjo


Am 06.04.2008 um 19:42 schrieb Mr. Pierre Frisch:
With WO 5.4 the syntax should be:

<wo:string value="[amount]" numberformat="$#,##0" />

By default the dynamic binding use [] and not $.

Pierre
--
Pierre Frisch
email@hidden


On Apr 5, 2008, at 1:15, Mike Schrag wrote:
Oh, I assumed you were using Wonder with the $ syntax ... I have no idea how to escape the attribute prefix in 5.4.

ms

On Apr 5, 2008, at 1:09 AM, Ricardo Parada wrote:

On Apr 4, 2008, at 8:52 PM, email@hidden wrote:
From: Mike Schrag <email@hidden>
Subject: Re: Inline bindings: attribute string value begining with $
To: WebObjects-Dev Mailing List <email@hidden>
Message-ID: <email@hidden>
Content-Type: text/plain; charset="us-ascii"


<wo:str value="$amount" numberformat="$#,##0" />
\$#,##0

Do I need to use the wonder frameworks for that to work?

'cause I'm not using Wonder. I have setup aliases in my app for dynamic elements (i.e. str for WOString) and then I setup $ as the dynamic attribute prefix. So it may look like I'm using one of the Wonder frameworks but I'm not. :-(

Anyways, I tried using the \ character but it shows up in the displayed value, i.e. \$4.50

:-)

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Inline bindings: attribute string value begining with $
      • From: Mike Schrag <email@hidden>
References: 
 >Re: Inline bindings: attribute string value begining with $ (From: Ricardo Parada <email@hidden>)
 >Re: Inline bindings: attribute string value begining with $ (From: Mike Schrag <email@hidden>)
 >Re: Inline bindings: attribute string value begining with $ (From: "Mr. Pierre Frisch" <email@hidden>)

  • Prev by Date: Re: Inline bindings: attribute string value begining with $
  • Next by Date: Re: Inline bindings: attribute string value begining with $
  • Previous by thread: Re: Inline bindings: attribute string value begining with $
  • Next by thread: Re: Inline bindings: attribute string value begining with $
  • Index(es):
    • Date
    • Thread