This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



Nov 9, 2012, 5:25 PM
1 Posts

Check Box Group: Values Not Saving - Changing Data Type to a Number List

  • Category: Debugging
  • Platform: Windows
  • Release: 8.5.3
  • Role: Developer
  • Tags: checkboxgroup,number list,multivalues,data type
  • Replies: 1
I have a very basic Check Box Group that is converting the data type to a number list if multiple boxes are checked and not saving the values. If only one box is checked then the value is saved as text (as it should be), if multiple boxes are checked the saved value is 0,0,0, etc. and the data type becomes a Number List. The actual field (on the form) is an editable Checkbox field.
 
This is inside of a custom control nested in another. The outer custom control has the document binding if this matters... 
 
<xp:checkBoxGroup id="testListBox" layout="pageDirection" value="#{document1.testCheckBox}">
      <xp:selectItem itemLabel="test" itemValue="test"></xp:selectItem>
      <xp:selectItem itemLabel="test2" itemValue="test2"></xp:selectItem>
      <xp:selectItem itemLabel="test3" itemValue="test3"></xp:selectItem> 
      <xp:selectItem itemLabel="test4" itemValue="test4"></xp:selectItem>  
</xp:checkBoxGroup>
 
 Why will this not save the values if multiple boxes are checked?
 
Thanks! 
Nov 15, 2012, 9:07 AM
43 Posts
Re: Check Box Group: Values Not Saving - Changing Data Type to a Number List
 Hi,
 
I dont see any problem..Works perfectly fine on my system when I pasted your code..! 
 
Best Regards, 
CHINTAN P. 

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal