• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

<a4j:commandButton> stops working after I put <a4j:support>

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a basic program on where I have a dropdown list, an input field and a command button.

I use a4j:support for the dropdown list cos I need the input field to be disabled if the user hasn't selected any values from the list.

At first if you click the command button repeatedly it will work but when you select a value in the dropdown list (w/c has a4j:support in it) and then click the command button it will still work at FIRST but then afterwards the command button just stops functioning. If I remove the a4j:support from the dropdown list the button will function correctly.

Hope you can help me for it's been bothering me for days. I'm not really that good in richfaces, not really sure if I'm missing some other components for this to work. Thanks!

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What is the scope of delinkAndStatusUpdateBean and can we see the code for it?
 
gino pogi
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Rhys Emmerson wrote:What is the scope of delinkAndStatusUpdateBean and can we see the code for it?



Hi Rhys, the scope of delinkAndStatusUpdateBean is session. Here is what it basically contains:



I don't think it has anything to do with this though.. Appreciate your immediate help. Thanks!
 
reply
    Bookmark Topic Watch Topic
  • New Topic