actionListener not called when taskflow fragment does not contain a root component
Last updated on JUNE 27, 2016
Applies to:Oracle JDeveloper - Version 184.108.40.206.0 to 220.127.116.11.0 [Release 12c]
Information in this document applies to any platform.
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.
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