Hello, I want to *modify parent tag* class attribute if it's *child has
validation errors*.

Let's say I have structure like this:

Java code:

Markup:


To *achieve* my *goal* I do:


Is there any *more elegant way* to do this? 

P.S. *ValidationMessageBehavior* adds span with error message to response
after render.



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Elegant-way-to-modify-parent-component-tag-if-child-has-errors-tp4661983.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to