o:messages Support for Iterating Components #325

matt328 opened this Issue Nov 7, 2016 · 1 comment


None yet

2 participants

matt328 commented Nov 7, 2016 edited

It would be nice if <o:messages> could use UIComponent.visitTree when gathering messages from child components instead of Components.findComponentsInChildren. I have a data table using h:dataTable with in-place editing of row data. Rather than change the structure of the table and insert validation messages everywhere, I'd like to just display a list of validation messages below the table, and highlight the fields inside the table.

I realize there may not be many more use cases for this UI decision, but the data in my table is fairly simple, and so are the validation rules.

Edit: I have just seen issue #32, but it doesn't appear to be working anymore?

BalusC commented Nov 16, 2016 edited

#32 only deals with messages targeting an UIInput component directly. The findComponentsInChildren() is only used when target component isn't an UIInput.

@BalusC BalusC closed this in bb14c0b Nov 16, 2016
@martin654 martin654 referenced this issue in primefaces/primefaces Feb 20, 2017

p:messages in ui:repeat not updated correctly #1866

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment