问题
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