JSF f:event execution order

后端 未结 1 1190
臣服心动
臣服心动 2021-01-19 10:29

Suppose I have multiple f:event tags to process the same kind of event:




        
相关标签:
1条回答
  • 2021-01-19 10:56

    The spec doesn't seem to explicitly state that anywhere.

    The Application#publishEvent() API mentions that they are obtained and processed as a List which is by nature ordered. Both the Mojarra and MyFaces implementations confirms this by storing them in a CopyOnWriteArrayList and ArrayList respectively.

    So, logically based on the the API and the both implementations, they are indeed executed in order, if added to the same parent UI component.

    0 讨论(0)
提交回复
热议问题