Hi, "principally i think its easier to change a variables content than changing the whole variable in this case...."
It's not the variable content I want to change but where it is written. I want to keep "description" but just display it on textfield comment... Thanks, Bidab On Apr 28, 5:01 pm, smoeker <o.beche...@medint.de> wrote: > howdy, > > principally i think its easier to change a variables content than > changing the whole variable in this case.... > > -> the function registerUserInit doesnt handle users.comment as > parameter. > -> u would have to change this function receiving one more parameter > and passing it to saveAddress.... > -> u just changed the variable name, but u r passing the description > still as additional name... > > see ya > > Smoeker > > On 28 Apr., 16:50, bidab <ivan.bol...@gmail.com> wrote: > > > or maybe the static keys "LDAP_KEY_COMMENT" does'nt exist ? > > > Thanks > > > On Apr 28, 4:49 pm, bidab <ivan.bol...@gmail.com> wrote: > > > > Hi, > > > > Hum sorry, what do you mean by "u need to do it vice versa" ? > > > > I understand that static keys represents OM Fields and "description" > > > is the value returned in OpenMeetings. > > > So I known that if I just change everywhere the static keys, the value > > > "description" will be write where I want...but apparently not. > > > > I forget something ? > > > > Thanks, > > > > Bidab > > > > On Apr 28, 1:57 pm, smoeker <o.beche...@medint.de> wrote: > > > > > hola, > > > > > u need to do it vice versa - the static keys represent the Fields > > > > within OM user table, the values (i.e. description) are expected > > > > within LDAP - Result.... > > > > > see ya > > > > > Smoeker > > > > > On 28 Apr., 13:21, bidab <ivan.bol...@gmail.com> wrote: > > > > > > Hi Smoeker > > > > > > I try to change some java part but without success... > > > > > > This is what I made : > > > > > > change --> public static final String LDAP_KEY_ADDITIONAL_NAME = > > > > > "description"; > > > > > to --> public static final String LDAP_KEY_COMMENT = "description"; > > > > > > and here : > > > > > > change --> > > > > > String additionalname = "additionalname"; > > > > > if(userdata.containsKey(LDAP_KEY_ADDITIONAL_NAME) && userdata.get > > > > > (LDAP_KEY_ADDITIONAL_NAME) != null) > > > > > comment = userdata.get(LDAP_KEY_ADDITIONAL_NAME); > > > > > > to --> > > > > > String comment = "comment"; > > > > > if(userdata.containsKey(LDAP_KEY_COMMENT) && userdata.get > > > > > (LDAP_KEY_COMMENT) != null) > > > > > comment = userdata.get(LDAP_KEY_COMMENT); > > > > > > and finally here : > > > > > try{ > > > > > newUserId= > > > > > Usermanagement.getInstance().registerUserInit( > > > > > 2,//user_level > > > > > 1,//level_id > > > > > 1,//available > > > > > 1,// status > > > > > login,// loginname > > > > > passwd,//passwd > > > > > lastname, > > > > > firstname, > > > > > email, > > > > > new java.util.Date(), > > > > > street, > > > > > comment, //additionnalname before > > > > > > But it doesn't function, the description is always write in > > > > > additionnal name and not in comment... > > > > > > Thanks > > > > > Bidab > > > > > > On Apr 28, 8:40 am, smoeker <o.beche...@medint.de> wrote: > > > > > > > hola, > > > > > > > u need to change the java part : LdapLoginManagement contains > > > > > > mappings > > > > > > between User fields OM and Ldap Fields : > > > > > > > public static final String LDAP_KEY_LASTNAME = "sn"; > > > > > > public static final String LDAP_KEY_FIRSTNAME = "givenName"; > > > > > > public static final String LDAP_KEY_MAIL = "mail"; > > > > > > public static final String LDAP_KEY_STREET = > > > > > > "streetAddress"; > > > > > > public static final String LDAP_KEY_ADDITIONAL_NAME = > > > > > > "description"; > > > > > > public static final String LDAP_KEY_FAX = > > > > > > "facsimileTelephoneNumber"; > > > > > > public static final String LDAP_KEY_ZIP = "postalCode"; > > > > > > public static final String LDAP_KEY_COUNTRY = "co"; > > > > > > public static final String LDAP_KEY_TOWN = "l"; > > > > > > public static final String LDAP_KEY_PHONE = > > > > > > "telephoneNumber"; > > > > > > > see ya > > > > > > > Smoeker > > > > > > > On 27 Apr., 16:43, bidab <ivan.bol...@gmail.com> wrote: > > > > > > > > Hi, > > > > > > > > I use openmeetings 0.7RC1 and LDAP. > > > > > > > When a new user is created thanks to LDAP connection, there are > > > > > > > somes > > > > > > > informations about the user inside his profile, for example his > > > > > > > description ("Ivan Bolzer - Workplacement in network") for > > > > > > > example. > > > > > > > > This is good, in fact I would this information displays on the > > > > > > > textbox > > > > > > > "comment" and not in "additionalname". I'm not sure, I found > > > > > > > userSettings.lzx and registerNewUser.lzx but I don't know if it's > > > > > > > here > > > > > > > because I would applicate this modification just for LDAP > > > > > > > connection > > > > > > > (if it's possible)... > > > > > > > > Thanks > > > > > > > > Bidab- Zitierten Text ausblenden - > > > > > > - Zitierten Text anzeigen -- Zitierten Text ausblenden - > > > - Zitierten Text anzeigen - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "OpenMeetings User" group. To post to this group, send email to openmeetings-user@googlegroups.com To unsubscribe from this group, send email to openmeetings-user+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/openmeetings-user?hl=en -~----------~----~----~----~------~----~------~--~---