Custom style classes

hi all,
Is it possible to create some custom style classes and assign them to styleClass property of some components?
And if it possible, where to place those custom classes and how to use them?
I've tried without success.
Regards,
Bassam

So this begs the question... if I wanted to change the color of a font on a af:panelHeader for example, (inlineStyle="background-color:navy;color:white;") or I set it up as a class in my css e.g. (styleClass="ph" where the css class is ph{background-color:navy;color:white;}) why doesn't the af:panelHeader component render as one would expect... with a blue back ground and white text? I'm using JDeveloper11g.

Similar Messages

  • How can you specify a custom style class for an ADF component (column)?

    We are using ADF 10_1_3_3_0 on Tomcat.
    We would like to specify an additional style class for a column header. We have specified the following style:
    {color:#808080}af|column.formHeader::header-text
    text-align: right;
    background-color:brown;
    border-color:#999999;
    font-family:Verdana,Arial,Helvetica,sans-serif;
    color: blue;
    }{color}
    {color:#808080}<af:column sortable="true" formatType="text" styleClass="formHeader">{color}
    This does not seem to work. In our tests, the CSS gets generated but the new style class for the column header does not seem to be generated/mapped. I reveiwed this post: Re: Jdev 11g: how to set width of some components on panel form layout. Is this specification (component.className::selector) applicable for the 10g version of ADF?
    Additionnaly, are their specifcations/details for these selectors (e.g. ora-rule-ref, -rt-rule-ref, -tr-rule-ref). I am not clear on what they are mapped to and how they are used.
    Thanks
    Edited by: user10477345 on Oct 27, 2008 6:48 AM

    Hi,
    The column's style classes will be added on the <td> elements, not the header sadly. So for your use case you'll have to place the class on the table itself then use the selector
    af|table.MyStyleClass af|column.formHeader::header-text{}Sadly this will affect all columns, not just one so I don't know if it's going to fir your need.
    Regards,
    ~ Simon

  • Custom styles not showing up after upload

    I have recently begun using an external style sheet to
    control much of my formatting, mostly
    with no problem. But I've noted a couple of instances where
    the styles don't seem to 'catch'.
    One recent example, a major problem, is on this Q&A page
    on a site:
    http://www.pulversbriar.com/askmarty.htm
    I created a custom style class for both the questions and the
    answers, and included them in the external
    ("pipestyles.css" style sheet as follows:
    .askmarty_QUESTION {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-style: italic;
    color: #993300;
    background: #CCCCCC;
    .askmarty_ANSWER {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-weight: bolder;
    color: #993300;
    In DW, the styles appear fine. But when I upload the page to
    the server (including dependent files
    and the stylesheet), the styles don't work - I'm just getting
    black and white, unstyled text. Other styles
    in the style sheet *are* working, though.
    Any suggestions as to what might be going on, and/or how I
    can debug this?
    thanks in advance for any help--
    steve

    Your stylesheet is corrupt. You have a style inside of a
    style. Also your
    missing the px on a couple of font sizes.
    BEFORE - ( bad )
    .style9 {font-size: 12;
    color: #993300;
    font-weight: bold;
    .copyright {
    font: bold small-caps 9px Verdana, Arial, Helvetica,
    sans-serif;
    color: #999999;
    bottom: 50px;
    AFTER - ( good )
    .style9 {
    font-size: 12px;
    color: #993300;
    font-weight: bold;
    .copyright {
    font: bold small-caps 9px Verdana, Arial, Helvetica,
    sans-serif;
    color: #999999;
    bottom: 50px;
    Regards,
    ..Trent Pastrana
    www.fourlevel.com
    "sbell2200" <[email protected]> wrote in
    message
    news:e94b3f$lgc$[email protected]..
    >I have recently begun using an external style sheet to
    control much of my
    > formatting, mostly
    > with no problem. But I've noted a couple of instances
    where the styles
    > don't
    > seem to 'catch'.
    > One recent example, a major problem, is on this Q&A
    page on a site:
    >
    http://www.pulversbriar.com/askmarty.htm
    >
    > I created a custom style class for both the questions
    and the answers, and
    > included them in the external
    > ("pipestyles.css" style sheet as follows:
    >
    > .askmarty_QUESTION {
    > font-family: Verdana, Arial, Helvetica, sans-serif;
    > font-style: italic;
    > color: #993300;
    > background: #CCCCCC;
    > }
    > .askmarty_ANSWER {
    > font-family: Verdana, Arial, Helvetica, sans-serif;
    > font-weight: bolder;
    > color: #993300;
    >
    > In DW, the styles appear fine. But when I upload the
    page to the server
    > (including dependent files
    > and the stylesheet), the styles don't work - I'm just
    getting black and
    > white,
    > unstyled text. Other styles
    > in the style sheet *are* working, though.
    >
    > Any suggestions as to what might be going on, and/or how
    I can debug this?
    >
    > thanks in advance for any help--
    >
    > steve
    >

  • Applying the style classes

    Hi,
    I created the custom style class for applying to component e.g inputText.How i can add the style class without adding to each page using link. Is anywhere i can specify in the config file?

    follow up question:
    Is there a way to change the skin of a component INSTANCE and not all the components in that class?
    i.e. I'm trying to change the header of a panelWinow. now, I know I can change the headers of ALL the panelWindow instances if I put this line in my css file:
    af|panelWindow::header{background-image:url('/images/my_new_header.png');}
    but I want different header images for each panelWindow instance in my app, i.e something like this:
    panelWindow1::header{background-image:url('/images/my_new_header1.png');}
    panelWindow2::header{background-image:url('/images/my_new_header2.png');}
    panelWindow3::header{background-image:url('/images/my_new_header3.png');}
    is that possible?
    thanks much...

  • Facing problem to Use a custom Java class in UCCX

    /* Style Definitions */
    table.MsoNormalTable
    {mso-style-name:"Table Normal";
    mso-tstyle-rowband-size:0;
    mso-tstyle-colband-size:0;
    mso-style-noshow:yes;
    mso-style-priority:99;
    mso-style-qformat:yes;
    mso-style-parent:"";
    mso-padding-alt:0in 5.4pt 0in 5.4pt;
    mso-para-margin-top:0in;
    mso-para-margin-right:0in;
    mso-para-margin-bottom:10.0pt;
    mso-para-margin-left:0in;
    line-height:115%;
    mso-pagination:widow-orphan;
    font-size:11.0pt;
    font-family:"Calibri","sans-serif";
    mso-ascii-font-family:Calibri;
    mso-ascii-theme-font:minor-latin;
    mso-hansi-font-family:Calibri;
    mso-hansi-theme-font:minor-latin;}
    Hi,
    We are using Communication manager 7.0.1 and UCCX version 7.0.1(Cisco Unified CCX Premium).  We are trying to call a Custom Java class file from UCCX scripting. We have followed the steps mentioned in the guide (How-To: Using a custom Java class in UCCX 5.x (SOAP Example)). See below link.
    http://www.avholloway.com/vtools/ipcc/custom-java/soap/
    After completed all the steps we have got the variable type SimpleSOAP at script but we did not found it to object constructors or object attributes (plz find the attached screenshots). We will appreciate if you plz guide us to solve the issue.
    Thanks
    Fakhrul
    LEADS Corporation Ltd.

    Hello, Fakhrul.
    I'm sorry to see you were not able to find the information or help you were looking for here in the Contact Center community forum.
    You may be able to find more help through the Cisco Developer Network.
    Also, you might want to consider engaging Cisco Advanced Services via your account team to assist with UCCX custom scripting.
    Thank you, and good luck.
    -Paulo

  • OBIEE 11g ignoring custom styles after a space in the formatting

    Hi,
    Has anyone else ran into this odd little problem?
    I'm applying custom styles to our new corporate skin, and it's all working just fine until I enter a piece of code like this:
    .QCPageColumnSectionSidebar{padding-bottom:1px;width:100%;border:solid 1px #000080;background-color:#dce4f9;}
    It appears that as soon as OBIEE encounters the spaces in the CSS formatting, it escapes and ignores the rest. In this case, the border gets applied, but the background color does not. If I swap places of the two classes, then the background color is applied and the border is not.
    In addition, any styles defined after this style are ignored.
    When I inspect element in Firebug, I am seeing this behavior coming through on the presentation side. The CSS that follows the style with a space in it isn't appearing.
    The styles defined by default have very similar styles and they appear to work; does anyone have any idea why my custom styles aren't?
    Thanks in advance,
    Krista

    Some times we get unwanted code.. some thing like when you copy from browser to MS word some html code come along with...

  • How do I make this custom Style property work correctly?

    I'm trying to create a CSS style property that expects an
    mx:Effect object to be used in a custom AS class. I want to detect
    changes being made to the style property and assign the specified
    effect to an effect trigger belonging to a child of my custom
    component.
    Unfortunately, the specified mx:Effect object seems to be
    interpreted as a string instead of an mx:Effect object. Can anyone
    tell me what I need to correct for this to work as expected?
    You can see the compiled example
    here
    and review the source code below. It fails due to a
    "TypeError: Error #1034: Type Coercion failed: cannot convert
    "myTestEffect" to mx.effects.Effect.Style" in the custom
    components styleChanged function at the bottom of this post.
    EffectTest.mxml:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application
    xmlns:mx="
    http://www.adobe.com/2006/mxml"
    xmlns:myComps="myComponents.*"
    layout="absolute"
    viewSourceURL="srcview/index.html"
    >
    <mx:Fade id="myTestEffect" alphaFrom="0.0" alphaTo="1.0"
    duration="1000"/>
    <mx:Style>
    MyCustomPanel {
    testEffect: myTestEffect;
    </mx:Style>
    <myComps:MyCustomPanel/>
    </mx:Application>
    myComponents/MyCustomPanel.as:
    package myComponents
    import mx.containers.Panel;
    import mx.effects.Effect;
    import mx.controls.Alert;
    [Style(name="testEffect", type="mx.effects.Effect",
    inherit="no")]
    public class MyCustomPanel extends Panel
    public function MyCustomPanel()
    super();
    override public function styleChanged(styleProp:String):void
    var allStyles:Boolean = !styleProp || styleProp ==
    "styleName";
    super.styleChanged(styleProp);
    if (allStyles || styleProp == "testEffect")
    var theTestEffect:Effect = getStyle("testEffect");
    if (theTestEffect)
    Alert.show("Effect assignment successful");

    Thanks for the quick response! I will definitely take your
    advice to work around the problem but your answer leads to more
    questions.
    I can specify effects via an instance when assigning them to
    effect triggers and it works without a problem, as seen below. How
    does it handle this at compile time?
    <mx:Fade id="rollOverFadeUp" alphaFrom="0.35"
    alphaTo="1.0" duration="250"/>
    <mx:Fade id="rollOutFadeDown" alphaFrom="1.0"
    alphaTo="0.35" duration="250"/>
    <mx:Style> // this is an external .css file in my app
    TextInput {
    rollOverEffect: rollOverFadeUp;
    rollOutEffect: rollOutFadeDown;
    </mx:Style>

  • XSLT Issue to open URL in new tab and PopUp Window through one custom style

    I have SharePoint Online Custom List that contains two columns
    Name: Single Line of Text
    URL: Hyperlink or pictures
    Using XSLT I have shown Name columns value on my home page by using below custom style in
    Itemstyle.xsl file.
    Custom style to show Link in PopUp window   itemstyle.xsl
    <xsl:template name="OpenApplicationPagePopUp" match="Row[@Style='OpenApplicationPagePopUp']" mode="itemstyle">
    <xsl:variable name="SafeLinkUrl">
    <xsl:call-template name="OuterTemplate.GetSafeLink">
    <xsl:with-param name="UrlColumnName" select="'LinkUrl'"/>
    </xsl:call-template>
    </xsl:variable>
    <xsl:variable name="DisplayTitle">
    <xsl:call-template name="OuterTemplate.GetTitle">
    <xsl:with-param name="Title" select="@Title"/>
    <xsl:with-param name="UrlColumnName" select="'LinkUrl'"/>
    </xsl:call-template>
    </xsl:variable>
    <div class="item link-item">
    <xsl:call-template name="OuterTemplate.CallPresenceStatusIconTemplate"/>
    <a href="{$SafeLinkUrl}" onclick="ShowPopupDialog(GetGotoLinkUrl(this));return false;">
    <xsl:if test="$ItemsHaveStreams = 'True'">
    <xsl:attribute name="onclick">
    <xsl:value-of select="@OnClickForWebRendering"/>
    </xsl:attribute>
    </xsl:if>
    <xsl:if test="$ItemsHaveStreams != 'True' and @OpenInNewWindow = 'True'">
    <xsl:attribute name="onclick">
    <xsl:value-of disable-output-escaping="yes" select="$OnClickTargetAttribute"/>
    </xsl:attribute>
    </xsl:if>     
    <xsl:value-of select="$DisplayTitle"/>
    </a>
    </div>
    </xsl:template>
    My Requirement to show only Suggestion Box in Popup window Other Links Should be open in new Tab So please suggest me what can change in above xslt...
    Thanks
    Deepak Chauhan
    SharePoint 2010 & 2013 and Office-365 Branding and Front End Customization, UI Design

    Hi,
    In SharePoint 2013, we can use JSLink to achieve it.
    1. Save the following code as a js file (URLPopup.js) and upload it into the
    SiteAssets Document Library.
    // List View – Field open modal dialog Sample
    (function () {
    // Create object that have the context information about the field that we want to change it output render
    var linkFiledContext = {};
    linkFiledContext.Templates = {};
    linkFiledContext.Templates.Fields = {
    //Apply the new rendering for URL field on List View
    // "URL" is the column name.
    "URL": { "View": URLFiledTemplate }
    SPClientTemplates.TemplateManager.RegisterTemplateOverrides(linkFiledContext);
    // This function provides the rendering logic for list view
    function URLFiledTemplate(ctx) {
    var itemTitle=ctx.CurrentItem.Title;
    var urlLink=ctx.CurrentItem.URL;
    var urlDesc=ctx.CurrentItem['URL.desc'];
    if(urlLink!=null&&urlLink!=""){
    if(itemTitle=="Suggestion Box"){
    return "<a href='#' onclick=\"openModalDialog('"+urlLink+"')\">"+urlDesc+"</a>";
    }else{
    return "<a href='"+urlLink+"' target='_blank'>"+urlDesc+"</a>";
    }else{
    return "";
    function openModalDialog(url)
    var options = {
    title: "Suggestion Box",
    autoSize: true,
    url: url
    SP.UI.ModalDialog.showModalDialog(options);
    return false;
    2.Edit the list view page.
    3.Edit the list web part. Go to Miscellaneous -> JS Link.
    4.Add the following URL into the JS Link textbox.
     ~site/SiteAssets/URLPopup.js
    5.Click "OK" and save the page.
    Best Regards
    Dennis Guo
    TechNet Community Support

  • Help with Spry Menu Bar 2.0 (vers. 1.0) - Placement of customized styles files

    Hello:
    I would like to congratulate the authors of the new Spry Menu Bar Framework 2.0 (vers. 1.0) -- it has truly been an advance and over the previous generation, and is much more user friendly for those without extensive knowledge of the spry framework.  I have also appreciated the tutorial created by David Powers that is found on the Adobe labs site, and find that it has been very helpful.
    However, I do have one general question that I would seek some clarification before completing the task of deploying the widget in its final form.  I have gone beyond the tutorial insofar as I have customized the styling to allow me to use background images for the menus and submenus in both static and hover states.  I have also gone directly (with add of the tutorial) to work on my own site rather than recreating the bayside tutorial.  I know have my styles embedding into a template page (.dwt).
    My question is whether those styles embedded in the head of the template page should be transferred to a separate styles page and attached (or possibly included in the styles page that handles the CSS for the layout aspects of my site), or whether it should overwrite the styles included in the basic styles skin for the widget.  The latter seems the most likely answer, as many of the classes are for the same names as those in my template page, but have different (and conflicting settings).  However I wanted to make certain of this before proceeding.
    Once again let me thank those responding to this query in advance for the helpful tips I have received along the way, and that will likely follow this post.
    I could post the css and the html with this querry, but I hope I have explained the question well enough that a general response will be all that I need.
    Thanks again for the help.
    Steve Webster

    Thanks for your helpful response.
    I had already tried the various options (overwriting basic styles, skins, etc) and quickly learned to back track as they were definitely not the answer to the question I posed.  I then included them in the customized style sheet for the entire site and clearly de-marked them as styles governing the spry menu widget 2.0 (1.0) with the warning that future developers working on the site should use care in amending them, and warning that they be remain included in the general styles file.
    I was going to indicate in response to my own query that this seemed to be the best practice, but your response confirmed what I had learned.
    Thanks once again for your helpful advice and intervention.
    Steve Webster.

  • Can't Change Custom Border Custom Styles

    I created a custom border class to create a dashed line
    border, and I added two custom style properties "dashlen" and
    "gaplen", but I can't set them.
    In the attached code, the default dashlen and gaplen are 5. I
    create three VBox using the DashBorder, and although I have created
    a type selector style for DashBorder and a class selector style
    tightDashBorder, neither one is applied.
    Also, I get errors when I try to access the style properties
    dashlen and gaplen in the <mx:VBox> tag. I can access the
    borderColor style property though.
    What more must I do to fix this? Thanks in advance!!!

    I didn't have time to analyze your code in depth. Where was
    the issue?
    "Greg Lafrance" <[email protected]> wrote in
    message
    news:[email protected]...
    > Solved it. Turns out it was much simpler than I had
    thought.
    >
    > ------------------ DashBorder.as
    > package
    > {
    > import mx.core.UIComponent;
    >
    > public class DashBorder extends UIComponent{
    > private var dashlen:Number = 5;
    > private var gaplen:Number = 5;
    >
    > public function DashBorder(){
    > super();
    > }
    >
    > override protected function updateDisplayList
    > (unscaledWidth:Number, unscaledHeight:Number):void{
    >
    > super.updateDisplayList(unscaledWidth, unscaledHeight);
    >
    > var borderThickness:int = getStyle("borderThickness");
    > var borderColor:int = getStyle("borderColor");
    >
    > graphics.clear();
    > graphics.lineStyle(borderThickness, borderColor, 1)
    >
    > if (getStyle("dashlen")) {
    > this.dashlen = getStyle("dashlen");
    > }
    > if (getStyle("gaplen")) {
    > this.gaplen = getStyle("gaplen");
    > }
    >
    > drawBorder(this.x, this.y, unscaledWidth,
    unscaledHeight,
    > this.dashlen, this.gaplen);
    > }
    >
    > public function drawLine(x1:Number, y1:Number,
    x2:Number, y2:Number,
    > dashlen:Number, gaplen:Number): void {
    > if((x1 != x2) || (y1 != y2)){
    > var incrlen:Number = dashlen + gaplen;
    >
    > var len:Number = Math.sqrt((x1 - x2) * (x1 - x2) + (y1 -
    y2) *
    > (y1 -
    > y2));
    > var angle:Number = Math.atan((y2 - y1) / (x2 - x1));
    > var steps:uint = len / (dashlen + gaplen);
    >
    > var dashstepx:Number = dashlen * Math.cos(angle);
    > if (x2 < x1) dashstepx *= -1;
    >
    > var dashstepy:Number = dashlen * Math.sin(angle);
    >
    > var gapstepx:Number = gaplen * Math.cos(angle);
    > if (x2 < x1) gapstepx *= -1;
    >
    > var gapstepy:Number = gaplen * Math.sin(angle);
    > var stepcount:uint = 0;
    >
    > while ((stepcount++) < steps) {
    >
    > var dashstartx:Number;
    > var dashstarty:Number;
    > var dashendx:Number;
    > var dashendy:Number;
    >
    > if(x1 == x2 && y1 != y2){
    > dashstartx = dashendx = x1;
    > if(y2 > y1){
    > dashstarty = y1 + ((stepcount-1) * (dashlen + gaplen));
    >
    > dashendy = dashstarty + dashlen;
    > }else{
    > dashstarty = y1 - ((stepcount-1) * (dashlen + gaplen));
    >
    > dashendy = dashstarty - dashlen;
    > }
    > }else if(y1 == y2 && x1 != x2){
    > dashstarty = dashendy = y1;
    > if(x2 > x1){
    > dashstartx = x1 + ((stepcount-1) * (dashlen + gaplen));
    > dashendx = dashstartx + dashlen;
    > }else{
    > dashstartx = x1 - ((stepcount-1) * (dashlen + gaplen));
    > dashendx = dashstartx - dashlen;
    > }
    > }
    > graphics.moveTo(dashstartx, dashstarty);
    > graphics.lineTo(dashendx, dashendy);
    > }
    > }
    > }
    >
    > private function drawBorder(x1:Number, y1:Number,
    width:Number,
    > height:Number,
    > dashlen:Number, gaplen:Number) : void {
    > drawLine(x1, y1, x1 + width, y1, dashlen, gaplen);
    > drawLine(x1 + width, y1, x1 + width, y1 + height,
    dashlen, gaplen);
    > drawLine(x1 + width, y1 + height, x1, y1 + height,
    dashlen, gaplen);
    > drawLine(x1, y1 + height, x1, y1, dashlen, gaplen);
    > }
    > }
    > }
    > ---------------------- DashBorderExample.mxml
    > <?xml version="1.0" encoding="utf-8"?>
    > <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    > verticalGap="20">
    > <mx:Style>
    > DashBorder {
    > dashlen: 20;
    > gaplen: 20;
    > }
    > .tightDashBorder {
    > dashlen: 2;
    > gaplen: 2;
    > }
    > .tightDashWideGapBorder {
    > dashlen: 2;
    > gaplen: 20;
    > }
    > .wideDashTightGapBorder {
    > dashlen: 20;
    > gaplen: 2;
    > }
    > </mx:Style>
    > <mx:HBox horizontalGap="30">
    > <mx:VBox borderSkin="DashBorder"
    > borderThickness="1" borderColor="0xFF0000"
    > width="200" height="200">
    > </mx:VBox>
    > <mx:VBox borderSkin="DashBorder"
    > borderThickness="1" borderColor="0xFF0000"
    > width="200" height="200" styleName="tightDashBorder">
    > </mx:VBox>
    > </mx:HBox>
    > <mx:HBox horizontalGap="30">
    > <mx:VBox borderSkin="DashBorder"
    > borderThickness="1" borderColor="0xFF0000"
    > width="200" height="200"
    styleName="tightDashWideGapBorder">
    > </mx:VBox>
    > <mx:VBox borderSkin="DashBorder"
    > borderThickness="1" borderColor="0xFF0000"
    > width="200" height="200"
    styleName="wideDashTightGapBorder">
    > </mx:VBox>
    > </mx:HBox>
    > </mx:Application>
    >

  • Numbered List and Bulleted List w/ Custom Style Sheet

    Hi,
    I am a new user to RoboHelp 7, and must say I find it useful
    but also painful to use. Currently I’m trying to solve
    something that feels like a bug in RoboHelp 7, but before I give in
    and accept defeat I wanted to check with the forum.
    I have FrameMaker 8, and import the files to RH where I use
    them to create WebHelp projects.
    Here’s a short procedure:
    1. I Import my files with a predefined style sheet matching
    the FM styles.
    2. I also check the Convert to HTML list option and set all
    numbering and bullet styles to User defined.
    - After import RH does the usual thing and creates a bunch
    of style sheets on its own
    3. I select all the files from the Topic List pod and apply a
    new custom style sheet. This enables me to have one style sheet for
    all the HTML files with the right layout and formatting
    4. I generate the output, and RH uses the new style sheet
    reference
    The resulting HTML files shows that the output is not the
    same as the generated HTML shown in RH’s HTML editor view
    - Editor view: <li class=”style”>
    - Browser view: <li>
    6. If I make a change (e.g. add a space) and save the HTML
    file, and generate the project again the HTML is correct in the
    browser
    One could argue that it’s not a big problem; however,
    with a large project this is starting to look more like a nightmare
    Does anyone know of this problem, and if so can it be fixed?
    Kind regards,
    Jon

    Is this the time when I get really angry at Adobe for creating the worst FrameMaker/RoboHelp integration ever? No! However, I must admit that I'm amazed that they are unable to solve an important feature as conversion of lists from a FrameMaker document to a RoboHelp WebHelp project. When I say conversion I mean a clean conversion with minimal interference from RoboHelp that allows me to use CSS to its full extent.
    Here's the problem, and this was also the problem with RoboHelp 7 and FrameMaker 8. BTW, I use standalone versions (not TCS 1 or 2).
    Figures: First image depicts FrameMaker 9's Paragraph Designer and the Autonumber format for a paragraph named VizNumbered. Second image depicts the RoboHelp 8's conversion setting.
    FrameMaker uses Autonumbering in front of paragraphs to create lists. This means that you in RoboHelp need to manage two formats, the autonumber and the paragraph style.
    RoboHelp does of course not (by default) use Autonumbering in front of paragraphs because a RoboHelp WebHelp project is HTML based, and list tags in HTML can perfectly handle any formatting of text etc.
    RoboHelp will convert, when "Convert Autonumber to HTML List" is selected, the Autonumber in FrameMaker to a list tag (LI). By default this will generate a list with a lot of margin, font and other CSS properties that tries to simulate the way the list is laid out in the FrameMaker document. In addition to the list tags it will convert the FrameMaker paragraph to a P tag which it inserts within a list tag. The issue you will experience with this is that indentations with the paragraph tag does not align properly between line 1 and 2. At the same time the WebHelp project will not look the same in IE, Firefox or Chrome. That is, Chrome and Firefox will look the same, and IE different. IE has the WYSIWYG feel, but it does not comply well with W3C standards (i.e. using P tags enclosed by LI tags is not a good idea ...).
    Selecting "Convert Autonumber to RoboHelp List" does something similar, but is not recommended at all!
    So, here's the big question. How can I make sure RoboHelp understands that I ONLY need to define a list tag with a CSS class attribute attached to it?
    Today I basically only get the following:
    <li><p class=""></p></li> or,
    <p class=""></p>
    What I want is the following:
    <li class=""></li>
    Can this be solved with today's versions, can anyone help me, or do I have to wait for the Adobe development team to realize this and to fix it?

  • Combobox custom style

    Hello All,
    i want to change styling for some combobox in my application.
    Espatially for arrow-button substructure.
    Does any one have any idea about it.
    I tried
    .custom-combo.arrow-button {
        -fx-background-color: cyan;
    in my css file and  in my java class i did this combo.setStyleClass(".custom-combo.arrow-button") but it does not work :'(.

    in my java class i did this combo.setStyleClass(".custom-combo.arrow-button") but it does not work
    Simply stating something "doesn't work" won't usually enable people to help you. You need to say what happens and how it differs from what you expect. In this case, the code won't even compile; there is no setStyleClass(...) method.
    I recommend looking at the tutorials for css: there's an intro and a more advanced tutorial.
    The selector ".custom-combo.arrow-button" will select nodes which have both the class "custom-combo" and the class "arrow-button" assigned to them; this won't work for what you want to do. You want a node with class "arrow-button" which is a descendant of the node with class "custom-combo". For this you need the selector ".custom-combo .arrow-button" (with a space, which selects any descendant) or the selector ".custom-combo > .arrow-button" (which selects only the direct descendant; this is more efficient when it gives you what you need, which includes your case).
    Then you need to add the style class "custom-combo" to your combo box.

  • Style Inheritance on default custom style

    I've created a custom class that uses some customs styles
    I've defined (i.e. underlineColor). I used the sample code to
    create a default style value with a one time classConstruct method.
    I did notice that the sample code provided by adobe doesn't
    seem to work when you use a style tag to define only some of the
    style parameter, I was able to fix this by checking each style
    parameter in the construct and setting only the ones that where non
    existing.
    But I then hit another wall, this time trying to use style
    inheritance, according to documentation, inherited styles are check
    on the parent first and then checked on the class defined styles,
    but I've noticed that this doesn't seem to work, in fact if I use
    the classConstruct method to define the style default values then
    inherited values are not used.
    I was wondering if anyone knows how to create styles default
    values with inheritance and how the classConstruct method is really
    used.
    thanks

    "buabco" <[email protected]> wrote in
    message
    news:[email protected]...
    > OK I did that to fix the problem when you have an
    incomplete CSS
    > definition,
    > but it doesn't work when you have inheritance, and it's
    wierd anyway since
    > the
    > code get to run only once that the inheritance get
    compromised. I've
    > simplified
    > the code to show what I'm doing:
    >
    >
    > Adobe Example is like this:
    >
    >
    [Style(name="customStyle",type="Number",format="length",inherit="no")]
    > public class testClass extends UIComponent {
    > // Define a static variable.
    > private static var classConstructed:Boolean =
    classConstruct();
    >
    > // Define a static method.
    > private static function classConstruct():Boolean {
    > if (!StyleManager.getStyleDeclaration("testClass"))
    > {
    > // If there is no CSS definition for StyledRectangle,
    > // then create one and set the default value.
    > var testStyle:CSSStyleDeclaration = new
    CSSStyleDeclaration();
    > testStyle.defaultFactory = function():void
    > {
    > this.customStyle = 5;
    > }
    > StyleManager.setStyleDeclaration("testClass", testStyle,
    true);
    >
    > }
    > return true;
    > }
    >
    > // Constructor
    > public function testClass() {
    > super();
    > }
    >
    > }
    >
    > But this code fails when you create a style declaration
    for testClass that
    > doesn't include customStyle, in that case customStyle is
    not set to
    > default.
    >
    > So I change it to:
    >
    >
    [Style(name="customStyle",type="Number",format="length",inherit="no")]
    > public class testClass extends UIComponent {
    > // Define a static variable.
    > private static var classConstructed:Boolean =
    classConstruct();
    >
    > // Define a static method.
    > private static function classConstruct():Boolean {
    > var nsd:CSSStyleDeclaration;
    > if (!StyleManager.getStyleDeclaration("testClass")) {
    > // If there is no CSS definition for StyledRectangle,
    > // then create one and set the default value.
    > nsd = new CSSStyleDeclaration();
    > } else {
    > nsd = StyleManager.getStyleDeclaration("testClass");
    > }
    >
    > //Definamos los estilos personalizados
    > //Para el titulo
    >
    > if
    (!StyleManager.isValidStyleValue(nsd.getStyle("customStyle")))
    > nsd.setStyle("customStyle", "5");
    >
    > StyleManager.setStyleDeclaration("testClass", nsd,
    true);
    >
    > return true;
    > }
    >
    > // Constructor
    > public function testClass() {
    > super();
    > }
    >
    > }
    >
    > now the code checks for the parameter before setting it.
    Still if I set
    > the
    > inheritance to true this code doesn't work. The strange
    part is that It
    > should
    > since this code it's supose to be executed only once and
    it doesn't set
    > the
    > class parameter directly but it fills the StyleManagers
    data instead,
    > according
    > to inheritance order the parents that should be used
    before the class
    > specific
    > data, or am I wrong?
    No, the closer the tag is to being your actual class, the
    more likely its
    style is to be used.
    http://www.adobe.com/livedocs/flex/3/html/help.html?content=styles_04.html
    You might find this useful
    http://blog.flexexamples.com/2007/12/24/displaying-a-combobox-controls-inherited-styles-in -flex/

  • Custom style in websheets

    Starting with APEX 4.1 we could use a custom style for web sheets by providing our own CSS commands.
    Did anybody experiment with that? Which classes / IDs should we use?
    Or might there even be documentation about that? In the official APEX documentation I could only find this sentence ;): "Use the Style section to override default application style and use a custom CSS."
    Regards,
    ~Dietmar.

    Hi Sam,
    I don't use the web toolkit myself, but the principles of css should still apply. That is, if you have two, or more, css style rules for an object (referenced either by tag type, id or class name etc), the last style found for each style setting is used. For example, if you have two styles for a class called "xxx" and both contain a border definition, the second definition will be applied.
    You can control this in two ways:
    1 - Make sure that the STYLE tag for the styling to want to take effect is loaded after the Theme 20 stylesheet. You could probably do this in the page's HTML Header setting
    2 - Add *!important* after any style that you want to take precendence over any subsequent style. For example, suppose your first style tag contains:
    .xxx {border:1px solid blue}and your custom style contains:
    .xxx {border:1px solid red}You will get a red border unless you change the first one to:
    .xxx {border:1px solid blue!important}when you will get a blue border
    Andy

  • Error while deploying, Custom Style Skin in OBIEE 11.1.1.6.7

    Hi,
    I have deployed Custom Style Skin in OBIEE 11.1.1.5 successfuly (with the help of http://www.rittmanmead.com/2010/12/oracle-bi-ee-11g-styles-skins-custom-xml-messages/ ).
    Now when we're moving RPD, Catalog & Custom Style Skin from OBIEE 11.1.1.5 to OBIEE 11.1.1.6.7, I could deploy RPD & Catalog but am not able to deploy Custom Style & Skin Folders.
    If you are aware of the process of deploying Custom Style & Skins (as mentioned in the link above), it requies:
    1. Custom Style & Skins folder to be Deploy using Weblogic Console.
    2. Making necessary changes in instanceconfig.xml (to point to the deployed folder) ---- this is where it's failing.
    When I do add necessary tags ( <URL> & <UI>) in instanceconfig.xml and restart Services. Presentation Services dosen't come up. Error message that is in log file is:
    In element URL: Can not have element children within a simple content.
    unknown element 'UI'
    Element 'UI' is not valid for content model : 'All(URL, SocketTimeoutSec,FileSizeMB)'
    Any pointers?
    Regards,
    Jitendra

    Hi,
    I too faced such issue, actually obiee11.1.1.5 version skin and style wont work in obiee11.1.1.6.0 and above patch ..
    u have do it once again by using obiee11.1.1.6.0 skin (because the 11.1.16.0 has UI and skin different from 11.1.1.5.0 )
    Thanks
    Deva

Maybe you are looking for

  • Hi, I am new to Applescript and after messing around with it have a few questions.

    Firstly, I love applescript so far and have made an alarm clock, simple get weather app and applescript app that announces the time and date. i would like to be able to use this as a jarvis like combined app where i can have all of these built into o

  • Stop the Internal Error Message in Fireworks CS4 or CS3

    About 8 hours ago I ran into what is apparently a fairly common problem for many people using Fireworks - the error message that wouldn't allow me to save anything. Luckily, I paid attention in class long enough to at least know to save my work often

  • Issue with links on WAD Template when transporting from BWD to BWP

    Hello experts, We're facing a problem in our project. Until now we we're working directly in a productive system, but last week we've copied our productive system (BWP) to the development system (BWD). Now we change almost everything in BWD and then

  • Kernal panic preventing shut down after Mountain Lion upgrade

    Following upgrade to Mountain Lion, kernal panics are stopping shut down of my Mac from the apple menu. I have a late-2009 Mac Mini. OS X closes as normal but then restarts with message "Your computer restarted because of a problem". I have performed

  • How to link GL Account with Cost element category

    Hi, I have to generate a report by querying tables SKA1,SKB1,SKAT and CSKB. Step 1.Firstly I have queried SKA1, step 2. for the obtained SAKNR(GL Accounts) from step 1,I have queried SKB1 table step 3. For the obtained SAKNR from step2, I have querie