Help with a vertical scroll bar issue with a List component

hi. i have a basic <s:list> that uses an XMLListCollection as it's data provider and a very basic itemrenderer. when a row in the list is clicked a function gets the list.selectedIndex then populates some text fields with more xml data. that all works fine.. the problem i have is that the vertical scroll bar on the list seems to be "clickable" - just like a row in the list. the scroll bar scrolls normally but when it's clicked the selectedIndex becomes -1 which is not helpful b/c the value -1 is passed to the XMLListCollection.
any ideas? cheers.

thanks but still problematic...surely the <s:List> component shouldn't return a value when the scrollbar thumb is clicked? i created a very basic list (see below) and made the list dimensions short enough so that there is a vertical scrollbar and found that when the scrollbar thumb is clicked the trace(event.currentTarget.selectedIndex) returns a number. that's annoying b/c i just want a selectedIndex value for a row that is clicked not the scrollbar.
any ideas to get around? cheers
<fx:Script>
<![CDATA[
protected function list1_clickHandler(event:MouseEvent):void
trace(event.currentTarget.selectedIndex);
]]>
</fx:Script>
<s:List x="162" click="list1_clickHandler(event)" y="276" labelField="@label" width="144" height="153">
<s:dataProvider>
<s:XMLListCollection>
<fx:XMLList xmlns="">
<node label="one"/>
<node label="two"/>
<node label="three"/>
<node label="four"/>
<node label="five"/>
<node label="six"/>
<node label="seven"/>
<node label="eight"/>
<node label="nine"/>
<node label="ten"/>
<node label="eleven"/>
</fx:XMLList>
</s:XMLListCollection>
</s:dataProvider>
</s:List>

Similar Messages

  • Page shift due to vertical scroll bar issue

    I'm working through a vertical scroll bar issue in my design, using a ProjectSeven CSS page template. When testing the site in my browsers (FF/Safari/IE/Opera), and IF the scroll bar is not present, the entire page shifts to the left (the width of the scroll bar) when I click a link in the left column of my design. The page does not shift when the vertical scroll bar is present. Support at P7 suggested the following fix:
    html, body {
    height: 100.1%;
    margin: 0 0 1px;
    I've tried placing this markup in about ten different places but can't seem to find the right location in the code. Is it possible for someone in the forum to take a look at my page source and show me where/how to locate this fix?
    See my test site at:
    http://www.murcal.com/test_curvi_2.html
    Thanks .  .  .  .

    PZ,
    I'd like to place the fix where you've suggested, but that's the whole issue.
    I simply don't know where my CSS ends (duh). Is it possible that you show me exactly where?
    Hopefully this is the right section of my code:
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>PVII Curvitude</title>
    <link href="p7curvitude/p7CRVboxes982_2col.css" rel="stylesheet" type="text/css" />
    <link href="p7curvitude/p7CRV08.css" rel="stylesheet" type="text/css" />
    <!--[if lte IE 6]>
    <style>
    #navbar a {height: 1%; float: left;}
    </style>
    <![endif]-->
    <script type="text/javascript" src="p7pmm/p7PMMscripts.js"></script>
    <link href="p7apm/p7APM10.css" rel="stylesheet" type="text/css" media="all" />
    <script type="text/javascript" src="p7apm/p7APMscripts.js"></script>
    <link href="p7pmm/p7PMMh04.css" rel="stylesheet" type="text/css" media="all" />
    <link href="p7pmm/p7PMMh07.css" rel="stylesheet" type="text/css" media="all" />
    </head>
    <body>
    I've tried placing it in about ten different places, but I'm wrong everytime.
    Obviously, I'm a beginner trying to learn. I just can't seem to place it correctly.

  • Why are vertical scroll bars disapearing with safari

    I have no vertical scroll bar when I access certain websites through safari, but they are there if I use firefox...

    Open the Finder.
    From the Finder menu bar click Go > Go to Folder
    Type or copy / paste:    ~/LIbrary/Caches/com.apple.Safari
    Click Go the move the ApplicationCache.db (or Cache.db) file from the com.apple.Safari folder to the Trash.
    Quit and relaunch Safari to test.

  • Flex Tree Vertical Scroll Bar Issue

    When i click on the + image of flex tree than first time the vertical scroll bar is not coming but when when i minimize it and again click on + than it appears can any one tell me what is the issue??

    Hi Rob,
    I have tried changing styles of those div's in  which I have my dropdown's are there but it didnt work.
    Below is the code for reference:
    <div class="k-animation-container km-popup" style="width: 250px; height: 206px; margin- padding- padding-right: 10px; padding-bottom: 15px; display: none; "><div class="k-list-container k-popup k-group
    k-reset" id="MaintenanceType-list" data-role="popup" style="height: 200px; display: none; font-family: 'Segoe UI', Verdana, Tahoma, Arial; font-size: 11px; font-style: normal; font-weight: normal; line-height: normal; width: 244px; -webkit-transform: translateY(-206px);"><ul
    unselectable="on" class="k-list k-reset" tabindex="-1" role="listbox" aria-hidden="true" id="MaintenanceType_listbox" aria-live="off" style=""><li tabindex="-1" role="option" unselectable="on" class="k-item"></li><li tabindex="-1" role="option"
    unselectable="on" class="k-item">AUX - Accessories belonging to EA group</li><li tabindex="-1" role="option" unselectable="on" class="k-item">ARL - Artificial Lift</li>
    Regards,
    Jyothi

  • Question on vertical scroll bars in JScroll Pane

    Hi,
    I managed to display my chat program with a vertical scroll bars by using JScrollPane. Every time some on types a line, this is appended to whatever was previously in the JTextArea (the JScrollPane has a JTextArea in it). Even though this works fine, when the dimension of the JTextArea is full with text, one has to scroll down to see what was the last line of text that was typed.
    Is there a way to make the verticall scroll area alwas scrolled down (I mean, scrolled to the bottom so I can see new incoming text without manually having to scroll it down?)
    Thanks!
    Cecilia.

    You might try adding a properties listener to the JTextArea listening for a "resize/size" property change and when it does, force the scroll bar to go to max.

  • Freeze column headers in a table and enable vertical scroll bar on the rows

    I have seen demos of BI Publisher running an html view of a report that displays a table of data with a vertical scroll bar on the table. The table header is always visible as you scroll down on the rows of the table. Any idea how this is achievable?

    Hi,
    Have you find a way to do this? Im looking for the exact same thing!
    Where did you see this demo?
    Br
    Magnus

  • [ADF-11.1.2] Scroll bar Issues - Please file BUGs for these issues.

    Hello,
    Recently, I have started working on ADF and till now I found 2 scroll bar issues with Oracle ADF.
    1. af|inputComboboxListOfValues : Scroll bar appears on Google Chrome.
    Screenshot: http://imageshack.us/photo/my-images/829/inputcomboboxlistofvalu.jpg/
    2. Setting Table "columnStretching" brings dummy scroll bar : [ADF-11.1.2] Setting Table "columnStretching" brings dummy scroll bar
    I beleive that these two are scroll bar related Bugs but what I understand from ?messageID=9773962 that since I don't have support contract, I can't file a bug.
    I have created this thread so that responsible people can take actions accordingly.

    Shay,
    Thank you for your reply. I will take a look at your links.
    Use Case:
    Application will have different BC for different IT Assets (like Monitor, Keyboard, Servers etc), which will basically hold records for all available Assets (like Display Resolution, screen size etc for all monitor in Monitor BC).
    I want to give user; the ability to create, for e.g., the sub-class of Monitor to store more specific attribute-values in different table (which will be linked Parent BC). For e.g.: They may want to care about holding CRT and LCD Monitor records in separate new database table -- Application will ask user what all attributes/Columns they want to see for LCD which is specific to this type AND which is not present in already existing out-of-box Monitor BC/Table - e.g. - "Viewing Angle" Attribute).
    With that said, I can write code to create database table on fly (having 1-to-1 foreign key reference to parent table) but writing ADF part seems difficult. I also wanted application to automatically generate new page for newly added VO BC. E.g.: LCD-Monitor.JSPX inheriting all attributes from monitor (parent VO) in the same structure as Monitor.JSPX file is having with extra LCD-specific Attributes in separate panel tab (which again UI developers can customized it).
    Too much to expect huh !
    I am going to start building the application so If not above way, any other suggestion to achieve the requirement ?
    Edited by: Anandsagar Sah on Aug 29, 2011 9:23 PM

  • How to put vertical Scroll Bar on the LEFT side of a VBox?

    The default is on the RIGHT side. It seems no easy solution on this question.

    Hi Darren,
    Thanks for your reply. I've narrowed the problem down to this strange behavior only happening when the viewport component is a tree-table (a JTable with a JTree for a column renderer). The tree-table works okay in JDK 1.3, but not in JDK 1.4. When I remove the JTree column renderer, the table draws correctly, but without the tree. It looks like the viewport position is being set wrong somewhere.
    When a column is resized, an AdjustmentEvent is created. So that's why resizing the column looked like it had the same effect as the horizontal scroll bar.
    If you're interested, then I will be happy to let you know how I fixed it, if I can.
    The complete code that creates the scroll pane with the vertical scroll bar on the left is below. There's too much code to post the JTree column renderer.
    Thank you,
    Don
    m_leftScrollPane = new JScrollPane(m_sourceTable,
    JScrollPane.VERTICAL_SCROLLBAR_ALWAYS,
    JScrollPane.HORIZONTAL_SCROLLBAR_ALWAYS);
    m_leftScrollPane.setComponentOrientation
    (ComponentOrientation.RIGHT_TO_LEFT);

  • Some Java-based websites missing vertical scroll bar

    Web site (http://www.addictinggames.com/dailyjigsaw.html) loads with no vertical scroll bar.
    == This happened ==
    Every time Firefox opened

    Hi
    Do you have 3rd party Glims installed? If so, make sure you have the latest version (v 20).
    I used to see the scroll problem more frequently. I haven't of late. Never determined what causes it, however older versions of Glims (since it alters Safari functions) may be one possible cause.
    Only workaround I've seen is to quit the tab in question, then reopen another tab and reload the page missing the scroll bar. Tabs ought to appear.
    If you don't have 3rd party add-ons, send feedback to Apple via the Safari Menu>Report Bugs to Apple.

  • Vertical scroll bar in table control with wizrads

    Hi,
      Im working on a table control with a customised table. I created a table control with wizards. But vertical scroll bar is not working. How can i invoke vertical scroll bar and can any one provide the code for the all the operations on a table control like save,find,find next,change....Thanks in advance.
    Avinash

    Hi Avinash
    move the records number of your internal table into field LINES of tablecontrol. So you should change the code generated by wizard in PBO, for example create a new module:
    PROCESS PBO
    MODULE SET_DATA_TO_T_CTRL.
    LOOP..
    ENDLOOP.
    MODULE SET_DATA_TO_T_CTRL.
       DESCRIBE TABLE ITAB LINE SY-TABIX.
       <TABLECONTROL>-LINES = SY-TABIX.
    ENDMODULE.
    Max

  • Why is there a vertical scroll bar with short page export from FW CS4?

    When I view my exported page that is 400 pixels tall, I see a vertical scroll bar on the right of my IE7 browser even though the page is no where near the bottom of the browser.  How do I eliminate that scroll bar?

    Unfortunately this is not working in IE7.  Below is my body tag (I edited the SLICES.XTT to prevent the margins) where I've added the overflow option:
    body </style>
    But I still see the vertical scroll bar with a 400 px image exported as html, see attachments.

  • Electronic noise is emitted from my computer when manually dragging the vertical scroll bar with hardware accleration enabled, but no noise is emitted when scrolling any other way (ie hyperscroll via mouse wheel).

    [Firefox 4.0]
    When I use my mouse button to hold and drag the vertical scrolling bar, my computer emits a soft grainy sound. However, when I hyper scroll with my mouse wheel, there is no noise.
    I do not get the quiet noise with Internet Explorer. I did not get this with previous versions of Firefox.
    Turning hardware acceleration off resolved this.
    I'm running Windows 7 with a dedicated graphics card (GTX 285).

    Quote
    amd 64=12a @12V
    ati 9800=7.5~10.5a @12V (assuming 90~125 watts) a max load,
    a 9600 ir nvida 5200 used far less power
    so your already at 18a with no fan,s no hd, no cd,no dvd ,no mobo chipset , no mem, no sound..etc
    If you exclude the motherboard, memory, etc like you did there, the amd 64 draws 7.2A @ 12V.
    90~125W for an ATI 9800?! [irony]Are you working for a PSU manufacturer or what?[/irony] That's just absurd.  
    Go read this post to get a feel for the actual power consumption: https://forum-en.msi.com/index.php?postid=297061&sid=#post297061

  • Horizontal scroll bar moves with page up/down

    I'm new at this and apologize if I don't have the right forum, but can't find any reference to my problem anywhere. A month or so ago the horizontal scroll bar at the bottom of the screen started moving up or down with the page as I used the vertical scroll bar to page up or down. The bar partly disintegrates if I click on it, but mostly remains in place and obscures text on that line. If there is more than one page I can make the bar disappear by scrolling the to the next page, and then back. This happens only when I'm on the internet, and appears in news pages ( e.g. NY Times, BBC) and on my e-mails (I use Hotmail). I have a Mac mini, 1.66 GHz, OS 10.4.11, all other updates offered by Apple. I'm sure this is not a Safari problem, and my searches for Apple viruses, Trojans, Worms, has found nothing about this (there are discussions about vertical scrolling, but these don't seem to relate to my problem). So can anyone tell me what this is and how to get rid of it? Thanks for any help. TJ Wont

    I've got the same problem. It started when the BBC introduced adverts onto their News website. As the page loads an advert (or sometimes whitespace) appears between the tab and the BBC News banner. This is then shifted to the right hand side when the page fully loads.
    I suspect that there's some fancy DHTML going on that Safari isn't rendering properly.
    Problem doesn't occur if the Safari window is maximised to full screen width.

  • T43p with one vertical white bar 1/2" in width 3" from right side of screen

    I have a T43p with this vertical white bar that is new as of an hour ago. Not sure where it came from or how to fix it. I don't think anytihng is loose because I wiggled and pushed on every part on and around the monitor to see if it would change color or flicker at least a little. No change was noted. I also restarted and no change. External monitor shows no signs of this bar so it is not due to programming. I believe is is all due to hardware. Any ideas on an easy cost free fix? any help woud be awesome.

    Welcome to the forum!
    I don't believe that there's a cheap fix for an expensive machine such as T43p. Do you have any warranty left?
    Have you run PC-Doctor on all video aspects of the system?
    Good luck and let us know.
    Cheers,
    George
    In daily use: R60F, R500F, T61, T410
    Collecting dust: T60
    Enjoying retirement: A31p, T42p,
    Non-ThinkPads: Panasonic CF-31 & CF-52, HP 8760W
    Starting Thursday, 08/14/2014 I'll be away from the forums until further notice. Please do NOT send private messages since I won't be able to read them. Thank you.

  • ADF vertical table scroll bar issue when many records.

    Good morning!
    I am using Oracle JDeveloper version 11.1.1.6.0.
    I have a search form and a simple ready-only table displaying about 1 million of records.
    At the top of my search form, I have navigation buttons (First, Previous, Next, Last).
    So when I click for example on the Next button, my table will highlight the next corresponding row as expected.
    But here is the issue. When I click the Last button, the vertical scroll bar of the table does not scroll (automatically) to the end and display to me the very last row of my table.
    How can I achieve this? When I manually scroll to the last row, I would find it highlighted but I need the vertical scroll bar to react on Last and First buttons click even though I have a big number of rows.
    What should I do?
    Any suggestion will be very much appreciated
    Life.

    Hi Frank,
    I have found the answer. Here it is for anyone who would ever have or meet the same issue.
    In Jsf table property inspector
    I binded my table to my java bean (I called it myRichTable).
    I added the First and Last buttons as partial triggers of my table
    In java bean
    In my last() method I encluded the following line of code:  myRichTable.setDisplayRow(myRichTable.DISPLAY_ROW_LAST).
    And in the first():  myRichTable.setDisplayRow(myRichTable.DISPLAY_ROW_FIRST);
    Thanks!

Maybe you are looking for

  • Texts in F4 Help

    Hi, While displaying the F4 for any of the fields, the source of Data is either of the following. 1. Match code/Search Help 2. Check Table 3. Value Range in the Domain 4. Value Table assigned to the Domain. In the first three cases, it is possible an

  • 11g R2 Grid Infrastructure asmca cannot detect 11g R1 ASM instance

    I am playing with 11g ASM with XEN (one node on host (or dom0) and another node on vm (or dom1)) and was trying to do a Clusterware + ASM upgrade from 11.0.6 to 11.2.0. After solving some stupid problem, (see [rootupgrade.sh failed on 11g R1 to R2 Up

  • Property metadata

    In Global services, I've created a group in property metadata. Then I clicked on the property option, and created a property with: Namespace alias-default Type-String Group-"The one I created above" Allowed values csv-a, b, c documents/<The folder in

  • How to export and import reports and presentations?

    Hi Guys, how to export and import reports and presentations from Analyzer 7.2 to Web Analysis 11.1.1. Can you plz tell me the procedure. Thanks

  • Cannot convert : into another character...

    Hi All, I am trying to import a txt file into a table using below PL/SQL code: DECLARE v_blob_data BLOB; v_blob_len NUMBER; v_position NUMBER; v_raw_chunk RAW(10000); v_char CHAR(1); c_chunk_len NUMBER := 1; v_line VARCHAR2 (32767) := NULL; v_data_ar