Style of message region

Hi all

I use Apex 4.2.4 and theme 23.

I would like to change the region of message for a message of success and of the notification. It seems that both use the MessageRegion class (see below the code in firebug). When I change the style of this class, it's showing same style for success and notification messages.

"<section id="uNotificationMessage"' class="uRegion uWhiteRegion uMessageRegion clearfix"> "


"<section id="uSuccessMessage"' class="uRegion uWhiteRegion uMessageRegion clearfix"> "

How can I achieve two different categories for the success and the notification message? I know how to write my own css, it smashes into the page template.

But how can I change for the different sections, because they use the same classes?

Thanks Diana

Hi dianap,.

The answer lies in the markup you've posted.

You can target areas of success and Message of Notification Message using their attribute id.

For example:

#uNotificationMessage {
  /* CSS rules for Notification Message */
}

#uSuccessMessage {
  /* CSS rules for Success Message */
}

-> Of this regulation, you can write in the Page CSS Inline attributes, or you could make a CSS file and include it in your default Page Template.

I hope this helps!

Kind regards

Kiran

Tags: Database

Similar Questions

  • Location of Style of the region

    Apex 3.2

    I've inherited an application.
    On one page, I have a region of HTML Type and model is region of report.
    This region makes its appearance with a background color, but I can't locate where in the application, this color is defined.
    I checked the page, region and models, and there is also no zero page.
    I used firebug to inspect and got it
    <table id="R5885246209149626" class="t15ReportsRegion" width="100%" cellspacing="0" cellpadding="0" border="0" summary="">
    <tbody>
    <tr>
    <tr>
    <td class="t15Body" valign="top" colspan="2">
    <table id="apex_layout_5885246209149626" class="formlayout" summary="">
    <a class="eLink" tabindex="999" href="javascript:popupURL('f?p=4000:371:5540587270417029::::P371_ID,FB_FLOW_ID,FB_FLOW_PAGE_ID:4311063156337081,123,20');" title="Edit">
    <table width="100%" align="center" style="background-color:#D8DAFE">
    <tbody>
    <tr>
    <td nowrap="nowrap" align="right">
    <td align="left" rowspan="1" colspan="1">
    <td nowrap="nowrap" align="right">
    <td align="left" rowspan="1" colspan="1">
    <td nowrap="nowrap" align="right">
    <td align="left" rowspan="1" colspan="1">
    </tr>
    Can someone help me locate where the color is defined

    Gus

    Gus C wrote:
    Hello

    in the text of pre/Post-point?

    Where is it?

    In the page element definitions.

  • Unauthorized access of the user - customization of Standard message region

    I enabled SINGLE sign-on for my application. WE have an obligation to have additional validation on SSO. I implemented that in forward the process of the homepage header.

    Then, if it's an authentic he goes to homepage, else accesses one more page (page 10) when the message is displayed.

    When I'm inauthentic user connection, it goes to page 10. But if I try to change t url of the page from 10 to 5 number, it displays the content of this page.
    I don't want the inauthentic user to access these pages.

    My protection of session state is enabled. How can we achieve this requirement at the application level?

    Creating an application process and run it before the header of each page is best? I would like to have an effective solution to the performance.

    Or can I do validation on SSO to effectively using another logic and display the message before displaying the application page?

    Thank you.

    I'm in 4.1 APEX

    Published by: amri 30 Sep, 2011 16:11

    Hello

    1 create a schema for authorization for example.
    Select 1 from user_table where upper (email_id) = upper(:app_user);

    2. in the shared component, under Security section click on link of security attributes.

    3. Select the authorization tab and select the authroization schema that you defined in step 1.

    Kind regards
    SK

  • No region listOfValues on jdeveloper/OPS style

    Hello!

    I am the tutorial of the Toolbox and when I am to create a region of lov to my page of research (such as PurchaseOrdersLovRN), I couldn't find the listOfValues style of the region. How do I get it?

    Thank you.

    Hello

    What kind of LOV you create.

    1. only LOV:

    the region LOV inline created by Jdeveloper automatically when you create a messageLovInput point

    2: Extenal LOV:

    Click right on your folder-> click New-> area-> Type name + Select Pkg + Select style as listofValues


    BR, 906099

  • Vista Windows Mail suspicious message has been blocked.

    The message alert rose that he is a suspect message does not display the suspect message.  I can't get to the delete or cancel button so that I can say that it is not junk mail. I can't reply or forward the message.  It is not spam or suspicious.  I need to expand the message region rose to get buttons but don't know how to do it.

    Hello

    I suggest you to send your query in the link given for assistance.

    http://explore.live.com/Windows-Live-Help-Center

  • List Horizontal image centering in a region

    I have 3 standard regions.  Each region, I have an image of the single horizontal list.   By default, only the image is left aligned within the region.    How can I align the center of the image within the frame of the region

    George

    gkthomas wrote:

    Here is the link to test case

    https://Apex.Oracle.com/pls/Apex/f?p=36075:1:3388490748799:

    Workspace: penwick

    Username: [email protected]

    password: natural

    Thanks for creating that.

    What I did is:

    1 added an invisible area to act as a container for the parts of the list, with the model of the region Region of DIV with ID and static ID as the image-list-container. This allows us to apply the specific style for three regions in need, without impact on other regions on the page CSS.

    2 define the Parent area on three areas list so that they become of the subregions of the new container.

    3 added a style sheet to the page of Inline CSS property that center list items in each region:

    #image-list-container .uRegion .uRegionContent {
      text-align: center;
    }
    #image-list-container .uRegion .uRegionContent>.uHorizontalImagesList {
      display: inline-block;
    }
    #image-list-container .uRegion .uRegionContent>.uHorizontalImagesList>ul>li>a {
      margin: 0;
    }
    
  • problem of attachment in the header autonomous region

    Hello

    I am facing a problem with attachments. I created a region independent header I created an advance tables and to the columns of type a picture attachment when I run the page it gives null pointer exception.

    But when I change style of the region of header to the attachment page layout works very well.

    but I don't want that in the other to the page layout box, please help me how to do this.

    What exactly are you trying to do?

    If you try to run the page directly, you need to create a page and there pagelayout. You can add a region to the header as a child and add the advanced inside the table.

    If you create it as an autonomous region with the style of the header, you can extend this region to another page.

    See you soon

    AJ

  • How to catch the Go button a region query Jdeveloper/OFA

    Hello!

    I have a query region (style of the region: query) and another table that serves as the retail area. When you press the OK button, the query automatically fills the ResultsTable region (style of the region: table) which serves as the master region. What I need is to fill the other region (retail) if the search is performed successfully in a record. How I can do this is to set up when this button is pressed (and record successfully recovered). How can I possibly do this? or probably the detail area can be automatically filled using the display link? Any ideas?

    Thank you.

    Jon

    Jon,

    To use the code below.

    (OAQueryBean) webBean.findIndexedChildRecursive ("queryRN");

    if(Bean!=null)

    {

    The ID of the string = (String) bean.getGoButtonName ();

    If (PageContext.GetParameter (ID)! = null)

    {

    }

    }

    Concerning

    GYAN

  • Spectrum of HP x 360 (Lake of set): error during the update of the Bios (c2-error: the region is write-protected)

    Just got the new spectrum x 360 with processor i7 to set Lake.  I love most everything on it, but it's hot in the upper left corner, and temperatures are in the order of 80-90 during a normal charge.  Research of solutions possible and a common solution seems to ensure that the Bios is updated.

    HP Wizard jumped by chance in a message on a Bios updated available.  Perfect timing, so I thought.  Update downloaded BIOS ok, but during the installation, I got the error c2-error message: region is write protected.

    Reflection on the update of the Bios?  I know that one of the recommendations is not not to date Bios at least that something does not work.  Everything seems to work fine, but I think I should update it Bios to see if it solves the problem of heat.  Thoughts on that?

    Thank you.

    Thank you.   It's the strangest thing.  Despite having the error message above and the Bios update process pretending stops, when I rebooted hours later, the Bios updated.  I checked, and it is now the latest version.

    Guess my problem is solved.

  • Notification for success messages plugin?

    Hello

    I just found the http://www.oracle.com/technetwork/developer-tools/apex/application-express/apex-plug-ins-182042.html Notification Plugin
    in the oracle plugin repository and I wonder if it is possible to use this plugin, not only in a dynamic action, but also for success messages?

    Thanks for the help in advance,
    Dirk

    Guys,

    I know this thread is a bit old, but here's a blog on how to Growl notifications in APEX for success and failure messages

    http://douggault.blogspot.com/2011/06/style-notification-messages-for-Apex.html

    Doug

  • AppleScript to apply styles of table and cell in IDCS4

    I have an Applescript script to format all the tables in a document as I want.  It is adapted from a previous version that did not use styles, that works perfectly.  This script creates styles if they are not present and this bit works fine, but when it starts to try to apply them to the tables, it falls.

    tell application "Adobe InDesign CS4"
         tell active document
              set BlackColor to color "Black"
              set SolidStroke to stroke style "Solid"
         end tell
         tell active document
              try
                   set myTablePara to paragraph style "4.2 Table text"
              on error
                   set myTablePara to make paragraph style with properties {name:"4.2 Table text", applied font:"Helvetica Neue", font style:"Regular", point size:"8.5", leading:"10"}
              end try
              try
                   set myBasicCell to cell style "Basic cell"
              on error
                   set myBasicCell to make cell style with properties ¬
                        ¬
                             {name:¬
                                  "Basic cell", bottom edge stroke weight:0 ¬
                                  , bottom edge stroke color:BlackColor ¬
                                  , bottom edge stroke type:SolidStroke ¬
                                  , right edge stroke weight:0 ¬
                                  , right edge stroke color:BlackColor ¬
                                  , right edge stroke type:SolidStroke ¬
                                  , top edge stroke weight:0 ¬
                                  , top edge stroke color:BlackColor ¬
                                  , top edge stroke type:SolidStroke ¬
                                  , left edge stroke weight:0 ¬
                                  , left edge stroke color:BlackColor ¬
                                  , left edge stroke type:SolidStroke ¬
                                  , left inset:¬
                                  "0p4", right inset:¬
                                  "0p4", top inset:¬
                                  "0p4", bottom inset:¬
                                  "0p4", vertical justification:top align ¬
                                  , applied paragraph style:myTablePara}
              end try
              try
                   set myHeader to cell style "Header"
              on error
                   set myHeader to make cell style with properties ¬
                        {name:¬
                             "Header", based on:myBasicCell ¬
                             , bottom edge stroke weight:¬
                             "0.5pt", top edge stroke weight:"0.75pt", vertical justification:bottom align ¬
                             }
              end try
              try
                   set myFooter to cell style "Final Row Cell"
              on error
                   set myFooter to make cell style with properties ¬
                        {name:¬
                             "Final Row Cell", based on:myBasicCell ¬
                             , bottom edge stroke weight:¬
                             "0.75pt"} ¬
                             
              end try
              try
                   set myLeftCol to cell style "First Column Cell"
              on error
                   set myLeftCol to make cell style with properties ¬
                        {name:"First Column Cell", based on:myBasicCell, left inset:0}
              end try
              try
                   set myLeftHeader to cell style "First Row, First Column Cell"
              on error
                   set myLeftHeader to make cell style with properties ¬
                        {name:"First Row, First Column Cell", based on:myHeader, left inset:0}
              end try
              try
                   set myLeftFooter to cell style "First Column Last Row Cell"
              on error
                   set myLeftFooter to make cell style with properties ¬
                        {name:"First Column Last Row Cell", based on:myFooter, left inset:0}
              end try
              
              try
                   set myTableStyle to table style "Horizon"
              on error
                   set myTableStyle to make table style with properties {name:¬
                        "Horizon", body region cell style:¬
                        myBasicCell, header region cell style:¬
                        myHeader, footer region cell style:¬
                        myFooter, left column region cell style:myLeftCol}
              end try
         end tell
         set allTables to every table of every story of active document
         repeat with i from 1 to count of allTables
              set myTable to item i of allTables
              set table style of myTable to myTableStyle
              set properties of cells of myTable to ¬
                   {cell style:myBasicCell}
              set properties of cells of first column of myTable to ¬
                   {cell style:myLeftCol}
              set properties of cells of first row of myTable to ¬
                   {cell style:myHeader}
              set properties of cells of last row of myTable to ¬
                   {cell style:myFooter}
              set properties of first cell of first row of myTable to ¬
                   {cell style:myLeftHeader}
              set properties of first cell of last row of myTable to ¬
                   {cell style:myLeftFooter}
              clear cell style overrides
              clear table style overrides
         end repeat
    end tell
    

    When it is to 'set style table of myTable to myTableStyle' it is said ' impossible to define style table id of the table to text frame id page id 220 190 of spread id 185 [the first table] document \"Untitled-1\" table style id 264 [style newly generated] document \"Untitled-1\" 224 "  But I can't tell why.  Can anyone help?

    Table and cell styles are objects. When you want to apply, you must set the appropriate properties that are 'applied the style of table"and"cell style ". So: «the game applied style table myTable...» »

    But in terms of results, you'll be probably happier using the commands ' apply the style of table cell / ' instead, which allows you to clear the replacements.

    --

    Shane Stanley [email protected]>

    AppleScript Pro Sessions http://scriptingmatters.com/aspro>

  • LOV dependent inside the OFA

    Hello

    I'm looking how to implement LOV dependent within a table.

    I have two columns inside the so-called A, B.

    I have a value in a (text style) and then B (LOV). After mark I will be showing the values in the table so A is completed by research and B will take A value of show the dependent values of the a.

    Hope I'm clear with the tip.

    Concerning

    RAM

    This can be achieved by using the following steps.

    To make the second LOV to be dependent by the first style of message text.

    Create a form value in the same region and make the viewobject definition is the same as the message text style (MST).

    now, use the VALUE of the criteria for the lovmap element in the ENTRANCE of the LOV.

    as the value of the form is in the region it will choose the value whenever the LOV is interviewed and helps in implementing this feature.

  • Set the title of the window dynamically

    Hi all

    I am the creation OFA custom page for ads as system will be unavailable between xx and xx hours. I wanted to make the title of the window and the dynamic message and can be configured easily.
    So, I created page main region (MainRN) and the title of the window to the left as white. The page contains RawText point. My controller sets the title and the text of FND Messages in the ProcessRequest method.

    Text is displayed but it is NullPointerException as (OAPageLayoutBean) p1.findIndexedChildRecursive ("MainRN") returns NULL.

    Here is my page structure.

    xxAnnouncementPG
    MainRN (Style of the region: pageLayout)
    Announcement (Style element: rawText)

    Below is an extract from the ProcessRequest in my controller

    Game title
    OAPageLayoutBean mainrn = (OAPageLayoutBean) p1.findIndexedChildRecursive ("MainRN");
    System.out.println ("mainrn =" + mainrn);
    String title = p0.getMessage ("XX", "XX_ANNOUNCEMENT_TITLE", null);
    mainrn.setWindowTitle (title);

    Ad text
    Announcement of RawTextBean = (RawTextBean) p1.findChildRecursive ("Announcement");
    String msgtext = p0.getMessage ("XX", "XX_ANNOUNCEMENT_TEXT", null);
    announcement.setText (msgtext);

    I have
    used code below to discover all the childs in my page, but it shows only the "corporateBranding" and "messages".

    * for (Enumeration e = p1.getChildNames (); e.hasMoreElements () ;)) {*
    System.out.println (e.NextElement ());
    *}*

    How to set the title of the window dynamically? How to know all the recursively childs to the title of a page?

    Thank you
    Kishore

    Use pageContext.getPageLayoutBean () to get the handle of the PageLayout Bean. Subsequently, you can use setWindowTitle to define the message.

  • Re: Satellite L500-1WH stuck when updating BIOS

    Hi all

    I have a Toshiba Satellite L500-1HW, and today TEMPRO shown to me three alerts, one of them on a BIOS update. When I tried to run the application to update the BIOS (Phoenix UEFI WinFlash) he completed the first four steps, "Load the new BIOS", "Analyze old and new BIOS compatibility ', 'Reading old BIOS' and 'Save old BIOS to the backup file', but when he reached the stage of the las,"New Flash BIOS", he got stuck displaying the message 'Region of programming Bios... '. ». Now the laptop is turned on and in fact I can use it as the application of the BIOS update does not block the system, but I don't know what to do, I dare not just to finalize the program because I don't know if the BIOS is right.

    Please help me with this problem.

    Thank you.

    Hey,.

    Do you have any other programs like Internet browser, Skype or something else? All programs must be closed before you start the update of the BIOS, even AntiVirus, firewall, etc. In addition, the update should be done as an administrator

    In General, the BIOS update is not necessary. If only TEMPRO presents a new version, there is no reason to update. Never touch a running system ;)

  • Font size of Custumisé for table

    I'm deployin one table but words become overlap. I woul firstly smaller font size so the words can fit on the cells.

    I create a style of the region for the dataTemplate regions, using the constructor

    public RegionStyles(Border border,
                        Font font,
                        XYEdges margin,
                        XYEdges padding,
                        int horizontalAlignment,
                        int verticalAlignment)
    

    But I don't know how to tell the police, tried to use the method "drift" into BlackBerry JDE 6.0.0 QAnywhere, but error

    The method derive (int, int) is not defined. I also tried with the new Font (...) manufacturer but also get the ERROR "the constructor make...» is undefined

    Make sure you are including the police net.rim.device.api.ui and not the javax.microedition.lcdui fonts. In addition, you can do Font.getDefault () .derive (Font.PLAIN, height)

Maybe you are looking for

  • script editor

    I have the following problem with the script editor.  I have a script that goes through a spreadsheet Numbers cell-by-cell and examines the background color for each cell.  If the background color is yellow it it turns green.  I couldn't get this scr

  • Synchronization of notes on Mac does not work

    Hello! Today, my macbook pro with El Capitan stop synchronization of notes with iCloud. On iPhone and other devices all works well and sync. But on the Macbook it stop working. Works on iCloud.com notes but in notes app on macbook, I see notes from t

  • Strange mark on the screen of the Toshiba TV

    Hello world I turned my tv on tonight 3 yr old toshiba and was welcomed by the presenthttp://i857.Photobucket.com/albums/ab131/s1ddo1977/IMG_0787-1.jpg All ideas

  • Satellite A300 - after the BIOS update I can not install two OS

    Hello everyone: I bought a laptop Toshiba Satellite A300-247 with Windows Vista Home Premium. Then I formatted it and divided the hard (320 GB) into 6 partitions and installed Windows Vista and Windows XP on drive C to drive D after having changed th

  • desire x 2 touchpad driver update does not apply

    My envy of x 2 is updated and works very well. I kept all updates applied by the wizard of Support WIndows 8 HP. There is currently a significant update showing as available: SoftPaq SP1934 Version 16.5.3.3 This update download well but gets an error