Sample serverside code using java

Can anyone point me to some sample code using java for the combo control. When I do a simple select statement like the following:

combo.render_sql(“select optionid,options from screenoption”, “optionid”, “optionid,options”);

The combo box is populated with the optionid only and I would like for the options to appear in the list and the optionid to return if the option is selected. I tried changing the name from options to something else and still get the same results.

Never mind… the correct syntax should be

(“select optionid,options from screenoption”, “optionid”, “options”);

The real problem however turned out to be within the data. There was an & sign within the data causing the DHTMLX Basic Connector to fail. Once I changed the data from & to and everything worked fine.

There was an & sign within the data causing the DHTMLX Basic Connector to fail.
Can you provide a sample of problematic data ( you can send a PM, or just an email to the support@dhtmlx.com ) - as far as I can see, it must not break normal processing.