![]() |
Telelogic SYNERGY (steve huntington) | ![]() |
Topic Title: Default value at list box Topic Summary: Created On: 29-Mar-2006 08:47 Status: Read Only |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
Hi, ------------------------- Ronen Ben-Chamo Configuration Managment |
|
![]() |
|
![]() |
|
Here is the information I received from Telelogic Support. I have NOT implemented this solution.
{begin Support response} There is a method in Synergy/Change to set default values for listboxes.
This can be done via the lifecycle editor. When editing a process xml file, you
can set a default listbox value on any of the "Submit" forms, ie. the "StartHere2xxxx" transitions.
When defining the submit dialog, you will note that each attribute on the dialog has
a "Default Value" field available for any text to be entered. Once a value is set here,
you would need to update the dialog, save the file, generate a new package, and
install it just as you would with any other lifecycle modification.
Note that default values for attributes can only be set on the StartHere transitions. No other dialog allows for default values as this would potentially interfere with data set during the submission causing a loss during a show or transition to a different state. {end Support response} I also believe that you cannot modify the Any value. |
|
![]() |
|
![]() |
|
If you want a valid default value, then Laura's response is the answer.
If you want a different value for "no value selected", then there are (at least) two ways it can be done (I believe). 1. Use files for list definitions. The first line in the file is taken to mean "no value selected". 2. Change configuration data: In pt.cfg there is a line of the form [CCM_SYSTEM][LISTBOX_DEFAULT]Any[/LISTBOX_DEFAULT][/CCM_SYSTEM] Editing this will (I believe) set the default for new listboxes, but not change existing list boxes. To change existing list boxesyou will need to edit other .cfg files:
I set the default to "<- - - Not Selected - - - >" To achieve this use ">" for ">" and "<" for "<". |
|
![]() |
|
![]() |
|
Ok, so the text use ">" for ">" and "<" for "<". seems realy silly.
This is because the text I typed got converted. To put in "<", use an ampersand [&] followed by "lt". To put in ">", use an ampersand [&] followed by "gt". <> |
|
![]() |
Telelogic SYNERGY
» SYNERGY/Change
»
Default value at list box
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.