Skip to main content

developerWorks >  Rational  >  Forums  >  Enterprise Change Management with Rational Change  >  developerWorks

Need CCM_MULTISELECT    Point your RSS reader here for a feed of the latest messages in this thread


     

 
 

My developerWorks
 Welcome, Guest
Sign in or register
This question is not answered.

Permlink Replies: 2 - Pages: 1 - Last Post: Nov 10, 2009 3:44 PM Last Post By: skoppa Threads: [ Previous | Next ]
GMPaul

Posts: 1
Registered: Nov 04, 2009 04:23:00 PM
Need CCM_MULTISELECT
Posted: Nov 04, 2009 04:30:41 PM
 
Click to report abuse...   Click to reply to this thread Reply
I've been browsing around for a way to create a multiselect listbox for Change. I found that the Automate! newsletter from July 2006 had an article about it, but I can't seem to find it. Does anyone have it or a way to do multiselect?

thanks
duckett

Posts: 7
Registered: Apr 11, 2009 11:11:33 PM
Re: Need CCM_MULTISELECT
Posted: Nov 05, 2009 11:55:37 AM   in response to: GMPaul in response to: GMPaul's post
 
Click to report abuse...   Click to reply to this thread Reply
We are using multi-select boxes. A Telelogic on-site tech built three customized "web-type" JavaScript attribute controls. Something is different between the three but I still can't figure out why all three are needed in the lifecycle for things to work.

WEB-INF/package_templates/company-name_template/wsconfig/templates/pt/include/attr_controls/base.CCM_MULTI_LISTBOX
WEB-INF/package_templates/company-name_template/wsconfig/templates/pt/include/attr_controls/john_CCM_MULTI_LISTBOX
WEB-INF/package_templates/company-name_template/wsconfig/templates/pt/include/attr_controls/base_CCM_MULTI_LISTBOX

In a Google search I came across this link which will download the base.CCM_MULTI_LISTBOX control. I don't kow if it's the same one as the one we use.

http://www.ibm.com/developerworks/forums/servlet/JiveServlet/download/1508-253008-14221719-336902/base.CCM_MULTI_LISTBOX

He then loaded them into our process lifecycle. Then for every multiselect list box we wanted to use we had to create two associated attributes. The first attribute which would be visible on the form and the second attribute which I would call a mask to the first attribute. For example, attribute one is called "_cr_add_category" (web-type is defined as CCM_LISTBOX), and the second attribute is called "cr_add_category" (web-type is defined as CCM_MULTI_LISTBOX). Lastly, from the LISTBOX Manager we added all the values to be visible in the multiselect box.

Consider this issue. The multislect boxes we use would only show the first four values (selected or not and it didn't matter if more than one value selection was made). It was defined that way is the JavaScript. We have never given any thought of cahnging the script. Given that, the box can only be so long (from top to bottom) anyway, right?

<SELECT MULTIPLE NAME="SUB_ATTR" SIZE=4 WIDTH="20" RESIZEABLE="no" onChange="SUB_ATTR_ChangeValue()"

So in order to actually see what was selected and to protect the multiselect values from being changed. We created another attribute and trigger to display the selected values of the multiselect box. For example, the third attribute would be called "cr_seleted_category" (web-type is defined as CCM_READONLY). Then a trigger (attached to masking attribute) would execute once the form was saved and write the selected value names to the "cr_selected_category" value.

This seems all very complicated and confusing I know. It took some time and patience to implement the same scenario is our other Change servers/databases after the Telelogic tech left. I hope in the current version of Change, IBM can or has come up with a better solution. We are using Change 4.6

skoppa

Posts: 3
Registered: Sep 14, 2009 05:34:00 PM
Re: Need CCM_MULTISELECT
Posted: Nov 10, 2009 03:44:50 PM   in response to: duckett in response to: duckett's post
 
Click to report abuse...   Click to reply to this thread Reply
Here is the zip file from 2006. I have never used this, so I can't comment on how it works.

Steve
 Tags
Help

Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

Popular tags shows the top tags for this particular type of content or application that you're viewing.

My tags shows your tags for this particular type of content or application that you're viewing.

 

MoreLess 


Point your RSS reader here for a feed of the latest messages in all forums