Define Style for portlet region

Hi,
I want to 2 portlets on a part of the page and they should have a different background.
but when "portlet" in the region attributes is selected only a preview of the style
is given but i can't select an other one.
I need another color there because its part of the navigation and it looks nicer when there are no white gaps.
How chan I set this ?
Thanks
Michael

Hello
I am not sure which version you are using, but I know that in rel. 2 you can define diferent style from region to region that contains items, but the style that reflects portlets is always applied for the page not the portlet itself. You can not change the portlet style on the region settings. That means, that you can not have 2 different styles on portlets on one page. That's atleast how I understood it, since I wanted to have different background colour on portlets myself.
Hope this helps!

Similar Messages

  • Defining styles for  my page layout.

    Is there any in depth resource for what styles are and how to define them for laying out a page in Pages? I am terribly lost!

    Hello Zenmind,
    there are three different kind of styles and you can work with them in every text area of Pages: in the main text area, in textboxes and in objects with inserted text.
    1) The paragraph style
    Paragraphs will be created by a new line character. This you insert in text areas by hitting the return key. So every inserted new line character (you can see them by showing the invisibles; menu: "View/Show Invisibles") creates a paragraph. To create a paragraph style, place the text cursor inside such a paragraph text and adjust the options in the "Text" inspector in the four tab panels "Text", "List", "Tabs" and more.
    After you are satisfied with the look of it, show the styles drawer (menu: "View/Show Styles Drawer") and click onto the down pointing triangle right beside the marked style name. In the appearing menu you can choose the top item "Create New Paragraph Style From Selection..." to get what it says. Give it a proper name and your new created paragraph style will appear in the styles drawer in the list of the paragraph styles.
    If you want to change an existing paragraph style, place the text cursor in the text of the paragraph you want to alter and adjust the options you want to have. Now show the same menu in the paragraph style drawer I mentioned above (to show you that there are changes, the triangle is red now) and choose the second item "Redefine Style From Selection".
    For changing the style of one paragraph to an other style, place the text cursor inside the paragraph text and use the style menu in the button panel of the document window or select the style name in the styles drawer. Now you can change the paragraph in two ways. a) Do a single-click and the bold and italic (color, etc.) marked words will remain if the font of the selected style is installed in bold and italic. b) Do a double-click and all characters of the paragraph will be changed into the font style of the selected paragraph style.
    2) The list style
    In the style drawer you can find a list of styles for lists (the button with the three lines at the drawers bottom border). The handling is the same as with the paragraph styles.
    3) The character style
    With this styles you can mark characters and words inside of paragraphs. You can show the styles with the button that displays the underlined "a" beside the show/hide "List" button. Unfortunately this function is not working correctly. You can choose by creating such a style which attributes you want to store in the style. By marking words and assigning this character style to them, ALL attributes will be assigned, not only the selcted.
    I know some feedbacks of this bug were sent to the developers and hopefully this will be corrected in the next version.
    I hope this helps you to understand styles and the creation/handling of them.

  • XAML: Can we define style for nested elements?

    Can we define a style that will target "all TextBlock elements inside Border elements of style XXX"?
    I have a style <Style TargetType="Border" x:Key="XXX"> and I want all TextBlocks inside Borders with style XXX to have red Foreground.
    In CSS it would look like this:
    <html>
    <head>
    <style>
        p { color: red; }
        p.XXX { color: green; }
        p.XXX span { color: blue; }
    </style>
    </head>
    <body>
        <p>red text</p>
        <p class="XXX">green text</p>
        <p class="XXX">green text <span>and blue text</span></p>
    </body>
    </html>

    Hi Michael,
    I've moved this to a more topical forum for you.
    Xaml styles do not cascade like CSS does. 
    --Rob

  • Style for the button

    Hi,
    it is possible to define style for the button on the form?
    Portal version: 3.0.6.6.5

    leinadjan wrote:
    Hello everybody,
    (I'm using APEX 3.2)
    I get a really annoying problem. I'm using report region to show the selected options in one of my application. When I'm creating or editing that content, I do it in a specialised page. To edit my content, I'm using a standard edit button link in my first column. But the button column is ALWAYS taking too much space in my report, it shouldn't be longer then 30 pixels wide. I 'm trying to use the attribute fields or table attribute fields with style="width:30px;" but it never works. I'm having a hard time following this (and I don't currently have access to 3.2). Although its a different version, suggest you create a similar example on apex.oracle.com to give a clearer idea of the situation.
    The only way I found to do that was by creating a new template and write my new style in the header option. But I was told that I can't edit those tamplate. What template? Who told you this?
    I'm thinking that some substitution strings are missing and that is why it changes nothing.What substitution strings?
    It always helps if you provide precise details of:
    <li>Full APEX version
    <li>Full DB/version/edition/host OS
    <li>Web server architecture (EPG, OHS or APEX listener/host OS)
    <li>Browser(s) and version(s) used
    <li>Theme
    <li>Template(s)
    <li>Region/item type(s)

  • Different styles to the portlet regions

    Oracle Portal 9.0.2.2.22
    How to apply different styles to the portlet regions within a page?
    Regards
    Rajesh Kumar

    Hi Rajesh -
    Unfortunately you can only change the style of item regions, not portlet regions. If you only need to change the portlet background color there is a little trick you can do with version 9.0.2.6 (I do not have a 9.0.2.2 build to try with)
    Place the portlet that should have a different background color on a different page. Set the Style property for this page. The style should set the Common background color as the color you wish to be the portlet background color. In the style, set the portlet background color to NULL (allowing the common background color to show through). In the page properties, on the optional tab, expose this page as a page portlet, and ensure the page does not use the style of the page on which the portlet is placed.
    Now expose the page portlet on the page you originally wanted the portlet to show.
    Hope this helps. I would be interested to know if this also works in 9.0.2.2 as in 9.0.2.6.
    Thanks,
    Candace

  • Why Portlet regions cannot have their own style ? We need to use it.

    We need to visually group portlets on the same page.
    So we need to give different background different
    But Portlet regions cannot have their own style.
    So we cannot do it.
    Can we by pass this restriction? How ? ( We try to use html template, html content layout. But they don’t work.)
    Is this restriction will remove from future versions? (especilly 11g)
    Thanks.

    We ran into the same thing. I'm assuming you want to display different portlets on the same page with different looks. Here are a few things you might try (depending on the portlets, of course).
    - Adding another .css file in the cascade within the UI template
    - If using page portlets, add your own formatting to the page
    - Use dynamic pages with hard-coded formatting
    None of these will work for all cases, mind you. But it might give you a starting point. Good luck!

  • How to define the style for JTextArea using synth style xml file.

    Hi all,
    How can we align the text inside the JTextArea using synth style xml file.
    We defined a style for the TextArea. But the text is displayed immediately after the border. So we want to provide some space between the border and the text.We specified the insets as given below. But it is not reflecting during runtime.
    <insets top="3" left="3" bottom="3" right="3"/>
    Please help me if any one knows

    Hi Anju,
    This may help you.
    http://www.xenta.nl/blog/2009/10/28/oracle-soa-suite-11g-setting-and-getting-preferences/
    Preferrence Variable can be updated either thorugh EM console or ConfigPlan
    Regards,
    Richa

  • How does one define a default style for a custom Flex component?

    How does one define a default style for a custom Flex component?
    hello
    I created a new set of Flex component library slib.swc (Flex 4.5). Would also like to have a default style. defaults.css file, making it the default style of the component library.
    Like flex the builder install directory of sdks \ 4.5.0 \ frameworks out \ libs directory has a spark.swc file, open with Winrar will see defaults.css this file. Defaults.css file defines the default style of the flex spark components.
    How can it be achieved?
    As follows
    slib.swc contains a CLabelEx components, and a defaults.css file
    defaults.css source file as follows:
    @ namespace s "library :/ / ns.adobe.com / flex / spark";
    @ namespace mx "library :/ / ns.adobe.com / flex / mx";
    @ namespace cn "http://os.slib.cn";
    cn | CLabelEx
            styBackgroundAlpha: 1;
            styBackgroundColor: # 569CC0;
            styBorderAlpha: 1;
            styBorderColor: # 569CC0;
            styBorderWeight: 1;
            styCornerRadius: 3;
    In slib.swc the application MyLabel.mxml of the source file as follows:
    <? xml version = "1.0" encoding = "utf-8"?>
    <s: Application, the xmlns: fx = "http://ns.adobe.com/mxml/2009
                               xmlns: s = "library :/ / ns.adobe.com / flex / spark"
                               xmlns: mx = "library :/ / ns.adobe.com / flex / mx"
                               xmlns: cn = "http://os.slib.cn
                               the minWidth = "955" The minHeight = "600">
            <fxeclarations>
            </ fxeclarations>
            <cn:CLabelEx x="67" y="112"/>
    </ s: Application>
    I hope CLabelEx default use cn | CLabelEx, style to display its appearance.
    I refer to above approach, but failed to achieve. Can you please re-Detailed
    Thanks!

    dj is right. Any Folder can be a picture folder.
    Create a root level folder and add it to your Pictures Library in Windows.  It will show up with all the scattered pictures from other programs. It can even be a different dirve if you like.  You  can even specify one to be the default save location for pictures in this dialog.
    Navigate to Pictures in your Libraries in Windows Explorer Right Click and select Properties.
    Message was edited by: Rikk Flohr forgot the instructions...

  • How to apply different styles to Portlets on the same Portal page?

    How do you apply different styles to Portlets on the same Portal page?
    I'm new to this kind of thing, but understand that something called "cascading style sheets" can help here?
    What are these, how do you use them, and can you make different Portlets (all types - PL/SQL, Java, Applications, etc) on the same Portal page have different styles assigned?
    Thanks!

    Jeff,
    Apply Oracle Portal styles at the region level. Your portlets within each region will inherit the style defined for the region.
    You may want to check out Report #40050 at portalcenter.oracle.com, "Design an Attractive and Compelling Portal Interface" for a good overview of the various design features of Oracle Portal.
    Here is the link:
    http://portalcenter.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/OTN_CONTENT/MAINPAGE/OWSF_2003_PAPERS/40050_STOVER.PDF
    Regards,
    Jay

  • Performance issue for Report Regions

    We have an app which has as it's "Home Page" a portal-style page. The "portlets" are separate regions. Some of these regions are HTML forms, but most are report regions, invariably with PL/SQL returning the SQL query.
    On our dev box this portal renders fine, in no more than 5 seconds (acceptable). On the production box a couple of the portlets go crazy, usually taking between 1-2 minutes each. I know this because I added the #TIMING# string to each region footer. The portal page has a META tag to refresh every 120 seconds.
    The first thing I did to debug was to take the PL/SQL function body returning the SQL query, replace all the variables (which are just local vars, app items and page items) with hardcoded values, strip all quotes and run the "cleaned up" SQL query in SQLPlus. It executes very fast.
    So my conclusion is that the problem lies with the application server (which is Oracle iAS). Is this a logical conclusion? What should my next move be to get to the bottom of this?
    Even without the problem portlets the portal refresh speed varies widely, between <1 sec and >10 sec.
    The application also has other pages displaying the portal regions individually. These pages (including those with the "problem portlet" queries) render ok (ie, order of 5 seconds or less). This tells me that there is an issue with having a bunch of query-based regions on the same page.
    My guess is that I might need to examine the logs and/or httpd/modplsql settings of the app server. Number of simultaneous connections?
    What would happen if hundreds of users used this app concurrently, navigated to the portal page and left it like that to auto-refresh every 2 minutes? Are such pages a no-no in HTMLDB?

    Some more information:
    When I run the page in debug mode, I see the following timings for one of the problem portlets:
    11.53: show report
    11.54: determine column headings
    11.54: parse query
    60.95: binding: ":F118_BUNDLE"="F118_BUNDLE" value="1"
    60.95: binding: ":P52_STMETRICS_PRODBRANCH"="P52_STMETRICS_PRODBRANCH" value="RDBMS_MAIN"
    60.95: binding: ":P52_STMETRICS_PLATFORM"="P52_STMETRICS_PLATFORM" value="LINUX"
    61.35: print column headings
    61.35: rows loop: 15 row(s)
    [report is printed here]
    61.49: FORMITEM: P52_STMETRICS_PLATFORM HIDDEN
    61.54: FORMITEM: P52_STMETRICS_PRODBRANCH HIDDEN
    This tells me that the bulk of the time (50 seconds in this case) is eaten up in parsing the query. What is this symptomatic of?
    Another problem I've just noticed. It takes about 5 seconds to open up a region for editing (Region Definition) in HTMLDB. When I click "Apply Changes" (even without editing anything) it is taking on the order of minutes for the changes to be applied to the page. Our app server was bounced just before I noticed this.
    These are the params in our DAD:
    <Location /pls/toolsdb>
    SetHandler pls_handler
    Order deny,allow
    PlsqlDatabaseConnectString ...
    PlsqlDatabasePassword ...
    PlsqlDatabaseUsername ...
    PlsqlDefaultPage ...
    PlsqlDocumentPath docs
    </Location>

  • Different styles for ArrowButtons with synth

    How can I define different component styles? For example I have ArrowButtons in ScrollBars, TabbedPanes, DropDowns etc. And now I want to define different the ArrowButtons within ScrollBars, the ArrowButtons within a DropDown etc. How can I manage that with synth. At the moment I have the following synth code which is uses for the ArrowButtons in a TabbedPane:
    <style id="arrowButtonStyle">
         <property key="ArrowButton.size" type="Integer" value="24"/>
         <state>
         <imagePainter method="arrowButtonBackground" path="/de/imbus/swing/plaf/images/tab_std.png"
              sourceInsets="0 0 0 0"/>
         <imagePainter direction="WEST" center="true" method="arrowButtonForeground" path="/de/imbus/swing/plaf/images/tab_scrlbtn_arrow_left.png"
              />
         <imagePainter direction="EAST" center="true" method="arrowButtonForeground" path="/de/imbus/swing/plaf/images/tab_scrlbtn_arrow_right.png"
              />
         <!-- <imagePainter method="arrowButtonForeground" path="/de/imbus/swing/plaf/images/tab_selected.png"
              sourceInsets="0 0 0 0"/> -->
         </state>
         <state value="ENABLED">
         <imagePainter method="arrowButtonBackground" path="/de/imbus/swing/plaf/images/tab_std.png"
              sourceInsets="0 0 0 0"/>
         <imagePainter direction="WEST" center="true" method="arrowButtonForeground" path="/de/imbus/swing/plaf/images/tab_scrlbtn_arrow_left.png"
              />
         <imagePainter direction="EAST" center="true" method="arrowButtonForeground" path="/de/imbus/swing/plaf/images/tab_scrlbtn_arrow_right.png"
              />
         <!-- <imagePainter method="arrowButtonForeground" path="/de/imbus/swing/plaf/images/tab_selected.png"
              sourceInsets="0 0 0 0"/> -->
         </state>
    </style>
    <bind style="arrowButtonStyle" type="region" key="arrowbutton"/>
    Message was edited by:
    maike

    Know of any reason the style
    selected-fill-colors: red, black;
    doesn't have any effect on the tabs in a tabnavigator or
    tabbar.
    Have tried setting the style by using a custom class and by
    just applying a style to all Tabs. The fill-colors works but the
    selected-fill-colors does nothing.
    http://weblogs.macromedia.com/mc/archives/FlexStyleExplorer.html
    has an example that works and shows the css being used. Is there
    another switch I need to flip to have the selected-fill-colors to
    work?
    <mx:Style>
    .viewTabs {
    fill-colors: red, black; /* this works */
    selected-fill-colors: #3300cc, #ffffff; /* this doesn't */
    </mx:Style>
    <mx:TabNavigator x="63" y="167" width="200" height="200"
    tabStyleName="viewTabs">
    <mx:Canvas label="Tab 1" width="338" height="100%">
    </mx:Canvas>
    <mx:Canvas label="Tab 2" width="100%" height="100%">
    </mx:Canvas>
    <mx:Canvas label="Tab 3" width="100%" height="100%">
    </mx:Canvas>
    </mx:TabNavigator>

  • More than one style for a single link state?

    RH 8 outputting CHM
    Hello,
    Is it possible to define more than one style for a single link state?
    For example, I would like a link in the footer of my master page to be smaller than the links that appear in the body of my topics. I want to retain behavior, and simply change the point size.
    I can't simply hand format in Design mode, because my link is within a script. Or, am I missing something easy here?
    Thanks much.

    I'm pleased to say I figured out how to change the formatting of a hyperlink embedded within a script.
    Within the script, I used a var string to reproduce the text in my link. Then I used another var to change the string size.
    So, here's the part of my script that produces what I'm after:
    var mailDisplay = 'Was this information helpful? ';
    var str = 'Was this information helpful?';
    var mailDisplay = str.fontsize("1");
    Upon generation of the CHM, the script trumps the CSS. It's a beautiful thing.

  • How do I pass parameter to different portlet regions from another page?

    How do I pass parameter to different portlet regions from
    another page?
    I have a page that with two regions. Each region has a report
    that uses the same information to generate its report.
    Individually running the reports, I can use p_arg_names and
    p_arg_values to get what I want. However, when I run the page
    that has both portlets, my .show is gone and I cannot get it to
    use the p_arg_names, etc. Do you have any idea how to overcome
    this? Thanks for any help.

    How do I pass parameter to different portlet regions from
    another page?
    I have a page that with two regions. Each region has a report
    that uses the same information to generate its report.
    Individually running the reports, I can use p_arg_names and
    p_arg_values to get what I want. However, when I run the page
    that has both portlets, my .show is gone and I cannot get it to
    use the p_arg_names, etc. Do you have any idea how to overcome
    this? Thanks for any help.

  • Can I make a custom position for a region ?

    Hi guys,
    I am trying to place a region on a page using CSS attributes. I tried this thing:
    in the region header :
    <div style="width:300px;height:150px;position:absolute;left:100px;top:100px;"> in the footer:
    </dive>but the problem is that only the items of the region get a new position.
    How can I place a region where I wish ???
    FYI:
    I use
    Windows 7 64 bit
    Apex 4.1
    Theme : 23-crimson
    Glass Fish server
    Oracle Database 11g Express Edition Release 11.2.0.2.0 - Production
    PL/SQL Release 11.2.0.2.0 - Production
    CORE 11.2.0.2.0 Production
    TNS for 32-bit Windows: Version 11.2.0.2.0 - Production
    NLSRTL Version 11.2.0.2.0 - Production
    I hope my question is clear.
    Regards,
    Fateh

    Fateh wrote:
    in the footer:
    </dive>
    Was that really <tt>&lt;/dive&gt;</tt> or <tt>&lt;/div&gt;</tt>? Getting it right with the latter might help...
    Region template?
    Browser & version?
    Probably get better results by either giving the region a static region ID and using this as a selector in a separate style sheet, or putting your inline style in the region attributes.

  • Changing Track Style for Score

    I wrote a tenor part and set the track's Style to Bass. However, in the score, it renders it in Piano style (split treble/bass). I tried editing style in Layout, but that only lets me change the Piano Style, which is defined just fine for a piano. I don't want to mess up the Piano Style definitions; I want to change which style that Track uses. When I choose a Style for a Track, where is the "I mean it" button?

    Hi,
    "Automatic" you will only see if there is more than one track selected for display in the score editor. As soon as you select a single track, the Inspector should switch from Automatic to "Inst 1" (Or Inst x whatever) and you should see the piano or bass preset.
    So, select the single staff you want to change.
    Sorry if this isn't the answer, but for me, it always works. Try to break down the whole process in small steps:
    1. Open a fresh, new project, insert a single midi or software instrument track.
    2. Record some midi. Now
    3. Open Score Editor (CMD-3)
    4. Select the Staff you recorded by clicking (single click) on it - the lines should turn blue
    5.Go to the left of the window (inspector) - select the style from the pop-up-list (click-hold to bring up the style list). The style should stay how you've selected it.
    If not: Report back. I then suggest you go upstairs to the Logic Studio Forum where all the gurus are. Maybe they know the solution, because to me it sounds very strange (like bug).
    Cheers + good luck,
    Fox

Maybe you are looking for

  • Itunes from PC to Mac but kept on an external hard drive

    Afternoon All, I would appreciate any help I could get on the following query. After owning PC's for years that gave me nothing but trouble I finally upgraded to a 21" Imac two weeks ago. I'm not a massive user of computers (Itunes and the other half

  • Flex Widget in Acrobat 9 access xml file

    Hi, I made a Flex application which accesses an xml file on my pc. When I insert the application in Acrobat 9, the data in the xml isn't loaded. I think that the Flash player in Acrobat 9 can't access the xml due to security reasons. Embedding the xm

  • Songs in iTunes not synching

    I have multiple songs in iTunes that are not synching into my new iPod Nano. It is not a capacity issue and appears to only be .m4a files(and yes they are checked to synch). Furthermore, it seems to affect those songs where I edited the name, artist,

  • [SOLVED] (Perl) Help Modifying Conky Weather Script

    I'm using buttons' excellent Conky weather script, but it has more information than I need. It displays both the current weather condition and the temperature: [condition]:[temperature]F so right now it's Clear: 46F All I need is for it to display th

  • Help Needed: How to setup external procedure in listener on 11gR2

    I have successfully installed 11gR2 RAC on two nodes RHEL5.3, I noticed that the default configuration has something different from previous versions (such as 10gR2 or 11gR1): (1) listener.ora is under $GRID_HOME/network/admin (a.k.a under Grid tree)