actionListener not called when taskflow fragment does not contain a root component (Doc ID 2150111.1)

Last updated on JUNE 27, 2016

Applies to:

Oracle JDeveloper - Version 12.1.2.0.0 to 12.2.1.0.0 [Release 12c]
Information in this document applies to any platform.

Symptoms

Run an example home.jsf page which contains a button component with an actionListener and click the button. The button should invoke a service method, printing "HELLO" in the console.
Note that the service method is not called and following warning is shown:

 It is noted that a page fragment *does* have more than one root component so the warning is appropriate, however this raises the following observations:

1. Since it is a RT warning only, make sure the actionlistener gets called.
2. OR Enforce one root component at DT
3. OR change to show a runtime error in the console rather than a warning.

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms