Le Fri, 12 Oct 2012 17:34:20 +0200,
David Coutadeur <[email protected]> a écrit :

> 
> Hi Emmanuel,
> 
> I think you should try with double-quotes, and you should also
> consider using another variable for your final string, like newSt, so
> there is no confusion between them.
> 
> Something like this :
> 
>  <string><![CDATA[
>    var st = java.lang.String(srcBean.getDatasetFirstValueById("st"));
>    var newSt = "";
>       switch (st) {
>                  case "61":
>                          newSt = java.lang.String("Orne");
>                          break;
>                  case "50":
>                          newSt = java.lang.String("Manche");
>                          break;
>                  default:
>                          newSt = java.lang.String("Calvados");
>                          break;
>                  }
>                  newSt
>  ]]></string>
> 
> 
> David
> 

Thanks for the tip, David,

It doesn't display errors but doesn't try to modify the values
neither...


-- 
Emmanuel Lesouef
CRBN/DSI/SITI
t: 0231069671
e: [email protected]
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org

lsc-users mailing list
[email protected]
http://lists.lsc-project.org/listinfo/lsc-users

Reply via email to