Surely sendmail reeled when thusly spake Geert Bevin:
>
> > I am calling ElementInfo.hasInputs(), but it does not
> > seem to detect inputs in all cases.
> 
> I doubt that, since this is the code that is used by RIFE itself.
> 
> > Is it possible that if an Element's implementation is a
> > _subclass_ of a class which calls Element.getInput("fubar"),
> > then the input "fubar" is not detected for the ElementInfo
> > of this subclass ?
> 
> Of course, inputs are declared in the element declaration, 
> they have  nothing to do with the element's implementation. 
> So Java subclasses are totally unrelated to it and inheritance 
> will not let you inherit input declarations.

Right, okay.

In this case, I have a globalvar which is used by some but 
not all Element's, and when I write out a sitemap I'd like 
to be able to indicate which ones are using that globalvar.

But since hasInputs() is based on sitemap declarations and 
not introspection, I'll need a different mechanism.


thx!

fred

_______________________________________________
Rife-users mailing list
[email protected]
http://www.uwyn.com/mailman/listinfo/rife-users

Reply via email to