Setting Font Color and Bold Property in ALV Grid

I have a requirement to set the font in particular ALV Cells  in red color.
Also this font (text) has to be set to Bold.
I know how to set cell coloring in ALV Grid, but have no idea regarding how to set font color.
Could please give me an idea/code segment/suggestion.
Thank You!

Please refer this post
Coloring of ROWS in ALV tree

Similar Messages

  • [ALV] Text in color and bold

    Hello,
    I have an ALV Grid and I would like one cell, with text color in red and in bold.
    I'm in OOP's with CL_GUI_ALV_GRID.
    I've tried like that :
    CONSTANTS :
                c_bold(4)           TYPE x       VALUE '00000020',
                c_red(4)            TYPE x       VALUE '00000017'.
    *-LAYOUT
      fe_layout-cwidth_opt = c_x.
      fe_layout-no_rowmark = c_x.
      fe_layout-info_fname = 'ROW_COLOR'.
      fe_layout-stylefname = 'CELLS_STYLES'.
    *-OUTTAB
      clear we_style.
      we_style-fieldname = 'XXXXX'.
      we_style-style = c_bold.
      we_style-style = c_red.
      insert we_style into table we_outtab-cells_styles.
    It doesne't work. The bold put the text color in black.
    There is a solution ?
    Thank you.

    Hello Bernard
    I checked my sample report and it shows that '00000037' yields the text in bold and red.
    '00000037' = '00000020' + '00000017'   !!!
    Below you find a modified version of the sample report:
      BREAK-POINT.
      CONSTANTS :
          c_bold(4)           TYPE x       VALUE '00000020',
          c_red(4)            TYPE x       VALUE '00000017'.
      CLEAR: ls_outtab2.
      REFRESH: lt_celltab.
      ls_outtab2-maxlen = 0.
      ls_outtab2-style  = c_bold.
      ls_outtab2-style2 = c_red.
      ls_style-style = c_bold + c_red.
      INSERT ls_style INTO TABLE lt_celltab.
      ls_outtab2-celltab = lt_celltab.
      INSERT ls_outtab2 INTO gt_outtab2 INDEX 1.
    ENDFORM.                    " FILL_OUTTAB2
    Entire report:
    *& Report  ZUS_SDN_ALV_STYLE_LIST
    *& Thread: [ALV] Text in color and bold
    *& <a class="jive_macro jive_macro_thread" href="" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1191290"></a>
    *& Thread: color alv list display
    *& <a class="jive_macro jive_macro_thread" href="" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1072435"></a>
    *& Thread: Hiliting the Specific rows in ALV grid
    *& <a class="jive_macro jive_macro_thread" href="" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1062831"></a>
    *& Thread: Reg... coloring of rows
    *& <a class="jive_macro jive_macro_thread" href="" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1041516"></a>
    *& Thread: Painting cell in alv with objects
    *& <a class="jive_macro jive_macro_thread" href="" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1029759"></a>
    *& Thread: styles
    *& <a class="jive_macro jive_macro_thread" href="" __jive_macro_name="thread" modifiedtitle="true" __default_attr="830498"></a>
    *& Thread: Is it possible to assign color to manually modified record in tabcontrol?
    *& <a class="jive_macro jive_macro_thread" href="" __jive_macro_name="thread" modifiedtitle="true" __default_attr="878289"></a>
    *& The report generates style values and shows their effect in ALV grid.
    REPORT  zus_sdn_alv_cell_style_2.
    TYPE-POOLS: abap.
    TYPES: BEGIN OF ty_s_outtab.
    INCLUDE TYPE knb1.
    TYPES: celltab TYPE lvc_t_styl. " cell style
    TYPES: END OF ty_s_outtab.
    TYPES: ty_t_outtab TYPE STANDARD TABLE OF ty_s_outtab
    WITH DEFAULT KEY.
    TYPES: BEGIN OF ty_s_outtab2.
    INCLUDE TYPE lvc_s_styl.
    TYPES: celltab TYPE lvc_t_styl. " cell style
    TYPES: END OF ty_s_outtab2.
    TYPES: ty_t_outtab2 TYPE STANDARD TABLE OF ty_s_outtab2
    WITH DEFAULT KEY.
    DATA:
    gs_layout TYPE lvc_s_layo,
    gs_variant TYPE disvariant,
    gt_fcat TYPE lvc_t_fcat.
    DATA:
    gt_outtab TYPE ty_t_outtab,
    gt_outtab2  TYPE ty_t_outtab2.
    PARAMETERS:
      p_rows    TYPE i DEFAULT 200.
    START-OF-SELECTION.
      SELECT * FROM knb1 UP TO 100 ROWS
      INTO CORRESPONDING FIELDS OF TABLE gt_outtab
      WHERE bukrs = '1000'.
    **  data: gr_kunnr    type RANGE OF kunnr.
    **  SELECT kunnr as low from knb1 into CORRESPONDING FIELDS OF TABLE gr_kunnr
    **    WHERE bukrs = '1000'.
      PERFORM set_layout_and_variant.
      PERFORM set_cell_style.
    **  CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY_LVC'
    **    EXPORTING
    **      i_structure_name = 'KNB1'
    **      i_grid_title     = 'Cell Styles'
    **      is_layout_lvc    = gs_layout
    **      i_save           = 'A'
    **      is_variant       = gs_variant
    **    TABLES
    **      t_outtab         = gt_outtab
    **    EXCEPTIONS
    **      program_error    = 1
    **      OTHERS           = 2.
    **  IF sy-subrc = 0.
    **  ENDIF.
      PERFORM fill_outtab2.
    **  PERFORM fill_fieldcatalog_2.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY_LVC'
        EXPORTING
          i_structure_name = 'LVC_S_STYL'
          i_grid_title     = 'Cell Styles'
          is_layout_lvc    = gs_layout
          i_save           = 'A'
          is_variant       = gs_variant
    *      IT_FIELDCAT_LVC  = gt_fcat
        TABLES
          t_outtab         = gt_outtab2
        EXCEPTIONS
          program_error    = 1
          OTHERS           = 2.
      IF sy-subrc = 0.
      ENDIF.
    END-OF-SELECTION.
    *& Form SET_LAYOUT_AND_VARIANT
    FORM set_layout_and_variant .
      CLEAR: gs_layout,
      gs_variant.
      gs_layout-cwidth_opt = abap_true.
      gs_layout-stylefname = 'CELLTAB'.
      gs_variant-report = syst-repid.
      gs_variant-handle = 'STYL'.
    ENDFORM. " SET_LAYOUT_AND_VARIANT
    *&      Form  set_cell_style
    *       text
    FORM set_cell_style .
    * define local data
      CONSTANTS:
      lc_style_bold TYPE int4 VALUE '00000121',
      lc_style_red TYPE int4 VALUE '00000087',
      lc_style_cursive TYPE int4 VALUE '00008700',
      lc_style_underline_faint TYPE int4 VALUE '00008787',
      lc_style_underline TYPE int4 VALUE '00008707',
      lc_style_underline_red TYPE int4 VALUE '00008007'.
      DATA:
      ls_outtab TYPE ty_s_outtab,
      ls_style TYPE lvc_s_styl,
      lt_celltab TYPE lvc_t_styl.
      CLEAR: ls_style.
      ls_style-fieldname = 'BUKRS'.
      ls_style-style = '00000011'.    " make contents invisible
      INSERT ls_style INTO TABLE lt_celltab.
    **  CLEAR: ls_style.
    **  ls_style-fieldname = 'BUKRS'.
    **  ls_style-style = lc_style_bold.
    **  INSERT ls_style INTO TABLE lt_celltab.
    **  CLEAR: ls_style.
    **  ls_style-fieldname = 'KUNNR'.
    **  ls_style-style = lc_style_red.
    **  INSERT ls_style INTO TABLE lt_celltab.
    **  CLEAR: ls_style.
    **  ls_style-fieldname = 'ERDAT'.
    **  ls_style-style = lc_style_cursive.
    **  INSERT ls_style INTO TABLE lt_celltab.
    **  CLEAR: ls_style.
    **  ls_style-fieldname = 'ERNAM'.
    **  ls_style-style = lc_style_underline.
    **  INSERT ls_style INTO TABLE lt_celltab.
      ls_outtab-celltab = lt_celltab.
      MODIFY gt_outtab FROM ls_outtab
      TRANSPORTING celltab
      WHERE ( bukrs = '1000' ).
    ENDFORM. " SET_CELL_STYLE
    *&      Form  FILL_OUTTAB2
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM fill_outtab2 .
    * define local data
      DATA: ls_outtab2  TYPE ty_s_outtab2,
            ld_num8(8)  TYPE n,
            ld_idx      TYPE i,
            ld_fname    TYPE fieldname,
            ld_perc     TYPE i,
            ld_text(50) TYPE c.
      DATA:
      ls_style TYPE lvc_s_styl,
      lt_celltab TYPE lvc_t_styl.
      FIELD-SYMBOLS: <ld_style>  TYPE lvc_style.
      ld_num8 = 0.
      DO p_rows TIMES.
        WRITE syst-index TO ld_text NO-ZERO.
        CONDENSE ld_text NO-GAPS.
        ld_perc = ( syst-index * 100 ) / p_rows.
        CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
          EXPORTING
            percentage = ld_perc
            text       = ld_text.
        CLEAR: ls_style,
           ls_outtab2.
        REFRESH: lt_celltab.
        ls_outtab2-maxlen = syst-index.
        MOVE ld_num8 TO ls_outtab2-style.
        ls_style-style = ls_outtab2-style.
        INSERT ls_style INTO TABLE lt_celltab.
        ls_outtab2-celltab = lt_celltab.
        APPEND ls_outtab2 TO gt_outtab2.
        ADD 1 TO ld_num8.
      ENDDO.
      BREAK-POINT.
      CONSTANTS :
          c_bold(4)           TYPE x       VALUE '00000020',
          c_red(4)            TYPE x       VALUE '00000017'.
      CLEAR: ls_outtab2.
      REFRESH: lt_celltab.
      ls_outtab2-maxlen = 0.
      ls_outtab2-style  = c_bold.
      ls_outtab2-style2 = c_red.
      ls_style-style = c_bold + c_red.
      INSERT ls_style INTO TABLE lt_celltab.
      ls_outtab2-celltab = lt_celltab.
      INSERT ls_outtab2 INTO gt_outtab2 INDEX 1.
    ENDFORM.                    " FILL_OUTTAB2
    *&      Form  FILL_FIELDCATALOG_2
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM fill_fieldcatalog_2 .
    * define local data
      DATA: ls_fcat TYPE lvc_s_fcat,
            lt_fcat TYPE lvc_t_fcat.
      DATA: ld_fname  TYPE fieldname.
      CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
        EXPORTING
    *     I_BUFFER_ACTIVE              =
          i_structure_name             = 'LVC_S_STYL'
    *     I_CLIENT_NEVER_DISPLAY       = 'X'
    *     I_BYPASSING_BUFFER           =
    *     I_INTERNAL_TABNAME           =
        CHANGING
          ct_fieldcat                  = lt_fcat
        EXCEPTIONS
          inconsistent_interface       = 1
          program_error                = 2
          OTHERS                       = 3.
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      DELETE lt_fcat WHERE ( fieldname NE 'STYLE' ).
      READ TABLE lt_fcat INTO ls_fcat INDEX 1.
      DO 16 TIMES.
        ls_fcat-fieldname = 'STYLE'.
        ls_fcat-col_pos = syst-index.
        WRITE syst-index TO ld_fname NO-ZERO.
        CONDENSE ld_fname NO-GAPS.
        CONCATENATE ls_fcat-fieldname ld_fname INTO ls_fcat-fieldname.
        APPEND ls_fcat TO gt_fcat.
      ENDDO.
    ENDFORM.                    " FILL_FIELDCATALOG_2
    Regards
      Uwe

  • Setting font colors

    Is there a way to set the font color so that it isn't just white or whatever the default terminal font color is. I know there is a Font class, but I don't really understand how that works, whether I do Font.color and it will change the default changes or what. Can somebody direct me to more information that I can read up on, or if they know themselves. Thank you.

    I don't think fonts apply to terminals. They apply to GUIs, documents, and similar things that support different font types. I doubt there is a way using pure Java to change the color of text in a terminal, since that sounds like something that is OS specific.

  • Report Generation broken after deployment - Excel Set Cell Color and Border.vi

    Upon deployment, the Excel Set Cell Color and Border.vi became broken.  After installing LV2010 SP1 to view the VIs in the deployment, I noticed that in the second case structure where the code draws the border using the BorderAround invoke node, there is an extra variant input parameter named 'Parameters'.  Upon right-clicking, an option to 'Relink Invoke Node' appeared and after selecting this, the extra input disappeared and the VI was no longer broken.
    Why does "Relink Invoke Node" appear?  How do I create a deployment with this issue?  Has anybody else experienced this?  Why is the TestStand deployment so buggy?  

    Hi Ching-Hwa,
    I have set up a test deployment here where I am deploying a workspace that contains a sequence file.  This sequence file has a LabVIEW Action Step calling a VI that opens a new Excel file and simply calls the Excel Set Cell Color and Border VI.  After deploying this, both the VI and my test sequence ran on the deployment machine without error.  Therefore, I do have some more questions to more accurately reproduce what you are seeing.
    First, what operating systems are you developing on and deploying to?  Also, what license do you have for TestStand on the machine you are deploying to?  If you have a development version, can you manually take the sequence file and VI to this machine and run it?  I know you now have LabVIEW 2010 SP1 on your development machine, but if you have the development version of TestStand as well, it would be interesting to see if you copy the files over if you still see this behavior.  Are you including the TestStand Engine in the deployment?
    Can you open a blank VI on the deployment machine and add the Excel Set Cell Color and Border VI?  It would also be interesting to see if this is not a product of the deployment, but rather an issue with something on the deployment machine itself.  What version of the Report Generation Toolkit do you have on each machine?  Also, what versions of Excel are you using on the development and deployment machine?  Again, it would be helpful for me to know exactly what versions you have installed on both the development and deployment machines so that I can reproduce this as accurately as possible.
    One last thing to try, too, would be to try deploying the VI by itself just to see if it also has the same behavior.  Do you have the Application Builder in LabVIEW?  If so, could you also try building an executable from the VI, create an installer, and deploy this to the deployment machine?  
    In regards to the "freezing" of code by removing the block diagrams, I do not believe this will be a proper work around in this case.  While this removes the block diagram from actually being deployed along with the VI and restricts users from editing the code on the deployment machine, if something is getting changed in the compiled code upon deployment, this will not stop this from happening.  This option is available more as a memory option to lower the size of the deployment as well as prohibit any users on the development machine from editing the block diagram themselves.    
    Thanks, Ching-Hwa!  I look forward to your response so that I can continue trying to reproduce this issue.  Have a great day! 
    Taylor G.
    Product Support Engineer
    National Instruments
    www.ni.com/support

  • A mode to change font size and bold in every page?

    Due to problems described here https://support.mozilla.org/en-US/questions/1012057?esab=a&s=&r=0&as=s I have clear that I need something (an extension, maybe) that allow me to recognize and change font size and bold of the fonts in every page.
    Does exist something like this?
    Maybe also for bookmarks toolbar...

    Hi RichterB,
    You can change this in the Content Settings of Firefox. Go to "3 bar" menu and click on Options. Click on content and uncheck "Let websites choose their own styles" and select a bold font type.
    Also try [https://addons.mozilla.org/en-US/firefox/addon/stylish/ Sytlish].

  • Is it possible to change the CATEGORY TITLE font color and/or size of each tile group in start screen, when the tiles are sorted by CATEGORY?

    TIA.

    Q.  Is it possible to change the CATEGORY TITLE font color and/or size of each tile group in start screen, when the tiles are sorted by CATEGORY?
    A.  No
    Carey Frisch

  • Excel Set Cell Color and Border.viのbackground color 設定について

    お世話になっております。
    Microsoft オフィス用レポート生成ツールキットを使って
    LabVIEWで収集したデータをExcelファイルで出力しようと考えています。
    そこで質問が有ります。
    題名のようにExcel Set Cell Color and Border.viのbackground color 設定についてです。
    デフォルト(未配線)では白に設定されていますが、”色なし”に設定するにはどうしたら良いのでしょうか?
    又、罫線色等を指定する数値設定に関しては、何処を調べたら良いのでしょうか?
    ご教授の程、宜しくお願い致します。

    _YN 様
    平素よりNI製品をご利用頂きまして誠にありがとうございます。
    日本ナショナルインスツルメンツ技術部の湧川と申します。
    ご質問にお答え致します。
    色なしにしたいとの事ですが、こちらでExcel Set Cell Color and Border.viを使用して簡単なVIを実行させてみましたが色なしに設定することはできませんでした。
    そこで質問したいのですが色なしにする理由というのはバックグラウンドが白のままだとセルの枠が見えなくなるからでしょうか。
    もしそうであれば設定により枠をつけることができますのでそちらの方を試して頂けたらと思います。
    方法としましては同じExcel Set Cell Color and Border.viを使い設定します。
    アイコンの上部にピンク色のピンが2つあるかと思いますがそちらからセル内側の線、外側の線を設定できます。
    添付した画像を参照して下さい。
    画像のように設定しますとセルに黒色の枠ができると思います。
    数値設定などに関しても質問されていますが、そちらはヘルプがありますのでそちらを参照頂けると詳しい情報がわかるかと思います。
    LabVIEWでVIを開いている時に ctrl + H を押しますと小さいウィンドウ「詳細ヘルプ」が立ち上がります、その状態でマウスのポインタをアイコンに重ねて頂きますと詳細ヘルプにアイコンの説明が記述されます。
    ウィンドウズ内のリンクからオンラインヘルプを参照することもできます。
    上記内容をご確認いただきまして、何かS_YN様の意図と違う点などありましたらご連絡下さい。
    宜しくお願い致します。
    日本ナショナルインスツルメンツ株式会社
    技術部
    湧川 朝満
    添付:
    Excle Set Color Sample.JPG ‏58 KB

  • NI_Excel.Ivclass:Excel Set Cell Color and Border.vi Error

    Hi
    I was trying to compile a file and I kept getting an error. It zeroed in on the vi that was not compiling. I am attaching the vi to this message. The vi seems to be broken. And I am not sure how to fix this. Can some one please help me out with this. Thanks in advance. 
    I guess it is associated with Report Generation Toolkit. Please let me know if you need any more details.
    This is the error message 'One or more required inputs to this function are not wired or are wired incorrectly. Show the Context Help window to see what the connections to this function should be.'
    Regards
    Mr Miagi
    Solved!
    Go to Solution.
    Attachments:
    Excel Set Cell Color and Border.vi ‏20 KB

    http://forums.ni.com/t5/LabVIEW/Set-excel-cell-color-and-border-broken-can-t-build-application/m-p/1...
    Please do a search.

  • Excel Set Cell Color and Border VI

    您好,
    請問如果不小心更改到Excel Set Cell Color and Border VI的內容,應如何復原?
    謝謝!!!
    已解決!
    轉到解決方案。
    附件:
    Excel Set Cell Color and Border.jpg ‏231 KB

    http://search.ni.com/nisearch/app/main/p/bot/no/ap/tech/lang/zht/pg/1/sn/catnav:du/q/report%20genera...
    以下載點除了 labview 2012 report generation toolkit 以外
    其他都是 patch 檔
    如果您有購買正式版,也許您可以跟 NI 客服部求救

  • Need to add Header  and footer in an alv grid display output.

    How can I add header and footer in an alv grid dispay output.
    For the grid display, I am using the function module "REUSE_ALV_GRID_DISPLAY".

    HI,
    call function 'REUSE_ALV_GRID_DISPLAY'
           exporting
                i_callback_program      = gd_repid
                i_callback_top_of_page   = 'TOP-OF-PAGE'
                i_callback_html_end_of_list = 'END_OF_LIST_HTML'
                is_layout               = gd_layout
                it_fieldcat             = fieldcatalog[]
                i_save                  = 'X'
           tables
                t_outtab                = it_ekko
           exceptions
                program_error           = 1
                others                  = 2.
    FORM end_of_list_html USING end TYPE REF TO cl_dd_document.
      DATA: ls_text TYPE sdydo_text_element,
            l_grid     TYPE REF TO cl_gui_alv_grid,
            f(14) TYPE c VALUE 'SET_ROW_HEIGHT'.
      ls_text = 'Footer title'.
    adds and icon (red triangle)
      CALL METHOD end->add_icon
        EXPORTING
          sap_icon = 'IL'.
    adds test (via variable)
      CALL METHOD end->add_text
        EXPORTING
          text         = ls_text
          sap_emphasis = 'strong'.
    adds new line (start new line)
      CALL METHOD end->new_line.
    display text(bold)
      CALL METHOD end->add_text
        EXPORTING
          text         = 'Bold text'
          sap_emphasis = 'strong'.
    adds new line (start new line)
      CALL METHOD end->new_line.
    display text(normal)
      CALL METHOD end->add_text
        EXPORTING
          text         = 'Nor'.
    adds new line (start new line)
      CALL METHOD end->new_line.
    display text(bold)
      CALL METHOD end->add_text
        EXPORTING
          text         = 'Yellow '
          sap_emphasis = 'str'.
    adds and icon (yellow triangle)
      CALL METHOD end->add_icon
        EXPORTING
          sap_icon = 'IC''.
    display text(normal)
      CALL METHOD end->add_text
        EXPORTING
          text         = 'Mor'.
    *set height of this section
      CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
        IMPORTING
          e_grid = l_grid.
      CALL METHOD l_grid->parent->parent->(f)
        EXPORTING
          id     = 3
          height = 14.
    ENDFORM. "end_of_list_html.
    This will solve  it. Post if you need more help in this.
    Regards,
    Madhu.

  • Set a field to blank in an ALV grid control

    Hi,
    Does anyone know how to set a field to blank using an ALV grid control?
    Currently, my program displays 0.000 in a field patterned after EKPO-MENGE, but i want it to just display a blank field.
    Thanks!

    HI
    GOOD
    HOW CAN YOU KNOW THAT WHICH FILED VALUE IS 0.000 ,IF YOU CAN KNOW THIS THAN STORE THAT VALUE INTO A BLANK STRING AND PASS THROUGH THE FIELD CATALOG.I HOPE IT WILL WORK.
    THANKS
    MRUTYUN

  • How to change a color for a row in ALV grid display

    Hi,
       how to change a color for a row in ALV grid display based on a condition.Any sample code plz

    Hello Ramya,
    Did you check in [SCN|How to color a row of  alv grid]
    Thanks!

  • Pack and Integer type in ALV grid

    Hello,
    Can anyone give a small example of how to display fields of type I and P in an ALV grid. Using the alv grid FM and manually filling the fieldcatalog.
    Thanks for your help.

    Hi Moussa Khelifi  ,
    u can manually fill fieldcatalog like this..
    form manual_filling_fieldcatalog.
    X_FIELDCAT-FIELDNAME = 'ATWRT'.
    X_FIELDCAT-TABNAME   = 'TB_FINAL'.
    X_FIELDCAT-SELTEXT_L = 'Source of Supply'(001).
    X_FIELDCAT-DDICTXT   =  L_DDICTXT.
    X_FIELDCAT-FIELDNAME = 'MATNR'.
    X_FIELDCAT-TABNAME   = 'TB_FINAL'.
    X_FIELDCAT-SELTEXT_L = 'MATERIAL'(002).
    X_FIELDCAT-DDICTXT   =  L_DDICTXT.
    APPEND X_FIELDCAT TO TB_FIELDCAT .
    endform.
    u can directly pass the table to 'REUSE_ALV_GRID_DISPLAY'
    regardless of type p or i fields in it.
    Regards,
    kiran B

  • WLC AireOS 8.0 - how to set font-color for integrated webauth/weblogin?

    Hello,
    up to AireOS 7.6 I was able to set the font-color of the internal webauth/weblogin page using html-codes, for example like this:
    Headline: Welcome to our <font color="red">guest</font>-network!
    Message: You need a valid <font color="blue">user</font> to login.
    Now with AireOS 8.0 this doesn't work anymore. When I try to set a headline or message with font-tags I get "Error while setting headline." (or "...message.") when I hit apply. I have to remove the font-tag to save the weblogin page.
    #CLIWEB-6-CLIWEB_INVALID_HTML_TAGS_USED: [PA] cli_web_api.c:1748 The Customization message field has invalid html tags
    #CLIWEB-6-CLIWEB_INVALID_HTML_TAGS_USED: [PA] cli_web_api.c:1663 The Headline field has invalid html tags
    So, how can we now set different font colors/styles like in previous releases? Using external or uploading selfmade pages is not an option.
    Thanks,
    Chris

    Since your using code to change the default internal portal page look, its better for you just to create a custom webauth and upload that to the WLC.  That is how I do my implementations as its easier for me to create a new page than trying to mess around with the internal page.  As you can see, Cisco can change the way things work in every version.  It might just be the fact that they no longer are allowing html code to be inserted in the default webauth/passthrough page.
    Scott

  • Font color and font style

    Can i know how can i change the color ,size and the style of the font in a text area?
    and also how can i get the font style and font size currently use in the text area?

    No, a Font doesn't have a colour. But you can set the colour of the text in a text area with setColor().

Maybe you are looking for

  • It just wont work

    Basically i am using my macbook 1.83GHz and several problems have occoured, firstly programs keep quitting this mainly happens with microsoft word which often wont even open, it simply says error and then often after it has started it will very quick

  • Adobe Media Encoder CC and CS6 crash on startup.

    Adobe Media Encoder crashes because it tries to load a bunch of After Effects plugins that it has in common, which it has no business dabbling in. The last thing I see before it crashes is Twixtor. How do I prevent this?

  • Change the 'ContextUri' and ServiceUri for a web service with workshop

    Hi all, I've created a web service and its url is set by default by workshop, let's say http://myServer:7001/app/services/myWebService.jws Is there a way in workshop to modify the url, so that I can call my web service this way : http://myServer:7001

  • Social comment control in custom page layout stucks at "Working" for read access users

    Hi, I created a custom page layout which is attched to my custom content type. i have a custom field control which is derived from RichImageField. i have also added a social comment control to the page layout using <SharePointPortalControls:SocialCom

  • Animation Bullets Not Working-Captivate 4.0

    Please Help.....This is Captivate 4.0 I have some Animation Bullets on a few of my slides.  They will appear if I conduct a preview of just the slide.  However, if I preview more than one slide or send the project out to review they do not appear.  I