Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic SYNERGY (steve huntington)
Decrease font size
Increase font size
Topic Title: File I/O from listbox javascript?
Topic Summary:
Created On: 13-Feb-2007 15:23
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 13-Feb-2007 15:23
User is offline View Users Profile Print this message


Jess Murphy

Posts: 1
Joined: 7-Feb-2007

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.
Report this to a Moderator Report this to a Moderator
 20-Feb-2007 14:15
User is offline View Users Profile Print this message


Marie Gahunia

Posts: 2
Joined: 14-Apr-2005

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.
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic SYNERGY forum.
There are currently 1 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 15:34.
There are currently 0 guests browsing this forum, which makes a total of 1 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.