I need an h:commandLink
to send a value using f:setPropertyActionListener
, like this:
<h:commandLink value="New Search" action="SearchAuthor">
<f:setPropertyActionListener target="#{searchAuthController.flag}" value="true" />
</h:commandLink>
The h:commandLink
needs a double click to make its action happen, but I'd like it to be used with a single click, is there any way to do that?
Thank you!