Login
Register
Search
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Forums
User Experience
Lawson Design Studio
Version 10 Design Studio
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
Hitman
Past 24 Hours:
0
Prev. 24 Hours:
0
Overall:
5208
People Online:
Visitors:
367
Members:
0
Total:
367
Online Now:
New Topics
Lawson S3 HR/Payroll/Benefits
Post Tax Benefit Plan Table
11/14/2024 9:16 PM
Hi, totally new to Laswon. I have a repor
Lawson S3 Procurement
ED501 Error: Map 850 not supported by /law/c15vda/lawson/test10/edi/bin/laws_out_91
11/12/2024 3:47 PM
Tried runnning ED501 and getting the atathced erro
Lawson S3 HR/Payroll/Benefits
Error
11/6/2024 9:54 PM
When I try to enroll a retiree in 72.1 health plan
Infor ERP (Syteline)
Syteline: New Data Maintenance Wizard (Error) Need help
11/1/2024 4:24 PM
Hi, I need help with an error on syteline while us
Dealing with Lawson / Infor
Implementing Lawson v10 with Cerner Surginet, Case Cart Picking, and Quick Adds for the OR
10/29/2024 4:20 PM
Hi Everyone, I am wondering if there is any org
Lawson S3 HR/Payroll/Benefits
Canada Tax Calculation (Federal and Provincial) Issue
10/23/2024 5:00 AM
Initially, we had problem with CPP2 calculation is
Lawson S3 HR/Payroll/Benefits
CA Section 125 401k Plan
10/22/2024 10:13 PM
Does anyone have any recommendations on how to fac
S3 Systems Administration
Running AC120 deleted records from ACMASTER table
10/22/2024 3:40 PM
We recently ran the AC120 as normal and somehow it
Lawson S3 Procurement
RQ13 Approval Info
10/17/2024 2:12 PM
When a Requisition is approved on RQ13, what table
S3 Customization/Development
Read and Write CSV file COBOL
10/9/2024 2:53 PM
Does anyone have a quik example of a program that
Top Forum Posters
Name
Points
Greg Moeller
4184
David Williams
3349
JonA
3291
Kat V
2984
Woozy
1973
Jimmy Chiu
1883
Kwane McNeal
1437
Ragu Raghavan
1372
Roger French
1315
mark.cook
1244
Forums
Filtered Topics
Unanswered
Unresolved
Announcements
Active Topics
Most Liked
Most Replies
Search Forums
Search
Advanced Search
Topics
Posts
Prev
Next
Forums
User Experience
Lawson Design Studio
Version 10 Design Studio
Please
login
to post a reply.
1 Replies
0
Subscribed to this topic
12 Subscribed to this forum
Sort:
Oldest First
Most Recent First
Author
Messages
Brett Eshenour
Basic Member
Posts: 6
1/29/2014 5:53 PM
We are in the process of upgrading to V10. We have numerous custom design studio forms that use dme calls to populate a list box on the form. Under V9 the sample code below populates the list box beautifully. On V10 the same code does not function. The DOM getElementById returns a null, we worked around that and got rid of the errors but it will not populate the list box.
Has any one else run into issues with Design Studio form list boxes under V10 and would you be willing to share your work around if you were successful in getting it to work?
Thx
Brett
//SAMPLE CODE BELOW
function BuildDegrees()
{
vDegree_Array[0] = "one";
vDegree_Array[1] = "two";
vDegree_Array[2] = "three";
vDegree_Array[3] = "four";
vDegree_Array[4] = "five";
var vDegCount = 5;
var objSelect0 = document.getElementById("VALUES_l60"); //Should point to the degree dropdown on the screen
alert(objSelect0);
for (i=0;i
{ alert("Loading drop down: " + vDegree_Array
);
LoadtVals(vDegree_Array
, objSelect0);
// move it to the drop down box 'span'
} //end loop to load the drop down
} //end function Build Degrees
//*****************************************************************************************************
// function LoadtVals
//*****************************************************************************************************
function LoadtVals(pString, pSelect)
{
tVals0 = document.createElement("span");
tVals0.setAttribute("id", pString);
tVals0.setAttribute("tran", pString);
tVals0.setAttribute("disp", pString);
tVals0.setAttribute("text", pString);
pSelect.appendChild(tVals0);
alert(pSelect);
} //end of function LoadtVals
Brett Eshenour
Basic Member
Posts: 6
1/30/2014 3:02 PM
Well I never replied to my own post's before, but there always a first time. Figured out that in Version 10 the document.getElementById returns an HTMLSelectElement object that you are working with. The code below will populate the list box correctly. Now the challenge is getting it in work in the Custom Apps. My example below is very simple. The actual answer I used to build it can be found at
http://stackoverflow.com/...ns-to-select-element
Brett
var objSelect0 = document.getElementById("_l66"); //Should point to the degree dropdown on the screen
alert("DOM get element by id .vlaue : " + objSelect0.value);
//
// experiment
//
for (i=0;i
{
alert("Attempting to load list box : " + vDegree_Array
);
objSelect0.options.add( new Option( vDegree_Array
));
}
Please
login
to post a reply.