Re: Re[2]: calculator example, Linking Actions and OGNL
Gerald Bauer <[email protected]> Thu, 15 Apr 2004 07:01:18 -0700 (PDT)
| Newsgroups | gmane.comp.java.luxor-xul.user |
|---|---|
| Message-ID | <[email protected]> |
Hello Vladimir, >> luxor supports scripting.It uses beanshell(it is >> kind of java) and probably >> python as well. > hmm... is it possible to use OGNL? We compared it > with beanshell... > OGNL is faster and simpler to use. I might be mistaken and I don't want to kick off a holy war but isn't OGNL just an expression language and not a full scripting language? Also as I said before I invite you to create a new module/branch in the CVS repository and add OGNL support to Luxor so we can better experiment and see how it all works. > BTW, another approach of "faster development" with > xul and idea of > "keeping everything in one place" is to keep > everything in xul... > It will work fine for simple dialogs. I fully support adding scripting or expression languages like OGNL to XUL. However, if your script is more than a one-liner I suggest putting it in a separate file. For Anakreon's Beanshell scripting example see the old mailinglist post titled "Luxor Beanshell Scripting In Action: Batik Reloaded" online @ http://article.gmane.org/gmane.comp.java.luxor-xul.user/434 - Gerald ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click