cfell
Posts: 10
|
Posted: 03/05/2004, 6:34 PM |
|
I have an EditableGrid I've dropped a textbox control on that I want to pull text from when server-side onClick event fires. The control is not associated with any columns in my database as its sole purpose is to gather a small piece of info required by a servlet to successfully process.
The name of the control is "tb_msg", below is my code:
//
// Get message
//
String m = g.getControl("tb_msg").getFormattedValue();
CCLogger.getInstance().debug("DEBUG got message " + m);
All other controls on the grid return data as expected and the only difference I can see is that it is not associated w/a column in my database. I've been corresponding w/CCS support for several days awaiting their response and am running out of options. Creating a phantom column to satisfy CCS is not an option (if that is the problem).
Any ideas?? Your thoughts are *greatly* appreciated.
Regards,
Curtis
|
|
|
Alberto
|
Posted: 03/12/2004, 2:57 AM |
|
Sorry for my english..
Did you put a default value for your control?
If yes, try also to set control value by setting Control Source Type - Code Expression and Control Source the string using "...".
|
|
|
cfell
Posts: 10
|
Posted: 03/14/2004, 10:07 PM |
|
Alberto
Your english is good and very understandable. I had tried using "Code Expression" for Control Type but had not set a default value. Even with setting a default value, getFormattedValue refuses to return what is entered. Thank you for the suggestion, it is greatly appreciated.
|
|
|
|