Composite component with navigation using managed bean

允我心安 提交于 2019-12-25 03:28:08

问题


I created a composite component that receives a managed bean as a parameter. The composite has a submit h:commandButton that runs a method from the managed bean parameter (#cc.attrs.mBean.action}; signature: String action()).

Knowing about the use of the target attribute in composite:implementation if I were using a method-signature instead of a bean action: is there a way to achieve a similar behavior when using a bean method?

Other reads: Unable to find matching navigation case from composite component


回答1:


The error turned out to be validation errors that were not being shown and block the execution of the methods - in conclusion, this seems to work as described in the question.



来源:https://stackoverflow.com/questions/25501810/composite-component-with-navigation-using-managed-bean

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!