• 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: Johan Henselmans <email@hidden>
  • Date: Wed, 17 Jun 2009 18:25:14 +0200


On 17 jun 2009, at 15:05, Q wrote:

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.



Thanks! That solved it. Removing all the stuff from the wod file made it a lot easier. I am still contemplating if this is an advantage: it does put a lot of no essential information in your HTML file, especially if you have a lot of bindings to fill.

Still one problem remaining:

<img src="/upload/[mySess.selectedPerformance.primaryKey]/klein.jpg" width="82" height="82" border="0"/>

displays:

<img width="82" height="82" border="0" src="/upload/ [mySess.selectedPerformance.primaryKey]/klein.jpg"/>

How can I get something in that kind of HTML tag?

If I try

<img src="/upload/"[mySess.selectedPerformance.primaryKey]"/klein.jpg" width="82" height="82" border="0"/>

 it also leads to:

<img width="82" height="82" border="0" src="/upload/ [mySess.selectedPerformance.primaryKey]/klein.jpg"/>

just like

<img src="/upload/[@ "[mySess.selectedPerformance.primaryKey]" @]/ klein.jpg" width="82" height="82" border="0"/>



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




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


  • Follow-Ups:
    • Re: Escaping in strings according to WOML
      • From: Drew Davidson <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>)
 >Re: Escaping in strings according to WOML (From: Q <email@hidden>)

  • Prev by Date: Re: Webobjects-dev Digest, Vol 6, Issue 560
  • Next by Date: Re: Hudson and Client-Side Classes
  • Previous by thread: Re: Escaping in strings according to WOML
  • Next by thread: Re: Escaping in strings according to WOML
  • Index(es):
    • Date
    • Thread