A bug have been filed against NB 6.0 saying the application worked in NB
5.5.1 is breaking in NB 6.0.
http://www.netbeans.org/issues/show_bug.cgi?id=123765
It turned an Integer is set as value (which is a valid scenario) to the
hyperlink. It worked in NB 5.5.1, but sees the
following exception is thrown in NB 6.0 with latest Woodstock components.
I don't see any "converter" property to set the IntegerConverter as in
StaticText. So how do we go about it.
Exception
Caused by: java.lang.ClassCastException: java.lang.Integer
at
com.sun.webui.jsf.renderkit.widget.AnchorRendererBase.setContents(AnchorRendererBase.java:171)
at
com.sun.webui.jsf.renderkit.widget.AnchorRendererBase.getProperties(AnchorRendererBase.java:91)
at
com.sun.webui.jsf.renderkit.widget.RendererBase.encodeChildren(RendererBase.java:139)
at
javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:809)
- Winston