Notices


 
 
LinkBack Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 29-Oct-2009, 08:25 AM
Senior Member
 
Join Date: Feb 2008
Location: Stockholm, Sweden
Posts: 508
joakim_ganse 1-9 reputation points
Default preselect a value of a Global List

Hi,

I thought preselecting a value of a Global List would be easy and may be it is but I'm stuck.

This is what I've got right now in an onload:
form.setValues("phonenrtype", form.getValue("curr_phonenrtype"), IDVault.globalList(null, "Phone-nr-types"))

What I'm trying to do is updating a user.
First I pick and read the user object setting the "curr_phonenrtype" field as a string but I also want the list that is editable to focus on that value since otherwhise it will be focused on "none" and that will be written to the object.

How can I do this ?
__________________
-----------------------------------
joakim . ganse_@_ accept-it . se
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -6. The time now is 01:18 PM.


© 2007 Novell, Inc. All Rights Reserved.

Search Engine Friendly URLs by vBSEO 3.3.0 RC2