Strange Problem with ActionButton

Hello ppl,

I'm gettin crazy with a very strange problem. Help me plz.

I have a jsf page where i use 3 components:

1 - SelectManyCheckbox Binded with a list<String>

2 - SelectManyListBox Binded with a HashMap<String, String>

3 - HtmlCommandButton with an action that calls a method im my backingBean.

Now the problem:

if i dont check any item of the selectmanyCheckbox and press my actionButton, the action method of my backingbean is never called, even if i change the values of others components.

When I select any item of the selectManyCheckbox and press the actionButton, it works has well, calling the action method of the backingbean and everything works as expected.

And if I remove the component SelectManyCheckbox, the actionButton/method works as well.

Someone know what could be this issue? how to fix it?

help me plz

Thanks

Ferry

Message was edited by:

Ferryman

[984 byte] By [Ferrymana] at [2007-11-26 14:33:45]
# 1
Do you have required="true" set in your selectManyCheckbox? Try putting in <h:messages /> next to it to see if it generates any JSF errors.Illu
Illua at 2007-7-8 2:29:39 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
thanks dude, i forgot the h:messages to show when an ansewer is required.its solved now.Bye
Ferrymana at 2007-7-8 2:29:39 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...