Rich:toolBar in a JSF page:how to avoid horizontal scrollbars?

Hi,
I have a rich:toolBar. I create this toolbar from a backing bean class. I have around 19 dropdown menus in the toolbar. So when the toolbar renders, the length (i mean, width) of the toolbar exceeds the page width. This causes the browser to add a horizontal scrollbar. I do not want this scrollbar. My requirement is like this:
when the width of the toolbar is more than the screen width, the rest of the menus must be added to another DropdownMenu.This menu will be the last menu and it will contain all the menus which cant be viewed when the toolbar is rendered.
When we use overflow : hidden, it removes the scrollbar in firefox not in IE. If you are not clear about the requirement, you can see the firefox browser itself as one with the similar feature. when we open more tabs than it is able to render, the tabs which are not shown are added to a 'button' to the right of the browser window.
Please help me with your ideas.
Thanks,
Geet

the overflow : hidden worked well(actually not well, i was not able to see the menu items)on my firefox browser. but it didnt work on my IE. and my firefox version is 3.

Similar Messages

  • How to create Horizontal scrollbar

    I am using Form6i, how to create a horizontal scrollbar for a multi-record block?
    Thanks!

    A horizontal scroll bar is not an object that you can drag or resize like a vertical scrollbar. It is implicitly created when needed.
    To get a horizontal scroll bar, you have to place the items you want to scroll on a STACKED CANVAS and set property Show Horizontal Scroll Bar of this canvas to Yes.

  • How to enable horizontal SCROLLBAR in JPC simplegraph bean

    Hi,
    I've been trying to enable the scroll bar in Oracle Forms 10g which uses Oracle JPC simplegraph bean but unfortunately i'm still having an unreadable graph when the columns increases because no scroll bar is activated and the columns appear in a line shape.
    I'm using the following line of code just before the call to draw the graph and still the scroll bar doesn't appear.
    SET_CUSTOM_PROPERTY('CONTROL.SIMPLEGRAPH',1,'SCROLLBAR','true');
    FORMSGRAPHSAMPLE.setGraphType('CONTROL.SIMPLEGRAPH','VERTICAL_STACKED_BAR');
    FORMSGRAPHSAMPLE.populateSimpleGraphData('CONTROL.SIMPLEGRAPH',:CONTROL.CUSTOMERS,',');
    Can anyone advice how can i solve my problem.
    Thanks
    Lanlani

    Hii everyone !!!
    I'm still stuck please helppppppppp
    Thanks

  • How to Add Horizontal scrollbar to JTextPane

    when i try to add Horizontal scrollbar to JTextPane it is not apperaing..plase help me..
    nagesh

    I tried in all ways
    1)HORIZONTAL_SCROLLBAR_ALWAYS and VERTICAL_SCROLLBAR_ALWAYS
    2)JTextPane textPane = new JTextPane();
    JScollPane scroller = new JScrollPane(textPane);
    or :
    3)JScollPane scroller = new JScrollPane(textPane, VERTICAL_SCROLLBAR_ALWAYS, HORIZONTAL_SCROLLBAR_ALWAYS);
    4)JScrollPane.setHorizontalScrollBarPolicy(
                   ScrollPaneConstants.HORIZONTAL_SCROLLBAR_ALWAYS);
                   JScrollPane.setVerticalScrollBarPolicy(
                   ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);
    and also we tried to overwrite the setbounds also, but nothing is diplaying..

  • How to avoid multiple scrollbars when placing multiple lists in a vbox ?

    Hi All ,
    Am using a flex application using flex builder 3 ...
    I need to display multiple lists one below the other with no scroll bars for the list with only the outer scrollbar visible.
    In other words , each list must display all of its children with no scroll bar. If i set the vertical scroll bar to "off" ,
    it just removes the vertical scrollbar so that the user is not able to scroll the list (rest of the children are not visible)
    I have attached a sample application to illustrate the problem I face right now....
    When the following application is run ,
    Present Behavior:
    2 scrollbars are visible , the outer vbox scrollbar and the inner list scrollbar(for each scrollbar)
    Expected Behavior:
    1 scrollbar should only be visible ie. the outer vbox scrollbar.
    Each list should display all of its children with no scrollbars.
    Application code:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" verticalScrollPolicy="off">
    <mx:VBox  width="40%" height="600" verticalScrollPolicy="on">
       <mx:List dataProvider="{dataProviderArray1}" width="100%" />
       <mx:List dataProvider="{dataProviderArray2}" width="100%" />
       <mx:List dataProvider="{dataProviderArray1}" width="100%" />
           <mx:List dataProvider="{dataProviderArray2}" width="100%" />
           <mx:List dataProvider="{dataProviderArray1}" width="100%" />
           <mx:List dataProvider="{dataProviderArray2}" width="100%" />
    </mx:VBox>
        <mx:ArrayCollection id="dataProviderArray1">
            <mx:source>
                <mx:Object label="A............" data="1"/>
                <mx:Object label="B............" data="2"/>
                <mx:Object label="C............" data="3"/>
                <mx:Object label="A............" data="1"/>
                <mx:Object label="B............" data="2"/>
                <mx:Object label="C............" data="3"/>
                <mx:Object label="A............" data="1"/>
                <mx:Object label="B............" data="2"/>
                <mx:Object label="C............" data="3"/>
                <mx:Object label="A............" data="1"/>
                <mx:Object label="B............" data="2"/>
                <mx:Object label="C............" data="3"/>           
            </mx:source>
        </mx:ArrayCollection>
        <mx:ArrayCollection id="dataProviderArray2">
            <mx:source>
                <mx:Object label="D............" data="3"/>
                <mx:Object label="E............" data="4"/>
                <mx:Object label="F............" data="5"/>
                <mx:Object label="D............" data="3"/>
                <mx:Object label="E............" data="4"/>
                <mx:Object label="F............" data="5"/>
                <mx:Object label="D............" data="3"/>
                <mx:Object label="E............" data="4"/>
                <mx:Object label="F............" data="5"/>
                <mx:Object label="D............" data="3"/>
                <mx:Object label="E............" data="4"/>
                <mx:Object label="F............" data="5"/>
            </mx:source>
        </mx:ArrayCollection>  
    </mx:Application>

    Hello,
    If you know the length of dataprovider and can specify the height in pixels for each list, then below mentioned code may help:
         <mx:Canvas width="40%" height="100%" horizontalScrollPolicy="off">
            <mx:List id="l1" dataProvider="{dataProviderArray1}" width="100%" height="500"   />
            <mx:List id="l2" y="{l1.y + l1.height  + 5}" height="300" dataProvider="{dataProviderArray2}" width="100%" />
            <mx:List id="l3" y="{l2.y + l2.height  + 5}" height="300" dataProvider="{dataProviderArray1}" width="100%"/>
            <mx:List  id="l4"  y="{l3.y + l3.height  + 5}" height="300" dataProvider="{dataProviderArray2}" width="100%" />
            <mx:List  id="l5" y="{l4.y + l4.height  + 5}" height="300" dataProvider="{dataProviderArray1}" width="100%" />
            <mx:List  id="l6" y="{l5.y + l5.height  + 5}" height="300"  dataProvider="{dataProviderArray2}" width="100%" />
         </mx:Canvas>
    Tanu

  • How to Refactor JSF Page

    Hi
    How to refactor the JSF page, how normally we used to refactor java classes.
    My requirement is I want to change the name of the JSF page and as well as i need to move the JSF file to other location.
    thanks in advance

    Hi,
    JSf refactoring is a feature we added to JDeveloper 11. So what you need to do is
    - rename the file using File|rename
    - update the faces-config.xml references
    - if using ADF, edit the adf-bindings.cpx file
    Frank

  • Synchronization between two master detail jsf page

    hi guys,
    i have two jsf page, how can i synchronize the row selected (af:table) on the first page of one master detail ( the detail table) with the second page.
    In my case in the second page i can make modifications in a dialog Popup, but the row selected (the detail table) in the first page is shown in the popup
    i want the selected record of the detail table in the second page will be shown in the popup
    thanks for your help
    Edited by: fakhri_tn on Nov 13, 2012 11:47 PM

    Hi,
    in this case you need to pass the SelectedRowKeySet of the detail table in page one. So what you can do is
    1. create a managed bean in page flow scope
    2. when navigating to page 2, access the table component (make sure you don't create a managed bean component reference in the page flow bean and instead use a backing bean for component instance lookup) and read its selected row key set
    3. On page 2, reference the page flow managed bean saved rowKeySet from the selected row keys property of the table
    Frank

  • How to avoid sample printout in check printing

    hi
    in fico check printing i have copied the standard script F110_PRENUM_CHCK
    and devloped a z  to add the company logo
    the problem with the printout is that it displays an additional sample printout on first page
    followed by the required print on the next page
    how to avoid the sample printout .
    the check printing is done through f-58
    thanks
    regards
    darshan

    Hello Darshan,
    In F-58: "Output Control" block there is a checkbox for "Test Prinout".
    Plz uncheck the box & you will not get the sample print out.
    Hope this helps.
    BR,
    Suhas

  • How to avoid responsibility context switcher?

    Hi all.
    i developed an OAF page called from JSP. i can navigate from jsp to OAF page successfully.
    and i set pageContext.changeResponsibility() in processRequest(). i checked the information in 'About this page' and Responsibility was set on pagecontext .
    but if i open the OAF page at first time, following message and 'Switch Responsibility' is occurred.
    "The current responsibility context has been switched to: Application Developer".
    i want to avoid this message and poplist on my page. how to avoid them?
    Please let me know.

    Pl see if the solution in MOS Doc 356814.1 (The Current Responsibility Context Has Been Switched To: Manager Self-Service) can help
    HTH
    Srini

  • How do I pass input values from a html page to a jsf page

    hi,
    In my project,for front view we have used html pages.how can I get input values from that html page into my jsf page.for back end purpose we have used EJB3.0
    how can I write jsf managed bean for accessing these entities.we have used session facade design pattern and the IDE is netbeans5.5.
    pls,help me,very urgent
    thanx in advance

    Simplest way is to rewrite html page into jsf page.
    You can use session bean in your managed bean like this:
    import javax.naming.Context;
    import javax.naming.InitialContext;
    public class ManagedBean {
    private Context  ctx;
    private Object res;
    // session bean interface
    private Service service;
              public ManagedBean() {
                try{
                     ctx = new InitialContext();
                     res = ctx.lookup("Service");
                     service = (Service) res;
               catch(Exeption e){
    }Message was edited by:
    m00dy

  • How to get values from a query string in URL in a jsf page?

    if i have a url, http://my.com/?name=john+smith, how do i get the values from that url in a jsf page and then pass those values to a servlet?
    i know how to do that in jsp using "request.getParamter("name")" and save it in a bean and then forward to a servlet. But what about in jsf?

    Hello,
    Try this:
    Map requestMap = FacesContext.getCurrentInstance().getExternalContext().getRequestMap();
    String name = (String) requestMap.get("name");If isn't worked one of these methods probably will solve your problem.
    FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap();
    FacesContext.getCurrentInstance().getExternalContext().getRequestHeaderMap();hth.

  • How to Open an Oracle Report From a JSF Page

    Hi there,
    I would be really grateful if anyone would find me a solution to the following scenario:
    In my company, we have a project where we have to convert Oracle Forms and Reports to Java Web Application. The conversion of forms is being done thourgh JSF/ADF technology but how can i open an Oracle Report from a JSF page after supplying it with parameters ? Or i have to do some type of conversion before ?
    Once again i would be thankfull for your replies.

    Tapash,
    Thanks for reponding.
    Here is the URL I am currently using :
    https://gccss.glendale.edu:8001/dev60cgi/rwcgi60?server=rep60_crp3+userid=apps/pswd@crp3+report=/u07/oracle/crp3appl/gcccus/11.5.0/reports/US/GCC_ACCRUAL_BAL_0505.rdf+desformat=html+paramform=yes+destype=cache+p_accesscode=""
    The p_accesscode is the parameter I need to pass to the Oracle report.
    Currently, when I click the button, it invokes the above URL and takes me to the parameter form of the Oracle report and when I enter the Username, it runs the report and displays the desired output. But, what I need to achieve is, to pass the current user who has logged in behind the scene and to get rid of the parameter screen totally. Is this doable ? If yes, please help me !!!
    Thanks
    Hilal

  • How-to get attributes from one JSF page redirected to another?

    How do I send information from one JSF page when the navigation rule redirects it to another?
    When JSF navigation does a forward I can use request.setAttribute() in the from-page and then use request.getAttribute() in the to-page, but this doesn't work with <redirect/>.
    Regards,
    Al Malin

    The process scope in ADF Faces solves this. See:
    http://www.oracle.com/webapps/online-help/jdeveloper/10.1.3/state/content/navId.4/navSetId._/vtTopicFile.adffacesguide%7Cdevguide%7CcommunicatingBetweenPages%7Ehtml/

  • How to Use another JSF page that I load by XMLHttpRequest?

    Hi everyone, I'm a newbie of JSF and curisous about how to load page content seperately by AJAX.
    I saw example of Java Blue Print. It's load some data to use in page. What I want is to load another JSF page when click a link or button, (Like include another page). And work with functions privoided by loaded JSF Page.
    My example is, In a main page. I request a JSF page and set it into a div layer.
    var requestURL = "/admin/customer/customer-list-body.faces";
    var content = postDataWithoutContent(requestURL);     divContent.innerHTML = content;     
    All JSF components are required under <f:view>, thus action of form is set as "action='"/admin/customer/customer-list-body.faces'"
    But my page is main.jsp. Each time I click command button in customer-list-body.faces, the url will change to customer-list-body.faces, I want to request and hold in main.jsp.
    What can I do then? Any advices?

    Hi,
    the list doesn't seem to be your problem. You need to track down the illegal argument exception. Once you have that sorted out, expose the method on the AM so it gets shown as a method binding. The return values then could be picked up in a managed bean to create the select Item list
    Frank

  • How can I put an output stream (HTML) from a remote process on my JSF page

    Hello,
    I've a question if someone could help.
    I have a jsf application that need to execute some remote stuff on a different process (it is a SAS application). This remote process produces in output an html table that I want to display in my jsf page.
    So I use a socket SAS class for setting up a server socket in a separate thread. The primary use of this class is to setup a socket listener, submit a command to a remote process (such as SAS) to generate a data stream (such as HTML or graphics) back to the listening socket, and then write the contents of the stream back to the servlet stream.
    Now the problem is that I loose my jsf page at all. I need a suggestion if some one would help, to understand how can I use this html datastream without writing on my Servlet output stream.
    Thank you in advance
    A.
    Just if you want to look at the details .....
    // Create the remote model
    com.sas.sasserver.submit.SubmitInterface si =
    (com.sas.sasserver.submit.SubmitInterface)
    rocf.newInstance(com.sas.sasserver.submit.SubmitInterface.class, connection);
    // Create a work dataset
    String stmt = "data work.foo;input field1 $ field2 $;cards;\na b\nc d\n;run;";
    si.setProgramText(stmt);
    // Setup our socket listener and get the port that it is bound to
    com.sas.servlet.util.SocketListener socket =
    new com.sas.servlet.util.SocketListener();
    int port = socket.setup();
    socket.start();
    // Get the localhost name
    String localhost = (java.net.InetAddress.getLocalHost()).getHostAddress();
    stmt = "filename sock SOCKET '" + localhost + ":" + port + "';";
    si.setProgramText(stmt);
    // Setup the ods options
    stmt = "ods html body=sock style=brick;";
    si.setProgramText(stmt);
    // Print the dataset
    stmt = "proc print data=work.foo;run;";
    si.setProgramText(stmt);
    // Close
    stmt = "ods html close;run;";
    si.setProgramText(stmt);
    // get my output stream
    context = FacesContext.getCurrentInstance();
    HttpServletResponse response = (HttpServletResponse) context.getExternalContext().getResponse();
    ServletOutputStream out = response.getOutputStream();
    // Write the data from the socket to the response
    socket.write(out);
    // Close the socket listener
    socket.close();

    The system exec function is on the Communication palette. Its for executing system commands. On my Win2K system, the help for FTP is:
    "Ftp
    Transfers files to and from a computer running an FTP server service (sometimes called a daemon). Ftp can be used interactively. Click ftp commands in the Related Topics list for a description of available ftp subcommands. This command is available only if the TCP/IP protocol has been installed. Ftp is a service, that, once started, creates a sub-environment in which you can use ftp commands, and from which you can return to the Windows 2000 command prompt by typing the quit subcommand. When the ftp sub-environment is running, it is indicated by the ftp command prompt.
    ftp [-v] [-n] [-i] [-d] [-g]
    [-s:filename] [-a] [-w:windowsize] [computer]
    Parameters
    -v
    Suppresses display of remote server responses.
    -n
    Suppresses autologin upon initial connection.
    -i
    Turns off interactive prompting during multiple file transfers.
    -d
    Enables debugging, displaying all ftp commands passed between the client and server.
    -g
    Disables file name globbing, which permits the use of wildcard characters (* and ?) in local file and path names. (See the glob command in the online Command Reference.)
    -s:filename
    Specifies a text file containing ftp commands; the commands automatically run after ftp starts. No spaces are allowed in this parameter. Use this switch instead of redirection (>).
    -a
    Use any local interface when binding data connection.
    -w:windowsize
    Overrides the default transfer buffer size of 4096.
    computer
    Specifies the computer name or IP address of the remote computer to connect to. The computer, if specified, must be the last paramete
    r on the line."
    I use tftp all of the time to transfer files in a similar manner. Test the transfer from the Windows command line and copy it into a VI. Pass the command line to system exec and wait until it's done.

Maybe you are looking for

  • 8.1.7 Intelligent Agent on Redhat Linux 6.2

    Hello, Can anyone help? My OEM fails to discover a Redhat Linux node but I can manually configure it (so the node address must be OK). When I check that the agent is running (lsnrctl dbsnmp_agent) it says that the db subagent is already running. If t

  • Bootcamp on macbook air 2013 with thumb drive

    i did all the steps i had to do to get windows on my thumb drive now when i go to bootcamp on my air it asks for an iso file which i cant find. can someone help me out with this please. i can load windows 7 as bootable and it shows the start screen b

  • I seem to be stuck Yosemite public beta 2

    I seem to be stuck on the public beta 2. Under the update tab there is an update for OS X Yosemite Beta 2. When I click on it to update it nothing happens. If i try to download the official update in the app store it says "OS X v10.10 is already inst

  • Nouvelle fenetre itunes

    Hi guys, Do someone knows how to open a playlist in a new window with that new version of iTunes ?? It was so usefull with the old vesrion !!!!!

  • How can i trace my lost iphone 4

    how can i trace my iphone since the lost phone is offline?