Question
Deloitte
IN
Last activity: 28 Jul 2017 11:04 EDT
How to get the code from auto generated controls
Hi,
There is a control to display time in drop downs. This is an auto generate control. I would like to know how to get the code for the control as I need to do some customization.
Regards
Raj
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Virtusa Consulting UK
GB
What is the name of the control that you are referring to please?
Deloitte
IN
Hi ,
I am trying to get the code for the control "DateTime"
Regards
Raj
-
David Luis Ambrosini
Virtusa Consulting UK
GB
Deloitte
IN
Hi Kautuseth,
Thanks for your support. I tried to save this code in a control rule but it was throwing the following errors. Basically my requirement is to shoe only 00,15,30,45 values in the minutes dropdown instead of 00-59 values.
Test compilation failed: ----------
1. ERROR in /Rule_HTML_Property_DisplayCustomTime_Stream_20170728T121533_073_GMT.java (at line 116)
String strExpectedSize = tools.getSaveValue("strExpectedSize");
^^^^^^^^^^^^^^^
Duplicate local variable strExpectedSize
----------
2. ERROR in /Rule_HTML_Property_DisplayCustomTime_Stream_20170728T121533_073_GMT.java (at line 238)
ClipboardProperty curProp = tools.getActive();
^^^^^^^
Duplicate local variable curProp
----------
3. ERROR in /Rule_HTML_Property_DisplayCustomTime_Stream_20170728T121533_073_GMT.java (at line 460)
ClipboardProperty curProp = tools.getActive();
^^^^^^^
Duplicate local variable curProp
----------
3 problems (3 errors)
Compile failed.
Virtusa Consulting UK
GB
Why don't you try to use a local list and a drop down,, and you will be able to capture the value on select/on change/on click,,,, one of those events.
let me know if this does not sort your issue, we will try some other option.