-
1. Hyperlink rich:messages to auto focus on invalid component
ilya_shaikovsky Apr 8, 2011 4:10 AM (in response to jonnie119)1 of 1 people found this helpfulthat's really looks like great idea for the component extension.. However unfortunatelly not available for now with messages We will review it in team.
-
2. Re: Hyperlink rich:messages to auto focus on invalid component
jonnie119 Apr 12, 2011 2:59 AM (in response to ilya_shaikovsky)thanks Ilya for your fast reply.
It would be easy to overwrite the message renderer and then use list tags instead of spans for the rendered messages. However the span tags are used in JavaScript validators as well, and I don't want to end up editing RF JavaScript and the MessageRenderer in my project.
So is there any possibility to use simple ajax validation instead? I read about the ajax fall back in case there is no client side validator available https://issues.jboss.org/browse/RF-10142
Is there any setting to use this option by default? Something like <rich:ajaxValidator/> from RF 3.X?
-
3. Re: Hyperlink rich:messages to auto focus on invalid component
ilya_shaikovsky Apr 13, 2011 6:18 AM (in response to jonnie119)I could say that even messages which came in case of ajax added by javascript. We decided to modify the messages addition in order not to have two different approaches for the same fnctionality(main reason) there and avoid problems of disappearing the client validation generated messages after ajax validation(additional problem in some cases)