Add style to  "af:commandLink"

Hi,
I want to apply style to af:commandLink so that background color is green, font color is white and when I take my mouse pointer over this link background turns in sky blue and font color also changes to some color, say red.
Can plz someone help me in implementing it.
Thanks,

this is my style
af|commandLink:hover
background-color: #d5f1f9;
color: #003d5d;
af|commandLink
color: White;
af|commandLink:active
color: White;
.link {
font-weight: bold;
appearance: button;
font-size:small;
color: White;
border-radius: 3px ;
background: rgb(100,152,5) ;
background-color: rgb(100,152,5);
padding: 5.0px ;
.header-container {
float: left;
border-bottom: 1px solid #cae298;*/
background: #075385;
this is my link
af:panelGroupLayout id="pt_pgl1" styleClass="header-container">
<af:commandLink text="welcome!" id="pt_cl1" styleClass="link"/>
</af:panelGroupLayout>
but my font color is same as background color of panelGroupLayout which contains this link

Similar Messages

  • How to add styles to image in XML view ?

    Is it possible to add styles to Images in XML view ?
    <Image alt="alternate text " src = " " />
    I tried adding sytle= "align : right " but its not working. I just want to align this element in the view to the right.

    Hi Micheal,
    Pleas see the below code.
    View:
    <core:View xmlns:core="sap.ui.core" xmlns:mvc="sap.ui.core.mvc" xmlns="sap.m"
      controllerName="testing.imageXml" xmlns:html="http://www.w3.org/1999/xhtml">
      <Page title="Image">
      <content>
      <Image id="img1" alt="alttextimage" src="images/img1.jpg" />
      </content>
      </Page>
    </core:View>
    Controller:
    onBeforeRendering: function() {
      this.getView().byId("img1").addStyleClass("myimage");
    Index.html :
    <!DOCTYPE HTML>
    <html>
      <head>
      <meta http-equiv="X-UA-Compatible" content="IE=edge">
      <meta http-equiv='Content-Type' content='text/html;charset=UTF-8'/>
      <script src="resources/sap-ui-core.js"
      id="sap-ui-bootstrap"
      data-sap-ui-libs="sap.m,sap.ui.commons"
      data-sap-ui-theme="sap_bluecrystal">
      </script>
      <script>
      sap.ui.localResources("testing");
      var app = new sap.m.App({initialPage:"idhome1"});
      var page = sap.ui.view({id:"idhome1", viewName:"testing.imageXml", type:sap.ui.core.mvc.ViewType.XML});
      app.addPage(page);
      app.placeAt("content");
      </script>
      <style>
      .myimage{float:right !important; width:300px; height:200px;}
      </style>
      </head>
      <body class="sapUiBody" role="application">
      <div id="content"></div>
      </body>
    </html>
    Output :
    Regards,
    KK

  • How to add styles to the content on the screen

    Hi All
    I am able to dispaly the content of a .txt file on the screen using inline frames(11g adf using content repository- file system) . But 'm able to add styles to it like displaying it in bold letters. Any help on how to add templates
    Link which i followed http://download.oracle.com/docs/cd/E12839_01/webcenter.1111/e10148/jpsdg_content.htm
    8.3.1 How to Add Content as an ADF Inline Frame
    code
    <af:inlineFrame id="inlineFrame1"
    source="/content/conn/Test/path/test1/Test.txt"
    inlineStyle="height:100px; color:Aqua;"
    styleClass="AFStretchWidth">
    </af:inlineFrame>
    Thanks,
    Tim.
    Edited by: 831631 on Feb 16, 2011 11:00 PM

    hi Tim
    831631 wrote:
    Yes.
    • Consider a file Sample.txt file contains the text – “Hello World. Welcome”
    • Display “Hello World” in bold and display “Welcome” underlinedI don't think that adding style to a plain text file (as such) will be possible, you should probably use HTML or another document format.
    success
    Jan

  • How to add style parameter

    Is there a way to add a style parameter and argument to a text area using the unstructured form generation tool? I tried adding the string "style='font: 10pt Helvetica" inside the tag delimeter following the #ename.item# string. Portal generated an additional text input element instead. We're using Portal 3.0. Thanks in advance!!!
    Mary Vivit

    Is there a way to add a style parameter and argument to a text area using the unstructured form generation tool? I tried adding the string "style='font: 10pt Helvetica" inside the tag delimeter following the #ename.item# string. Portal generated an additional text input element instead. We're using Portal 3.0. Thanks in advance!!!
    Mary Vivit

  • Add style to Report Wizard

    According to the link here:
    https://msdn.microsoft.com/en-us/library/Dd756379(v=vs.120).aspx
    "The
    list of styles is based on a configurable template."
    the styles shown by the wizard:
    I'm looking for where these can be configured.   This is for a straight up Visual Studio 2013 system - not using SSRS (reporting is
    Local mode).   Ideally, I would like to add a custom style - but would certainly entertain just updating an existing style with the color scheme decided on by the project stake holders.

    Ok - looks like the styles are hard coded in the ReportDesigner.Control.dll.
    There is a reference to MapStyleCustom - but haven't tracked down how I can set customer values for this (if I can).

  • Add style to Muse site

    I want to add the following style to Muse and have it available on demand
    It creates a rectangle with rounded corners and a drop shadow for headers etc
    How do I do this??????
    <style>
    div1
    border:2px solid #a1a1a1;
    padding:5px 20px;
    background:#e0ffff;
    width:300px;
    border-radius:25px;
    box-shadow: 10px 10px 5px #888888;
    -moz-border-radius:25px;
    </style>
    Thanks

    09:59:51
    Thank you. The more I work with MUSE, the more impressed I am with it.
    <http://www.canlaw.com/> WHAT IS CANLAW?
    CanLaw is Canada's first, largest, free Nationwide Lawyer Referral Service for anyone, or any business, anywhere in the world, needing to find a lawyer, law firm, or legal or related services and assistance for any reason whatsoever, anywhere in Canada.

  • How to add style(color) info for the color used in ALV tree nodes

    I have an object for CL_GUI_ALV_TREE and I have added nodes to the tree and has set color for the nodes using 'STYLE' parameter. Now if I have to add the style info to the style(color) then how do I do it using the object I have?
    Edited by: Sujay V Koparde on Feb 20, 2008 4:27 AM

    Yes Eshwar, its similar to what you have written but my problem was that the style has already been assigned in the code and now I want to assign the style info(tooltip text) to the style(colour). I have an object of class cl_gui_alv_tree as of now and I am not able to find out as to how do I proceed to assign style information

  • Add style to next paragraph (by using GREP?)

    Can someone help? I have a problem - long (300+ pages) text with questions and answers. Questions are using paragraph style "x" and answers are using paragraph style "y". There are usually 3-6 paragraphs of text in every answer. I need to change only the first paragraph's style after the question paragraph to style "z", so that the structure of styles would look like  x-z-y-y-y-y-x-z-y-y... (now it looks x-y-y-y-y-y-x-y-y-y...). Can it be done using GREP somehow?
    Claudius

    I sell a script on my website for this sort of thing:
    www.freelancebookdesign.com
    Under the "Scripting" tab, check out a script called "Change Consecutive
    Paragraphs".
    Ariel

  • Add style to sort links

    When I make a column sortable in a report, the link takes it's style from a:active in the style sheet. However, I would like to customize it so that it uses a different style (e.g. t14ReportHeader). However, I cannot find where I would make that change, or if there is an easy way to change that in the CSS.
    The column headings in the report template show:
    <th class="t14ReportHeader"#ALIGNMENT# id="#COLUMN_HEADER_NAME#">#COLUMN_HEADER#</th>
    However, I need to change #COLUMN_HEADER# as it is in there that the link is created.
    I hope that explains it..
    TIA,
    John

    John,
    if you just need it on one page, put it into the "HTML Header" property of your "Page Attributes". Eg.
    &lt;style type="text/css">
    // your CSS which overwrites t14ReportHeader
    </style>If you need it on all pages, put the above code into your page template(s). It has to be after
    &lt;link rel="stylesheet" href="#IMAGE_PREFIX#themes/theme_xxx/xxx.css" type="text/css" />You should also consider putting it into a separate file if it's more CSS code. Then the browser is able to cache it and it hasn't to be transmitted each time.
    Patrick
    My APEX Blog: http://inside-apex.blogspot.com
    The ApexLib Framework: http://apexlib.sourceforge.net
    The APEX Builder Plugin: http://sourceforge.net/projects/apexplugin/

  • Add style to large block of text without affecting existing styles within that text

    Hello! First post here.
    I have a long document of text that mostly does not have text styles attached (this was a mistake). However, there is a large number of areas of styled text within.
    Is there a way to select all the text and apply a style to only the unstyled text without affecting the existing styles?
    Doing this by hand text block by text block would take a long long time.
    Any help is greatly appreciated.
    THX!
    Ian

    winterm wrote:
    What do you mean by "unstyled text"? It must have some definition, anyway.
    Like others, [No Paragraph Style] and [Basic paragraph] are searchable, too.
    boomshakalaka! Thanks! Im familiar with this panel but didnt see how to specify 'Character Style: [No Character Style]'.
    Had to click on the icon

  • Help to add style to ul

    I added the below so i could have the word "Specification" in bold and underline.  When i validate the code i get the following error...  Element span not allowed as child of element ul in this context. (Suppressing further errors from this subtree.) [HTML5]  So, how can i make the JUST the title in bold and underline 
    Specification
    Length: 4.60 meters
    width:2.04 meters
    Weight: 420 kg's
    Draft: 0.43 meters
    Birth: 2+1
    Category: C
    How do i paste code on here?
    http://www.smartfisherboats.co.uk/cuddy-cabin-boats-smartfisher.html
    Thanks!

    You can't style a <ul> tag. 
    Use a definition list (I really like definition lists!!):
    <dl>
         <dt>Specifications:</dt>
              <dd>description</dd>
              <dd>description</dd>
              <dd>description>/dd>
    </dl>
    Definition lists -- misused or misunderstood?
    http://www.maxdesign.com.au/articles/definition/
    Nancy O.

  • How to add styles to the standard Robohelp Style list?

    Hi
    I want to create a Robohelp style with some border and shading under the standard Robohelp Style list (refer screenshot) so that I can use it to assign to a paragraph while importing my FrameMaker file.
    How do I that?
    Cheers
    Sreekanth

    Thanks a lot.
    Here is what I did.
    1.  Imported using the default RHStyleMapping.css settings.
    2.  Once the file was imported, I went through File > Project Settings and added the required style to RHStyleMapping.css. This style had Solid borders, tranparent shading and a custom image for Pattern.
    3.  Exported the new settings as an .isf file.
    4.  Started a new FM import project.
    5.  Now, in the Conversion settings > Robohelp Styles, I found the new style. However, this had only the border and not the Pattern image.
    6.  When I completed the import, the resulting RoboHelp also showed only the border.
    So, I think I am very close to my expected result. Now, where am I going wrong on the Pattern aspect? Do I need to place the image any specific folder so that it appears while importing?

  • Add Style in Section Marker

    Hi all
    I have a 4 page document, each page has different running head. So I placed Section Marker in master page. Now I am fine, in my 2nd page running head my Section Marker should be
    MY TITLE AND YOUR TITLE.
    the word AND should be ITALIC character style?
    How can I apply this? any one had experience this before?
    thanks in advance
    regards
    a r u l
    http://www.vpublish.net

    Section markers contain text only, no formatting. There's no way to do
    what you want with the section marker.
    You didn't mention version. ID CS3 and CS4 will let you use variables,
    which *also* cannot contain formatting, but you might be able to use two
    or three variables on the master page, like
    {My Title variable} and {Your Title variable}
    I've never tried it, but another option might be nested styles. Nested
    styles would only work if there was a consistent pattern (i.e., after 3
    words, or after one colon, or up to 3 spaces, etc.). Again, I've never
    tried it, but I don't think you can include an end-of-nested-style
    character in a section marker or variable (but let me know if I'm wrong).
    Of course, for 4 pages, setting up section markers or variables is more
    work than just typing the running head locally on each page. Are you
    sure you didn't mean 40 or 400 page document?
    Kenneth Benson
    Pegasus Type, Inc.
    www.pegtype.com

  • [ iWork pages] How to number list style color & add style ?

    Hello
    Korean users. pages while using the question has occurred.
    If you look at the attached image
    to change the color of the "numbered list" style number have been wondering.
    So the search, I got this answer.
    https://discussions.apple.com/thread/2236216?threadID=2236216
    However, this method has not been registered in the list style.
    What should I do?
    Pages 09 User Guide.pdf
    How to change the color, like the list of files added to the list style of list?
    Is too worried.

    Quick fix:
    Right Click / CTRL+Click (to get the contextual menu) on the first line of the second number list and select Restart Numbering from the list of options.
    Repeat as needed for subsequent lists.

  • Conditionally add style tag

    Hi
    I have a couple of links and each of them have actionListeners. When any link is selected I stay in the same page but update the data_table. However I also want to "HIGHLIGHT" the link by making it BOLD by adding a style="font-weight=bold" to the link.
    Right now in my actionListener I do
    UIComponent comp = event.getComponent().findComponent ("COMP_NAME");
    ((ValueHolder)comp).setValue(newData.getDataList());
    What do I need to do to highlight the link also. I can get the UICommand component by name...But how do I set the style..?
    Any ideas?

      theCommand.getAttributes().put("style", "font-weight: bold");

Maybe you are looking for

  • No connections in the combo box of Infobus Data Form Wizard?

    I am trying to create a new project but when I try and select a connection, the "Connection" drop-down combo-box is empty. I have created 9 connections, but cannot select them. I have tried adding a new one and editing but still they do not appear. A

  • Recommended tutorials for using paths/vector art in Photoshop?

    Hi all! Can you recommend any good tutorials for using paths/vector art in Photoshop? Honestly, I've had a good look for even one - without much success. I Have lots of experience with paths/vector art in Illustrator, Fireworks and InDesign but I bel

  • USB data link to Belkin USB Printer Adapter

    I am using a T6295ZM/A DLINK BLUETOOTH MODULE DB connecting to a Epson R200 prinmter through a Belkin USB Printer Adapter. Printer error messge Paraphrased "can't communicate with printer." Using Bluetooth pane in preferences I can see the adapter an

  • What to include / link for CFHTTPMessage and friends?

    Hello, all ... I'm developing an iPhone app and I want to use CFNetwork calls instead of NSURLConnection et al. However, I can't seem to get XCode to see the CFNetwork stuff: Line Location AudioStreamer.m:427: error: 'CFHTTPMessage' undeclared (first

  • Saving a file in a specified directory

    I have this network-application where I ask new users to enter their information. I want to be able to store this information in a file under that user's username. I want to make the directory for the user at my server and save the file inside that d