SelectManyCheckbox item font

I'm having a problem making the item text bold in a selectManyCheckbox. I have defined a css style:
af|selectManyCheckbox::item-text.debtProvidercheckbox
font-weight:bold;
In my jspx, I set the checkbox sytle as:
<af:panelGroupLayout layout="horizontal">
<af:panelGroupLayout layout="vertical">
<af:selectManyCheckbox value="#{pageFlowScope.backing_wizard_bean.medicalDebtTypes}"
simple="true"
styleClass="debtProvidercheckbox">
<f:selectItems value="#{bindings.MajorDebtTypeDebtOriginationTypeROView.items}"/>
</af:selectManyCheckbox>
</af:panelGroupLayout>
The checkbox item text displays as normal font weight.

I solved it.
my css style is:
af|selectManyCheckbox.providercheckbox::item-text
font-weight:bold;
my jspx is:
<af:panelGroupLayout layout="vertical"
id="consumerPanelGroupLayout">
<af:selectManyCheckbox value="#{pageFlowScope.backing_wizard_bean.consumerTypes}"
simple="true"
styleClass="providercheckbox"
id="consumerId">
<f:selectItems value="#{bindings.ConsumerROView.items}"/>
</af:selectManyCheckbox>
</af:panelGroupLayout>

Similar Messages

  • Setting check mark for SelectManyCheckbox item

    I'm trying to set the check mark for a SelectManyCheckbox item from a backing bean and cannot find any explicit explanation or example to do this. This would be used to have a command button select all checkboxes and a command button to clear all checkboxes.
    I've been trying to set the SelectItem value, but while log messages suggest what is desired has occurred, nothing visually changes. Here's the key parts of what I'm working with so far.
    <h:selectManyCheckbox
      id="patients" layout="pageDirection"
      value="#{SelectBean.patientsSelected}" >
      <f:selectItems value="#{SelectBean.patientSelects}" />
    </h:selectManyCheckbox>
    <h:commandButton type="submit" value="Select All Patients"
      id="allPatients"
      action="update"
      actionListener="#{SelectBean.onSelectAll}" />
    private Collection<SelectItem> patientSelects;
    private List<String> patientsSelected;
    for (int i = 0; i < 10; i++) {
      value = false;
      label = locationSelected + "-" + "patient" + Integer.toString(i);
      patientSelects.add(new SelectItem(value, label));
    public void onSelectAll(ActionEvent event) {
      for (Iterator it = patientSelects.iterator(); it.hasNext();) {
        SelectItem si = (SelectItem) it.next();
          si.setValue(true);
    }

    the arrayList you suggest doesn't even contain these items.You have to prefill the patientsSelected yourself to mark preselected items.
    Basic example:<h:selectManyCheckbox value="#{myBean.selectedItems}" />
        <f:selectItems value="#{myBean.selectItems}" />
    </h:selectManyCheckbox>MyBeanprivate List<String> selectedItems; // + getter + setter
    private List<SelectItem> selectItems; // + getter + setter
        // Prefill selectItems.
        selectItems = new ArrayList<SelectItem>();
        selectItems.add(new SelectItem("value1", "label1"));
        selectItems.add(new SelectItem("value2", "label2"));
        selectItems.add(new SelectItem("value3", "label3"));
        selectItems.add(new SelectItem("value4", "label4"));
        selectItems.add(new SelectItem("value5", "label5"));
        // Preselect item #2 and #4.
        selectedItems = new ArrayList<String>();
        selectedItems.add("value2");
        selectedItems.add("value4");
    }

  • Item font CSS

    Hello
    I'm using htmldb 2.0 and theme 7 for a html region with a form based on a table.
    Is it possible to define one global setting (i.e. font-size, font-family) for all items, no matter if it is a selectlist or textarea etc.. I don't want to add the style-setting in HTML Form Element Attributes for every item.
    I tried to customize a own updoaded CSS, but it worked only for the item labels, for which I found the classes, but not for the items itself.
    thank you

    Did you try a simple CSS snippet like
    <style>
    select option,input {font-family:whatever;font-size;whatever}
    </style>Basically, just use the HTML tags as CSS selectors and style them as you need. You might need to tweak the selectors above, but you get the idea.
    in the HTML Header (under Page Attributes).

  • DW menu item font problems Snow Leopard

    I am having a problem in Dreamweaver with the font used for menu items. Out of PS, Fireworks, and Dreamweaver this is the only Adobe program where this problem is evident. I have tried many resolutions on the computer such as clearing font casche, diabling fonts, changing font charastics within DW, installing the latest PS font patch from apple, etc. If anyone has anything I can try to resolve this problem I would appreaciate it.

    I've been using Lion since it's release, it's fine.  Don't know what's holding you back.
    Did you take a higher res screenshot and run it through what the font?  From a glance I'm guessing at Conceilian outline, White Wolf.  And upgrading won't solve this problem because the font will still reside on the system.  An OS upgrade does not remove your custom fonts. It's going to be a process but you might just have to go through every outline font on your system.

  • Mail text viewing size versus sent item font size

    Hi there,
    I recently tried to increase the font size on my iMac Mail application so that I can read the messages in my inbox a bit clearer - and with great success! I found the section in the 'Fonts & Colors' tab of Mail Preferences and increased my message font to Helvetica size 18. However, various recipients of my emails have commented that the font size appears huge on their screens and print-outs.
    Is there any way I can have the text bigger on my Mail app so that I can read everything without squinting (ideally the size 18 font I currently use) but automatically have my emails sent in Helvetica size 12 font so they don't look ridiculous to the recipients?
    For your reference I am using iOS X Mavericks, version 10.9.5 on an iMac I bought late last year (2013). My Mail application is at version 7.3.
    Thanks!

    Thank you for responding.  After investigating and checking further, it was clear that only one of your suggestions changes the font size of the list of emails, also called the In-box.  And that is the display resolution.
    However, changing the display resolution affects the dots per inch of everything, everywhere and makes it larger.
    Given the high end fee Apple charges for their products, and the generally well developed software they provide, it is hard to imagine they have not corrected this obvious slight of effort on the inbox text. At times Apple's "one-size-fits-all" and "it's our way or no way" mentality astounds me and makes me want to run back to Microsoft.
    Evidently this is a well known mistake, which has yet to receive any attention.
    Again, thank you for your effort and assistance on my behalf.

  • When I select a menu item, the highlight is light blue and the item font color goes white. It is very difficult to read? Any solution?

    When I select Bookmarks, the menu item (Bookmarks) is highlighted in light gray color; and the letters of the work itself (Bookmarks) turns white. This same thing happens when you go into individual bookmark selections. It is very difficult to read. Are there any alternatives that can be set by the user?

    Are you using a standard Windows theme?
    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]

  • How to set different color for items in selectManyCheckbox

    hi,
    I would like to change item text background color for each item on selectManyCheckbox (different for each item).
    It is only 5 items so that could be static reference or select.
    I know only how to change background for all items
    af|selectManyCheckbox::item-text {
        background:orange;
    How to select concrete item text and change color for only them?
    I found similar problem:
    css - Set background color of every individual checkbox of p:selectManyCheckbox - Stack Overflow
    but this dont work for me because I dont have in adf tr structure
    I need somethink like this:
    af|selectManyCheckbox::item-text XXXX - select here one of the item by number on list or id  {
        background:orange;

    hi,
    thanks Alejandro and Federico for answers.
    I use JDev 11.1.1.6. I dont write it in previously post because I think that is a more css then adf problem.
    I have 5 selectItem based on simple List<String> {"text1", "text2", "text3", "text4". "text5"}:
    <af:selectManyCheckbox label="List" id="smc2"
                                               layout="horizontal"
                                               value="#{bean.listInBean}"
                                               autoSubmit="true">
                          <af:selectItem label="text1" value="text1" id="si47"/>
                          <af:selectItem label="text2" value="text2" id="si43"/>
                          <af:selectItem label="text3" value="text3" id="si46"/>
                          <af:selectItem label="text4" value="text4" id="si45"/>
                          <af:selectItem label="text5" value="text5" id="si44"/>
                        </af:selectManyCheckbox>
    and I would like to color first selectItem text to orange, second to red.. etc, The list is a static list. Not would be changed.
    After Alejandro answer I build simple for each element (anyCollection contains item with two fields: textValue and label {(text1,text1), (text2,text2)...}
      <af:forEach items="#{bean.anyCollection}"
                                      var="item">
                            <af:selectItem id="si48" value="#{item.textValue}"  styleClass="yourClassName#{var.index}"
                                           label="#{item.label}"/>
                          </af:forEach>
    And now if I have my var called "item" I can write 5 css style classe yourClassName#{var.index} with different color, but there is a problem:
    Attribute styleClass is not defined for af:selectItem
    If it will be so simple I will just add 5 style classes for each selectItem
    <af:selectItem label="text1" value="text1" id="si47" styleClass="yourClassName0"/>
    <af:selectItem label="text2" value="text2" id="si43" styleClass="yourClassName1"/>
    Should I use other component then adf facer rich?

  • LAF project : can I set the item prompt font through the CSS ?

    Hi,
    I'm implementing an application that is installed with multiple customers. I've added in the LAF jar and used the .GUIProperties to set the Item font and colours (so each customer can choose a LAF without rebuidling the system).
    However, whilst this works, is there a way that I can set the Prompt properties using the .GUIProperties in the CSS - I can't see one (looking in the getContainerContent(Container ct)) part of the jar.
    Is there a simple way of doing this ? (ie: set the prompts for the application through one call to the .GUIProperties in
    PKG_LOOK_AND_FEEL.Set_GUI_Properties( '.GUIProperties1', 'LAF_BLOCK.LAF_BEAN' ) ;
    TIA
    Steve

    Hello,
    Please, don't ask question about the LAF on this forum. Send your questions to the corresponding email : [email protected]
    Thank you in advance,
    Francois

  • How to change the grayed field font  in apex

    Hi,
    I need to change the grayed field item font ...
    ie i need to make disabled item value to be bright to achieve this what i have to do ...
    Regards,
    pavan

    ok make it html code in Java scrip as bold  and item level read only option with Read Only Element Table Cell(s) Attributes .
    i did your requirement in same my link.
    how it use? follow this thread.
    https://forums.oracle.com/thread/2555786

  • Font in a text area

    I am creating a word processor which allows for font changes. it works to change the font, but it will change previously entered font in addition. i do not want text that has already been entered to be changed by new settings. how can i accomplish this?
    for reference, this is an example of how i change the font:
    oldFont = textArea.getFont();
    textArea.setFont(new font(oldFont.getFontName(),Font.ITALIC,oldFont.getSize()));Thanks.

    Ok, so I implemented a text Pane setup. Though, it still does the same thing. Any time an option is modified, all of the text will change.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.text.BadLocationException;
    import javax.swing.text.DefaultStyledDocument;
    import javax.swing.text.SimpleAttributeSet;
    import javax.swing.text.Style;
    import javax.swing.text.StyleConstants;
    import javax.swing.text.StyleContext;
    import javax.swing.text.StyledDocument;
    public class wordTemp extends JFrame {
         private final int sizeValues[] = { 8, 9, 10, 11, 12, 14, 16, 18, 20, 25, 36, 48, 72};
         private final String fontNames[] = { "Serif", "Monospaced", "SansSerif" };
        private JRadioButtonMenuItem sizeItems[], fonts[];
        private JToggleButton boldButton, italicButton;
        private JTextPane textPane;
        private ButtonGroup fontGroup, sizeGroup;
            private Font oldFont;
            private StyleContext context = new StyleContext();
         private StyledDocument document = new DefaultStyledDocument(context);
         private Style style = context.getStyle(StyleContext.DEFAULT_STYLE);
        // set up GUI
        public wordTemp()
             super( "SimpWoPro - Simple Word Processor" );    
            // set up File menu and its menu items
            JMenu fileMenu = new JMenu( "File" );
            fileMenu.setMnemonic( 'F' );        
            // set up About... menu item
            JMenuItem aboutItem = new JMenuItem( "About SimpWoPro..." );
            aboutItem.setMnemonic( 'A' );                    
            fileMenu.add( aboutItem );                       
              aboutItem.addActionListener(
                 new ActionListener() {  // anonymous inner class
                      // display message dialog when user selects About...
                      public void actionPerformed( ActionEvent event )
                                  JOptionPane.showMessageDialog( wordTemp.this,
                               "This is a simple word processor \n     developed to show menus and ways \n of altering fonts in a \n text area.",
                               "About", JOptionPane.PLAIN_MESSAGE );
                     }  // end anonymous inner class
                ); // end call to addActionListener
                // set up Exit menu item
                JMenuItem exitItem = new JMenuItem( "Exit" );
                exitItem.setMnemonic( 'x' );                
                fileMenu.add( exitItem );                   
                exitItem.addActionListener(
                new ActionListener() {  // anonymous inner class
                   // terminate application when user clicks exitItem
                   public void actionPerformed( ActionEvent event )
                      System.exit( 0 );
                }  // end anonymous inner class
                ); // end call to addActionListener
                // create menu bar and attach it to MenuTest window
                JMenuBar bar = new JMenuBar();                    
                setJMenuBar( bar );                               
                bar.add( fileMenu );                              
                // create Format menu, its submenus and menu items
                JMenu formatMenu = new JMenu( "Font Type" ); 
                formatMenu.setMnemonic( 'r' );          
                // create size submenu
              String sizes[] = { "8", "9", "10", "11", "12", "14", "16", "18", "20", "25", "36", "48", "72"};
              JMenu sizeMenu = new JMenu( "Font Size" );
                sizeMenu.setMnemonic( 'S' );         
            sizeItems = new JRadioButtonMenuItem[ sizes.length ];
              sizeGroup = new ButtonGroup();                       
                ItemHandler itemHandler = new ItemHandler();
            // create size radio button menu items
            for ( int count = 0; count < sizes.length; count++ ) {
                     sizeItems[ count ] = new JRadioButtonMenuItem( sizes[ count ] );
                sizeMenu.add( sizeItems[ count ] );         
                    sizeGroup.add( sizeItems[ count ] );        
                sizeItems[ count ].addActionListener( itemHandler );
            // select first size menu item
            sizeItems[ 0 ].setSelected( true ); 
            // create Font submenu
                JMenu fontMenu = new JMenu( "Font" );
                fontMenu.setMnemonic( 'n' );        
                fonts = new JRadioButtonMenuItem[ fontNames.length ];
                fontGroup = new ButtonGroup();                      
               // create Font radio button menu items
                for ( int count = 0; count < fonts.length; count++ ) {
                 fonts[ count ] = new JRadioButtonMenuItem( fontNames[ count ] );
                 fontMenu.add( fonts[ count ] );                                
                 fontGroup.add( fonts[ count ] );                               
                   fonts[ count ].addActionListener( itemHandler );
            // select first Font menu item
                fonts[ 0 ].setSelected( true );
                // Create the bold button.
                boldButton = new JToggleButton( "Bold" );
                boldButton.addItemListener(
                   new ItemListener() {  // anonymous inner class
                       public void itemStateChanged(ItemEvent e) {
                           if (e.getStateChange() == ItemEvent.SELECTED) {
                                       StyleConstants.setBold(style, true);
                           else{
                                     StyleConstants.setBold(style, false);
                   } // end anonymous inner class
                // Create the italic button.
                italicButton = new JToggleButton( "Italic" );
                italicButton.addItemListener(
                   new ItemListener() {  // anonymous inner class
                       public void itemStateChanged(ItemEvent e) {
                           if (e.getStateChange() == ItemEvent.SELECTED) {
                                       StyleConstants.setItalic(style, true);
                           else{
                                     StyleConstants.setItalic(style, false);
                   } // end anonymous inner class
              // add Format menu to menu bar
                bar.add( fontMenu ); 
                bar.add( sizeMenu );
                bar.add( boldButton );
                bar.add( italicButton );
                   textPane = new JTextPane(document);
                JScrollPane scrollPane = new JScrollPane(textPane);
                getContentPane().add( scrollPane );
               setSize( 500, 200 );
                setVisible( true );
       } // end constructor
         public static void main( String args[] )
             wordTemp application = new wordTemp();
                application.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
            // inner class to handle action events from menu items
        private class ItemHandler implements ActionListener {
           // process size and font selections
           public void actionPerformed( ActionEvent event )
            // process size selection
                    for ( int count = 0; count < sizeItems.length; count++ ){
                        if ( event.getSource() == sizeItems[ count ] ) {
                             StyleConstants.setFontSize(style, sizeValues[count] );
                 // process font selection
                 for ( int count = 0; count < fonts.length; count++ ){
                     if ( event.getSource() == fonts[ count ] ) {
                             StyleConstants.setFontFamily(style, fontNames[count] );
             } // end method actionPerformed
            } // end class ItemHandler
    }How could I change this so that old text is not changed?
    Thanks.

  • Navbar font appears miniscule in some browsers

    Why does the Navbar font size appear miniscule in some browsers, but fine in others?
    My Website is paranormalstateillustrated.com
    I'm using iWeb '08 version 2.0.4, "Darkroom" theme.
    Navbar items appear miniscule in Safari version 3.1.2, but are "normal" when working in iWeb.
    Navbar items (font size) appear fine in Firefox version 3.0.3- BUT I've had someone else say the Navbar links are too small when they use Firefox. What could cause this difference?
    Should I just deselect the "Display navigation menu" in the Inspector, and build my own Navbar to help ensure all browsers display the same font/size?
    Thank you for your input!

    Roddy,
    Thank you for your quick reply. I found why the Navbar appears miniscule in my Safari browser, and why it looked small in someone else's Firefox browser. It has to do with the "Preferences" of each browser.
    SAFARI browser:
    Select "Preferences" from the Safari pull-down menu.
    Click on the "Appearance" tab.
    Select a "Standard font" size large enough so it doesn't appear too small. Times 14 works okay.
    FIREFOX browser:
    Select "Preferences" from Firefox pull-down menu.
    Select the "Content" tab.
    Pick a larger font size under the "Fonts & Colors" section of the "Content".
    That fixes the font size problem. It wasn't something "wrong" with iWeb.
    I do, however, like your explanation that viewer's are seeing paranormal!
    Thank you!

  • Problem when filling Node and Item tables for the metho add_nodes_and_items

    Hi Experts,
    I am facing problem when filling  Node and Item internal tables for the method add_nodes_and_items.
    as i have written the below logic:
      LOOP AT gt_partner INTO wa_partner.
        CLEAR lvs_tc_root.
        l_key = l_key + 1.
        lvs_tc_root-node_key   = l_key. "wa_partner-sndprn.
    *  lvs_tc_root-relatkey  = lvf_tc_node_key.
    *  lvs_tc_root-relatship = cl_gui_column_tree=>relat_last_child.
        lvs_tc_root-last_hitem = wa_partner-sndprn.
        lvs_tc_root-hidden     = ' '.
        lvs_tc_root-disabled   = ' '.
        lvs_tc_root-isfolder   = 'X'.
        lvs_tc_root-n_image    = icon_folder.
        lvs_tc_root-exp_image  = icon_folder.
        lvs_tc_root-expander   = 'X'.
        APPEND lvs_tc_root TO gvt_tc_node_table.
        CLEAR lvs_tc_root.
        lvs_tc_root-node_key   = 'A'.  "Successfull
        lvs_tc_root-relatkey   = l_key.
        lvs_tc_root-relatship  = cl_gui_column_tree=>relat_last_child.
        lvs_tc_root-last_hitem = wa_partner-sndprn.
        lvs_tc_root-hidden     = ' '.
        lvs_tc_root-disabled   = ' '.
        lvs_tc_root-n_image    = icon_green_light.
        APPEND lvs_tc_root TO gvt_tc_node_table.
        CLEAR lvs_tc_root.
        lvs_tc_root-node_key   = 'B'.  "Errors
        lvs_tc_root-relatkey   = l_key    .
        lvs_tc_root-last_hitem = wa_partner-sndprn.
        lvs_tc_root-hidden     = ' '.
        lvs_tc_root-disabled   = ' '.
        lvs_tc_root-n_image    = icon_red_light.
        APPEND lvs_tc_root TO gvt_tc_node_table.
        CLEAR lvs_tc_root.
        lvs_tc_root-node_key  = 'C'.  "Deleted
        lvs_tc_root-relatkey  = l_key .
        lvs_tc_root-last_hitem = wa_partner-sndprn.
        lvs_tc_root-hidden    = ' '.
        lvs_tc_root-disabled  = ' '.
        lvs_tc_root-n_image   = icon_yellow_light.
        APPEND lvs_tc_root TO gvt_tc_node_table.
    *   LOOP AT gt_partner_item INTO wa_partner_item WHERE sndprn = wa_partner-sndprn
        LOOP AT gt_partner INTO wa_partner_item WHERE sndprn = wa_partner-sndprn.
          CLEAR lvs_item.
          lvs_item-node_key   = l_key.
          lvs_item-item_name  = 'Column1'.
          lvs_item-text       = wa_partner-sndprn.
          lvs_item-class      = cl_gui_column_tree=>item_class_text.
          APPEND lvs_item TO gvt_tc_item_table. CLEAR lvs_item.
          lvs_item-node_key   = 'A'.
          lvs_item-item_name  = 'Column1'.
          lvs_item-text       = 'Successful'.
          lvs_item-class      = cl_gui_column_tree=>item_class_text.
          APPEND lvs_item TO gvt_tc_item_table. CLEAR lvs_item.
          lvs_item-node_key   = 'B'.
          lvs_item-item_name  = 'Column1'.
          lvs_item-text       = 'Errors'.
          lvs_item-class      = cl_gui_column_tree=>item_class_text.
          APPEND lvs_item TO gvt_tc_item_table. CLEAR lvs_item.
          lvs_item-node_key   = 'C'.
          lvs_item-item_name  = 'Column1'.
          lvs_item-text       = 'Deleted'.
          lvs_item-class      = cl_gui_column_tree=>item_class_text.
          APPEND lvs_item TO gvt_tc_item_table. CLEAR lvs_item.
        ENDLOOP.
      ENDLOOP.
      CALL METHOD go_tree->add_nodes_and_items
        EXPORTING
          node_table                     = gvt_tc_node_table
          item_table                     = gvt_tc_item_table
          item_table_structure_name      = 'MTREEITM'
        EXCEPTIONS
          failed                         = 1
          cntl_system_error              = 3
          error_in_tables                = 4
          dp_error                       = 5
          table_structure_name_not_found = 6.
    If the internal table has more than 1 record getting dump...Runtime Errors         MESSAGE_TYPE_X
    Plase let me know how to overcome the problem..
    Thanks,
    Rajasekhar
    Edited by: RajasekharReddy Nevali on Nov 29, 2010 3:43 PM
    Edited by: Neil Gardiner on Nov 30, 2010 12:41 PM

    Hi ,
    U can undestand the code and one more thing dynamically display record for automcally here i am using root nodes please look at that one Same requiremtn i done previously.
    cLEAR item.
      item-node_key = c_nodekey-root.    "partner1
      item-item_name = c_column-column1.
      item-class = cl_gui_column_tree=>item_class_text.
      item-alignment = cl_gui_column_tree=>align_at_top.
      item-font = cl_gui_column_tree=>item_font_prop.
      item-text = 'APPLICATION'.
      item-length = 30.
      APPEND item TO item_table.
      DATA:lv_name TYPE tv_itmname VALUE '1',
           lv_nkey TYPE i,
           lv_nkey2 TYPE i,
           lv_nkey_c TYPE string,
           lv_nkey_c2 TYPE string,
           lv_nkey_c3 TYPE string,
           lv_nkey_c4 TYPE string,
           LV_NKEY_C5 TYPE STRING,
           lv_itmkey TYPE i,
           lv_itmkey_c TYPE string,
           LV_INDEX TYPE I.
    ************************************************LOOP FOR APPLICATION*********
      LOOP AT i_otypes INTO wa_otypes.
        read table it_appl into wa_appl with key appl = wa_otypes-applic." BINARY SEARCH.
              if sy-subrc = 0.
                lv_apdes = wa_appl-text1.
              endif.
        CLEAR:item,lv_nkey_c.
        lv_nkey_c = sy-tabix.
        LV_INDEX = SY-TABIX.
        CONDENSE lv_nkey_c.
        CONCATENATE 'N' lv_nkey_c INTO lv_nkey_c.
        node-node_key = lv_nkey_c.
        node-relatkey = c_nodekey-root.
        node-relatship = cl_gui_list_tree=>relat_last_child.
        node-isfolder = 'X'.
        APPEND node TO node_table.
        CLEAR item.
        item-node_key = lv_nkey_c.
        item-item_name = c_column-column1.
        item-class = cl_gui_column_tree=>item_class_text.
        item-font = cl_gui_column_tree=>item_font_prop.
        item-text = wa_otypes-APPLIC.
        item-length = 30.
        APPEND item TO item_table.
         CLEAR item.
          item-node_key = lv_nkey_c.
          item-item_name = c_column-column2.
          item-class = cl_gui_column_tree=>item_class_text.
          item-font = cl_gui_column_tree=>item_font_prop.
          item-text = lv_apdes.
          item-length = 30.
          APPEND item TO item_table.
         v_acount = v_acount + 1.
         v_acount1 = v_acount1 + 1.
    clear lv_apdes.
    *****************************************LOOP FOR ARCHIV OBJECTS***************************
        loop at it_obj into wa_obj where applic = wa_otypes-applic.
          CLEAR:item,lv_nkey_c2.
          lv_nkey_c2 = SY-TABIX.
          CONDENSE lv_nkey_c2.
          CONCATENATE 'SN' lv_nkey_c2 INTO lv_nkey_c2.
          node-node_key = lv_nkey_c2.
          node-relatkey = lv_nkey_c.
          node-relatship = cl_gui_list_tree=>relat_last_child.
          node-isfolder = 'X'.
          APPEND node TO node_table.
          CLEAR item.
          item-node_key = lv_nkey_c2.
          item-item_name = c_column-column1.
          item-class = cl_gui_column_tree=>item_class_text.
          item-font = cl_gui_column_tree=>item_font_prop.
          item-text = wa_obj-object.
          item-length = 30.
          APPEND item TO item_table.
          CLEAR item.
          item-node_key = lv_nkey_c2.
          item-item_name = c_column-column2.
          item-class = cl_gui_column_tree=>item_class_text.
          item-font = cl_gui_column_tree=>item_font_prop.
          item-text = wa_obj-objtext.
          item-length = 30.
          APPEND item TO item_table.
    ****count all object for final displaying*******
         v_ocount1 = v_ocount1 + 1.
          LV_STR = LV_STR + 1.
         ENDLOOP.
    *********************LOOP FOR ARCH OBJECT ALL PROGRAMS*******************************************
       LOOP AT IT_PRG INTO WA_PRG WHERE OBJECT = WA_OBJ-OBJECT.
    ****************1PRG**********************
    IF wa_PRG-REORGA_PRG IS NOT INITIAL.
      read table it_trdirt into wa_trdirt with key name = wa_prg-reorga_prg BINARY SEARCH.
                  if sy-subrc = 0.
                  lv_text = wa_trdirt-text.
                  endif.
         CLEAR:item,lv_nkey_c3.
          data : v_no type sy-tabix.
          v_no = v_no + 1.
          lv_nkey_c3  =  v_no.
          CONDENSE lv_nkey_c3.
          CONCATENATE 'SSN' lv_nkey_c3 INTO lv_nkey_c3.
          node-node_key = lv_nkey_c3.
          node-relatkey = lv_nkey_c2.
          node-relatship = cl_gui_list_tree=>relat_last_child.
          node-isfolder = 'X'.
          NODE-N_image =' '.
          APPEND node TO node_table.
           CLEAR NODE.
          CLEAR item.
          item-node_key = lv_nkey_c3.
          item-item_name = c_column-column1.
          item-class = cl_gui_column_tree=>item_class_text.
          item-font = cl_gui_column_tree=>item_font_prop.
          item-text = 'WRIT'."wa_PRG-REORGA_PRG.
          item-length = 30.
          APPEND item TO item_table.
          CLEAR item.
          item-node_key = lv_nkey_c3.
          item-item_name = c_column-column2.
          item-class = cl_gui_column_tree=>item_class_text.
          item-font = cl_gui_column_tree=>item_font_prop.
          item-text = 'WRITE PROGRAM'."lv_text."'WRITE PROGRAM'.
          item-length = 30.
          APPEND item TO item_table.
           clear lv_text.
    ************************SSSN NODE***********************
            CLEAR:item,lv_nkey_c4.
          data : v_no1 type sy-tabix.
          v_no1 = v_no1 + 1.
          lv_nkey_c4  =  v_no1.
          CONDENSE lv_nkey_c4.
          CONCATENATE 'SSSN' lv_nkey_c4 INTO lv_nkey_c4.
          node-node_key = lv_nkey_c4.
          node-relatkey = lv_nkey_c3.
          node-relatship = cl_gui_list_tree=>relat_last_child.
         node-isfolder = 'X'.
          NODE-N_image =' '.
          APPEND node TO node_table.
           CLEAR NODE.
          CLEAR item.
          item-node_key = lv_nkey_c4.
          item-item_name = c_column-column1.
          item-class = cl_gui_column_tree=>item_class_text.
          item-font = cl_gui_column_tree=>item_font_prop.
          item-text = wa_PRG-REORGA_PRG.
          item-length = 30.
          APPEND item TO item_table.
          CLEAR item.
          item-node_key = lv_nkey_c4.
          item-item_name = c_column-column2.
          item-class = cl_gui_column_tree=>item_class_text.
          item-font = cl_gui_column_tree=>item_font_prop.
          item-text = lv_text."'WRITE PROGRAM'.
          item-length = 30.
          APPEND item TO item_table.
            clear lv_text.
    *******COUNT TYPE WRITE PROGRAMS****************
          V_WCOUNT = V_WCOUNT + 1.
    CLEAR item.
    V_WCOUNT = V_WCOUNT.
          item-node_key = lv_nkey_c3.
          item-item_name = c_column-column3.
          item-class = cl_gui_column_tree=>item_class_text.
          item-font = cl_gui_column_tree=>item_font_prop.
          item-text = V_WCOUNT."lv_text."'WRITE PROGRAM'.
          item-length = 30.
          APPEND item TO item_table.
          CLEAR V_WCOUNT.
    ENDIF.
    *endif.
    *****************2PRG*****************
    IF wa_PRG-RETRIE_PRG IS NOT INITIAL.
    read table it_trdirt into wa_trdirt with key name = wa_prg-retrie_prg.
                  if sy-subrc = 0.
                  lv_text = wa_trdirt-text.
                  endif.
         CLEAR:item, NODE, lv_nkey_c3.
          v_no = v_no + 1.
          lv_nkey_c3  =  v_no.
          CONDENSE lv_nkey_c3.
          CONCATENATE 'SSN' lv_nkey_c3 INTO lv_nkey_c3.
          node-node_key = lv_nkey_c3.
          node-relatkey = lv_nkey_c2.
          node-relatship = cl_gui_list_tree=>relat_last_child.
          node-isfolder = 'X'.
          APPEND node TO node_table.
          CLEAR item.
          item-node_key = lv_nkey_c3.
          item-item_name = c_column-column1.
          item-class = cl_gui_column_tree=>item_class_text.
          item-font = cl_gui_column_tree=>item_font_prop.
          item-text = 'successful'."wa_PRG-RETRIE_PRG.
          item-length = 30.
          APPEND item TO item_table.
          CLEAR item.
          item-node_key = lv_nkey_c3.
          item-item_name = c_column-column2.
          item-class = cl_gui_column_tree=>item_class_text.
          item-font = cl_gui_column_tree=>item_font_prop.
          item-text = 'sucessful PROGRAM'.
          item-length = 60.
          APPEND item TO item_table.
    *********************************SSSN NODE*******************************
           CLEAR:item,lv_nkey_c4,node.
         data : v_no1 type sy-tabix.
          v_no1 = v_no1 + 1.
          lv_nkey_c4  =  v_no1.
          CONDENSE lv_nkey_c4.
          CONCATENATE 'SSSN' lv_nkey_c4 INTO lv_nkey_c4.
          node-node_key = lv_nkey_c4.
          node-relatkey = lv_nkey_c3.
          node-relatship = cl_gui_list_tree=>relat_last_child.
         node-isfolder = 'X'.
          NODE-N_image =' '.
          APPEND node TO node_table.
           CLEAR NODE.
          CLEAR item.
          item-node_key = lv_nkey_c4.
          item-item_name = c_column-column1.
          item-class = cl_gui_column_tree=>item_class_text.
          item-font = cl_gui_column_tree=>item_font_prop.
          item-text = wa_PRG-RETRIE_PRG.
          item-length = 30.
          APPEND item TO item_table.
          CLEAR item.
          item-node_key = lv_nkey_c4.
          item-item_name = c_column-column2.
          item-class = cl_gui_column_tree=>item_class_text.
          item-font = cl_gui_column_tree=>item_font_prop.
          item-text = lv_text."'WRITE PROGRAM'.
          item-length = 30.
          APPEND item TO item_table.
            clear lv_text.
    **********COUNT THE RELOADPR*******************
              V_WCOUNT = V_WCOUNT + 1.
    CLEAR item.
    V_WCOUNT = V_WCOUNT.
          item-node_key = lv_nkey_c3.
          item-item_name = c_column-column3.
          item-class = cl_gui_column_tree=>item_class_text.
          item-font = cl_gui_column_tree=>item_font_prop.
          item-text = V_WCOUNT."lv_text."'WRITE PROGRAM'.
          item-length = 30.
          APPEND item TO item_table.
          CLEAR V_WCOUNT.
    ENDIF.
    ENDIF.
    ****************3PRG**********************
    IF wa_PRG-DELETE_PRG IS NOT INITIAL.
    read table it_trdirt into wa_trdirt with key name = wa_prg-delete_prg.
                  if sy-subrc = 0.
                  lv_text = wa_trdirt-text.
                  endif.
         CLEAR:item, NODE, lv_nkey_c3.
          v_no = v_no + 1.
          lv_nkey_c3  =  v_no.
          CONDENSE lv_nkey_c3.
          CONCATENATE 'SSN' lv_nkey_c3 INTO lv_nkey_c3.
          node-node_key = lv_nkey_c3.
          node-relatkey = lv_nkey_c2.
          node-relatship = cl_gui_list_tree=>relat_last_child.
          node-isfolder = 'X'.
          APPEND node TO node_table.
          CLEAR item.
          item-node_key = lv_nkey_c3.
          item-item_name = c_column-column1.
          item-class = cl_gui_column_tree=>item_class_text.
          item-font = cl_gui_column_tree=>item_font_prop.
          item-text = 'DELETE'."wa_PRG-DELETE_PRG.
          item-length = 30.
          APPEND item TO item_table.
          CLEAR item.
          item-node_key = lv_nkey_c3.
          item-item_name = c_column-column2.
          item-class = cl_gui_column_tree=>item_class_text.
          item-font = cl_gui_column_tree=>item_font_prop.
          item-text = 'NAME OF DELETE PROGRAM'.
          item-length = 60.
          APPEND item TO item_table.
           CLEAR:item,lv_nkey_c4,node.
         data : v_no1 type sy-tabix.
          v_no1 = v_no1 + 1.
          lv_nkey_c4  =  v_no1.
          endloop.

  • How to prevent RSS Viewer web part from overriding list-item CSS style?

    I am using SharePoint Online. I have a web part page with a number of web parts with links. Font size of the links is ~12px.
    If I add an RSS Viewer web part to the page, then it overrides the 'list-item' class CSS Style to something like 8px, which is unreadable.
    To correct this I have tried the following:
    1. Added the following code to a Script Editor Web Part on same page:
    <style type="text/css">
    .item link-item
    font-size:20px !important;
    .link-item
    font-size:20px !important;
    </style>
    2. Completely deleted all XSL from the RSS Viewer web part and replaced it with very simple formatting code which format the links within the RSS web part to 16px - but still the other links are set to 8px.
    3. Linked a custom style sheet to the relevant master page and set the link-item classes in there, ensuring that it is executed after the standard SharePoint css.
    ...but nothing works!
    It appears that, as soon as the RSS Viewer web part is added to the page it overrides the list-item style and then will not release it even if all the XSL within the web part is deleted!
    On deleting the RSS Viewer from the page and saving it, the links font size returns to normal.
    Does anyone have a fix/work around for this?
    Thanks in advance,
    Jimmy

    Hi Jimmy,
    I recommend to use “.link-item a” instead as the code below to change the font size of the links:
    <style>
    .link-item a
    font-size:20px !important;
    </style>
    And I tested the code above in my environment and it worked fine.
    Best regards,
    Thanks
    Victoria Xia
    TechNet Community Support

  • Embedding fonts at runtime in Adobe AIR

    I'm trying to register fonts that are stored in an external SWF, and embed them at runtime into an Adobe AIR application. I'm currently using a File object to load the SWF, but am not sure how to register the fonts after that. Anyone has any ideas? Thanks!

    This is the code I have. Basically I hit a button, a file open dialog comes up, and then I use a Loader to load the SWF. But how do I register the font after that? Is what I'm doing in fontLoaded() correct?
    Thanks!
    ZQ
    --- Code ---
    import flash.utils.describeType;
                import mx.controls.SWFLoader;
                private var myFontFile: FileReference = new FileReference();
                private var myFont: File = new File();
                private function initApp(): void
                    var embeddedFonts: Array = Font.enumerateFonts(false);
                    trace ("=== BEFORE ===");
                    for (var i: int = 0; i < embeddedFonts.length; i++)
                        var item: Font = embeddedFonts[i];
                        trace("["+i+"] name: "+item.fontName + ", style: "+ item.fontStyle+", type: "+item.fontType);
                    btnLoadFont.addEventListener(MouseEvent.CLICK, loadFont);
                private function loadFont(e: MouseEvent): void
                    myFont.browseForOpen("Select Font");
                    myFont.addEventListener(Event.SELECT, fontSelect);
                private function fontSelect(e: Event): void
                    trace("File: "+myFont.url);
                    var loader: Loader = new Loader();
                    var context: LoaderContext;
                    var loaderInfo: LoaderInfo = loader.contentLoaderInfo;
                    loaderInfo.addEventListener(Event.COMPLETE, fontLoaded);
                    context = new LoaderContext( true, new ApplicationDomain( ApplicationDomain.currentDomain ) );
                    loader.load(new URLRequest(myFont.url), context);
                private function fontLoaded(e: Event): void
                    trace(e.target);
                    var FontLibrary:Class = ApplicationDomain((e.target as LoaderInfo).applicationDomain).getDefinition('_Verdana') as Class;
                    Font.registerFont(FontLibrary);
                    var embeddedFonts: Array = Font.enumerateFonts(false);
                    trace("=== AFTER ===");
                    for (var i: int = 0; i < embeddedFonts.length; i++)
                        var item: Font = embeddedFonts[i];
                        trace("["+i+"] name: "+item.fontName + ", style: "+ item.fontStyle+", type: "+item.fontType);

  • List item - Record Group Query - Alignment improper Order

    Dear All,
    When am trying to concatenate two columns using record group query and displaying in the list item, the alignment is not in proper order.
    E.g; Below is the columns and data's used in process:
    CODE_VALUE     SHORT_DESC     DESCRIPTION
    ROLL1     Customer - Non accidental     Production, booking with other carrier, bad projection.
    ROLL2     Customer - Accidental     L/C, B/L draft, Customs, Samples, AMS, LAR.
    ROLL3     ABC - Lack of empty     Lack of empty units.
    ROLL4     ABC CDE - Roll over     AGR RRR decision.
    ROLL5     ABC XXX - Accidental     IMO or OOG refused, operational problems, Cut & Run.
    ROLL6     ABC YYY - Fictive booking     Equipment buffer, dummy booking.
    Below is the record group query used in forms:
    PROCEDURE p_when_new_form_instance
    IS
    GROUP_ID recordgroup;
    list_id item := FIND_ITEM ('BLK_CONTROL.LI_ROLL_REASON');
    rg_name VARCHAR2 (20) := 'LI_ROLL_REASONS';
    status NUMBER;
    l_query VARCHAR2 (4000);
    BEGIN
    l_query :=
    'SELECT rpad(short_desc,50,'' '')||'' | ''||description description, code_value code_value FROM codes WHERE code_value IN (''ROLL1'', ''ROLL2'', ''ROLL3'',''ROLL4'',''ROLL5'',''ROLL6'')';
    GROUP_ID := CREATE_GROUP_FROM_QUERY (rg_name, l_query);
    status := POPULATE_GROUP (GROUP_ID);
    POPULATE_LIST (list_id, GROUP_ID);
    EXCEPTION
    WHEN OTHERS
    THEN
    pl_common.when_others;
    END;
    Moreover i have my list item font property by default as ""MS SANS SERIF" and when i run in Forms Builder am getting the alignment as below.
    Result:
    ====
    DESCRIPTION     CODE_VALUE
    Customer - Non accidental | Production, booking with other carrier, bad projection.     ROLL1
    Customer - Accidental | L/C, B/L draft, Customs, Samples, AMS, LAR.     ROLL2
    ABC - Lack of empty | Lack of empty units.     ROLL3
    ABC CDE - Roll over | AGR RRR decision.     ROLL4
    ABC XXX - Accidental | IMO or OOG refused, operational problems, Cut & Run.     ROLL5
    ABC YYY - Fictive booking | Equipment buffer, dummy booking.      ROLL6
    Above order is not the expected result as all the |(pipe) symbol should display in proper order as below.
    Expected Result:
    ==========
    DESCRIPTION     CODE_VALUE
    Customer - Non accidental | Production, booking with other carrier, bad projection.     ROLL1
    Customer - Accidental | L/C, B/L draft, Customs, Samples, AMS, LAR.     ROLL2
    ABC - Lack of empty | Lack of empty units.     ROLL3
    ABC CDE - Roll over | AGR RRR decision.     ROLL4
    ABC XXX - Accidental | IMO or OOG refused, operational problems, Cut & Run.     ROLL5
    ABC YYY - Fictive booking | Equipment buffer, dummy booking.      ROLL6
    I tried with RPAD and LPAD still the alignment issue is there; i know the issue is because of invariable length of the font.
    But is there any solution to override this it will be of great help.
    So please help!!!!!!!!!!!!!!!!!
    Thanks..................
    Regards,
    Sunil.G

    Hi Francois,
    Thanks for your reply. I have tried changing the font to "Courier(Western)" it is working fine.
    But as per the standards defined, it should be "Ms Sans Serif" nothing apart from that.So that is where the problem lies. :(
    Regards,
    Sunil.G

Maybe you are looking for

  • Custom Tag not evaluating expression in attribute

    I have a custom tag that needs to take dynamic values in the attributes, but I can't seem to get the values "interpreted" correctly. I have the <rtexprvalue> tag set to "true" in my .tld file, which I thought was the only thing that was needed in ord

  • Can you Tween custom properties?

    Can you directly tween some property other than "_x", "_y"...physical on-screen built-in properties? Or would I pretty much have to do some trickery with event listeners and do some calculations based on one tween to make another tween (with easing)

  • Why a simple php syntax checker extension doesn't exist yet for Dreamweaver CS4 ?

    Hello, my request is in the subject ;-) I remember a very useful extension in Golive CS8/9 that did exactly that : Duplicate from DW the currently edited php/html page to a temp file Send the temp file to the command line : "/path/to/php -l /path/to/

  • Speedy sublcipping - stay on initial clip after CMD+U?

    Hello fellow editors, I'll jump straight to it - I'm viewing a clip, I select time with I-O, then press Cmd+U and hit OK. Then I jump to a newly created subclip. Is there a way to avoid it and stay on initial clip to make few more subclips? And secon

  • Failed recordings on BBC4

    I have  BT youview box model T2110 and I've noticed i'm getting intermittent "Recording failed" when i try to record some BBC4 programs. Anyone any idea what the problem may be? Thanks Tony