• 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: 5.4 and comments
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 5.4 and comments


  • Subject: Re: 5.4 and comments
  • From: "Daniele Corti" <email@hidden>
  • Date: Tue, 30 Oct 2007 09:31:44 +0100



2007/10/29, Mike Schrag <email@hidden>:
2007/10/29, Jeffrey Simpson < email@hidden>:
We often use tags to pass values into a piece of _javascript_.  Will the tags
be parsed?

Sure!
The only case, where some problems occur (but probably it works) is

var myStr = "My Name is <webobject name="MyName" />";

in this case you should use <webobject name=MyName /> without quote.
Wait, are you answering for WO 5.4 or the WOLips validator. This sounds like the WOLips validator, which also sounds like a bug that you can't use name = "whatever" inside of _javascript_ quotes.  I honestly don't know for 5.4 -- I haven't tested this out.

Well, I used name="whatever" inside quote, and it worked in WO 5.3  (I've not 5.4), but I remember I used it also in another component and in the runtime (I don't remember the class, while generating the HTML) it gives an exception (Tag Not Valid if I remember, sorry but It was last year). After I remove the quotes it works perfectly.

ms

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden

This email sent to email@hidden



--
Daniele Corti
AIM: S0CR4TE5
Messenger: email@hidden

--
Computers are like air conditioners -- they stop working properly if you open
WINDOWS

--
What about the four lusers of the apocalypse? I nominate:
"advertising", "can't log in", "power switch" and "what backup?"
--Alistair Young
 _______________________________________________
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: 5.4 and comments
      • From: Charles Koppelman <email@hidden>
References: 
 >5.4 and comments (From: Jeffrey Simpson <email@hidden>)
 >Re: 5.4 and comments (From: "Daniele Corti" <email@hidden>)
 >Re: 5.4 and comments (From: Mike Schrag <email@hidden>)

  • Prev by Date: Re: WOApplication.createRequest 5.3 and 5.4
  • Next by Date: Re: The Official What-I-Did-To-Run-5.3-On-Leopard Post
  • Previous by thread: Re: 5.4 and comments
  • Next by thread: Re: 5.4 and comments
  • Index(es):
    • Date
    • Thread