[JBoss JIRA] Created: (RF-8261) Add support to automatically scroll to the first field containing an error after user submits a form and validation fails?
by Frank (JIRA)
Add support to automatically scroll to the first field containing an error after user submits a form and validation fails?
--------------------------------------------------------------------------------------------------------------------------
Key: RF-8261
URL: https://jira.jboss.org/jira/browse/RF-8261
Project: RichFaces
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: component
Affects Versions: 3.3.2.SR1
Environment: Richfaces (3.3.2.SR1), Spring webflow (2.0.8), Hibernate Validator (4.0.2), ...........
Reporter: Frank
Hello, here's the context, I have a form which has enough fields to produce vertical scrolling. I'm using Hibernate Validator (4.0.x) to validate my form fields through rich:ajaxValidator. So, has the title says, I would like the page to scroll up 'automatically' to the first validation error of the form, after the user tries to submit the form with the save button (a4j:commandButton), and the form contains one or more errors (coming from JSF Validation phase...).
So, big picture of feature request: On form-submit, if errors, automatic scroll to first form error.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 4 months
[JBoss JIRA] Created: (RF-9127) rich:messages produce content outside <html> tags on AJAX refresh
by Stéphane Daviet (JIRA)
rich:messages produce content outside <html> tags on AJAX refresh
-----------------------------------------------------------------
Key: RF-9127
URL: https://jira.jboss.org/browse/RF-9127
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component
Affects Versions: 3.3.3.Final, 3.3.2.SR1
Environment: Firefox 3.6.6 and IE7 on Windows Vista and XP
Suspected not being platform specific
Reporter: Stéphane Daviet
Priority: Minor
When refreshing after the response of an AJAX request, the rich:messages component produce unexpected content before the opening <html> tag.
The combination of rich:messages with another component on the page triggering AJAX request (rich:ajaxValidator for instance) could produce this behavior.
Each new request response add a new line before the first opening <html> tag.
This behavior is reproductible on rich:messages page of the Live Demo and has also been reproduced on a simple custom page.
Unexpected content spotted with Firebug:
<dl id="j_id355:j_id356" class="rich-messages" style="display: none;"></dl>
<dl id="j_id355:j_id356" class="rich-messages"></dl>
<dl id="j_id355:j_id356" class="rich-messages"></dl>
<dl id="j_id355:j_id356" class="rich-messages"></dl>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 5 months