New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

o:messages Support for Iterating Components #325

Closed
matt328 opened this Issue Nov 7, 2016 · 1 comment

Comments

Projects
None yet
2 participants
@matt328
Copy link

matt328 commented Nov 7, 2016

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

This comment has been minimized.

Copy link
Member

BalusC commented Nov 16, 2016

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

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