Need to bind a <h:link> into my backing bean
Quick question:
I need to bind an <h:link>
into a backing bean.
However I can't seem to find the appropiate HTML component?
I know for instance an <h:commandLink>
can be binded to an HtmlCommandLink and a <h:outputLink>
similarly to an HtmlOutputLink, however I need specifically the equivalent to <h开发者_开发问答:link>
Thanks
It's the HtmlOutcomeTargetLink
.
For learning and debugging purposes, you could also just bind it to Object
or UIComponent
. When JSF has set it, then just check the getClass()
value in a debugger or by System.out.println()
to learn about the concrete component implementation.
looks like HtmlOutcomeTargetLink is the component class for h:link.
精彩评论