0
votes

What is an alternative of Richfaces rich:jQuery element for Primefaces 5?

I know about widgets, but widgetVar attribute is applicable only for Primefaces elements, but not for simple JSF. For example, how can I write this element in Primefaces?
<rich:jQuery name="enableCancel" selector="#cancel" query="removeAttr('disabled');" /> Element 'cancel' is a JSF outputLink.

What is the best way to do such things?

1

1 Answers

1
votes

Use plain jquery. There is imo no real advantage in using this component over simple plain jquery