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: Default value at list box
Topic Summary:
Created On: 29-Mar-2006 08:47
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.
 29-Mar-2006 08:47
User is offline View Users Profile Print this message


Ronen Ben-Chamo

Posts: 84
Joined: 1-Dec-2005

Hi,
Can I define default value at list box,
I try to move the word 'any' and I get "cannot modify default value"

Ronenfficeffice" />>>

> >



-------------------------
Ronen Ben-Chamo
Configuration Managment
Report this to a Moderator Report this to a Moderator
 4-Apr-2006 18:54
User is offline View Users Profile Print this message


Laura Campbell

Posts: 5
Joined: 28-Jan-2005

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.
Report this to a Moderator Report this to a Moderator
 11-Apr-2006 10:01
User is offline View Users Profile Print this message


michael Barnes

Posts: 85
Joined: 12-Nov-2003

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:
    pt_listbox.cfg for SYNERGY/Change lists

    task_framework.cfg for SYNERGY/CM list boxes



I set the default to "<- - - Not Selected - - - >"
To achieve this use ">" for ">" and "<" for "<".
Report this to a Moderator Report this to a Moderator
 4-May-2006 13:43
User is offline View Users Profile Print this message


michael Barnes

Posts: 85
Joined: 12-Nov-2003

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".
<>
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic SYNERGY forum.
There are currently 0 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 0 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.