Thanks Rahul, I would include "Method Invocation" as part of "http://jakarta.apache.org/commons/sandbox/scxml/guide/contexts-evaluators.html"
I would include "payload/_eventdata" documentation as part of "http://jakarta.apache.org/commons/sandbox/scxml/guide/core-events.html" --- Rahul Akolkar <[EMAIL PROTECTED]> wrote: > On 4/20/06, Nestor Urquiza <[EMAIL PROTECTED]> > wrote: > > Agree about documentation. I will post my usecase > > implementation whenever a finish it at least the > steps > > I followed to get my State Oriented Business > Protocol > > working. > > > <snip/> > > That'll be nice, thanks. > > > > > > I would say that the simpler the example the > better > > the guide so I would build a second > > StandaloneJexlExpressions2.java and > > StandaloneElExpressions2.java to show for example > > method invocation (at least for jexl), context > > manipulation and maybe payload operations. > <snap/> > > Method invocation is straightforward, so probably > not worth creating > that extra set. A test case that showcases it, OTOH, > will be a welcome > addition. > > > > I have a > > little idea about what a payload can do for me for > > executing events but an example would definetely > help. > > Maybe what you put in the payload object is > available > > within the context and therefore I do not need the > > exec getter I am asking for because instead of > using: > > evts[0] = new > TriggerEvent(this.getClass().getName(), > > TriggerEvent.SIGNAL_EVENT, null); > > > > I can use: > > evts[0] = new > TriggerEvent(this.getClass().getName(), > > TriggerEvent.SIGNAL_EVENT, > > myContextObject); > > > > I am sorry if I did not quite get what a payload > is > > :-( ... maybe a future thread subject from me to > come. > > > <snip/> > > Yup, payload becomes variable "_eventdata". Read the > _eventdata > section of the W3C draft or search the archives for > it, I remember a > couple of posts on that recently. > > > > Commonly you do not have a lot of time to reverse > > engineering and for sure more memebers of the open > > community would contribute if the real power of > > commons-scxml is shown in a very simple manner. > > > <snap/> > > Hard to disagree with that ;-) Again, all feedback > on documentation is > welcome. So, where would you expect to find a note > on method > invocation (and another one on payloads) in the user > guide [1]? Lets > add these two bits, as a small step towards that > goal. Other rough > edges in the docs? > > -Rahul > > [1] > http://jakarta.apache.org/commons/sandbox/scxml/guide.html > > > > Thanks, > > Nestor > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
