Customizing style of function displayTabbedInfoWindow(...)

Hi everyone,
I'm tring to customize the popup info window displayed by function displayTabbedInfoWindow(...), in particular I'm trying to change the font size that is used in the title of the tab and the default cursor for the entire popup.
documentation indicates to insert an array of css styles as the last parameter to the function call is sufficient, in my case not enough: the map is anniata in some iframe and it seems that this interference.
someone has an idea? or ... additional explanations (which are always appreciated :-)).

It is not possible that no one else has ever had to deal with this little problem?!
all I need is someone to give me a link from which start, my research has been quite useless.
plus various tests have shown that the function displayTabbedInfoWindow() behaves very differently (incorrectly) under firefox (... oddly enough) not displaying at all the second tab.
courage! a little help?

Similar Messages

  • SharePoint 2013 RTE Custom Styles lost on Team Site Wiki Page after you select a control in the editor

    I have a weird issue in that I have custom RTE styles working fine in publishing pages, but in the team site wiki page, when you first go into edit mode you see your styles, but if you highlight some text, select say the font drop down to expand it and then
    select it again to contract it (i.e. without selecting a font), all of a sudden all of the custom styles are lost and everything reverts back to the default RTE styles.
    In my master page I am running the following script to force my styles to be loaded.
    ExecuteOrDelayUntilScriptLoaded(
    function() {
         $(
    "div[RteRedirect]").each(function()
    varid = $(this).attr("RteRedirect"),
             editSettings = $(
    "#"+ id);
    if(editSettings.length > 0 &&
    editSettings[0].PrefixStyleSheet != 'custom-rte')
                 editSettings[0][
    'PrefixStyleSheet'] =
    'custom-rte';
                 editSettings[0][
    'StyleSheet'] =
    '\u002f_layouts\u002f15\u002fFiveP\u002frteStyles.css';
                 RTE.Canvas.fixRegion(id,
    false);
    "sp.ribbon.js");
    See below screenshots (note Heading 2 is orange).
    After you collapse the font menu, you see that the orange H2 has disappeared, and selecting the font drop down again now shows all of the default SharePoint RTE styles.
    I haven't been able to capture the Event that is being called using the debugger. Any ideas how to fix this?
    Alan Coulter.

    Hi,
    For this issue, I'm trying to involve someone familiar with this topic to further look at it.
    Thanks,
    Qiao
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Qiao Wei
    TechNet Community Support

  • How do I add custom style to custom AS3 component via .css file?

    Hi all,
    I have created a flex application which displays a custom component I created in actionscript. My custom component is just an extended canvas component which displays a gradient background. When I add the component to my flex app, see code below, the component works great.
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" xmlns:ns1="http://localhost/mycomps">
        <ns1:GradientCanvas fillColors="[#ffffff, #000000]" />
    </mx:Application>
    However, I also want to support css styles to add the gradient colors to my component, like so
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" xmlns:ns1="http://localhost/mycomps">
        <mx:Style source="test.css" />
        <ns1:GradientCanvas styleName="gradientCanvas" />
    </mx:Application>
    test.css
    .gradientCanvas {
        fill-colors: #ffffff, #000000;
    When I try this my component doesn't display a gradient. I have followed the tutorials online that I could find but it seems to be the same example from Adobe repeated on multiple site and it doesn't work.
    My component code is added below, if anyone could show me how to get this to work it would be much appreciated.
    Thanks in advance,
    Xander
    GradientCanvas.as
    package mycomps {
        import flash.display.GradientType;
        import flash.geom.Matrix;
        import mx.containers.Canvas;
        import mx.styles.CSSStyleDeclaration;
        import mx.styles.StyleManager;
        public class GradientCanvas extends Canvas {
            private static var classConstructed:Boolean = constructStyle();
            public function GradientCanvas() {
                super();
                this.width = 100;
                this.height = 20;
            private static function constructStyle():Boolean {
                var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration("GradientCanvas");
                if (style) {
                    if (style.getStyle("fill-colors") == undefined) {
                        style.setStyle("fill-colors", [0xffffff, 0x000000]);
                } else {
                    style = new CSSStyleDeclaration();
                    style.defaultFactory = function():void {
                        this._fillColours = [0xffffff, 0x000000];
                    StyleManager.setStyleDeclaration("GradientCanvas", style, true);
                return true;
            override public function styleChanged(styleProp:String):void {
                super.styleChanged(styleProp);
                if (styleProp == "fill-colors") {
                    this._fillColours = getStyle("fill-colors");
                    this._fillColoursChanged = true;
                    this.invalidateDisplayList();
            override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void {
                super.updateDisplayList(unscaledWidth, unscaledHeight);
                if (this._fillColoursChanged == true) {
                    var direction:Number = 90 * (Math.PI / 180);
                    var matrix:Matrix = new Matrix();
                    matrix.createGradientBox(unscaledWidth, unscaledHeight, direction, 0, 0);
                    graphics.clear();
                    graphics.beginGradientFill(GradientType.LINEAR, this._fillColours, [1,1], [0, 255], matrix, "pad", "rgb", -1);
                    graphics.drawRect(0, 0, unscaledWidth, unscaledHeight);
                    graphics.endFill();
                    this._fillColoursChanged = false;
            [Inspectable(category="Gradient", type="Array", format="Color", name="Fill Colours")]
            private var _fillColours:Array;
            private var _fillColoursChanged:Boolean = false;
            public function get fillColours():Array {
                return this._fillColours;
            public function set fillColours(value:Array):void {
                this._fillColours = value;
                this._fillColoursChanged = true;
                this.invalidateProperties();
                this.invalidateDisplayList();

    Never mind, I've discovered how to do it for myself.
    Thanks...

  • Custom-style outline template with prompts and glossary page

    Hello
    I would like to make a template in Word 2010 with a custom-style outline. Would anyone be able to suggest how to achieve these requirements (pointing me to reading material also helpful):
    1. Every phrase the user types into a field gets automatically added to a final glossary page, listing exact letter-for-letter duplicates only once.
    2. Upon opening an instance of the template the user is prompted with the following entry form questions:
           ○ Prompt: "What error message or problem description will this document cover?" The free-text answer will populate the header of each page in the title style.
           ○ Prompt: "What is your initial condition? If none, press enter." The free-text answer will populate the first line in heading1 style in the form "Additional Condition: [user's answer]".
    If the answer is of string length 0, the user's answer defaults to "none".
           ○ Prompt: "List all possible causes for initial condition, separated by a comma. Phrase possible causes as a question." Each comma-separated free-text answer will populate the next line in heading2
    style with the numbering convention "Possible Cause [#]".
     3. Under each possible cause item the following items appear in heading3 style, each on its own line: "System overview, Tools required, Safety precautions, Troubleshooting steps, Confirm possible cause, Fix confirmed
    cause". Underneath the items just listed appear more fields that the user can use.
    I realize this is a lengthy post, probably too specific, but if I could get pointed in the right direction I am willing to do the research!

    Thank you for the insights, Fei Xue. Let me try to explain to glossary requirement better...
    The glossary will reiterate all phrases entered by the user (this is an outline so each phrase will be a paragraph, but paragraphs the paragraphs a brief). I have the following code that executes as written but the problem comes when you change content
    in the outline the glossary does not get updated.
    'THIS CODE IS IN A MODULE'Sub PageBreakPlus()
    Selection.InsertBreak Type:=wdPageBreak
    End Sub
    Function ProblemFunc() As String
    ProblemFunc = InputBox("Type the error message verbatim. If no error message, type brief problem description to be used as a phrase.", "Error Code Administration")
    End Function
    Function AddConFunc() As String
    AddConFunc = InputBox("Type an additional condition to be used as a phrase. If none, click OK.", "Additional Condition", "None")
    End Function
    Function CausesFunc() As String
    CausesFunc = InputBox("List all possible causes for additional condition in the order a user should investigate them. Phrase possible causes as a question.", "Possible Causes")
    End Function
    'THIS CODE IS IN ThisDocument'Private phrases() As String 'no used at this point'
    Private Sub Document_New()
    Dim causeString As String
    Dim causeArray() As String
    Dim problem As String
    Dim addcon As String
    Dim templateRev As String: templateRev = "16-Apr-2015"
    'get the prompts and split the causeString into each question'
    problem = ProblemFunc
    addcon = AddConFunc
    causeString = CausesFunc
    causeArray = Split(causeString, "?")
    If ActiveWindow.View.SplitSpecial <> wdPaneNone Then
    ActiveWindow.Panes(2).Close
    End If
    If ActiveWindow.ActivePane.View.Type = wdNormalView Or ActiveWindow. _
    ActivePane.View.Type = wdOutlineView Then
    ActiveWindow.ActivePane.View.Type = wdPrintView
    End If
    ActiveWindow.ActivePane.View.SeekView = wdSeekCurrentPageHeader
    With Selection
    .Style = ActiveDocument.Styles("Title")
    .TypeText problem
    .ParagraphFormat.Alignment = wdAlignParagraphCenter
    .TypeParagraph
    .ParagraphFormat.Alignment = wdAlignParagraphCenter
    .TypeText Text:="Template Rev. " & templateRev & vbTab & "Document Rev. "
    .Fields.Add Range:=Selection.Range, Type:=wdFieldEmpty, Text:="CREATEDATE \@ ""d-MMM-yyyy"" ", PreserveFormatting:=True
    End With
    ActiveWindow.ActivePane.View.SeekView = wdSeekMainDocument
    For Each cause In causeArray
    If Len(cause) <> 0 Then
    With Selection
    .TypeText Trim(cause) & "?"
    .Style = ActiveDocument.Styles("Heading 2")
    .TypeParagraph
    .TypeText Text:="System overview"
    .Style = ActiveDocument.Styles("Heading 3")
    .TypeParagraph
    .TypeText Text:="Tools required"
    .Style = ActiveDocument.Styles("Heading 3")
    .TypeParagraph
    .TypeText Text:="Safety precautions"
    .Style = ActiveDocument.Styles("Heading 3")
    .TypeParagraph
    .TypeText Text:="Troubleshooting steps"
    .Style = ActiveDocument.Styles("Heading 3")
    .TypeParagraph
    .TypeText Text:="Confirm possible cause"
    .Style = ActiveDocument.Styles("Heading 3")
    .TypeParagraph
    End With
    End If
    Next cause
    With Selection
    .Style = ActiveDocument.Styles("Normal")
    .InsertBreak Type:=wdPageBreak
    .Style = ActiveDocument.Styles("Strong")
    .TypeText "Glossary of Phrases"
    .TypeParagraph
    .Style = ActiveDocument.Styles("Normal")
    End With
    Dim tbl As Table
    ActiveDocument.Tables.Add Range:=Selection.Range, NumRows:=1, NumColumns:=1, DefaultTableBehavior:=wdWord9TableBehavior, AutoFitBehavior:=wdAutoFitFixed
    With Selection.Tables(1)
    If .Style <> "Table Grid" Then
    .Style = "Table Grid"
    End If
    .ApplyStyleHeadingRows = True
    .ApplyStyleLastRow = False
    .ApplyStyleFirstColumn = True
    .ApplyStyleLastColumn = False
    .ApplyStyleRowBands = True
    .ApplyStyleColumnBands = False
    End With
    With Selection
    .Style = ActiveDocument.Styles("Normal")
    .TypeText Text:=problem
    .MoveRight Unit:=wdCell
    .TypeText Text:=addcon
    .TypeText Text:="System overview"
    .Style = ActiveDocument.Styles("Heading 3")
    .TypeParagraph
    .TypeText Text:="Tools required"
    .Style = ActiveDocument.Styles("Heading 3")
    .TypeParagraph
    .TypeText Text:="Safety precautions"
    .Style = ActiveDocument.Styles("Heading 3")
    .TypeParagraph
    .TypeText Text:="Troubleshooting steps"
    .Style = ActiveDocument.Styles("Heading 3")
    .TypeParagraph
    .TypeText Text:="Confirm possible cause"
    For Each cause In causeArray
    If Len(cause) <> 0 Then
    .MoveRight Unit:=wdCell
    .TypeText Text:=Trim(cause) & "?"
    End If
    Next cause
    End With
    For Each tbl In ActiveDocument.Tables
    tbl.Select
    Selection.Font.Bold = wdToggle
    Selection.Sort ExcludeHeader:=False, FieldNumber:="Column 1", _
    SortFieldType:=wdSortFieldAlphanumeric, SortOrder:=wdSortOrderAscending, _
    FieldNumber2:="", SortFieldType2:=wdSortFieldAlphanumeric, SortOrder2:= _
    wdSortOrderAscending, FieldNumber3:="", SortFieldType3:= _
    wdSortFieldAlphanumeric, SortOrder3:=wdSortOrderAscending, Separator:= _
    wdSortSeparateByCommas, SortColumn:=False, CaseSensitive:=False, _
    LanguageID:=wdEnglishUS, SubFieldNumber:="Paragraphs", SubFieldNumber2:= _
    "Paragraphs", SubFieldNumber3:="Paragraphs"
    Selection.Borders(wdBorderTop).LineStyle = wdLineStyleNone
    Selection.Borders(wdBorderLeft).LineStyle = wdLineStyleNone
    Selection.Borders(wdBorderBottom).LineStyle = wdLineStyleNone
    Selection.Borders(wdBorderRight).LineStyle = wdLineStyleNone
    Selection.Borders(wdBorderHorizontal).LineStyle = wdLineStyleNone
    Selection.Style = ActiveDocument.Styles("Normal")
    Next tbl
    End Sub

  • 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

  • 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>
    >

  • 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/

  • 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

  • EBS posting to clear customer open items - Function not working?

    Hello SAPers
    I have an issue I just canu2019t seem to resolve! We are receiving MT940 statements and receive customer invoice reference details with field: 86 as follows:
    :61:090910C1500,00FOSB1000270 //100909050      0        035315
    :86:DEPOSIT
    Remitter:1000270 MISSION AUSTRALIA   Ref:1200000017
    Immediately following the BTC FOSB the bank quotes the customer number however I am not using this as standard SAP should identify the customer by document number within the note to payee field?
    I am using a 2 step process in posting to the clearing account and customer. Config as follows:
    Pst Type 1
    40     Bank
    50     Clearing
    Pst type 2
    40     Clearing
    15     BLANK          DZ     3      15
    I have also set up a string to look for the documents ^(12########)$. When we load the statement the first posting is successful however the second does not post to the customer or clear based on the invoice reference. I am using algorithm 020. The error that occurs is F5 102 Customer does not exist in company code xxxx. It actually does exist in the company code.
    I have loaded the EBS to the buffer and simulated the search on BELNR and it picks up the document?
    I am sure this is standard and a CMOD is not required on this type of functionality? What have I not done to allow posting to the customer based on document number or to post on account where it is not cleared?
    Any assistance on this issue is appreciated? Thanks in advance.

    Function Module for GL open Items
    how to clear customer open items by another  customer open item
    Function Module for GL Open Items
    Reward points..

  • Is it possible to call custom designed RFC function module, apart from BAPI

    Hi Friends,
    1.     Is it possible to call custom designed RFC function module, apart from BAPI.
    2.     Why we call it Adaptive RFC layer, Since every time the JCO layer updated with SAP, Why can’t be dynamic.
    Thanx for Ur time.
    Cheers,
    Sam

    Also check <a href="http://help.sap.com/saphelp_nw04/helpdata/en/41/38bc8f813719488ddc9d9b21251ec3/frameset.htm">here</a> for more information on aRFC. Here you can find why it is called adaptive.
    Regards,
    Christophe

  • Custom extractors using function modules

    Hey all
    Does anyone has a document regarding how to <b>Develop Custom extractors using function modules?Step by step method would be great</b>
    Also document regarding <b>CTS in BW?</b>
    Appreciate it
    Thanks

    Hi,
    See here:
    Generic Extractors
    Generic data sources
    Generic DS
    /people/siegfried.szameitat/blog/2005/09/29/generic-extraction-via-function-module
    Best regards,
    Eugene

  • Customer Style & Skins in OBIEE 11.1.1.7

    Hi,
    Did anyone configure custom style and skins in the latest OBIEE (11.1.1.7)? I followed steps mentioned in OBE here http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1113/customizing_obiee11g/customizing_obiee11g.htm#t1,
    but that did not work.
    Thanks in advance

    Hi,
    u can add the new skins from the below mentioned path as welll
    obiee 11g  image path
    mark helps
    thanks

  • The custom style mapping option text still maintains the word formatting or it shows a style override in the InDesign style - how do I correct this?

    When I tell the custom style mapping option to format a Word style (from an rtf document) with the InDesign style, the text still maintains the word formatting or it shows a style override in the InDesign style. I have a large document that needs to import the styles correctly and I've followed the tutorials exactly however the placed text is still hanging onto the word RTF styles. I want the rtf text to convert to my InDesign styles completely without overrides.

    I actually need the cell styles. That's what sets my font, spacing, and GREP styles.
    I did find the solution today. In the table style or table setup, I needed to set the "Stroke Drawing Order" to "Column Strokes in Front". Even though it was previously set to "Best Joins" and I had no strokes for rows or for the table borders, it just wasn't giving priority to my dotted columns.
    Thanks for your response though!

  • 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...

Maybe you are looking for

  • Screen goes black when hooking up to TV via mini-DVI to video adapter...

    Hello, Ever since I upgraded my PB12" to 10.5.x (now running 10.5.5, but this issue has been there since upgrading to 10.5.1), when I hook up the mini-DVI to video adapter (different adapter than for hooking up to an external display as the mini-DVI

  • Flash Installation Failing

    Attempted to update the flash on my 15" Retina Macbook Pro running OS X 10.10 today, only to get the error "installation failed" which provides me a link to a support page. After extensive research on Adobe forums, I followed several pieces of advice

  • Using a Samsung SyncMaster T220 1680X1050 resolution monitor

    Whenever I try using the above external monitor at the listed native resolution, my Macbook displays it for a split second before becoming a black screen. All of the lower resolutions listed in the Display PreferencePane work, but it's blurry and not

  • Firefox recompile Guide, out of date?

    Today i read the Firefox recompile guide to enable offical branding. I recognized some major differences to actual source files and PKGBUILD. ie. you should replace convert $srcdir/mozilla/browser/app/default.xpm $pkgdir/usr/share/pixmaps/firefox.png

  • Overloading with interfaces as parameters

    Let's say you have two interfaces If1 and If2. Consider the following class: public class FooBar{   public void doIt(If1 i){     //Do Something   public void doIt(If2 i){     //Do Something }My instinct tells me that this shouldn't compile--after all