h:SelectOneMenu and Firefox page refresh (F5)

Version 1

    Hello. I have the above code

     

    <h:selectOneMenu id="itemsPerPageID" value="#{inboxBean.itemsPerPage}" styleClass="itemsPerPage">

                                            <f:selectItems value="#{inboxBean.bigGridPageSizeList}" var="pageSize" itemLabel="#{pageSize.descr}" itemValue="#{pageSize.code}" />

                                            <f:ajax event="valueChange" execute="@this" render="inboxGridID totalPagesLabelID" />

                                  </h:selectOneMenu>

     

    and my browser is firefox 23.

     

    The possible values are  items per page i.e (10,20,50,100,200) with the default value beeing 10. When i change the value to the select html the backing bean works fine and the rest of the code works fine.

     

    If i press enter to the url or (Ctrl+F5)  firefox reset the value of the html select  to the default value (i.e 10).

     

    <select id="itemsPerPageID" class="itemsPerPage" onchange="mojarra.ab(this,event,'valueChange','@this','inboxGridID totalPagesLabelID')" size="1" name="itemsPerPageID">

    <option selected="selected" value="10">10</option>

    <option value="50">50</option>

    <option value="100">100</option>

    <option value="200">200</option>

    <option value="500">500</option>

    </select>

     

     

    If i press F5 or pagerefresh the generated select html has the default value (i.e 10) BUT firefox keep and display the last changed value as example 200 (although the under html has the default value 10

    <select id="itemsPerPageID" class="itemsPerPage" onchange="mojarra.ab(this,event,'valueChange','@this','inboxGridID totalPagesLabelID')" size="1" name="itemsPerPageID">

    <option selected="selected" value="10">10</option>

    <option value="50">50</option>

    <option value="100">100</option>

    <option value="200">200</option>

    <option value="500">500</option>

    </select>

     

     

    ).

     

    If i anter a value to an html input the (page refresh or F5) reset the value to the default example null.

     

    The backing bean is Viewscoped and the same coce works fine in chrome without the strange behaviour that i discribed!

     

    Any ideas,

     

    Thank you in advance,

     

    Antonis