Hi all!
Im trying to get the selectedIndex property from a tomahawk
panelTabbedPane component. When I write the binding attribute and call
HtmlPanelTabbedPane.getSelectedIndex() everything works right. But where I
try to do a binding an expression with the selectedIndex attribute, the
binding property doesnt update during the request phase.
Is this a bug?
JSF code:
<t:panelTabbedPane selectedIndex="#{Helper.selected}">
<ysf:panelTab label="#{bundle.detailPanelName_0}">
</ysf:panelTab>
<ysf:panelTab label="#{bundle.detailPanelName_1}">
</ysf:panelTab>
</t:panelTabbedPane>
Backing-bean code:
private Integer selected = new Integer(0);
public void setSelected (Integer selected) {
this. selected = selected;
}
public Integer getSelected () {
return selected;
}
Im using Facelets and have tried with myFaces versions 1.1.3, 1.1.4 and
1.1.5.
Thanks.
Nacho