<h:outputText value="#{subtech.technology.get(0).name}"
                rendered="#{not subtech.selected}" />
            <ace:selectMenu value="#{subTechBean.selTechnology}" 
                rendered="#{subtech.selected}">
                <f:selectItems value="#{subTechBean.technology}"></f:selectItems>
            </ace:selectMenu>
when I switch the value of selected to true using change buttons selectmenu appears.but with no value is pre-selected and if I didn't set the value and use the save button to see the outputtext,then the page shows •{0}: Validation Error: Value is not valid.
how to save the default value of selectMenu,so if I didn,t change the value it will use the default value.
 
    