Menu

#67 Error message div always displayed if it has a border

v1.7
open
7
2007-05-17
2007-04-25
Weta
No

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.

Discussion

  • Weta

    Weta - 2007-04-25

    Logged In: YES
    user_id=1766920
    Originator: YES

    Apex 2.2.1.00.04
    Oracle 10g EE 10.2.0.2.0

     
  • Patrick Wolf

    Patrick Wolf - 2007-04-26
    • milestone: --> v1.7
     
  • Patrick Wolf

    Patrick Wolf - 2007-05-17
    • priority: 5 --> 7
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.