FYI: I am jsut discussing on the developer list about how to fix our .lzx files (and also to have some kind of code intelligence in the Eclipse IDE)
http://www.openlaszlo.org/pipermail/laszlo-user/2011-November/008708.html http://www.openlaszlo.org/pipermail/laszlo-user/2011-November/008717.html You can test hat in the current sources in WebContent/src/base/auth I've added some DTD. If you have set up Eclipse to treat .lzx as XML you can type "<" or make a whitebspace behind a tag and you will see all possible tags proposed by Eclipse for that tag. I think I am going to make some demo and put on the website when its ready for public usage. However I guess I will kick this approach away and use XMLNS instead, its a lot more handy. A future lzx would look like this: <?xml version="1.0" encoding="UTF-8"?> <lzx:canvas xmlns:lzx="http://www.laszlosystems.com/2003/05/lzx" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.laszlosystems.com/2003/05/lzx lzx.xsd "> <lzx:view name="asddsa"> </lzx:view> </lzx:canvas> Or extended with our projet.xsd like this: <?xml version="1.0" encoding="UTF-8"?> <lzx:canvas xmlns:lzx="http://www.laszlosystems.com/2003/05/lzx" xmlns:project="http://www.openmeetings.de/2011/project" <http://www.openmeetings.de/2011/project> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.laszlosystems.com/2003/05/lzx lzx.xsd http://www.openmeetings.de/2011/project project.xsd"> <lzx:view name="asddsa"> <project:videoview name="hans"> </project> </lzx:view> </lzx:canvas> We will be forced to change some of our code: A construct like this: <class name="hanshans" extends="view" width="200" >.... </class> <hanshans /> <hanshans /> Has to become: <class name="hanshans" extends="view" >.... </class> <hanshans width="200" /> <hanshans width="200" /> => a "class" tag can only contain the arguments: name, extends , so any other attribute has to go into the instance declaration, not in the class. Sebastian -- Sebastian Wagner http://www.openmeetings.de http://www.webbase-design.de http://www.wagner-sebastian.com [email protected] -- You received this message because you are subscribed to the Google Groups "OpenMeetings developers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/openmeetings-dev?hl=en.
