On 02/11/2018 12:19, Martin Röh wrote:
>   <update><![CDATA[rjs:
>                                                 var update = false;
>                                                 if ( 
> srcBean.getDatasetFirstValueById("uid") == "mar" ) {
>                                                         update = true;
>                                                 }
>                                                 update;
>                                         ]]></update>
Hi Martin,

In java, using "==" on a string will compare the memory address of the object.

To compare chars, your have to use equals method, eg 
srcBean.getDatasetFirstValueById("uid").equals("mar")

Regards

-- 
Soisik Froger 
Worteks | https://www.worteks.com
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org

lsc-users mailing list
[email protected]
https://lists.lsc-project.org/cgi-bin/mailman/listinfo/lsc-users

Reply via email to