PDA

View Full Version : Compilation Warnings in the Data Tutorial


knuckleswanny
01-26-2003, 05:41 AM
Compilation Warnings
data.lzx:4:58: element "datapointer" not allowed in this context
The code is from the data tutorial.
Two questions, one is can you turn off logging for warnings and two is can you redirect compilation errors/warnings/messages? I know that messages go to stderr but can they be logged instead of printed to the page?

antun
01-27-2003, 09:56 AM
Right now there isn't a switch for turning off the warnings, and you can't really redirect them. What you can do is change the request type, so that the LPS only returns the SWF (no wrapper page):-

?lzt=swf

And write your own wrapper page.

See here:-

http://www.laszlosystems.com/developers/community/forums/showthread.php?threadid=25

-Antun

knuckleswanny
01-27-2003, 11:25 AM
cool, thank you Antun. Oh and if there's anyone out there using UltraEdit for your lzx files, I created code completion and word highlighting files for laszlo files. Send me an email and I'll send them right along.