Power supply an array of objects returned by a remote object using AMFPHP remote procedure calls.

Hi guys,.

I'm working on an AIR Application that uses Flex Remoting AMFPHP, the data type returned is an array of objects that contains a shot of a url to an image on the server, how to link it to a tilelist component, so I have a list with images representing the icons and the string representing the Tilelist labels?

We assume that the object has these fields:

-label
-image

Thus, you can first pass the array to the dataProvider of the TileList and make an ItemRenderer (with a label and an image). Then, in the ItemRenderer, go to the fields with the data objects:

ItemRenderer.mxml

Tags: Flex

Similar Questions

  • How return values when the page of the ofa procedure call

    Hello

    I need to return multiple values in the OPS page calling procedure.i using below code.bt I'm able to return a single value. Please suggest me how to return multiple values.

    Co:

    -----

    If (pageContext.getParameter ("Calc")! = null) {}

    Vo1 OAViewObject = (OAViewObject) am.findViewObject ("AddonBillingVO");

    System.out.println ("VO");

    {if(VO1!=null)}

    CNT int = vo1.getRowCount ();

    System.out.println ("count:" + cnt);

    If (cnt > 0)

    {

    RowSetIterator rs = vo1.createRowSetIterator("empIterator");

    System.out.println ("EMP");

    If (rs! = null)

    {

    While (rs.hasNext ())

    {

    AddonBillingVORowImpl line = rs.next ((AddonBillingVORowImpl));

    System.out.println ("impl");

    If (line! = null)

    {

    String laseid = row.getAttribute("LeaseId").toString ();

    System.out.println (laseid);

    String billingid = row.getAttribute("AddonBillingId").toString ();

    System.out.println (billingid);

    [Serializable] param = {}

    laseid, billingid

    };

    String newupc = (String) am.invokeMethod ("callPLSQLProc", param);

    System.out.println (newupc);

    String myValue = newupc;

    OAMessageTextInputBean textBean = (OAMessageTextInputBean) webBean.findChildRecursive ("prorate");

    textBean.setValue (pageContext, myValue);

    }

    }

    AM:

    --------

    public String callPLSQLProc (String laseid, String billingid)

    {

    OracleCallableStatement callableStatement = null;

    Try

    {

    String callProc = "BEGIN LEASE_PRORATE_PKG. LEASE_PRORATE_PROC1 ' + '.

    "(p_lease_id = >: 1,» +)"

    ' p_billing_id = >: 2 +,

    "(p_prorate = >: 3) +;

    'END;';

    callableStatement (OracleCallableStatement) = getOADBTransaction ().createCallableStatement(callProc,1);

    callableStatement.setInt (1, Integer.parseInt (laseid));

    System.out.println (laseid);

    callableStatement.setInt (2, Integer.parseInt (billingid));

    System.out.println (billingid);

    callableStatement.registerOutParameter(3,OracleTypes.VARCHAR,255);

    callableStatement.execute ();

    String resultMessage = (String) callableStatement.getString (3);

    System.out.println (resultMessage);

    Return resultMessage;

    }

    catch (System.Exception e)

    {

    e.printStackTrace ();

    System.out.println ("execepn");

    throw new OAException (try (), OAException.ERROR);

    }

    printscreen.PNG

    Khalil.

    Hello

    You are the PL/SQL procedure in a loop on the right? Just assign the value to the attribute appropirate.

    if (pageContext.getParameter("Calc")!=null)  {
      OAViewObject vo1 = (OAViewObject)am.findViewObject("AddonBillingVO");
      System.out.println("vo");
      if(vo1!=null) {
      int cnt = vo1.getRowCount();
      System.out.println("count :" + cnt);
      if (cnt > 0){
      RowSetIterator rs = vo1.createRowSetIterator("empIterator");
      System.out.println("emp");
      if (rs != null){
      while (rs.hasNext()){
      AddonBillingVORowImpl row = (AddonBillingVORowImpl) rs.next();
      System.out.println("impl");
      if (row != null){
      String laseid = row.getAttribute("LeaseId").toString();
      System.out.println(laseid);
      String billingid=      row.getAttribute("AddonBillingId").toString();
      System.out.println(billingid);
      Serializable[] param = { laseid,billingid };
      String newupc = (String) am.invokeMethod("callPLSQLProc",param);
      System.out.println(newupc);
      //String myValue = newupc ;
      //OAMessageTextInputBean textBean = (OAMessageTextInputBean)webBean.findChildRecursive("prorate");
      //textBean.setValue(pageContext, myValue);
      row.setAttribute("Prorate",newupc);
      }
      }
      }
      }
      }
    }
    

    Check the last lines. If the attribute name is nothing else than "Pro rata", updated accordingly.

    See you soon

    AJ

  • Pavilion 6540y: the upgrading of power supply and graphics card

    I need to update my graphics card. What is the best inexpensive card graphics and power supply to buy for my HP Pavilion 6540 Y. I use it mainly for work and graphic design. Currently, the stock video card doesn't have enough memory to effectively run Photoshop and painter with three monitors. Photoshop's request at least 512 M of memory for what I do, but I'd like to at least 1 GB. Sometimes I will have Photoshop and painter running at the same time.

    Hello

    I love the Corsair CX500 or the 520w Seasonic because they adapt to the physical dimensions for your PC.

    Your first consideration should be Support HP or HP sales during the consideration of upgrades or replacement of memory. If you want to consider other manufacturers of the best way to avoid memory problems is to contact one of the leading manufacturers of memory. I would recommend that you try the tools of these manufacturers: Corsair, Kingston andCrucial. Once you have determined the DIMMs that you need, then contact commercial or technical support to check that you have selected the correct DIMMS. If you buy directly from manufacturers, then they will stand behind their products.

  • Pavilion p6000 series p6633w: power supply upgrade

    Is the format of p6633w and atx pavilion for the power supply compatible, I couldn't find a HP 400w PSU.  They offer a?  The power supply I found is in atx format.

    Thank you for the additional information.

    The power supply unit (PSU) is a standard ATX.  You can use any brand.  As a precaution, I suggest to measure the PSU existing and comparing measures to whichever you choose.  I love Corsair products.  In addition, a modular power supply is good for cases of average size.  You can only use the cables needed to allow better air circulation in the case.  I recommend at least 500W.  This will allow more power over the maximum use.

    Please click on the button + Thumbs up if I helped you and click on accept as Solution If your problem is resolved.

  • Pavillion 500-214: I have a HP Pavilion 500-214 and need to upgrade the power supply to support a new video card

    I'm upgrading my video card, and the other needs at least 400w.  The existing PSU is only 300w.  What is a power supply compatible to be installed in the Pavilion 500-214?

    Well, we meet again.

    While the minimum requirement is power for most video cards 400W, I always offer at least 500W; 600W is even better.  This will allow a high maximum operating power.  A modular power supply is good in a medium-sized business, because just use cables that are absolutely necessary.  This allows for better circulation of air in the case.

    This is a power supply that should work for you.  You should check the measurements of the existing PSU (5.9 x 5.5 x 3.4 inches) with the measures of the new power supply to ensure that it will not go in the space provided.  The PSU is the backbone of the computer, this is not the place to save money.

    Please click on the button + Thumbs up if I helped you and click on accept as Solution If your problem is resolved.

  • Can power supply Question - I use the 230W power supply with a W540?

    I have a W540, which currently uses a power 170W (8.5 a 20V)

    I got also a docking station for a P50 that has a power of 230W showing 20V 11. 5a.

    The connectors are similar, but I'm hesitant to try the 230W power supply in the W540.

    It is allowed to use the 230W power supply with the W540?

    230 watts is maximum power feeding, it only provides the energy required by the computer.

    I sold my W540, so I can't test it for you. But I do use the ThinkPad X 1 carbon with 230 watts without no problem power adapter.

  • HP ENVY Phoenix h9-1300 t CTO - replacement of power SUPPLY and GPU

    Hi all

    I bought my PC a couple of years ago and have been wanting to upgrade a little to the height.

    I'm looking to replace my Radeon HD 7770 and 600W PSU which is included in the PC with the following parts:

    Video card R9 sapphire Radeon 290 Tri - X 4 GB video card $379.99 @ Newegg

    Power supply EVGA SuperNOVA NEX 650W 80 + Gold Certified fully modular ATX power $59.99 @ Newegg

    What I need-

    Is there a guide to remove/replace these parts with this particular PC/case? Even the guide, I would like to know if it's important what part is replaced first.

    Shwop, welcome to the forum.

    This is the section addition / replacement the computer.  It has a guide for all components that you want to add or replace. including video card and PSU.

    The video card that you have chosen is not appropriate in the space provided.  You should go to the manufacturer's Web site to get the length.  You can make a model of the size of the card to see if it will fit.  Add at least an inch if the card has some additional power connectors.

    The power supply (PSU) should fit without any problem.  The computher uses a standard ATX PSU.  You can measure the existing PSU and compare the measurements to the one you choose.  Personally, I like Corsair PSU.  They are a little more expensive, but are amateur quality.  It will give you a good clean and stable power to operate the system.

    Please click on the Thumbs up button '+' if I helped you and click on "Accept as Solution" If your problem is resolved.

  • V8Q15AA 510-P024: improvement of power supply 510-P024

    I want to upgrade the power supply 180W in my office of 510-P024 factor small format about 350W. How will I know what power supplies will work. I didn't chance on the net.

    I think the model number is V8Q15AA

    @dsm451, welcome to the forum.

    I think that it is a standard ATX power supply unit (PSU).  You need to measure the area where the power supply will be installed.  Then choose a power supply that will fit in this space.  This is a power supply which should work.  Here are the steps to do this: 5.9 "x 3.39" x 5.51"."  It is 550W modular.  Modular power supply is good for small enclosures because you can only use cables that are absolutely necessary.  I always recommend at least 500W.  The PSU is the backbone of the computer.  It is not the place to save money.

    Please click on the button + Thumbs up if I helped you and click on accept as Solution If your problem is resolved.

  • Alienware POWER supply

    I have a r4 alineware aurora model, but I can't find any information on the power supply PSU model is V9J6H and also, why do I this type of power supply instead of the w299g or the j556t that should come with all the alienware r4?

    V9J6H is the Alienware Aurora R4 Desktop Tower black box.

    01N0G3 is the power supply.

    J556T is also a number 875 w used on Precision T5500

    W299G, J556T, U595G

    NPS-875BB, N875EF-00, H875EF-00

  • 29W power supply will work for iPad 9.7 Pro

    My iPad Pro 9.7 inches provided with a power of 10 watts. It takes about six hours is responsible for the depletion of the layer to be 100% responsible. I would like to be able to do it faster. I noticed that the iPad Pro with a larger screen has a 29 Watt power supply available in the Apple Store. I bought this with the cable Apple to convert USB type C USB 2, which I am connected to my Flash a USB cable.  When I try on my Pro 9.7 inch iPad it charges no faster than six hours. Anyone who has tried using a larger power and they have managed to improve the loading time?

    The smaller iPad Pro does not have lightning speed USB - C compliant connector which has the bigger iPad Pro, so the special USB - C cable and 29W power supply wiil lightning does not work with the smaller iPad Pro to load more quickly.

    Return these back to Apple for a full refund.

    Sorry

  • Power supply drive hard 320 is death - where to find replacement?

    Hello

    The power supply for my 320 GB external hard drive (PX1223E - 1 32) that I bought a year ago died. I'm a little annoyed that the player has been barely used and only just out of storage after a move of the House!

    Can anyone help to track down a replacement to the United Kingdom? It's the brand Dura Micro Inc. AC adapter 100-240V 1. 2 a + 12V 1. 2 a + 5V 2A and the PDC resembles a connector 4-pin type 'DIN' of power.

    Does anyone have a contact email address for Customer service/returns under UK that it is possible to replace it under warranty.

    Thanks in advance,

    Mark

    Hello

    What s about your dealer?
    In your case I would contact the retailer where you bought this part and if your warranty is valid, you should get a replacement unit or unit must be sent for repair.

  • Satellite C660: Wireless Internet when remove the power supply drops

    Hello
    new Tosh Satellite C660 laptop works fine when the power supply cord is connected, soon as directed power is removed drops internet connection, usually to the second web page (the first web page is accessible, failure occurs usually when you try to access a new page)

    When I connect the power cable, internet connectivity returns as usual!

    I've been on the Advanced page setings power management,
    I have power settings "balanced" set up, and for the realtek card wireless put the plug and batttery power to maaximum settings (before they were to the maximum for diet and balanced for battery) even if it has no impact.

    The connection between the laptop and the wireless box seems 'excellent' level, the internet is the element which is a failure.

    I use the standard realteck card from the laptop (Realtek RTL8188CE Wireless LAN 802.11n PCI-E NIC) a D-Link Wireless N Router (DIR-615 ver1.00) and standard Modem provided by Virginmedia who bring them my services to wide band.

    All suggestions are welcome!
    Rick

    Hello

    Try the Realtek WLan driver Realtek page.
    www.Realtek.com.tw

    I read here in the forum that it has helped to get rid of these questions.
    Of course, you must also disable as mentioned in your message to save energy.

    Here, the other thread which confirms this driver update allows:
    http://forums.computers.Toshiba-Europe.com/forums/thread.jspa?threadID=58112

  • R104 - power supply works, but the dead unit

    Hi I have a Readynas 104 about 2 years and it just stopped working and will not. The power supply shows a green light, suggesting it is fine, but the box itself died. Any ideas how to fix this problem or do I get it looked at under warranty? Also I have a thought to replace it with another more powererful Readynas. If I simply move the disks to the new unit will be able to prepare the raid 5 array, I had the installer on the R104 (4 x 3 TB WD) Red readers

    Models ending in E are provided with readers of the company and those ending in re is bundled with office records.

  • Order of records after accident of power supply

    Its large order of discs (I don't know it now) after the replacement of the power supply? I tried a UFS Explorer, but nothing found

    I have 4 disks on x-raid, all 2 to, in EGGS, I see some records as at home... and some volumes of linux, but I can't find an order of disks? Or I can add that all the disks and raid will work?

    (I thought about likvidation of NAS, but I buyed a new power supply and my data)

    RAIDar is a discovery tool that runs on your PC.

    RAIDiator is the firmware on the NAS. If the firmware is several years old, there might be a problem, but at the age of 18 months, you should be fine.

    Of course, this is assuming that the disks are fine. If the array is degraded that could complicate things.

  • Strange on my Satellite A100 power supply problem

    Hi I hope it's just me in Sun.

    I plugged my power on my laptop today and found that no power is getting to the laptop. I checked all the obvious things like the fuse and have even tested the output of the power supply with a multimeter and I get what looks like the correct voltage.

    However, when the power supply is plugged into my laptop blue "alternating current" does not and windows wants to say I'm running out of battery.

    Someone else had this problem? It is a work of repair and return? (I hope really not).

    Thank you

    Doug

    > Is this a work of repair and return
    I'm afraid, m Yes :(

    But the question is; malfunction of what part?  :|
    Maybe that your inquiry is good and everything is ok with the AC adapter / CC.
    This means that there could be something wrong with the laptop itself.

    Maybe it's only one loses the connection between the plug and the motherboard or most serious problem as a malfunction electronics power?  :|

    Who knows. It of very difficult to say what's wrong without any diagnostic tests
    I recommend you contact a technician in your country. He could check the laptop and found much faster fault as a user simply ordinary like you and me.

    Good luck

Maybe you are looking for