• 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: Escaping in strings according to WOML
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Escaping in strings according to WOML


  • Subject: Re: Escaping in strings according to WOML
  • From: Q <email@hidden>
  • Date: Wed, 17 Jun 2009 23:05:44 +1000

Make sure your WOD file is empty if you're using WO54 inline bindings. Unlike WOOgnl, WO54 doesn't let you mix WOD and inline entries in the same component. If your wod isn't empty then it will not parse the inline bindings.

On 17/06/2009, at 10:52 PM, Johan Henselmans wrote:


On 17 jun 2009, at 13:48, Mike Schrag wrote:

Your email said "using latest wonder/WOOGNL" -- this replaces the template parser with the one in WOOGNL. If you want to use the 5.4 one, you need to remove WOOGNL.

ms



Right, removed WOOGNL Framework from the build path, but now my nifty components come out like this in the browser:

<wo:WOString value = "[mySess.cart.cartTotal]" formatter = "[mySess.localFormat]"/>

So, no template parsing whatsoever. I am using the traditional

<webobject name = "CurrentCartItemPerformanceShowInfoShowName"/>

and

<wo:WOString value = "[cart.cartTotalItems]" />

In the same html file.

It seems components where I only use the traditional notation, template parsing works.

I use this Library path:

<Pasted Graphic.png>


any suggestions?


On Jun 17, 2009, at 7:42 AM, Johan Henselmans wrote:


On 17 jun 2009, at 13:13, Andrew Lindesay wrote:

Hello Johan;

<a name ="[@ <wo:WOString value = "[mySess.selectedPerformance.primaryKey]"/> @]"/>

Are you using the WO 5.4 new template format? I have just started using the new format myself and think it is great. I think you can just do this;


	<a name="[mySess.selectedPerformance.primaryKey]"/>

cheers.

___
Andrew Lindesay
www.lindesay.co.nz



I just tried. The output was:

<a name ="[mySess.selectedPerformance.primaryKey]"/>

hmmm.

Regards,

Johan Henselmans
http://www.netsense.nl
Tel: +31-20-6267538
Fax: +31-20-6279159



_______________________________________________
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

Regards,

Johan Henselmans
http://www.netsense.nl
Tel: +31-20-6267538
Fax: +31-20-6279159



_______________________________________________
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



-- Seeya...Q

Quinton Dolan - email@hidden
Gold Coast, QLD, Australia (GMT+10)
Ph: +61 419 729 806



_______________________________________________
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: Escaping in strings according to WOML
      • From: Johan Henselmans <email@hidden>
References: 
 >Escaping in strings according to WOML (From: Johan Henselmans <email@hidden>)
 >Re: Escaping in strings according to WOML (From: Andrew Lindesay <email@hidden>)
 >Re: Escaping in strings according to WOML (From: Johan Henselmans <email@hidden>)
 >Re: Escaping in strings according to WOML (From: Mike Schrag <email@hidden>)
 >Re: Escaping in strings according to WOML (From: Johan Henselmans <email@hidden>)

  • Prev by Date: Re: Escaping in strings according to WOML
  • Next by Date: Re: Escaping in strings according to WOML
  • Previous by thread: Re: Escaping in strings according to WOML
  • Next by thread: Re: Escaping in strings according to WOML
  • Index(es):
    • Date
    • Thread