I'm sorry for the HTML shit (and terrible HTML too!). Somebody configured our exchange server so that it converts all messages to HTML, which proves once again that Microsoft is pure evil. Incredible, but true.
Rico Jansen <[EMAIL PROTECTED]> wrote:> > <P><FONT SIZE=2>Ok this allows for dynamic loading, have you got any ideas about > that, how </FONT> > > <BR><FONT SIZE=2>to register and load different functions ?</FONT> That can be done in several ways. For functions on MMObjectBuilder I would simply hard-code it somewhere in the builder, plus a function which can find that back. (NodeFunction in speeltuin, takes a Node, plus a String, and finds back the the MMobjectBuilder, and makes the function object only using the paramters constants (using reflection), but that might not be very flexible (as pierre pointed out), so I will add an extra method on MMObjectBuilder, for which this implemenation might be only one of the possiblities). I also implemented a Function which searches a method with the given name in a given class (e.g. the jsp-class, you're in). Daniel proposes an implementaiton based on an XML, which simply states all classes and methods which must be accessible, grouped by 'sets'. > > <BR><FONT SIZE=2>Another thing is ordering of functions, since some of them might be > order</FONT> > > <BR><FONT SIZE=2>dependent.</FONT> I don't actually understand this point. When using reflection to 'define' a function, there might be more methods with the same name. The above mentioned implementation simply gives an error if there is more than one with the given name. But probably that is not what you meant? Michiel -- Michiel Meeuwissen Mediapark C101 Hilversum +31 (0)35 6772979 nl_NL eo_XX en_US mihxil' [] ()
