Activation click on the Item Renderer only event

Hey. I'm working on a s:list and a click event problem. I have everything works just fine on the component and linking, but as you probably guessed, the event cues when whatever it is on the s:list is clicked, including the scroll bar or an empty space.

Is there a quick fix to make the tail only event when the user clicks on an Item Renderer inside the list? Help would be very appreciated, I tried to solve this problem for a while.

Thank you!

RKaster

Hi RKaster,

do you need the reference for the element by force converter or could you immagine a different approach? If you could work around this, you can use the change event instead of the click event. The change event gets fired whenever the selection of items in the list change. Click on an element of rendering of course will change the selection if the underlying element is already selected.

If you can't get around the need for a reference point renderer that you should experiment with the List component mouseChildren property (inherited from the DisplayObjectContainer, see http://bit.ly/dhqCFS). IMHO of course

Kind regards

Thilo

Tags: Flex

Similar Questions

  • Business Catalyst 'Click on the item' with site Adobe Muse does not

    I have a site Adobe Muse that I've traveled Business Catalyst. I use it in order to allow editing in the browser through catalyst for business for my clients. Whenever I have hover over a link, there is an "Edit" button and a button "click on the item. In the past, when you click on the element, it goes to the next page. However, now it is just implemented the editing area. Photos below.

    No fix for this bug?

    I'm under the updated Adobe Muse CC. Site is arpcem.businesscatalyst.com

    screenshot-1.jpg

    screenshot-2.JPG

    Hi all

    The issue will be fixed with the next update of the service which will be pushed live next Monday.

    Cristinel

  • Thin client Orchestrator - do a right-click on the item in the inventory to run the workflow

    I have workflows that X type as a parameter.  Workflows are those that I wrote and the type of X is an object I created.  I have X type items in the inventory.  I right click on the item and select 'run the workflow... '. ».  I get the error "NoSuchElementException.  I tried to turn the journal level and research in newspapers, but I don't see any useful information on why it's a failure.  I can't find documentation that says explicitly that everything needed to run the workflow of the inventory.  I looked through the vso.xml for the vSphere plugin and can see nothing special here that I do not.  I can't find anything in the workflow that controls this behavior.  I put breakpoints in find(), findAll() findRelation() and can see no call there during the attempt.

    Any ideas?

    In your presentation of workflow for your type of object that is an input, specify the property 'display in the inventory?

  • When I click on the IE icon only a partial page

    Windows Vista Home Premium 32 bit IE 8

    When I click on the IE icon on desktop or in the quick launch area, a tiny partial page appears at the top of the screen and I have to maximize. Do not do this.

    This just started happening a few days ago. How can I get this back to where it shows a full page without maximize?

    THANX

    Hi, more frustrated,

    Maybe you closed a small window changed over the past days that would explain this behavior.

    Launch IE

    Place your cursor on the edge of the window

    When you see the arrow double head, left click and drag to your taste

    You can do it on the sides, top and down to this than satisfied with resizing

    When finished, close IE

    New IE launch which should open in the new size

    Make sure you close the last larger window because Windows remembers the last of them.

  • ADF shuttle select the items rendered as checkboxes

    Thus, we use the ADF 11.1.2.4 to develop our application.  We have an obligation to use control of the shuttle.  However, when it is rendered, it contains checkboxes (inputItem type = checkbox).  I'm sure that wasn't the case with 11.1.2.3, but I was wondering if anyone else has seen this behavior?  I think perhaps a CSS thing.

    I noticed in the rich client demo he uses also an inputbox as a box to check, but it has a class of style associated with it.  However, in our application, there is no style associated with it.  Maybe it's because our style has not inherited Fusion skins?  Thus, our items are rendered "naked."  Another thing we noticed is that nothing appears on the right side of the control, but he used with 11.1.2.3.

    Any help would be greatly appreciated,

    BradW

    OK, so it was a matter of skin.  I have reset the skin in the config.XML - trinidad and violla!  Boxes are gone.  Now just to understand what the problem is with the side of the right hand done.  Separate issue.  Hope this helps someone.

    BradW

  • Why the CSS designer box back is more a class specific for mounting when I click on the item name or design?

    Since the update to 2015 CC, when I click on a class name in the code (split mode) or click on an element highlighted on the design side, it is no longer automatically display in the box of CSS Designer.  I have to type the name of the class each time in order to find and change. Very cumbersome and time consuming!  Can someone help me get this working as it did in CC 2014?  Thank you very much.

    In Dreamweaver CC 2015, there are two buttons at the top of the Panel CSS Designer: all and current. Select the current button to view calculated for the current selection.

  • Video framerate massively out of sync on the final rendering only

    Hi all

    I used a screen reader program (Cam Studio) to save myself showing something on the screen in full HD and record my voice with a microphone. Due to the program settings that have been apparently set the final file was a 20 fps framerate but was otherwise fine played and downloaded on YouTube with success. However there was a long interval at first until I started talking so I thought I'd use After Effects to crop the video and add a few titles in singles. I created a model to the standard 25 fps 720 p and imported images. Everything seemed fine, he was appearing on the timeline and preview at the same rate as the original. I made him as H264, but the final file was a total mess with the audio that plays normally but the video play faster, perhaps double the speed. I checked the images 'Interpret' > hand ' settings and it was defined on the original framerate 20 fps and also checked the details on VLC which also reported 20 fps. I recreated the comp and tried repeatedly to rule out tweaks, I would put but everything seems to be set up correctly.

    Anyone got any ideas?

    Thank you very much

    KW

    Finally it worked.

    I went on the whole record that incorrectly displayed as a sequence of images long - he was a little less 11 000 executives and the run time was 9.09. Simple math reveals that this means that the actual framerate was 5.62 fps not the 20 fps that was reported by all of the programs it runs. Defining "Interpret images" to the correct value then made the images make it perfectly in a model of 25 frames per second.

    The process with the image sequence was necessary because I did not have a good figure for the actual framerate and only knew he was playing MUCH faster (about four times) the speed, he should have. It seems that the framerate on the file flag was incorrectly, but the file always presents in preview in AE and plays correctly on YouTube and VLC which is kinda weird. My method is a very clumsy to find the solution, but an option if you have similar problems. Of course, the quality of the images is not important, because the real goal is simply to learn the total number of frame, so you can generate a sequence of images with resolutions tiny to save disk space and time. As it was, it took a few minutes to make almost 11 000 images in quarter HD resolution.

    Hope it will be useful to you.

    Edit: the framerate in real-time was also visible in the images in the preview screen, making the frame of the output method is not necessary, once you know this figure.

  • Displays the dates of diff using PL/SQL expression for the item "display only"?

    Hello
    I have a single display element -: P2_FROM_Date. If his game, Fri, sat or Sun I want to put the date of the last Monday date. If its Mon, Mar or sea, it must be this date of Monday.

    Ex: Today is Friday and last Monday was 18.
    So yesterday, today, tomorrow and Sunday, the date appear as June 18, 2012.
    Since Monday to Wednesday, the date has to be the next that is Monday, June 24, 2012

    I tried under 'Source' from the element using PL/SQL expression and the body of the PL/SQL function. Does not

    Can anyone help?

    Thanks and greetings
    Umer

    1. you must set 'used source' "Always".
    2 If you use a PLSQL function as source type body should set a 'RETURN' statement like this:

    declare
    lv_date number;
    begin
    select to_char(sysdate,'D') into lv_date from dual;
    if lv_date=2 then
      return to_char(sysdate-1);
    end if;
    end;
    

    Published by: mario1977 on June 27, 2012 11:44

  • & quot; Right-click & quot; Click on the box

    Hello

    I'm enjoying Captivate! I'm working on an assessment of the training to assess the ability of the user to follow a process in our software.

    In the process, I try to catpture, the first step is right click on an area of the screen. During the recording of the action, the legend of failure automatically displays 'Right click on the item'; However, the only action allowed in the zone of click is a click left (or double click if this option is selected).

    Sort of a click box to require right click? If this isn't the case, then I'm really surprised that this isn't a feature!

    Thank you comes forward and I apologize if this has been discussed previously.

    Welcome to our community, Lena

    You will be totally surprised then. Captivate does not currently offer a way to ask a right-click. But who knows what the future holds, eh? Maybe a future version will offer this capability.

    In the meantime, we must work past differently. The links below should help.
    Article one
    Article two
    Article three

    I hope this was helpful... Rick

  • Label String to the data shared send event

    Well, I'm in trouble. I want to click a button (a label to be exact).

    So I have my label

    I've got and event listener for the label, click

    And now I want to take the text of the label string and use it in an event to send while sending a page change event (2 events shipping both to the 2nd page)

    On this second page that I need to know what the chain of the button pressed was so I can still process events.

    Basically, it's my event flow:

    • Click on the button
    • Send event (the signal to open second page)
    • Send event (shipment in the chain) (which I can't find out how)
    • See the second page
    • Dynamically load information based on the button pressed on the first page (which I know how to do, I just need to know how to get that String of the button that was pressed)

    I have all work perfect with the exception of the dilemma of channel button. There will be a lot of buttons (rather labels) involved.

    Each event has a 'target' attribute  The target is the object originally shipped from the event.  For example, a LabelButton dispatches a click event, you can cast the target to this object to know things about this target (assuming that the target is always in memory).

    private void ButtonClicked (event: Event): void

    {

    trace (LabelButton (event.target) .label + "button");

    }

    If you pass an intermediate event and you want to carry information at this event, you can create your own event class by extending the event base class and adding the attributes that you want to carry.  You can also watch the event meta class that allows you to attach some meta information with the event class that they prepare.

  • box in JTable - event should fire ONLY by clicking on the box

    Hello
    I have a Jtable implementation and a Boolean column I have a checkbox. due to being too big for this column header field, the column is much larger than the box. the checkbox can be toggled by clicking anywhere in the field. I don't want this behavior. the value should switch only when I click on the box (the square box with check/uncheck) and not in the vicinity of the area in the empty box.

    This behavior is possible. the default value is active and disables the box when you click on anywhere in this cell.

    appreciate the answers.

    Thank you
    Khan

    Thanks for noticing.

    //!Not thoroughly tested!
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.table.*;
    public class CheckboxInCellTest2 {
      String[] columnNames = {"Boolean(Default)","Boolean"};
      Object[][] data = {{false,true},{true,false},{false,true}};
      DefaultTableModel model = new DefaultTableModel(data, columnNames) {
        @Override public Class getColumnClass(int column) {
          return getValueAt(0, column).getClass();
        }
      };
      public JComponent makeUI() {
        JTable table = new JTable(model);
    //     table.addMouseListener(new MouseAdapter() {
    //       @Override public void mouseReleased(MouseEvent e) {
    //           JTable t = (JTable)e.getComponent();
    //           Point pt = e.getPoint();
    //           int row  = t.rowAtPoint(pt), col = t.columnAtPoint(pt);
    //           if(t.convertColumnIndexToModel(col)==1)
    //             t.getCellEditor(row, col).stopCellEditing();
    //       }
    //     });
        table.setRowHeight(20);
        CheckBoxEditorRenderer cer = new CheckBoxEditorRenderer(table);
        table.getColumnModel().getColumn(1).setCellRenderer(cer);
        table.getColumnModel().getColumn(1).setCellEditor(cer);
        JPanel p = new JPanel(new BorderLayout());
        p.add(new JScrollPane(table));
        return p;
      }
      public static void main(String[] args) {
        EventQueue.invokeLater(new Runnable() {
          @Override public void run() { createAndShowGUI(); }
        });
      }
      public static void createAndShowGUI() {
        JFrame f = new JFrame();
        f.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
        f.getContentPane().add(new CheckboxInCellTest2().makeUI());
        f.setSize(320,240);
        f.setLocationRelativeTo(null);
        f.setVisible(true);
      }
    }
    class CheckBoxPanel extends JPanel {
      public final JCheckBox button = new JCheckBox();
      public CheckBoxPanel() {
        super(new GridBagLayout());
        add(button);
        button.setOpaque(false);
        setOpaque(false);
      }
    }
    class CheckBoxEditorRenderer extends AbstractCellEditor
          implements TableCellRenderer, TableCellEditor, MouseListener {
      private final CheckBoxPanel editor = new CheckBoxPanel();
      private final CheckBoxPanel renderer = new CheckBoxPanel();
      private final JTable table;
      public CheckBoxEditorRenderer(JTable table) {
        super();
        this.table = table;
        editor.button.addMouseListener(this);
      }
      @Override public Component getTableCellRendererComponent(JTable table,
          Object value, boolean is, boolean hf, int row, int column) {
        renderer.button.setSelected(Boolean.TRUE.equals(value));
        return renderer;
      }
      @Override public Component getTableCellEditorComponent(JTable table,
          Object value, boolean isSelected, int row, int column) {
        editor.button.setSelected(Boolean.TRUE.equals(value));
        return editor;
      }
      @Override public Object getCellEditorValue() {
        return editor.button.isSelected();
      }
      //Copied form http://tips4java.wordpress.com/2009/07/12/table-button-column/
      private boolean isButtonColumnEditor;
      public void mousePressed(MouseEvent e) {
        if (table.isEditing() &&  table.getCellEditor() == this)
          isButtonColumnEditor = true;
      }
      public void mouseReleased(MouseEvent e) {
        if (isButtonColumnEditor &&  table.isEditing()) {
          table.getCellEditor().stopCellEditing();
        }
        isButtonColumnEditor = false;
      }
      public void mouseClicked(MouseEvent e) {}
      public void mouseEntered(MouseEvent e) {}
      public void mouseExited(MouseEvent e) {}
    }
    
  • Retail price displayed only if the item is in stock by using the rendering engine liquid?

    Is there anyone who knows the liquid rendering engine? Customer Meluka.co.nz wish the price of sale displayed only if the item is in stock. LiveChat advised that this can be implemented using the rendering engine liquid if the stock is greater or equal to a sale price (reduced price) will be displayed. If no product in stock, the retail price is displayed. The announcement is tomorrow's paper so that the pressure is on--helps the developer urgently required please!

    Each product - large currently:

    < ul >

    < div id = "{tag_productid} rrpprice_" >

    < h10 > {tag_retailprice} < / h10 >

    < / div >

    < class li = 'price' > < {tag_saleprice} fort > < h9 >(inc. GST) < / h9 > < / strong > < /li >

    < class li 'quantity' = >

    Amount of < p5 >: < / p5 >

    {tag_addtocartinputfield} < /li >

    < class li = "instock-message instock-{tag_instock}" >

    < div >

    < p5 > in Stock: < / p5 >

    < p2 > please allow 2-3 days (plus delivery) < / p2 >

    < / div >

    < div class = "stock" >

    < p5 > made to order: < / p5 >

    < p2 > please allow 4-6 weeks for manufacturing (plus delivery) < / p2 >

    < / div >

    < /li >

    < br / >

    < class li 'quantity' = > {tag_addtocart, < img alt = "" src="/images/btn-add-cart.gif" / > "} < /li >

    < /ul >

    Of course

    You see where I am getting-"Can you do that for me for free" - I cringe.

    But its simple. Liquid you have if statements...

    http://docs.BusinessCatalyst.com/dev-assets/reference#! / liquid-reference/reference/logic-t ags.html

    And you have your liquid tags:

    The developer reference

    {% If isOnSale is true-%}

    TO DO THIS

    {%-%}

    DO THIS

    {endif %}

    You should check that the old tag returns 0 or 1 and the liquid must be good true or false, but do not know where BC got too much consistency yet, they have been quite on the updates recently. If this does not work with == true, then it will be == 1

  • Find the active item in the table in advance by clicking on the button

    Hello friends,

    I need a urgent who...

    (1) I have a search page, when I click on the go button that all search results must fill in the region of the table.
    (2) all ranks with the username, firstname, lastname, email, etc and a Disable button user
    (3) assume that the user can click any line and click the button disable the user that the user should be disabled by calling the Api Oracle
    here my code everything is ready, I am odious to get the user name of line... and then to the api oracle paas


    If (PageContext.GetParameter ("DIsableUser")! = null)
    {
    TXN OADBTransaction = am.getOADBTransaction ();
    CallableStatement callablestatement1 = txn.createCallableStatement ("start FND_USER_PKG. DISABLEUSER (?); end; ", 1) ;
    System.out.println ("procedure1 is:" + callablestatement1);
    Try
    {
    callablestatement1. SetString(1,username);
    callablestatement1. ExecuteUpdate();
    callablestatement1. Close();
    TXN.Commit ();
    }
    catch (System.Exception e)
    {
    throw new OAException (e.getMessage (), OAException.ERROR);
    throw new OAException ("POS", "MODPOS_SUPPLIER_EXIST");
    }


    }
    }

    very urgent... can all give a solution.

    Thank you
    Krish.
  • ADF change active tab when the button is clicked

    This is one of those questions that expose me for beginners I, but here goes.

    I went through the help files and the forums, and I can't find what I think is a relatively simple mechanism: change the active tab (revealed) with the click of a button or menu text link.

    For example: I have a navigation bar on the left of the page and a set of tabs in the Center. A tab is active. I want to be able to click a button in the navigation area and have the visible tab changed to tab B, as if I had clicked on the tab B itself. How to activate a button or link click in the navigation area to change the visible tab? I only need that in some specific cases and do not want to create a complex structure backend for a pair of buttons.

    If you know a way to do this, I'm all ears. Thank you.

    You create a bean of support that will contain the code for the event click on the link.
    In this code, you set the property disclosed in the showDetailItem you want to make active to true and then change the tab other false.

    An intro base to work with the support of the beans is here:
    http://blogs.Oracle.com/Shay/2010/03/working_with_backing_beans_in.html

  • Difficulty in clicking the items

    I can't when you click on an element. No matter what I click on it it will not activate this element. The only way I can activate the item is to go to the layers palette, Ahmed to find the item you want and click on that layer.  Been using PSE9 for six months, no big problems until this. Any ideas?  Thanks in advance.

    When the move tool is active, at the far left of the Options bar, you will see a small triangle. Click on it and choose Reset tool.

Maybe you are looking for

  • How to download images from the camera at the top of the Tower

    I just need to upload photos of a family on my counter top party

  • Buffalo WII-1750DHP

    Hello everyone.  What someone with the Buffalo-WII-1750DHP router?  I bought it because my old 1 TB TimeCapsule wifi radio is dying.  I thought that I would pass a router to AC that would allow me to hang a big drive at the back for backups Time Mach

  • ThinkPad Twist WWAN antenna?

    I'm sure that many people will ask that, so I think that we need a clear answer from Lenovo. For those who have not ordered a WWAN card in their original config is the WWAN antenna pre-installed on the screen or not? My model came with the SSD, so th

  • How to search the table with margins?

    Hello! I have a signal that I admire from a PXI-5600 and store it in a table. What I want to do is to find the top of the signal (which I did successfully) and then calculate the bandwidth. What I do now, is to take the peak value and calculate 20 dB

  • Wireless receiver 3.1 Desktop device driver

    Hi all You just bought a Microsoft Wireless Laser Desktop 3000.  I installed the software that came with it.  However, my Windows XP Pro SP3 computer not recognize the receiver.  He keeps trying to install a device driver.  I looked in Device Manager