Style sheet with ADF

Hi,
I want to use Style sheet in my ADF project. I use the 'styleclass' component for each of my field in the jsp page. But I dont see any effect on my jsp page. Is there any thing to be added to web.xml or faces-config.xml files?
Please let me know as I need this soon.
Thanks,
Haripriya.S

Hi,
I tried to have a custom skin in my application. I basically need a blue background for my application in all the pages.
Here is the code that I added in my stylesheet (rebillSkins.XSS). I have also configured the path of the stylesheet in adf-faces-skins.xml file.
Code:
<style name="AFDarkBackground">
<property name="background-color">#c5d4e9</property>
</style>
<style selector="af|body">
<includeStyle name="AFDarkBackground"/>
</style>
But when I run my application I get the white backgroud as before. Am i wrong in my code anywhere? Please could you help me?
Thanks,
Haripriya.S

Similar Messages

  • Please let tell me the exact location of the default Style sheets of ADF

    Hai Everyone,
    Please say me the exact location of the default Style sheet of ADF Since i need to modify the color & Background image of the Table which i have drag & dropped in the work space from the Data control palatte.
    regards,
    SUGANTH.G

    Thanks for ur information Mr.Frank
    I need another clarification from u The images used for the button in ADF is not satisfied for us.
    I need to use my own images & also I am not interested to use a button images as command link and proceed. Since it leads to an another issue
    I need to overwrite the basic button images used by ADF. U can give my a suggestion regarding this issue

  • Cascading style sheets with htp procedures and functions

    I'm new to style sheets. I currently build dynamic web pages with database procedures using htp/htf. Can someone tell me how to use style sheets with this functionality.
    Thanks

    This is a good point to start learning about css:
    http://www.htmlhelp.com/reference/css/

  • Using RoboHelp 8 style sheet with RoboHelp 9

    Howdy. My issue:
    I was using RoboHelp 8 at work to craft a web help document out of a Word file. We have a company CSS we apply to web help for look, feel, etc. It worked in RoboHelp 8, but not in 9 despite following the same Word Import procedure. Needed to upgrade to RH9 because RH8 was not recognizing our version of Word to compile and create the web help files.
    How can I make my old style sheet work with RH9? Is there some step I'm missing? Help appreciated with 20.1 bazillion thank yous in advance.

    Hi there
    First we need to know what type of string you are using and obtain an exact measurement.
    I'm joking, of course, but the fact here is, we need more information. Things like:
    You said "...despite following the same Word Import procedure.". What are the exact steps in said procedure, please?
    Note that it's a simple process to ignore any style sheet during the Word import, then later import just the company CSS file and associate it with your topics. All of that can be done in perhaps 30 seconds or so.
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7, 8 or 9 within the day!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • Using a style sheet with hbj:link

    Hi guys,
    I'm looking for a way to use a style sheet that I've created in my jsp with an hbj:link tag. Here's my style sheet:
    <STYLE type="text/css">
    a.button
    a.button:active, a.button:focus, a.button:hover
    </STYLE>
    Here's my link:
    <hbj:link
         id="<%=linkId%>"
         text="Sign Me Up"
         tooltip="<%=toolTip%>"
         onClick="signupLinkClick"
         linkDesign="REPORTING"
         >
    </hbj:link>
    I've tried wrapping an <a href="#" class="button"> tag around the hbj:link tag, but that didn't work. Any ideas?
    Thanks!
    -Stephen Spalding
    Web Developer
    Graybar

    Hi,
    there is a possibility to change the default style, but is not really clean. The browser when rendering a tag uses the last defined style for this tag. So you can redefine it. I used it in a DynPage, it worked ok.
    First run the iview with standard style (normally). Look into the sourc of the page and find your "Sign Me Up" link. Check the class of the <a> tag. For instance it is a "urLnk".
    Now just modify your style definition:
    <STYLE type="text/css">
    urLnk.button {
    padding: 2px 10px 3px 10px;
    border: 2px outset #cccccc;
    background: #C0C0C0;
    color: #000;
    font-size: 11px;
    text-decoration: none;
    height: 19px;
    vertical-align: bottom;
    urLnk.button:active, a.button:focus, a.button:hover {
    border: 2px inset #c0c0c0;
    vertical-align: middle;
    background: #cccccc;
    color: #000000;
    text-decoration: none;
    </STYLE>
    and so on...
    Hope this helps,
    Romano

  • Style sheet with Struts frame work

    Hi,
    I am using MyEclipse editor. I am trying to use Style sheet in my JSP page using Struts frame work. I tried several ways but style sheet is not applying on my JSP page. Please look at my code and let me know where is the problem.
    1. I created a project called "AcmiReports". In the webroot I created folder called "CSS". In this folder I created "AcmiReports.css" file. In my JSP I am using like this
    <head>
    <link rel="stylesheet" type="text/css" href="/AcmiReports/WebRoot/css/AcmiReports.css">
    </head>
    Where am I doing wrong? I read somewhere that I need to set some thing in struts-config file. Is this true.
    Please help me.
    Thanks,
    Anamika

    No its not working fine, i m also facing the same problem with my code..
    when ever i come to jsp page through action css works fine, but if i directly forward to jsp page, css doesnt work
    can any body help me, its to urgent.. i need to submit my project till 1st of april... please do the need full asap
    i m copying the code used to apply the css in my jsp file
    <title><bean:message key="login.title" /></title>
    <link href="default.css" rel="stylesheet" type="text/css" />
    <script language=javascript src="clock.js" type="text/javascript"></script>
    same code works fine through action, but through normal forward it doesnt...

  • Changing colors/style sheets with custom header portlets?

    We would like write a completely custom header portlet (a standard portlet that is designated as a header, notusing the branding server), but I can't seem to find a way to change the style sheets in subportals when I do this.
    Am I missing something? Do you have to use the branding engine to control style sheets in subportals, or is there another way?
    Chris StoffelPortal DeveloperHalliburton KBR

    ------- developersupport wrote on 12/11/03 4:24 PM -------
    The way Branding accomplishes what you're looking for is by setting a portlet setting called &#034;Portal-Style&#034; on the header portlet using the EDK.  This setting can be set either as an Admin level or CommunityPortlet level setting.  When the portal loads a page with a header, it will check to see if the header has this preference set (first on the CommunityPortlet level, if the header is on a community, and then on the Admin level).  If so, the portal will cause everything to use the stylesheet specified in the setting value.
    The setting value is the name of the stylesheet.  For example, if you wished every page displaying the header to be orange, you could set the &#034;Portal-Style&#034; Admin setting on the portlet to a value of &#034;mainstyle17&#034;, the orange-themed stylesheet.
    Perhaps I'm not setting the preference properly. Sniffing the HTTP headers between the gadget and portal servers, I do see:
    [HTTP_CSP_GLOBAL_GADGET_PREF] => Portal-Style=mainstyle17
    (I also tried it with Portal%u002DStyle, but neither works)
    The remote server header portlet doesn't seem to be picking up the fact that there is an admin pref to override the main page's stylesheet. Did I create the portlet wrong, or am I setting the preference incorrectly, or what? Thanks

  • Using a style sheet with iterator tags

    I am trying to color every other row in a result set that uses iterator tags to display the results.
    Does anyone know how to do this? I am trying to do this with a style but nothing happens.

    for(int i=0;i<size;i++) {
    String colour="";
    if(i%2==0)
    colour="#ffffff";
    else
    colour="#cccccc";
    out.println("<TR bgcolor="+colour+">");
    }

  • Is it possible to change the color of a layer of a Customs CSS from an External Style sheet?

    Hi,
    I have sucessfully link External .css  file to my HTML page and able to change the font size of the headlines and the paragraph.
    What I am not able to do is to ADD the color my Custom CSS from the External sheet.  I have difined the color attribute as a 'Advance'
    and gave it the same name "#bigwraper" that is has in my HTML file.
    Attached is the color outline of my 'Blank Layout' with colors?
    Thank you.
    Dreamer101.1

    Hi Murray,
    I am building a web site on which the entire content would be changed at least daily. The website would have similar design to www.Helium.com
    The page will have CCS layout boxes in which different content would  be pasted.
    To re-phrase my question:  I want to know how to change the color of a layer from an external style sheet?
    Because my home page 'Sidebar' and colors would be the same for all page, only the content of different pages would be different.  If I want to change a color of my web side pages, I need to learn how to do it in one spot through an External Style Sheet.
    I am amble to link my external style sheet and to change H1 tag and to give it different colors. But I was not sucess with change the color of a layer on which my content sits around.
    I took out the color from my HTML page and gave the same name to the layer in my External Style Sheet with the same color.
    Hope my question and the reason I was able to clarify.
    cheers,
    Dreamer101.1

  • When I try to attach my css style sheet Dreamweaver gives me an error saying that my .css file appears to be an .html file and will not attach. How do I fix this so I can attach my style sheet?

    I have built a css style sheet in Dreamweaver. When I try to attach it to my html website, it prompts me that my "css file appears to be an .html file and cannot attach". I've tried removing the /* */ as suggested by other forums, but this has not resolved the issue. I was using css style sheets with no problem 2 days ago. Now I get that error message. How do I fix this so I can attach my style sheet?

    What does the code of the CSS file look like?
    An external CSS file needs to be written in CSS only (no html tags like <html>, <body>, <head>, etc ).
    It also must have a .css file extension, if yours has a .html extension it won't work.

  • Mapping style templates and properties to Actual Style Sheet Classes

    I got this response to an email regarding creating a customized style sheet and thought others might find it useful following is my initial question and the response from David Phipps. If anyone else has input to this conversation please join in.
    Initial question: I'm trying to create a highly customized style sheet and could use a matrix that maps the various properties to the styles that each property affects. I have had some success determining the specific styles that I would like to change but am unable to use the style mill with any efficacy to make those changes. We are attempting to create a single language style sheet with a unique color scheme that matches our branding. One big problem we have run into is that certain styles are called in multiple places with different backgrounds (i.e. breadcrumbText). Any help along these lines that you could provide would be greatly appreciated.
    Response:The CSS style mapping is not terribly satisfying right now; many objects share common CSS styles, which means if you change one tiny thing the whole page changes. We don't have a matrix or spreadsheet or styleguide that lays out the page itself and defines the styles used in each point. However, the stylesheet mill should work for you, and it's possible that what you have going on is a problem with your mill or an incomplete copy of what it generates.
    There are 18 styles in the portal currently; you can actually create new styles and populate them, which sounds like the option you are interested in. The mill is just an ANT script that uses the template files in the templates directory and combines them with the property files in the prop-color and prop-text directories.
    The prop-text files are per language (10 languages); if you check you'll see the values are all the same right now; the idea is you could change the font names or sizes per-language if you wanted to.
    The prop-color files are per style (18 styles). If you want a new set of property values for, say, style 19, you'd add a file called color.19.properties, and the mill would pick that up and generate 190 files (19 styles x 10 languages). It would then add a new line to community-themes.txt, which has a name of each style for each language, based on data it picked up from your new color.19.properties file.
    The real secret is that you only add color style elements you want to override. If you want a specific set of styles to always be available, just add them directly to the appropriate template file (in your case, the portal50.template file) without using the @variable@ in place of actual values. Then you're just adding new style overrides that apply everywhere.
    Finally, you can add arbitrary new properties to your new prtoperties file and use those in the template:
    in portal50.template:
    ..actionbarPortletBg {background-color: @personal.and.interesting.setting@;}
    in color.19.properties:
    personal.and.interesting.setting=#ff9900
    So the CSS mill is just a glorified text replacement tool.
    Remember that the CSS mill works this way:
    - Run make_all.bat if you're not sure and want to insure you've remilled everything, otherwise use make_community_css.bat or make_menu.bat to remill only community styles or those for the jsportalmenus dropdown, respectively.
    - The resulting files are created in ptimages/tools/cssmill/css
    - You have to copy the resulting files by hand to the imageserver CSS location, which is
    ptimages/imageserver/plumtree/common/public/css
    - You have to forcibly stop and restart your imageserver, be it Apache, Tomcat, IIS, Websphere or whatever; no matter what anyone says the new content won't show up reliably until you restart your imageserver.
    You probably know all this and your real problem is the CSS is not specific enough, that is, you can't get individual items to change like you want. We have been working on this, and the new version of the portal will have much more addressable CSS styles, including the ability to specify styles for individual navigation elements, individual pages, and individual portlets. This basically meant rewriting the HTML we generate, of course.
    Since you can override and rewrite chunks of our HTML as well using View Overrides, if you're in a jam we can walk you through how to rewrite specific bits of the UI that are causing you trouble - for instance, the code that generates the breadcrumbs itself.
    David Phipps
    Senior Engineering Manager
    Plumtree Software

    One way to do this is to give the <body> tag an ID. In a template, you need to make the ID attribute of the <body> tag editable.
    You would then have something like this in your style sheet:
    #home.oneColFixCtrHdr #container #navigation li,
    #services.oneColFixCtrHdr #container #navigation li,
    #about.oneColFixCtrHdr #container #navigation li,
    #contact.oneColFixCtrHdr #container #navigation li,
    #testimonials.oneColFixCtrHdr #container #navigation li,
    #links.oneColFixCtrHdr #container #navigation li
    background-color:
    #66ccFF;
    border-bottom-width: 1px;
    border-bottom-style:
    solid;
    border-bottom-color: #FFFFFF;

  • Style sheet changing when applied to text within a table

    Hi everyone,
    I'm using ID CS2.
    I've defined a paragraph style sheet with the regular weight of a certain typeface, however when I apply this style to text within a table, the typeface changes to the bold version of the font even though the regular version is specified in the style.
    Does anyone know if this is a known issue with styles being applied to tables or is it a sign of a corrupt file or something? Is there a fix?
    Thanks

    Is there a character style applied to the table or text in the table. I had many issues with this over-riding my paragraph style.

  • Re: CSS Style Sheet

    Am 02.09.2006 schrieb Micky Mouse:
    > I've created a style sheet with, .headings ,
    .subheadings , and .text.
    > Which work fine on my home page when I apply them from
    the property
    > inspector.
    > When I open another one of the pages I can't apply any
    of the styles I
    > created in the first page as the design panel/CSS styles
    says (no styles).
    Did you save your styles in an external stylesheet? If you
    did, you
    must link this sheet to your pages. Open one of your pages
    and make a
    link to your stylesheet.
    In the header section of your page you can put the following:
    @import url("path to your stylesheet");
    or: <link rel="stylesheet" href="path to your stylesheet"
    type="text/css">
    Repeat this procedure for all your pages.
    After you have done this, you can apply your styles to the
    pages with
    the property inspector.
    Greetings
    Inge Grotjahn
    CatManiacs World:
    http://www.gwsystems.com/inge

    This setting couldn't have made any difference in the linking
    to your
    CSS....
    Something *did*, though, but we'll never know what it was you
    did, now.
    Glad you got it going.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "lbize" <[email protected]> wrote in message
    news:g58ceo$ojh$[email protected]..
    > DW CS3.
    > When creating the new "site" in DW, I did make an
    addition... I answered
    > yes
    > to "Do you wnat to work with a server technology". I
    selected yes and
    > chose
    > PHP MySQL, since we will be using this later. Based on
    your question about
    > only
    > changing the hosting server, I decided to remove the new
    "site" from DW
    > and
    > create it again, this time ONLY changing the location of
    the hosting
    > server.
    > All looks good now. I don't know what things were so
    screwed up from that
    > one
    > selection? Thank you.....
    >

  • GREP styles vs style sheets

    I've got a lull at work and decided to work on my list and start to learn GREP so that I can use GREP styles.
    The first one is a simple one:  [[A-Z][A-Z]\S+?] This finds anything inside the brackets that starts with two capital letters. I know it works because I can find "[MT2]" in Find/Change.
    OK, so I try it in some ID cs5 text with my first GREP style. It's failing the vast majority of the time. So I try lots of different things to see if I can find a pattern of what works and what doesn't. I've tried just the local formatting of a lone 'graf. I've tried making character and 'graf style sheets that incorporate a GREP style with the new character style, say "change type color to green".
    I've looked through the forums and don't see others with my problem so it must be something about me or my document. I've used other documents to eliminate that variable. I've gone through the tutorials and David Blatner's stuff and don't see anything I'm doing differently.
    When I format some text with a character and 'graf style sheet, it fails. BUT when I change the character style sheet of the source text to "[None]" it works. I've tried starting with text that is '[None]' and a 'graf style sheet of Normal, it works.
    But starting with text styled with '[None]' character and a formal 'graf style sheet with a GREP Style, it fails. But when I change the 'graf style sheet to ]'Basic Paragraph]' it works.
    I'm trying to find a pattern here, so to speak, and the only thing that has a chance to succeed is setting the character style sheet to 'None.' I just don't see than anyone who uses GREP styles has any problems like I do.
    What do you reckon I'm overlooking? I've spent today trying to find what works and doesn't. As it is, I can't recommend this to my co-workers.

    Rule of thumb for applying styles is basic formats for the entire paragraph should be defined in the paragraph style. If some selected bit of text needs to be formatted differnently, then you apply a character style (or, if you must, a local formatting override). With Nested Styles and GREP styles, ID has very powerful tools for applying character styles to selected text WITHIN the confines of the paragraph style definition. Most programs don't have that capability.
    Should you apply the character syle as a nested or GREP style, or perhaps through Find/Change, or just by manually selecting text and applying the style? The answer to that will depend on a few variables. Should the particular string ALWAYS have a particular set of attributes, no matter what? Find/Change or local selection is the way to go. Character styles applied that way will survive even if the underlying paragraph style is changed to match the character style, then changed again. If the style should be applied to a string in a particular position in a paragraph, even if that position might move around a bit, a nested style is probably the way to go. If you want to make changes to text that matches a particular pattern, wherever it falls, when the surrounding text is a particular style, a GREP style is the answer.
    GREP styles are very powerful, but they also use far more in terms of resources than applying a character style using other methods. I've seen reoprts of ID getting bogged down by too many GREP styles.

  • Customizing Style sheets in Istore

    Hai,
    Is there any way to have multiple .css files pointing to the same minisite registered under the programmatic access name 'STORE_STYLE_SHEET'.
    if I am trying to do this through Store Administration UI then I get the following error
    Error in saving logical to physical mapping
    Error in saving logical to physical mapping
    ORA-00001: unique constraint (IBE.IBE_DSP_LGL_PHYS_MAP_U2) violated in Package IBE_PhysicalMap_GRP Procedure save_physicalmap
    Mapping for site 10040 and all languages exists already exists for deliverable 7473
    any help appreciated
    thanks
    pradeep.

    Two separate issues:
    Netscape references
    Instead of "first and foremost" Netscape code, is the idea
    that the Netscape browser configuration "needs" more code settings
    than do the other browsers. Netscape, if you were unaware, has
    traditionally set itself apart from other browsers (perhaps a noble
    attitude on their part, but definitely a pain for developers and
    users over the last dozen years).
    Style Sheets
    From
    XHTML & HTML: The Definitive Guide, C. Musciano & B.
    Kennedy: "Neither Netscape Navigator nor Internet Explorer support
    multiple <link>ed style sheets as proposed by the CSS2
    standard. Instead, they cascade all the <link>ed style
    sheets, with rules in later sheets overriding rules in earlier
    sheets." Further, "Netscape Navigator [email protected]
    Internet Explorer honors the ...@media at-rules, for both
    document-level and external sheets."
    Seems like your rants might be better directed to the browser
    folks, instead of RH.
    You don't say what your output is, but if it's WebHelp, you
    might be able to accomplish your stated goal by doing some
    post-processing work on the output. You'd need a good tool such as
    FAR, which can find &
    replace multiple lines in your HTM files. You can even set up batch
    files to run multiple changes to files.
    Good luck,
    Leon

Maybe you are looking for

  • Conversion Error in J1IIN

    Hi experts, We are getting dump as conversion error in J1IIN . BED field is getting negative value for that its giving conversion error. That's mean the domain value of the BED field is not accepting the negative value . Please suggest me how can i h

  • Webdynpro appln Url parameter "sap-wd-client= XML client "

    Hi all,     I am a beginner in Webdynpro application development. I have a query on the usuage of Url parameter "sap-wd-client=XmlClient" in webdynpro application.       When i set the Application parameter property of webdynpro iview in portal as "s

  • Need Help Connecting Crystal XI to Progress Database

    Post Author: leomclaughlin CA Forum: Data Connectivity and SQL I am new to Crystal Reports and need some help figuring out how to connect to my database. I am using Crystal Reports XI and the database is Progress ver 91 (at least as best I can tell,

  • PSE 6 error in Photo Downloader 4

    So Greatful for the support!!!  One issue solved and onto another.  I just got my editor to load by upgrading my printer drivers.  But when I try to open my photoloader it opens and then when the "Loading Device List ....Please Wait"  message comes u

  • APEX 3.1 - Cache of Workspace Images or Static Files

    Hi, I attended the ODTUG Conference and they mentioned that in 3.1 Images and Static files (uploaded as shared components) are now cached. Where in the documentation does it state this? Can you configure the cache settings? Thank you, Martin