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 ="#" onlick = "helpWindow = 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 ="#";
onlick = ~"helpWindow = 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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]