lets say that two branch route blocks have a common piece of code. can duplicating of this code be avoided by including the common code in a third branch route block, which is then called from the other two branch route blocks or is there some other means to avoid the duplication?
i tried to find this out from the core cookbook, but the issue was not discussed.
-- juha
Hi Juha,
From script you cannot directly call a branch route - this type of routes are only invoked internally, by the TM module.
Probably you are trying to re-use some script by having a simple route called from multiple branch routes - yes, that's possible.
Regards, Bogdan
Juha Heinanen wrote:
lets say that two branch route blocks have a common piece of code. can duplicating of this code be avoided by including the common code in a third branch route block, which is then called from the other two branch route blocks or is there some other means to avoid the duplication?
i tried to find this out from the core cookbook, but the issue was not discussed.
-- juha
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
Bogdan-Andrei Iancu writes:
Probably you are trying to re-use some script by having a simple route called from multiple branch routes - yes, that's possible.
bogdan,
thanks for your answer. so if i call route block from a branch route block and in that route block make setbflag calls, do these calls affect the flags of the branch that the branch route block is currently dealing with?
-- juha
Hi Juha,
yes, that is correct.
Regards, bogdan
Juha Heinanen wrote:
Bogdan-Andrei Iancu writes:
Probably you are trying to re-use some script by having a simple route called from multiple branch routes - yes, that's possible.
bogdan,
thanks for your answer. so if i call route block from a branch route block and in that route block make setbflag calls, do these calls affect the flags of the branch that the branch route block is currently dealing with?
-- juha