-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
do you know a way, how to handle undefined constants with stdWrap.required?
Constants:
myconfig.foo = bar
Setup:
a = TEXT
a.value = {$myconfig.foo}
a.required = 1
I have a setup, where myconfig is cleared on every sub-site, thus it
turned out t
On 02/17/2012 10:10 PM, Steffen Gebert wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
do you know a way, how to handle undefined constants with stdWrap.required?
Constants:
myconfig.foo = bar
Setup:
a = TEXT
a.value = {$myconfig.foo}
a.required = 1
I have a setup, where myconfig is
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Bernd,
> you need a compare to the string '{$myconfig.foo}' unsubstituted!
> you may get it with a COA or a data, where it does not get substituted,
> then you need an 'if' instead of '.required = 1'
Will think about this..
> other solution:
>
>
Hi Steffen,
> Only option (as bug fix) I see is to replace everything, which looks
> like a constant, but got not replaced while replacing all constants.
> But that's more a general issue and doesn't only cover required but a
> general "do you want to have {$blaa} in your output, or should {$blaa}