Is it good to use  Drop In Item Renderers or not??

Hi ,
I have seen a simple Application where the Employee's Image collected from Database  is nicely displayed on to the DataGrid control .
using syntax somewhat like this :
         <mx:DataGridColumn dataField="photo"
                    headerText="Employee Photo"
                              itemRenderer="mx.controls.Image"/>
But the author has confused me at the end saying this line :
"Drop-In Item Renderers are simple and easy to use and satisfy specific use cases nicely. However, they provide no flexibility whatsoever.
Can anybody please let me know what flexibility they are lacking of ??
Thanks inn advance .

i have one j2me application which uses j2me xmlrpc and server
only support xmlrpc protocol. and i want to do same xmlrpc protocol
for flash lite application..
I searched also in google but not getting good search..
Regards
Ashish

Similar Messages

  • When to use Drop In Item renderer and InLine Item Renderers ??

    Hi ,
    I am getting confused in where to use Inline ItemRenderer and DropIn Item Renderer .
    What i feel is that DROP in Item Renderer are easy to use , and those can satisfy any requirements .
    What i read from tutorilas that we cant use Drop In because they say ,  The only drawback to using  drop in is that them is that you cannot configure them
    Please help me .

    Hi Kiran,
    Here is the detailed explanation you needed:
    You can also refer the link below:
    http://blog.flexdevelopers.com/2009/02/flex-basics-item-renderers.html
    Drop-In Item Renderers
    Drop-In Item Renderers are generic in nature and don't rely on specific data fields to render data. This allows them to be used with a wide range of data sets, hence, the term “drop-in”. Drop-In Item Renderers can be “dropped-in” to any list-based control regardless of the dataprovider’s data properties.
    In our previous example, the employee photo property requires use of a custom Item Renderer to render properly in the UI. In this scenario the Image component satisfies our rendering needs out of the box. Implemented as a Drop-In Item Renderer, the Image component takes any data property regardless of name and uses it as the Image component's source property value. Assuming our employee photo property contains a valid image path, the Image Drop-In Item Renderer will work perfectly and resolve the image path as an image in the UI.
    <!-- Drop-in Item Renderer: Image control -->
    <mx:DataGridColumn dataField="photo"
                       headerText="Employee Photo"
                       itemRenderer="mx.controls.Image"/>
    Drop-In Item Renderers are simple and easy to use and satisfy specific use cases nicely. However, they provide no flexibility whatsoever. If your needs are not satisfied by a Drop-In Item Renderer, you must create your own Item Renderer as an inline component or an external component.
    Inline Item Renderers
    Generally used for simple item rendering requiring minimal customization, inline Item Renderers are defined as a component nested within the MXML of your list-based control.
    It is important to note that Item Renderers nested within the itemrender property of a list-based control occupy a different scope than the list-based control. Any attempt to reference members (properties or methods) of the parent component from the nested Item Renderer component will result in a compile-time error. However, references to the members of the parent component can be achieved by utilizing the outerDocument object.
    <mx:DataGrid id="myGrid" dataProvider="{gridData}">
       <mx:columns>
          <mx:DataGridColumn headerText="Show Relevance">
             <mx:itemRenderer>
                <mx:Component>
                   <mx:Image source="{'assets/images/indicator_' + data.showRelevance + '.png'}"
                             toolTip="{(data.showRelevance == 1) ? 'On' : 'Off'}"
                             click="outerDocument.toggle()" />
                </mx:Component>
             </mx:itemRenderer>
          </mx:DataGridColumn>
       </mx:columns>
    </mx:DataGrid>
    Remember, rules of encapsulation still apply. Mark all properties or methods public if you want them accessible by your inline Item Renderer. In the previous example, the toggle() method must have a public access modifier to expose itself to the inline Item Renderer.
    public function toggle():void
    Inline Item Renderers can also be reusable by creating a named component instance outside of the list-based control. This component must have an id property and contain the rendering logic of the Item Renderer. Using data bindings, the component is assigned to the itemrenderer property of one or more data properties of a list-based control.
    <!-- Reusable inline Item Renderer -->
    <mx:Component id="ImageRenderer">
       <mx:VBox width="100%" height="140"
                horizontalAlign="center" verticalAlign="middle">
          <mx:Image source="{'assets/'+data.image}"/>
          <mx:Label text="{data.image}" />
       </mx:VBox>
    </mx:Component>
    <!-- Used within a list-based control-->
    <mx:DataGridColumn headerText="Image"
                       dataField="image" width="150"
                       itemRenderer="{ImageRenderer}"/>
    In the previous example, note that the Item Renderer component contains 2 UI controls – Image and Label. When using multiple controls within an Item Renderer, a layout container is required. In this example, a VBox was used.
    If this post answers your question or helps, please kindly mark it as such.
    Thanks,
    Bhasker Chari
    Message was edited by: BhaskerChari

  • Since ipad air does not support adobe flash player what is good to use?, Since ipad air does not support adobe flash player what is good to use?

    Since Ipad does not support Adobe flash player what is the best one to use?

    Adobe has not made a version of Flash for the iPad.
    Kappy explains why. https://discussions.apple.com/message/19446567#19446567
    5 Flash Player Alternatives http://www.techshout.com/features/2011/01/flash-player-for-ipad-apps/
    Top 4 browsers supports flash player on iPad and iPhone
    http://mashtips.com/flash-player-ios/
     Cheers, Tom

  • I am going to make a ADG with around 7 columns 6 of which I am going to use checkboxes as Item renderer

    I am going to make a ADG with around 7 columns 6 of which I am going to use checkboxes as Item renderers. Each of these 6 checkboxes renderers will be define in separate actionscript files as they will be updating different parts of the ADG data provider. Does this sound like the best option?

    Well the only difference is that each checkbox effects a different attribute of the  dataprovider of the ADG:
    for example this renderer effects the isSelected attribute. I may want to set a different one , hope this explains it better
    package
    import flash.display.DisplayObject;
    import flash.events.KeyboardEvent;
    import flash.events.MouseEvent;
    import flash.text.TextField;
    import mx.controls.CheckBox;
    import mx.controls.advancedDataGridClasses.AdvancedDataGridListData;
    import mx.controls.listClasses.ListBase;
    *  The Renderer.
    public class CheckBoxRenderer extends CheckBox
        public function CheckBoxRenderer()
            focusEnabled = false;
         override public function set data(value:Object):void
            super.data = value;
            if(super.data.isSelected == null){
                data.isSelected = false;
            data.isSelected = this.selected;
            invalidateProperties();
        override protected function commitProperties():void
            super.commitProperties();
            if (owner is ListBase)
                selected = ListBase(owner).isItemSelected(data);
        override protected function keyDownHandler(event:KeyboardEvent):void
        override protected function keyUpHandler(event:KeyboardEvent):void
        override protected function clickHandler(event:MouseEvent):void
              super.clickHandler(event);
            if(!data.isSelected){
                data.isSelected = true;
            }else{
                data.isSelected = false;
        override protected function updateDisplayList(w:Number, h:Number):void
            super.updateDisplayList(w, h);
            if (listData is AdvancedDataGridListData)
                var n:int = numChildren;
                for (var i:int = 0; i < n; i++)
                    var c:DisplayObject = getChildAt(i);
                    if (!(c is TextField))
                        c.x = (w - c.width) / 2;
                        c.y = 0;

  • How to create custom Item Renderers List for mobile?

    Hi,
       I have seen many samples using List with Item Renderers (image, label, message below the label and decorator) for mobile apps.
    But what I need is, I need to create a List with the below items.
    Item 1. Image
    Item 2. a small icon
    Item 3. Label with 1 or 2 lines
    Item 4.  a Favourite button (like Favourites + or - button). If I like this item, I add it into my favourites list
    Item 5. decorator arrow > to go the Detail view.
    I am new to Adobe Flash Builder and Flex development. Can anyone show me some samples on how to do this?

    Method One:
    I have created simple application page and i used powershell command(Set-SPCustomLayoutsPage -Identity "AccessDenied" -RelativePath "/_layouts/ExampleAccessDenied.aspx" -WebApplication "http://DEVWEBAPPLICATION")
    to change the new custom page.But it will be applied to all site collections in web application.
    Method Two: I have created custom masterpage and added following script. And referred this Custom masterpage in the custom access denied page.But it Never comes to this script.
    script type="text/javascript">  
      _spBodyOnLoadFunctionNames.push("redirectToCustomAccDenPage");  
      function redirectToCustomAccDenPage()  
       if( -1 != location.href.toLowerCase().indexOf('http://yoursitename/_layouts/accessDenied.aspx') )
       var url = 'https://' + window.location.host + '/mysite/customPages/customAccessDenied.aspx';
       window.location.replace(url);
       else
       alert(location.href);
     </script> 
    Method 3:
    I have Created custom HTTP module and implemented and it is working fine. But  the problem is it will be called for the all the requests in the web applicaton.
    COuld you let me know alternate apporach.
    Thanks
    Ravi P
    Ravi

  • How can I drag and drop an item from one Tree control to another in LabVIEW 7.1?

    You can use the mouse up and down event on the two tree controls but the problem is making the correct selection in the second tree control. I want to be able to switch over to the selection bar of the second tree control so that I can place my item in the correct position. I know all possible workarounds with double-clicks and so on... but I really want a windows drag and drop.
    This is what I have for the moment. Please check the library below. I need to activate the selection bar of the second tree control somehow to get the position in the control. The VI below is written in LV 7.1
    Attachments:
    Drag&Drop.llb ‏65 KB

    Hi Jones,
    As far as I know this feature is currently not supported by the Tree control. A workaround, would be to use the vertical position of the mouse in the button up event to determine what line you�re dropping the item.
    If you would like the Tree control to include the drag and drop feature, please submit this as a Product Suggestion under the feedback at www.ni.com/contact.
    Good luck!
    Best regards,
    Philip C.
    Applications Engineer
    National Instruments
    www.ni.com/ask
    - Philip Courtois, Thinkbot Solutions

  • Free goods - No stock for main item , GI happens for Free goods

    Hello gurus,
    While creating sales order, main item is entered. The free goods gets created as sub item. Now even though there is no stock of main item, during creation of delivery, system brings the free goods in the delivery without getting the main item. It allows to do a GI and billing.
    The delivery setting in the free good condition record is maintained as ('B' Delivery only if main item is fully delivered). due to this setting system should not allow to carry out delivery for both the items.
    Has any one encountered this problem and how it was resolved.
    Valuable inputs will help me to resolve on of our production issue.
    thanks and regards in advance.
    Casimer.

    Hi
    The only other way i see to stop is to tick / activate complete delivery indicator in Sales Order and use incompletion procedure or make this field as mandatory in customer master but in the second case it will be applicable for all orders for customer .
    Regards
    Rohit

  • How do you use the Multiple Item Information dialog box ???

    How do you use the Multiple Item Information dialog box ???
    Where are the instructions on how the information in the Multiple Item Information dialog box equates to ...
    1. The way iTunes sorts tracks and albums
    2. The reason to select a leading check box
    3. Why there are Option selections (Yes /No) and leading check boxes.
    4. Why some changes remain in the track info, but do not "take effect" in iTunes (Part of a compilation is an example)
    Looked in Help, Support, went to the local Genius bar for an hour, even arrainged a call from apple support ...
    Thanks

    As Christopher says, it's a compilation. Different tracks are by different artists.
    Setting the *Album Artist* field to *Various Artists* and setting *Part of a compilation* to Yes should be all that is required. Depending on your *Group compilations when browsing* setting ( I recommend On ) either should suffice but I suggest doing both.
    Based on your commentary, I selected all the "O Brother" tracks, and checked the boxes for everything line that was blank in the Info and the Sort panes. Only exceptions were the album name and the disc number 1 of 1 and the artwork. I blanked and checked anything else.
    That's not what I meant. When you select multiple tracks, only those values which +are already common+ to all tracks are displayed. Typically these will include Artist, though not with compilation albums, Album Artist, Album, No. of Tracks, Genre plus various sort fields. A blank value may indicate that different tracks have different values or it may be that the value is blank for all tracks. For the drop down values on the Options tab the value shown may not reflect the information in every tag. If values you expect to be common, such as Album Artist or the Album title are not displayed you can simply type these in and click OK. This will often be enough to group the album.
    If you place a checkmark against the blank boxes and apply changes then you will clear those fields so you should only do this if that is the effect you want. Putting a checkmark next to an empty (representing different values) *Track No.* box, for example, will just clear the all the track numbers which is very rarely useful.
    Adding then removing extra text is for a specific problem where despite all common values being identical across the tracks of the album iTunes seems to "remember" that it should see two albums. A typical example would be when an album originally listed as *Album CD1* & *Album CD2* is given disc numbers X of Y and then has the Album name changed to Album. I've seen iTunes merge all but one track into the new album, but insist on listing one remaining track separately, despite both albums having the same title. In this case I've found overtyping the album title again has no effect whereas changing it to AlbumX and then back to Album does what I was trying to achieve in the first place.
    Don't forget that even properly organsied albums may still break up if you don't chose an album-friendly view. Sorting on the track name or track number columns can be useful in some circumstances but in general I revert to Album by Artist when browsing through my library.
    tt2

  • Goods Receipt for packaging material - Item cat. ELP

    Hi expert,
    I am facing a problem regarding receive Packaging Material Item i MIGO via inbound. Problem detail as below hope you can advise me:
    1. I create PO order 1pc of Throttle
    2. In Inbound Delivery Screen I do Packing for Throttle by using Handling Unit Function, packaging Material is Carton Box.
    3. After Pack complete, Item for packaging material is auto generated in inbound screen:
    - Item Cat. of Throttle = ELN
    - Item Cat. of Carton Box (Packaging Material) = ELP
    4. When i do MIGO via Inbound: there is only 1 item for Throttle is displayed. How to do Goods Receipt for Carton Box item? Do i Miss any setting for that?
    Thanks.

    i thnk u sould maintain material master with two units one is throttle and second is cartoon.
    u shud maintain that how many throttle is equal to 1 cartoon.
    this u can maintain directlt in PO (In condition tab, with these two field : OUN and UN). in PO as a OUN ,give throttle n UN , give cartoon in item overview as well as condition tab.
    and during delivery change the unit in cartoon. then while migo, material will show in cartoon.
    hope it will be helpful.
    Thanks
    Nisha

  • Goods Receipt using Inbound Delivery with reference to Outbound Delivery

    Here is our scenario that we need help finding a solution:
    1.  Multiple Intracompany POs created
    2.  On the confirmations tab of the POs, we have u201CInbound Deliveryu201D Selected because the items need to be received in with Handling Unit management.
    3.  We have the Order Combination box checked on the shipping tab to allow 1 delivery to be created for multiple purchase orders.
    4.  We create only 1 Outbound Delivery for only available items on various purchase orders.
    5.  Due to being handling unit managed, we need to receive the items using an inbound delivery.
    Problem:  We need to find a solution to easily enter an outbound delivery number which will allow us to receive only the parts that were shipped (issued), via the inbound delivery process. 
    If we remove the confirmation control key, we can complete a Goods Receipt for Outbound Delivery in MIGO u2013 but is there a way to complete a goods receipt using an inbound delivery with reference to an Outbound Delivery?
    Thank you for the help.

    Hi,
    You can work with Inbound delivery created via IDOC Triggered from Outbound Delivery, this will carry the HU Data as well. Please refer this wonderful note, which will explain you a lot of things,  Note 1119073 - FAQ: Automatic inbound delivery creation for stock transfers
    There are other notes also available for Inbound delivery creation with HU in STO, please browse the notes, if you find any difficulty.
    Regards
    Chandra Shekhar

  • Add Goods Receipt using DI API

    Hi all,
    I want to add a new Goods Receipt using DI API, for each of the lines:
            oBatchReceipt.Lines.SetCurrentLine(1)
            oBatchReceipt.Lines.ItemCode = "ItemA"
            oBatchReceipt.Lines.WarehouseCode = "WH01"
            oBatchReceipt.Lines.Quantity = 1000
    instead of entering the unitcost of the item, i want to enter the line total.
    (unitcost or oBatchReceipt.Lines.Price is commented out)
            'oBatchReceipt.Lines.Price = costUnit
            oBatchReceipt.Lines.LineTotal = 1563
    so, when the Goods Receipt is added, there is no error popped up, but the total of created Goods Receipt is 0 (zero).
    I want to use the LineTotal instead of Price. Using the SBO system UI, user can enter quantity and linetotal and sytem will automatically calculate the price. But using DI API, i dont think it works because someone from forum says that LineTotal is NOT read/write property as written in SDK documentation.
    Anyone knows about this issue?
    Thanks.
    Cheers'
    erwine

    Hi Erwine Sukardy ,
                                   For eg.  you have used  an item  named as  " ItemA". Please go to the "Item Mater Data " . Set the unitprice as you required .Then no need to enter unitprice at line level using DIAPI .
                                If unitprice exists in item master data then . It will automatically calculates the LineTotal.
                          Hope it helps....,
    Best Regards
    V.Rangarajan

  • I am currently using FormsCentral to distribute a form created in Acrobat. I need to add an option to one of the drop down fields but do not want to re-distribute the form due to reporting purposes. How can I do this?

       I am currently using FormsCentral to distribute a form created in Acrobat. I need to add an option to one of the drop down fields but do not want to re-distribute the form due to reporting purposes. How can I do this?

    You can open the form in Acrobat, select "File > Save a Copy", open the copy you just saved (it doesn't happen automatically), edit the dropdown to add the new item, save as a new file, and then Reader-enable the file by selecting: File > Save As Other > Reader Extended PDF > Enable More Tools. The resulting PDF should work with FormsCentral just like the original.

  • Datagrid Drop Down Item renderer Scroll Problem

    Hi,
    I am having a problem with an drop down item renderer on a Datagrid.  When ever the datagrid is displayed and the cell is clicked on i want this to display a drop down list of objects.  I can get the drop down to appear with the list of objects.  H
     owever the scrollbar does not work on this item to allow the user to scroll through all the objects.  If you use the mouse wheel you can scroll down through them all but not when you try and click on the scroll bar to drag down.  Below is the code used.  Any advice why this might be happening?? 
    <mx:DataGridColumn headerText="Widget"
    dataField="WidgetName"
    editable="true"  headerWordWrap="false" textAlign="center" width="100"
    editorDataField="Widget">
    <mx:itemEditor>
    <fx:Component>
    <s:MXDataGridItemRenderer focusEnabled="true" height="22" >
    <fx:Script>
    <![CDATA[               
    import mx.events.FlexEvent;
    import spark.events.IndexChangeEvent;
    private var selectedWidget:Widget = null;
    public function get ccyPair():String {
    return  ddlCcyPairs.selectedItem.Widget;
    override protected function commitProperties():void {
    super.commitProperties();                
    trace("Commit .......");
    protected function ddlCcyPairs_changeHandler(event:IndexChangeEvent):void {
    for each(var ccyP:CurrencyPair in ddlCcyPairs.dataProvider) {
    if (ccyP.ccyPair == ddlCcyPairs.selectedItem.ccyPair) {
    selectedWidget = ccyP;
    ddlCcyPairs.selectedItem = selectedWidget;
    protected function ddlCcyPairs_creationCompleteHandler(event:FlexEvent):void {                 
    for each(var ccyP:CurrencyPair in ddlCcyPairs.dataProvider) {
    if (ccyP.ccyPair ==  data.ccyPairName) {
    selectedWidget = ccyP;
    ddlCcyPairs.selectedItem = selectedWidget;
    ]]>
    </fx:Script>
    <s:DropDownList id="ddlWidgets" width="100%"
    dataProvider="{parentApplication.Widgets}"
    labelField="name"              
    selectedItem="selectedWidget"
    creationComplete="ddlWidgets_creationCompleteHandler(event)"
    change="ddlWidgets_changeHandler(event)"/>
    </s:MXDataGridItemRenderer>
    </fx:Component>
    </mx:itemEditor>
    </mx:DataGridColumn>

    Hi, Post a test code.... It will be a lot easier to help you Mich

  • SAPGUI 7.20 patch level 7 crashes while working in ALV using drop downs

    We have a set of users that work mostly in ALV transactions and can have a few open at the same time.  They also use the drop downs quite frequently switching back and forth between ALV's.  After working like this for awhile SAPGUI crahses.
    Unfortunately we have not been able to re-create this issue so I have not entered an OSS message.  The only constant is using ALV & drop downs.
    We have done the following:
    Patched the GUI - no help
    upgraded pc's  - These user received new pc's with higher memory & Windows 7 this helped slow down the amount of crashes occurring but did not eliminate them.
    We have monitored the memory on the pc & that does not seem to be the issue.
    Searched OSS, Google & SDN
    They are using the Signature View and IE 8 .
    Has anyone else experienced these issues or maybe have some suggestions on how to proceed?
    Thanks,
    Diane Szmurlo

    Thanks for the response Jude. 
    I cannot say that all ALV users are affected or at least they are not reporting it.  This particular group of users mainly works in ALV & with very large amount of data loaded into the ALV. 
    I watched the user this morning.  She is filling in data using drop downs & ctrl C and  ctrl V, just s few fields at a time.  There was a note about copying large amount of data in ALV but that has been fixed & we have that patch.
    I ran the  nwcheckworkstation and it came back ok.
    I wanted to trace the GUI but we cannot recreate the issue.  So the trace would have to be running for sometime before the user crashes which is not even a guarantee and I am not too sure that is a good idea since traces usually produce large files.  Also not too sure which GUI component to trace.  
    Diane

  • HT1529 Upon startup my iMac has a popup that says: "talagent wants to use the local items keychain."  New to me--can't get anywhere.  How do I get out of this and get things up and running again?

    Upon startup my iMac (OSX Mavericks) has a popup (that I can't get rid of!) that says: "talagent wants to use the local items keychain."  I never set this up, don't want it, and want my iMac to start up with my desktop in place and ready to work.  I'd appreciate some help please.  How do I get rid of this?  Thanks.
    Larry

    I found this and it fixed my issue..
    I was suffering with this same problem, I followed these steps and everything returned to normality:
    1.- I opened KeyChain app and run the FirstAid (from the KeyChain app Menu)with my user Password (this do work) because the problem is not with your password. If there is any trouble with your keychain file this will fix it.
    2.- Opened Disk Aid and run Fix Persmissions just in case there was left some wrong file permissions during the upgrade.
    3.- Went back to the Key Chain App and Locked and Unlocked the Keychain using the Lock in the top left corner of the app. When asked for my password I simply typed my User password.
    After this everything worked fine. These are the steps that I followed but I really think that #3 did the trick here. You could try to do only #3 directly and it might fix your problem, but fixing the Keychain and fixing OS permissions is never a bad Idea.
    Good Luck friends.

Maybe you are looking for