[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
Re: [ic] Require variable
Jon Jensen <jon@redhat.com>
Sent by: interchange-users-admin@developer.akopia.com
08/02/2001 04:09 PM
Please respond to interchange-users
To: <interchange-users@developer.akopia.com>
cc:
Subject: Re: [ic] Require variable
On Thu, 2 Aug 2001 bill@worldwideimpact.com wrote:
>> Please make Require directive require variables as in
>> Require variable STOREID
> Could you elaborate on this proposal? Require what about that variable?
> That it exist? That it be non-empty? That it be a specific value? Any
> examples of specific problems this would solve for you?
> Jon
Require that it exists.
One example is that I have UserTags that rely on certain catalog
variables. It would be nice to require that those variables at least exist
before starting the given catalog.
Another example is using catalog variables in queries. I often say things
like [query sql=|SELECT * FROM __DB__.items|]. __DB__ has a different
value based on what host the catalog is running on. DB is set to a test
database if the host is the devo host. If DB is not defined certain pages
will fail. It would be good to at least require that DB is defined.
Bill Carr
Worldwide Impact
bill@worldwideimpact.com
413.253.6700
_______________________________________________
interchange-users mailing list
interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users
_______________________________________________
interchange-users mailing list
interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users