Re: character < must be escaped
Re: character < must be escaped
- Subject: Re: character < must be escaped
- From: Jake Bearkley <email@hidden>
- Date: Tue, 15 Jun 2010 12:37:37 +0930
Thanks for your response.
Couldn't get your woognl to work.
have moved the _javascript_ into _javascript_ method and no errors!
Cheers
Bearko
On Mon, Jun 14, 2010 at 2:39 PM, Chuck Hill
<email@hidden> wrote:
On Jun 13, 2010, at 7:46 AM, Jake Bearkley wrote:
> Hi All,
>
> I have just upgraded to a Eclipse 3.5 and am having the following issue:
>
> when I reference a WOActionURL within _javascript_ I am getting the message "The character < must be escaped."
>
> example
> <a href ="" = window.open('<webobject name=helpWindow></webobject>', 'new', 'menubar=no, resizable=yes, scrollbars=no, width=600, height=170'); helpWindow.focus(); return false; "> </a>
>
> I dont want to turn off "Require well-formed HTML" in the wolips development preferences
>
> can someone please tell me a way around this?
Use well formed HTML? :-)
<webobject name=MissingCourseLink>Report a Missing Course</webobject>
MissingCourseLink: WOGenericContainer {
elementName = "a";
href ="">
= window.open('" + helpWindowName + "', 'new', 'menubar=no, resizable=yes, scrollbars=no, width=600, height=170'); helpWindow.focus(); return false; ";
}
Or if you are not using WOONGL, move the onclick string to a java method.
Chuck
--
Chuck Hill Senior Consultant / VP Development
Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
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