Hello everybody.
First my concern :
- write rule about variable value construction
- be sure rule are executed in proper order
Look at that
<!-- Rule Set -->
<ruleSet var="myRuleSet">
<rule var="first">
<doSomething/>
<rule>
<rule var="middle">
<doSomethingWithRuledVariables>
<blabla> middle use ${first} and ${last}</blabla>
</doSomethingWithRuledVariables>
<rule>
<rule var="last">
<doSomethingElse/>
<rule>
</ruleSet>
So if I want to be sure ${middle} is computed with real ${first} and
${last}, I have to be sure rules are fired this way :
- rule for ${first} FIRED => ${first} computed
- rule for ${middle} NEED ${last} =>
rule for ${last} FIRED => ${last} computed
${middle} computed.
So I have to catch ${last} call to be sure.
Are you OK with this ?
So I have to extend jellyContext to override "getVariable" familly method.
Everybody is OK with this or someone has another point of view ?
PS : And what about a String manipulation tag library like "uppercase",
"lowercase", "normalize" or "strip-diacritic-char" ?
............................................
Marc DeXeT
Direction des Systèmes d'Informations
Centre National de la Recherche Scientifique
~ * ~
Information System Direction
National Center for Scientific Research
http://www.cnrs.fr
............................................