Error message div always displayed if it has a border
Brought to you by:
patrick_wolf,
praganitsch
If the style definition for the error message area (e.g. "t7Messages") includes a border, the border is visible even if there are no error messages displayed.
Our message area style is defined as follows:
.SW_Messages{color:#FF0000;padding:2px;background-color:#FFFFFF;border:3px solid #cfe0f1;width:100%;margin:2px auto;}
Our Page0 error region is defined as follows:
<script type="text/javascript">
apexlib.error.init(
'SW_Messages',
'PAGETEXTRED',
'#6699CC',
'#FFFFFF',
apexlib.error.DISPLAY_LOCATION.FIELD_AND_NOTIFICATION
);
apexlib.error.handleErrorPage();
</script>
This results in an empty box displayed above the region.
Logged In: YES
user_id=1766920
Originator: YES
Apex 2.2.1.00.04
Oracle 10g EE 10.2.0.2.0