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: Listbox Dependency
Topic Summary: Trouble setting up Listbox Dependency
Created On: 29-Sep-2007 16:03
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.
Answer This question was answered by Greg Wishart, on Tuesday, October 2, 2007 9:01 PM

Answer:
Had to edit pt_listbox.cfg to resolve this issue. I'm all set
 29-Sep-2007 16:03
User is offline View Users Profile Print this message


Greg Wishart

Posts: 6
Joined: 14-Aug-2007

Using Change version 4.7 and I'm having a heck of a time creating a listbox dependency. Here is what I'm doing.
    Since I'm adding a new listbox i'm going into Lifecycle Editor
    I click on Edit CR Process
    Go to Attributes
    I click Create Change Request Attribute
    Give the Attribute a name make the webtype CCM_listbox so that I can add a parent.
    Add the parent from the drop down list.

    Click Update
    Save the CR package
    I then Create a new package.
    Uninstall previous package'
    Install new package

    Go to Administration
    Listbox Manager
    I find the attribute I just added. It's set for simple listbox. So I go into properties of this new attribute and I have only 4 options to customize this:
    Simple Listbox
    File Listbox
    External Listbox
    Database Listbox.

I select database listbox and I put in the value of the attribute in this field. I save and It never displays properly it always takes me to the same customize listbox propterties page. Anyone have any suggestions? I really appreciate any response.

Edited: 29-Sep-2007 at 16:11 by Greg Wishart
Report this to a Moderator Report this to a Moderator
 2-Oct-2007 21:01
User is offline View Users Profile Print this message


Greg Wishart

Posts: 6
Joined: 14-Aug-2007

Answer Answer
Had to edit pt_listbox.cfg to resolve this issue. I'm all set
Report this to a Moderator Report this to a Moderator
 12-Oct-2007 10:08
User is offline View Users Profile Print this message


michael Barnes

Posts: 85
Joined: 12-Nov-2003

Greg,

Could you advise on the change you made?
Report this to a Moderator Report this to a Moderator
 12-Oct-2007 13:32
User is offline View Users Profile Print this message


Greg Wishart

Posts: 6
Joined: 14-Aug-2007

Sure - What did you need to know?  The exact change I made in the file?
Report this to a Moderator Report this to a Moderator
 15-Oct-2007 10:28
User is offline View Users Profile Print this message


Danny Beerens

Posts: 18
Joined: 3-Jun-2004

Hi Micheal,

If you want to have (e.g.) 'components' dependent on 'sub_system', you have to indicate this in the XML process file.
If the Listboxes don't cooperate, in the pt_listbox.cfg file you'll find an entry:

[CCM_LISTBOX][NAME]sub_system[/NAME][TYPE]ATTRIBUTE[/TYPE][VALUES]Any[/VALUES][DATABASE_SPECIFIC]NOT_DATABASE_SPECIFIC[/DATABASE_SPECIFIC][/CCM_LISTBOX]

Change this into:
[CCM_LISTBOX][NAME]sub_system[/NAME][TYPE]ATTRIBUTE[/TYPE][DEPENDENT_ATTR]components[/DEPENDENT_ATTR][VALUES]Any[/VALUES][DATABASE_SPECIFIC]NOT_DATABASE_SPECIFIC[/DATABASE_SPECIFIC][/CCM_LISTBOX]

If for instance 'department' is also dependent on 'sub_system' the line has to be changed into:
[CCM_LISTBOX][NAME]sub_system[/NAME][TYPE]ATTRIBUTE[/TYPE][DEPENDENT_ATTR]components|department[/DEPENDENT_ATTR][VALUES]Any[/VALUES][DATABASE_SPECIFIC]NOT_DATABASE_SPECIFIC[/DATABASE_SPECIFIC][/CCM_LISTBOX]

It sometimes happens that the Listboxes trail behind the XML file. You can solve this by either removing the pt_listbox.cfg file and letting Change generate a new pt_listbox.cfg file, or by using the solution above.

Hope this helps.

Regards,
Danny

-------------------------
Regards,
Danny
Report this to a Moderator Report this to a Moderator
 16-Oct-2007 09:27
User is offline View Users Profile Print this message


michael Barnes

Posts: 85
Joined: 12-Nov-2003

Greg,
Yes please, if its not the same as Danny's response of 15 October.

Edited: 16-Oct-2007 at 09:28 by michael Barnes
Report this to a Moderator Report this to a Moderator
 16-Oct-2007 13:22
User is offline View Users Profile Print this message


Greg Wishart

Posts: 6
Joined: 14-Aug-2007

Nope it's exaclty as he says! 
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic SYNERGY forum.
There are currently 2 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 2 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.