Upper and lowercase can be done simply by calling the methods on the string....


On Wed, 15 Sep 2004 15:29:48 +0200, Marc DEXET <[EMAIL PROTECTED]> wrote:
> 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
> ............................................
> 
> 



-- 
http://www.multitask.com.au/people/dion/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to