Attribute size doesn't work in selectone_listbox

i'm trying to display a listbox with 12 items using this:
<h:selectone_listbox
title="#{bundle.funciones_noinscritas}"
styleClass="listbox"
size="12"
id="listUnRegistered"
value="#{admin.selectedFuncion}">
<f:selectitems value="#{admin.funcionesNoInscritasList}" />
</h:selectone_listbox>but it's rendered with all the items in admin.funcionesNoInscritasList.
what i'm doing wrong? somebody can help me, please?

This behavior is actually correct according to the beta spec, which says that this component always displays all the items - though a bug that "size" was accepted at all as an attribute on the tag.
However: this is currently going to change for the final release. selectone_listbox and selectmany_listbox will support "size" as you'd expect. selectone_menu and selectmany_menu will not support "size" (and the tags won't contain "size").
So, I'd either:
- Leave your code as is, and it'll display right in 1.0 without change.
- Use <h:selectone_menu> with size="12", but be ready to change your code for 1.0
-- Adam Winer

Similar Messages

  • About:config tabs min size doesn't work

    about:config tabs min size doesn't work.

    The about:config settings for setting tab widths have been removed from Firefox 4, to set tab width you can use the Custom Tab Width extension - https://addons.mozilla.org/firefox/addon/custom-tab-width

  • Custom Page Sizes doesn't work

    I have set up a few custom page sizes but when I try to used them, it doesn't work. Well once in blue moon it does.
    I can't find a consistent way that it does. I have read all the online help and followed the process to the letter, but when I select the page size under Paper Size it doesn't change the paper size.

    J,
    There definitely are problems with Custom Page sizes. I don't have enough specifics to formulate what I would consider good feedback to Apple, something that they could easily act on.
    I can tell you that if you set your System Preferences > International > Formats > Measurement Units: US and Set your Pages > Preferences... > Rulers > Ruler Units: Inches, you can create the size you want and it will stay selected and not pop back to the default. Here's what I have:
    Again, I know that there's a problem. If you wish, you can use the setup I outlined and get the job done and later take up the cause of fixing whatever is going on with the CM units.
    To Fruhulda, you noted that 9 cm by 6 cm is a size that fails as J described - and I confirmed here. However to get a successful size I found that I could use 3.53" X 2.35" (8.97CM X 5.97CM), a very close compromise. There clearly are problems with measurement units in Page Setup.
    Regards,
    Jerry

  • JTextField - Setting the column size doesn't work. Help, please.

    Hi,
    I want to set the column size of a text field from another text field by the input from the user. However, it just doesn't work. The following is my code. Just check out the last anonymous inner class action listener. Somehow i can get the user text, but it just doesn't work.
    Thanks for any helpful inputs.
    * Introduction to Java Programming: Comprehensive, 6th Ed.
    * Excercise 15.11 - Demonstrating JTextField properties, dynamically.
    * @Kaka Kaka
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.border.Border;
    import javax.swing.border.LineBorder;
    import javax.swing.border.TitledBorder;
    public class Ex15_11 extends JFrame{
        // Create two text fields and three radio buttons
        private JTextField jtfUserText = new JTextField(10);
        private JTextField jtfColumnSize = new JTextField(new Integer(10));
        private JRadioButton jrbLeft = new JRadioButton("Left");
        private JRadioButton jrbCenter = new JRadioButton("Center");
        private JRadioButton jrbRight = new JRadioButton("Right");
        public static void main(String[] args){
            Ex15_11 frame = new Ex15_11();
            frame.pack();
            frame.setTitle("Excercise 15.11 - Text Field Property");
            frame.setLocationRelativeTo(null);
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            frame.setVisible(true);
        // Start of Constructor
        public Ex15_11(){
            // Set the the frame layout
            setLayout(new BorderLayout(5, 5));
            // Create three panels and two labels
            JPanel jpText = new JPanel();
            JPanel jpHorizontalAlignment = new JPanel();
            JPanel jpColumn = new JPanel();
            JLabel jlblTextField = new JLabel("Text Field");
            JLabel jlblColumn = new JLabel("Column Size");
            // Create a button group for the radio buttons to be grouped
            ButtonGroup group = new ButtonGroup();
            // Group the radio buttons
            group.add(jrbLeft);
            group.add(jrbCenter);
            group.add(jrbRight);
            // set a titled border for a panel
            jpHorizontalAlignment.setBorder(new TitledBorder("Horizontal Alignment"));
            // Create a line border
            Border lineBorder = new LineBorder(Color.BLACK, 1);
            // the all the components to their corresponding panels
            jpText.add(jlblTextField);
            jpText.add(jtfUserText);
            jpHorizontalAlignment.add(jrbLeft);
            jpHorizontalAlignment.add(jrbCenter);
            jpHorizontalAlignment.add(jrbRight);
            jpColumn.setBorder(lineBorder);
            jpColumn.add(jlblColumn);
            jpColumn.add(jtfColumnSize);
            // add the panels to the frame
            add(jpText, BorderLayout.NORTH);
            add(jpHorizontalAlignment, BorderLayout.WEST);
            add(jpColumn, BorderLayout.EAST);
            jrbLeft.addActionListener(new ActionListener(){
                // Handle event
                public void actionPerformed(ActionEvent e) {
                    jtfUserText.setHorizontalAlignment(SwingConstants.LEFT);
            jrbCenter.addActionListener(new ActionListener(){
                // Handle event
                public void actionPerformed(ActionEvent e) {
                    jtfUserText.setHorizontalAlignment(SwingConstants.CENTER);
            jrbRight.addActionListener(new ActionListener(){
                // Handle event
                public void actionPerformed(ActionEvent e) {
                    jtfUserText.setHorizontalAlignment(SwingConstants.RIGHT);
            // Register the listener for the coloum size
            jtfColumnSize.addActionListener(new ActionListener(){
                // Handle event
                public void actionPerformed(ActionEvent e) {
                    System.out.println(Integer.parseInt(jtfColumnSize.getText()));
                    jtfUserText.setColumns(Integer.parseInt(jtfColumnSize.getText()));
    }Edited by: ChangBroot on Dec 16, 2008 6:13 PM

    don't forget to revalidate the JPanel after changing the components it holds:
        jtfColumnSize.addActionListener(new ActionListener()
          // Handle event
          public void actionPerformed(ActionEvent e)
            System.out.println(Integer.parseInt(jtfColumnSize.getText()));
            jtfUserText.setColumns(Integer.parseInt(jtfColumnSize.getText()));
            jpText.revalidate();
        });This will tell the jpText JPanel's layout manager to relayout the components that this JPanel holds. It should resize your JTextField. Note that in order to call this from within the anonymous inner ActionListener jpText will need to be declared "final". Either that or declared as a class field.

  • Xdofo attribute "widows" doesn't work

    Hi Gurus,
    I am working on an invoice report and need to make sure there is at least one invoice line on the page where the electronic signature is. I play with the xdofo attribute "widows", but it doesn't do the job, ie it didn't "push" an invoice line into the next page when there is not enough space for the electronic signature on current page.
    Any suggestions?
    Thank you!

    This behavior is actually correct according to the beta spec, which says that this component always displays all the items - though a bug that "size" was accepted at all as an attribute on the tag.
    However: this is currently going to change for the final release. selectone_listbox and selectmany_listbox will support "size" as you'd expect. selectone_menu and selectmany_menu will not support "size" (and the tags won't contain "size").
    So, I'd either:
    - Leave your code as is, and it'll display right in 1.0 without change.
    - Use <h:selectone_menu> with size="12", but be ready to change your code for 1.0
    -- Adam Winer

  • Reduce File Size doesn't work!

    When I click the (new) option 'Reduce File Size' in Keynote '09 the app prompts a estimated new size which is smaller than the current size. When I click on 'Reduce' the app doesn't do anything except for showing an error report which tells me something like: "..the file size was not reduced", for all of the files included. They are just regular .jpg/.png and .psd files. Did anyone else notice this bug..?

    PeterBreis0807 wrote:
    I'd say if it is a very large file with multiple large images, it might not be actually freezing, just taking its sweet time.
    It's why I leave Activity Monitor running when I use iWork applications.
    This way, I know ifd the app is dead or if it's heavily busy.
    Either that or it has nothing to do. It trims and reduces the resolution of bitmap images to 72dpi. There will be a fair bit of work if you have transparency in the document.
    It doesn't do a very good job IMHO and to reduce the file by 90% is a big ask.
    The 'Reduce FileSize' feature isn't linked to the 'export to PDF' feature.
    As explained, before applying "Reduce file size" it's good practice to "Reduce Image File Size".
    This will drop the parts of the pictures which aren't displayed.
    The asked task doesn't imply a reduction of the pictures by 90%.
    As I already wrote several times, it's more efficient to crop images to the really used area *_before inserting them in a Pages document_*.
    A Pages document is huge by nature because the Index.xml file describing its contents is highly verbose.
    If the document was saved with the 'embed Preview.pdf' feature active, the size of this PDF is adding a lot of used space.
    I'd print to pdf and reduce the quality in Acrobat Pro.
    Most of us don't own Acrobat Pro.
    I feel that it would be a bit silly to buy an application whose price is : 450$ as a complement for a 80$ set of applications.
    Before doing that, I would
    (a) crop pictures before inserting them
    (b) try to enhance Pages behaviour for free installing enhanced PDF filters.
    Yvan KOENIG (VALLAURIS, France) dimanche 29 août 2010 09:53:44

  • Minimum Font Size doesn't work

    I've set Tools > Options > Content : Fonts & Colors > Advanced > Minimum Font Size to 10 pt, but when I use Zoom Out, I get smaller fonts: The relation between font sizes on a page is kept.
    What I want is FF 1.5 behavior: Minimum Font Size is honored even on Zoom Out, which results in shrinking the headlines only and finally ending with all Text in the same size after some repetitions of Zoom Out.
    I have disabled Tools > Options > Content : Fonts & Colors > Advanced > "Allow pages to choose their own fonts, instead of my selections above".
    I have set Minimum Font Size for several encodings, but maybe the reason for the current behavior is a missing UTF-8 setting in the Tools > Options > Content : Fonts & Colors > Advanced > "Fonts for" listbox ? Most pages including this support.mozilla.com use that encoding.

    Main Menu -> View -> Zoom -> Zoom Text Only

  • SimpleFormSelect Tag Property 'Size' Doesn't Work!

    Hello, I have created a JSP that uses the SimpleFormSelect Tag, and I have a problem with the size property of it:
    <SimpleForm name="testForm" target="xxx.jsp" method="post">
    <SimpleFormSelect name="testSelect" displaymode="list" size="10">
    <SimpleFormOption value="1">number 1</SimpleFormOption>
    <SimpleFormOption value="2">number 2</SimpleFormOption>
    <SimpleFormOption value="3">number 3</SimpleFormOption>
    </SimpleFormSelect>
    </SimpleForm>
    This should display a list box that is 10 items high, but the height remains at 1. What am I doing wrong?

    Try using multiple="true". Look at the following example: http://otn.oracle.com/docs/products/ias/doc_library/90200doc_otn/wireless.902/a90485/xml4.htm#1033402
    Kalle

  • Array Size doesn't work correctly after "Auto-indexed Tunnel"

    Array Size returns value even if Empty Array is detected after "Auto-indexed Tunnel" tha generates 2D array.
    See example + VI with correct output as I expected.
    OR
    There is problem with generating 2D array --- It's empty. 1D array is generated in right way. 100 x 0 but not Emptu Array.
    Attachments:
    ArraySize_Bug.vi ‏9 KB
    ArraySize_Corrected.vi ‏19 KB

    Not a bug. This is correct behavior that is consistent with other parts of LabVIEW.
    The decision to handle multi-dimensional arrays like this was made long ago and is an enshrined part of the LabVIEW language spec. It will not be changed.

  • Cfdocument doesn't work with my font size

    Hi All,
    My font size doesn't work inside my cfdocument using css
    Here is my code:
    In My css file I have this:
    body {     font-family:"times new roman";     font-size: 18px;     line-height: 20px; } 
    The font is a TTF and it shows in my cfadmin as:
    Font Family Font Face Postscript Name Font Type Useable In Path
    times new roman
    Times New Roman
    TimesNewRomanPSMT
    TRUETYPE
    PDF/FlashPaper
    c:\windows\fonts\times.ttf
    I try using postscript name and the same issue. If I increase the font size it actually reduce the size on the screen.
    I'm using windows 2008 with CF8 with the latest hotfix 8,0,1,195765
    Any ideas?
    Thanks in advance.
    Johnny

    Don't know why didn't show my code.
    Here is the code:
    <cfdocument format="flashpaper" pagetype="letter" fontembed="yes" margintop="0.3" marginbottom="1.25" marginleft="1" marginright="1.25" unit="in">
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" >
    <head>
        <style type="text/css" media="screen">
            @import url(assets/css/preview.css);
        </style>
    </head>

  • Since upgrade, I can't now tell the size of attachments added to email and the attachment link from the icon doesn't work properly. How can these be addressed?

    Since the upgrade to mozilla and to windows was installed on my computer, when I use my hotmail account with mozilla, I now cannot tell the size of attachments. Previously you could see the size of attachments but now when the cursor passes over the attachment, this works on Internet explorer but not Mozilla. Also, the icon for attachments often doesn't work, nor the "send as an online document" nor the "No thanks" icon.

    The "Use custom settings for history" selection allows to see the current history and cookie settings, but selecting this doesn't make any changes to history and cookie settings.
    Firefox shows "Use custom settings for history" as an indication that at least one of the history and cookie settings is not the default to make you aware that changes were made.
    If all History settings are default then the custom settings are hidden and you see "Firefox will: (Never) Remember History".
    "Never Remember History" means that Private Browsing is active and "Always use private browsing mode" gets a checkmark.
    You need to remove the checkmark on "Always use private browsing mode" to leave Private Browsing mode or chose the "Remember History" setting.
    *https://support.mozilla.org/kb/Private+Browsing

  • Hit something when editing presentation and now slides are all reduced in size and not filling screen.  Preferences, scale to fit doesn't work.  What did I do?

    Hit something when editing presentation and now slides are all reduced in size and not filling screen.  Preferences, scale to fit doesn't work.  What did I do?

    Please give complete details of your system and the media and the project properties.

  • Visually handicap, needs to increase font size in logic pro, Command  doesn't work

    Hi,
         I'm visually handicapped, and new to logic-pro.  I'm having a miserable time reading the internal logic-pro fonts.  Command + doesn't work, and I can't find any preferrence or settings options that affect the default font sizes, any ideas?

    Unfortunately you cannot change the font size of the main fonts in Logic...
    However, there are a couple of other settings you may not be aware of...
    1) Under Logic Pro's preferences... go to Display
    Now you can change the size of the playhead and Local Windows under the General Tab
    You can increase the size of the Logic plugin windows/fonts sizes under the Mixer Tab (I have mine set to 200%)
    Note: This setting does not apply to 3rd party plugins.. only Logic's own plugins...
    Under the Piano Roll tab you can change the size of Bar/Beats/Division Lines...
    2) Using the screen zoom command... Hold down control and scroll on your mouse... will zoom in the screen...
    Note: as you are using Mountain Lion there is also a new setting under System Preferences/Accessability
    Choose Zoom on the left hand side
    Now choose Zoom Style/Picture in Picture and instead of a full screen zoom it provides you with a magnifying glass of sorts to just magnify the area arund your mouse pointer. I find this setting very useful....
    Hope this helps...

  • Finder show items in columns an item arrangement selected: Right size this column doesn't works

    like the title says, under these condition (note that an item arrangement must be selected) the “right sized” to the maximum width, necessary to display the longest item in the column, doesn't works even with a double click or choosing "Right size this column" option (in both cases the column is set to the default size).
    Anyone else experience this issue?

    You understand me well, sorry I'm not native English.
    Have you selected an item arrangement? if I select "None" it works for me too, the issue is when I select an item arrangement (arrange by Kind for example).
    My setting:
    Finder > View > Show View Options:
    - Always open in column views: SELECTED
    - Browse in column view: SELECTED
    - Arrange By: Kind
    - Sort By: Name
    - Text size: 12
    - the "three show" SELECTED
    Under the above conditions I've the issue, the column isn't resized.

  • IMovie 10.0.1:  Stabilization doesn't work.  I have tried several times, it just grays out.  Also, fonts, font size, color of title not working.  What's the skinny?

    IMovie 10.0.1:  Stabilization doesn't work.  I have tried several times, it just grays out.  Also, fonts, font size, color of title not working.  What's the skinny?

    PROBLEM SOLVED!
    I went to my device manager on my Windows 7 PC and found the Bonjour service in my Services and Applications section. I set it to manual and BANG iTunes started working like it's supposed to.
    Unfortunately, I let my IPad get stolen on 17 Jan so I'll probably wait until after April to replace it with an IPAD 2!

Maybe you are looking for

  • Report for displaying Customer follow up list

    Hi all, We are looking for a SAP standard program which can display the details (for maintaining clear notes in the system to allow visibility on the customer account status), in order to plan the phone calls/follow up to be made to customers during

  • Problem while transporting transfer rules in BW 3.5

    Hi All, I have a problem while transporting transfer rules in BW 3.5. I have just checked the box for conversion to Transfer structure / Transfer rules of an infoobject and tried to transport it to quality. I got this below error message: The selecti

  • Help me please!!! lightsnake usb guitar gb2

    I have been using Garageband ever since I've recieved my iBook about a year and a half ago. Ive been using it with a lightsnake (guitar input / usb) and ive been getting fair results with it, and then one day... poof. every time I try to connect it t

  • Converting Pages PostScript file to PDF

    Can someone with a similar setup test this Pages PS file technique out and see if you can do it? This was a tip from a Pages User/Blogger, as a way to get truer color printing of a Pages doc when moving it from the 3-color screen version to a four co

  • Does Intune Company Portal in mobile devices notify app updates?

    Hi, Does Intune Company Portal in mobile devices notify app updates? And if we retire the devices from company portal, the apps we just previously installed from the company portal app will be uninstalled automatically?