Skip to main content

Jsf page and assigning objects

Please note these forums are being decommissioned and use the new and improved forums at
No replies
Joined: 2013-10-30

Sorry for my english. I need to set in a JSF page:

#{orderBean.instance.task} = #{taskBean.instance}

To set in OrderBean it is not suitable, i am useing CRUD for beans. I want to set in a JSF page.

I need sort of h:selectOneMenu (I am using converter):

< h:selectOneMenu value="#{orderBean.instance.task}"  id="taskList" converter="#{taskConverterBean}" >
        < f:selectItems value="#{taskBean.entityList}" var="task"
                       itemLabel="#{}" itemValue="#{task}"/ >
< /h:selectOneMenu >

Suggested that is f:setPropertyActionListener for the button, but it is not possible to use the converter.

May be there is another solution?