Hi guys, I have just started to learn seam framework. I decided to code two drop down menus. One listing categories and other listing subcategory. The idea is that user will first select a category and depending on that a subcategory will be populated.
<h:selectOneMenu value="#{manager.category}" required="true">
<a:support event="onfocus" ajaxSingle="true" action="#{manager.dothis()}"/>
<s:selectItems value="#{manager.categories}" var="cat" label="#{cat.categoryDescription}" noSelectionLabel="Select a Category"/>
<s:convertEntity />
Above, I am trying to call dothis() method on event focus but its not working.
What am I doing wrong here?
Thanks.