[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: can a value of a parameter depends on a other value
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 01 Dec 2011 19:59:37 +0000
On 01/12/2011 18:00, Roelof Wobben wrote:
One question. If I have two variables which depends on the same condition but will have other values do I have to write three seperate variable blocks ?

yes, basically


or of course you refactor things to only pass in a boolean value with the value of the condition and then you just test that boolean twice within the template rather than passing in two parameters.

David

--
google plus: https:/profiles.google.com/d.p.carlisle

Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member