on 03-11-2008 12:27 PM
Hi Gurus,
I have created the WD leave applications which will trigger the BAPI(which returns half of the work structure allocated to the employee leave sickness)value will be freezed in the input UI element.
Right now am getting the above said value but UI element is in still editable mode.
My requirement is once we freezed the value UI element has to be non editable.
any useful clues will be higly appreciated with higher points...............
Thanks in Advance,
Dharani
hai dharani,
1.create a context attribute o type boolean and bind it to the ui elements enable property.
2.use the following code to set the enable to false.
3.wdContext.currentContextElement().setEnabled(false);
Any issues let me know.
Thanks n Regards
Sharanya.R
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
If you are getting the values in the inputfield by calling RFC. And you did not want it to modified by user then there is no use of using inputfield UI Element.
In these cases you should use Textview UI element. This will fulfill your requirement.
Regards,
Praveen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
if u want to setthis field editable and non-editable dynamically.....pls bind a boolean context value to the editable property of the UI element.And set that context dynamically true and false.
Or otherwise make the readonly property of the ui element as false
Warm regards
shanto aloor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
set the readOnly property to true
Or else set the enabled property to false.
Make use of Text View instead of input field
Regards
Ayyapparaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.