Le Fri, 12 Oct 2012 17:37:24 +0200, Emmanuel Lesouef <[email protected]> a écrit :
> Le Fri, 12 Oct 2012 17:34:20 +0200, > David Coutadeur <[email protected]> a écrit : > > > Thanks for the tip, David, > > It doesn't display errors but doesn't try to modify the values > neither... > > Here is the code that worked : <string><![CDATA[ var st = 0 + srcBean.getDatasetFirstValueById("st"); var newSt = ""; switch (st) { case "061": newSt = String("Orne"); break; case "050": newSt = String("Manche"); break; case "014": newSt = String("Calvados"); break; default: newSt = String(""); break; } newSt ]]></string> Thanks very much. -- 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

