This question about Configuration: Answered
Slightly wierd from someone in the depths of configure internals, but I would rather ask than sink deeper
DISPLAY_IF (in .spec files) seems like a great way to simplify the interface. I can see that DISPLAY_IF {checkbox} does what's expected: display the item iff the box is checked.
I have a more interesting case (in off-line tasks). I have a selectbox that determines whether bunches of items matter. I'd like selection changes to rearrange what's displayed to match.
Can I say DISPLAY_if {select}=value? Or values? I tried to figure it out, but got lost in the perl/javascript maze.
If not, it would be a handy addition...
--
TimotheLitt - 11 Oct 2012
DISPLAY_IF is designed to interpret it's parameter using an eval, after expansion of anything in curly braces to a $Foswiki::cfg reference. This appears to be broken by the latest code, or maybe I'm missing something.
--
CrawfordCurrie - 24 May 2013