![]() |
Telelogic SYNERGY (steve huntington) | ![]() |
Topic Title: File I/O from listbox javascript? Topic Summary: Created On: 13-Feb-2007 15:23 Status: Read Only |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
Is there a way to perform basic file I/O from within a listbox javascript file? Our company would like to manage the content of some of the listboxes in external text files so the listbox values are easier to CM. So, within the javascript file that populates the listbox, I would like to open an input file and read it, line by line (using something like the BufferedReader class). This seems like a pretty basic capability, but it's not working for me. Actually, I don't think the java.io package is available in my installation.
Related question: With execution time being so critical to listbox scripts, what's the majority opinion on doing file I/O within the script?
Thanks.
|
|
![]() |
|
![]() |
|
Why not just set the istbox to read from a file? To do this, go to the Listbox Manager, find the attribute in the list, click on properties. Set it to read from a file. The file must be in the etc directory of the Change installation.
|
|
![]() |
Telelogic SYNERGY
» SYNERGY/Change
»
File I/O from listbox javascript?
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.