on 12-11-2009 11:12 AM
Hi All,
I am working on existing WDJ application. I have to enable and diable few fileds depedning some functionality. But when i tried it is not working.
What i did is --
Created attribute of name FlagForFL and made its type as boolean. At runtime depending on the condition, i am setting its value to true or false.
But it is always true. When i printed the value of the attribute its is false but still it is enabled.
Apart from this is there anything that i should do.
Thanks
Supriya.
The problem is resolved, i sued a different methodology to the same.
Finally it worked.
Thanks for all the help.
Supriya.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi friend,
Can you provide more detail means you are setting which UI's which property to true or false and how you are accessing it..?
Regards
Jeetendra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I am assuming that you are checking the condition for enabing or disabling in the component controller.
If you are doing so, then you must be having your boolean attribute both in the controller and the view.
Check if the mapping of your boolean attribute has ben done between controller and view.
If you scenario is different, explain it here and ill try to help.
Also make read only property of your input field as true or false
Regards,
Himanshu
Edited by: Himanshu K on Dec 11, 2009 5:25 PM
Hi Himanshu,
I have 6 tabs in tabstrip. Among these tabs there are common UI elements. which i am dispalying using visble and non - visible property depending on the request.
On load of application, i have to check the request comes from which channel, that tab should be selected automatically.
The fields in the selected tab, should always be enabled and in another tab these fields should be disabled.
For this i have written the code both in wDonInit () and onActionClickTab() whcih gets called when ever a tab is selected.
When application is loaded, it works but when i click on the tab, the diable ment is not happeing.
And i am all this in the view itself and controller in place.
I tried using readOnly property by which it automatically becomes read only and never will change.
require ur inputs.
Thanks
Supriya.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
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.