Hi!

 

i have noticed a strange behaviour in selectOneListBox. i don't know

if i have to debug my project because of my stupdness;) or its

corect behaviour..

problem:

for somme time i was using myfaces 1.0.7 and combobox implemented

for ex. like this:

  <h:selectOneListBox value="#{sth.selected}">

    <f:selectItems value="#{sth.options}" /> //array of SelectItem

  </h:selectOneListBox>



when user choosed somme option and sumbmited the form then somme

action has ocoured and viev returned to the _same_ page. the great

thing (in my case) was that the combobox "remembered" selected item

and user saw on the page combo that was set just like he has just

clicked.



few days ago i have changed myfaces to ver. 1.0.8 and the horrible

thing has happend;)

the comboboxes doesnt remeber (after submit and return) what user

have selected.

value of sth.selected is OK but html is wrong:/ combo is set to the

first element of sth.options:/



people say that nobody has changed code in our project (only

"artist" have modified somme graphic), so is it possible that there

is such a difference between wersions of myfaces??



thanks



Slawek 

Reply via email to