![]() |
Telelogic SYNERGY (steve huntington) | ![]() |
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 |
![]() |
![]()
|
![]() Answer: Had to edit pt_listbox.cfg to resolve this issue. I'm all set | |
![]() |
|
Using Change version 4.7 and I'm having a heck of a time creating a listbox dependency.
Here is what I'm doing.
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 |
|
![]() |
|
![]() |
|
Had to edit pt_listbox.cfg to resolve this issue. I'm all set
|
|
![]() |
|
![]() |
|
Greg,
Could you advise on the change you made? |
|
![]() |
|
![]() |
|
Sure - What did you need to know? The exact change I made in the file?
|
|
![]() |
|
![]() |
|
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 |
|
![]() |
|
![]() |
|
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 |
|
![]() |
|
![]() |
|
Nope it's exaclty as he says!
![]() |
|
![]() |
Telelogic SYNERGY
» SYNERGY/Change
»
Listbox Dependency
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.