Surely sendmail reeled when thusly spake Geert Bevin:
>
> >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.
> 
> That sounds weird

It does  ;-)

> what does the globalvar contain? Are you sure you  
> shouldn't instead write explicit inputs/outputs/datalinks?

I'm pretty sure I shouldn't.  It has the ID of a content item 
to be operated upon.  It is used in about half of my elements, 
so I'm trying to keep sitemap clutter and fragility down and 
maintainability up by making it available thruout the sitemap. 

> The site structure will not help you determining which elements use a  
> globalvar since it'll just tell you that they all can possibly use  
> them (that's what you declared). Only by looking at your own Java  
> code you'll be able to find that out.

Okay.  I know Rife does lotsa nifty things with introspection 
and classloaders and stuff, so I was not sure. 

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


fred

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

Reply via email to