-
2 Jul 2012 5:49 AM #1
textfield.setEnable(false) not working
textfield.setEnable(false) not working
Hi.., I want to disable a text field and I am calling textfield.setEnabled(false) and it is not diabling the field, pls help, thanks in advance.
-
2 Jul 2012 5:51 AM #2
I moved this thread to the bugs forum and pushed it to our issue tracker. We will update this thread once we have more information available.
-
2 Jul 2012 6:39 AM #3
@mulcha:
which version are you using?
-
2 Jul 2012 6:48 AM #4
-
2 Jul 2012 6:50 AM #5
well, that is logical if you post in this group.
Are you using version 3.0.0 rc x or version 3.0.0 or version 3.0.0b?
-
2 Jul 2012 6:54 AM #6
-
2 Jul 2012 6:56 AM #7
Ok, I am using 3.0.0b and it works for me.
What's your problem?
-
2 Jul 2012 7:51 AM #8
As I said, it is not disabling for me. I have a FieldLabel in UIBinder and I am adding one combo, 2 text fields in a horizontal panel in the view java code to this senderLabel and when I tried to disable the one of the text fields by setEnabled(false) it is not disabling that text field.
<form:FieldLabelui:field="senderLabel"HTML="<b>Sender</b><span style="color:red;"> *</span>"></form:FieldLabel>
-
2 Jul 2012 8:28 AM #9
Ae you sure, that your field reference is correct?
Have you tried setText and does this work?
I am using setEnabled quite often (without UiBinder) and it works.
I know, there were an issue in some of the release candidates.
-
2 Jul 2012 8:53 AM #10
setText() is not working but setEmptyText() is working.
Wait! Looks like we don't have enough information to add this to bug database. Please follow this template bug format.


Reply With Quote