Wolf Paulus wrote:
Reflection works well on classes and statics. However, it doesn't help you
much with runtime information. Looking for a "PressMe" therefore would
require the pressme method to be static.
Tim also told me about enode.com and I would really recommend to visit their
site. Looks like they already did most if not all of the work we still have
to do.
Look here for info on how event handlers are linked in enode.
http://www.enode.com/x/markup/tutorial/eventListeners.html
However, I think enode does a little bit to much "programming" inside the
XML:
<vector id="callParameters">
<objectRef xlink:href="#calendar"/>
</vector>
<call target="#monthModel"
method="addSequenceChangeListener"
parameters="#callParameters"/>
From my experience with Thinlet, I think its best to just give the
components / widgets names and do even simple things like attaching event
handlers through code.
Please let me know what you think about this issue.
How do you want to link the even handlers to the objects the parser will
instantiate?
You should look at OGNL. It would be perfect for this.
- Drew
--
+---------------------------------+
< Drew Davidson | OGNL Technology >
+---------------------------------+
| Email: [EMAIL PROTECTED] /
| Web: http://www.ognl.org /
| Vox: (520) 531-1966 <
| Fax: (520) 531-1965 \
| Mobile: (520) 405-2967 \
+---------------------------------+