IBM Support

Validation gets activated in JSF application for inactive tabs upon submitting the active tab

Troubleshooting


Problem

This document discusses the issue where, in a JSF tabbed panel validation gets activated for other tabs that are not active while submitting the active tab.

Symptom

Upon submitting the active tab, validation errors belonging to the inactive tabs are thrown.

For example, in a JSF application with a .jsp page where it includes multiple tabs (i.e. tab 1, tab 2, and tab 3) and each tab with some input fields with "value is required" enabled, if tab 1 is filled out with the required data and submitted, validations belong to tab 2 and tab 3 are activated resulting in validation errors for those tabs (i.e. tab 2 and tab 3). This should not happen since these tabs should be treated as independent entities so submitting an active tab should not trigger validations for other inactive tabs.

[{"Product":{"code":"SSRTLW","label":"Rational Application Developer for WebSphere Software"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Web Development","Platform":[{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"7.0.0.1;7.0.0.10;7.0.0.2;7.0.0.3;7.0.0.4;7.0.0.5;7.0.0.6;7.0.0.7;7.0.0.8;7.0.0.9","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
16 June 2018

UID

swg21425941