0

I am new to JSF. I can see examples of a commandLink or a button that has action="myFunction" and the function gets called in bean. But I don't want to transition to another view, and if I don't provide a transition in the flow I get a No Matching Transition Exception.

<jq:button action="myTestAction" buttonParam="aaa"><div onclick="javascript: setTab('teamGroups')">Team Groups in Progress</div>
</jq:button>
Jasper de Vries
  • 19,370
  • 6
  • 64
  • 102
dt1000
  • 3,684
  • 6
  • 43
  • 65
  • Simply make your action to return `void` or `null`. See also https://stackoverflow.com/questions/8744162/difference-between-returning-null-and-from-a-jsf-action – Jasper de Vries Aug 22 '23 at 07:12

0 Answers0