JustinThomas
09-12-2008, 03:59 PM
Hi there,
I have a dynamically rendered SVG with some built-in interactivity (via JavaScript) that I'm considering re-implementing in OpenLaszlo.
Right now I have the SVG embedded in an XHTML JSP with an object tag and an OpenLaszlo application that is called by various onclick events from the SVG (a JSTL c:if clause in the JSP checks for the existence of the desired HTTP request variable and embeds the OpenLaszlo application as a SWF when the variable exists).
I'd like to render the OpenLaszlo application with DHTML rather than Flash, but adding the necessary structure to the JSP seems to break the JavaScript in my SVG (it just stops working). Hence the reason I'm considering doing it all in OpenLaszlo and eliminating the SVG aspect (plus I'll be able to support IE properly if I eliminate SVG).
All of that background is to ask a simple question: is there an equivalent to SVG's "textpath" in the drawview API? I can't seem to find any and I use that a bit in my current project to guide some text labels around some of my graphic elements.
Thanks in advance for your advice! I'm very new to OpenLaszlo, so feel free to correct any glaring misconceptions I might have.
Justin
I have a dynamically rendered SVG with some built-in interactivity (via JavaScript) that I'm considering re-implementing in OpenLaszlo.
Right now I have the SVG embedded in an XHTML JSP with an object tag and an OpenLaszlo application that is called by various onclick events from the SVG (a JSTL c:if clause in the JSP checks for the existence of the desired HTTP request variable and embeds the OpenLaszlo application as a SWF when the variable exists).
I'd like to render the OpenLaszlo application with DHTML rather than Flash, but adding the necessary structure to the JSP seems to break the JavaScript in my SVG (it just stops working). Hence the reason I'm considering doing it all in OpenLaszlo and eliminating the SVG aspect (plus I'll be able to support IE properly if I eliminate SVG).
All of that background is to ask a simple question: is there an equivalent to SVG's "textpath" in the drawview API? I can't seem to find any and I use that a bit in my current project to guide some text labels around some of my graphic elements.
Thanks in advance for your advice! I'm very new to OpenLaszlo, so feel free to correct any glaring misconceptions I might have.
Justin