Questions tagged [disabled-control]

322 questions
0
votes
1 answer

Disabling items in JavaServer Faces

I’m new in JavaServer Faces. I have a simply form:

#{msgs.leavereply}

#{!forumsBean.activeWithProject}

user2783755
  • 578
  • 2
  • 10
  • 26
0
votes
2 answers

h:commandButton remains disabled even after changing disabled to true and re-rendering it using a4j:commandButton

I have a page with an inputtextwhere I type the name of an author to search for, when I click the a4j:commandButton searchButton, I'd like to enable the h:commandButton GoToBUtton, if the search returns no authors and to disabled that button, if the…
Luciane
  • 259
  • 4
  • 23
0
votes
1 answer

primefaces accordionPanal dynamic disable tab

I have 2 tab in accordionPanel (tab1 and tab2), tab2 is disabled by default, and tab activeIndex is -1 by default. I want the tab2 be enable if i check on the checkbox in tab1. I tried by update the whole accordionPanel(bbb), but the tab1 will…
heng heng
  • 693
  • 3
  • 13
  • 25
0
votes
1 answer

Posting changed values of a disabled control in ASP.NET

EXAMPLE A textbox with value '1' is set to disabled. The texbox value is updated to '2' using javascript. When posted to the server the intial value '1' is used. I have tried…
DreamTeK
  • 32,537
  • 27
  • 112
  • 171
0
votes
2 answers

enabe/disable jquery ui components

i want to enable/disable a slider every time a button is clicked. here is the fiddle:
0
votes
1 answer

No maximize button on XLib window

Is it possible to create a window with only Minimize and Close button (and preferably not re-sizable) in C++ and XLib? On my Ubuntu I can see some of these type of windows (like the System Configuration window). I am very new in the Linux+X11…
ali
  • 10,927
  • 20
  • 89
  • 138
0
votes
1 answer

Allow certain keyboard strokes / events for disabled control

I have a disabled control. I still want the key down and key up events to get fired off, because I would like to be aware of a certain key. When I tested this out, it seems like none of the control's events get fired. Any ideas on how to get around…
jsirr13
  • 944
  • 2
  • 12
  • 38
0
votes
2 answers

UserControl in WPF seems disabled

I have made an UserControl in WPF & C#, which is added later to an ItemsControl. My problem is that I need a button and an image inside my UserControl, but when I drop a Button in UserControl and compile, the button seems to be disabled. And, if I…
user2832348
0
votes
2 answers

How to disable a drop down list item in dropdown list on load using jquery

I have dropdown list with some list items . Here , i need to disable a single item in the dropdown list . I mean value should be present in dropdown list but should not be selectable. I have tried in the following way with no luck: …
Sai Avinash
  • 4,683
  • 17
  • 58
  • 96
0
votes
2 answers

how to disable mulitple JButtons in one class from another class in Java swing?

I have this code snippet (a part of code actually) where in one class I have all the Jbutton created for 26 alphabets. I have another class that keeps track of time and when the time is over or the game is over, I want to disable all the 26 JButtons…
brain storm
  • 30,124
  • 69
  • 225
  • 393
0
votes
1 answer

How to gray out button image ONLY, not entire button

I would like to gray out the image only instead of the entire button. The reason being is that the image on the button is partly transparent, so when the entire button is grayed out it just looks odd. In the below image you can see the entire button…
TruthOf42
  • 2,017
  • 4
  • 23
  • 38
0
votes
0 answers

XCode availability of button according to current date

I'm wondering is it possible to make one button available in a particular day of the month. The app is something like a calendar and each day is one button. when it is 12 november can I program it user be able to click on day 1 to 12... on 13th of…
WinBoze
  • 3
  • 1
  • 3
0
votes
1 answer

PHP event calendar disable "add event" on a weekend

I have put this PHP event calendar on my development system. How can I disable adding event on a Saturday or a Sunday? :) Do you think this has to do with this code? function dayPullDown($day) { echo "