UserApplication 4.0.1


I have the following in my request form and i want to modify/update my
manager attribute.

FieldName | DataType |ControlType
UserName |dn |DNLookup
Manager |dn |DNLookup

UserName
Event onchange : field.fireevent("UsertoModify")

Manager
Display Expression : manager
Event UsertoModify :
function list()
{
var dn = "";
try
{
dn = form.getValue("UserName");
return( IDVault.get("Manager", dn, "user", "manager" ));
}
catch( e )
{
alert ( e );
}
}

And also tried with this code as well for the Manager Event propery

try
{

dn=form.getValue("UserName")
stringdn= new String(dn)
var av = IDVault.get( null, stringdn, "user", "manager");
}

catch(e)
{
}

But still the field "Manager" is not getting populated. in eDir the
manager attribute is the value.
I have other user fields like firstname,sn,city,co,mobile and etc. for
all other the fields it is getting populated but not for this. Even with
the same formula i used for other fields its not helping.



Any idea?... is there any special case for DNLookup datatype.


--
lvaradha
------------------------------------------------------------------------
lvaradha's Profile: http://forums.novell.com/member.php?userid=77512
View this thread: http://forums.novell.com/showthread.php?t=458317