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 PROTECTED]


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 PROTECTED] wrote:
From: Mike Schrag <[EMAIL PROTECTED]>
Subject: Re: Inline bindings: attribute string value begining with $
To: WebObjects-Dev Mailing List <[email protected]>
Message-ID: <[EMAIL PROTECTED]>
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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40mdimension.com

This email sent to [EMAIL PROTECTED]

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/pierre%40apple.com

This email sent to [EMAIL PROTECTED]

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to