Custom component in Flex 4.0 to change the label position on top of its children

Need to show the label on top of its children by changing position of the FormItems lablel through custom component in Flex 4.0

Hi,
Thanks much for following up. Yes, my itemrenderer is defined inline and I did reference the dataprovider's group id via "outerDocument". As a matter of fact, I think I simply copied/pasted the code. The only significant difference I can see is yours is defined directly inside an Application tag whileas mine is under a VGroup:
<s:VGroup>//this is the top tag
<s:DataGroup>
        <s:layout>
            <s:VerticalLayout/>
        </s:layout>
        <s:ArrayList id="listDP">
            <fx:String>Age 21-30</fx:String>
            <fx:String>Age 31-40</fx:String>
        </s:ArrayList>
        <s:itemRenderer>
            <fx:Component>
                <s:ItemRenderer autoDrawBackground="false">
                    <s:RadioButton label="{data}" groupName="{outerDocument.rbGroup}"/>
                </s:ItemRenderer>
            </fx:Component>
        </s:itemRenderer>
    </s:DataGroup>
</s:VGroup>
Any ideas?
Geng

Similar Messages

  • What to do if my master page is too small for custom master page column, I need to change the papers

    What to do if my master page is too small for custom master page column, I need to change the papersize from A4 to US letter size *

    My 2nd gen works fine with WPA2 and AES encryption.
    You may need to go back and start over.  Reset the router back to factory defaults, log on as the admin, set up security, DHCP, and make sure the IP address pool has enough IP addresses to lease to ALL of the computers/devices that will connect to that the router.

  • How to change the label of a component with javascript?

    Hi, i need to change the label of a component dinamically. I tried:
    if (document.getElementById('P34_ID_OPERACION').value==2) {
    document.getElementById('P34_ID_USUARIO_DEST').label = 'Encargado:';
    if (document.getElementById('P34_ID_OPERACION').value==3) {
    document.getElementById('P34_ID_USUARIO_DEST').label = 'otro texto:';
    but doesn't work.
    any ideas?
    Edited by: Andres Vilallave on 16-mar-2010 12:49

    Hi,
    I think "label" is not valid attribiute for "input" tag.
    Create new hidden item P34_LABEL. For item 'P34_ID_USUARIO_DEST', put label value as +&P34_LABEL.+
    Now try the following JS
    <script>
    if (document.getElementById('P34_ID_OPERACION').value==2) {
    document.getElementById('P34_LABEL').value = 'Encargado:';
    if (document.getElementById('P34_ID_OPERACION').value==3) {
    document.getElementById('P34_LABEL').value = 'otro texto:';
    </script>Cheers,
    Hari

  • Can't change the label text for the first time of  loading

    I have some problem to change the label text in the prerender method.
    I put a label on the form and set the text value to "Customer" on the text properities , and I would like to change the lable text to "Supplier" in the prerender method, I found some strange behaviour.
    If I type nothing on the label text of the properties , I can change the lable text on the prerender method on the first time of the form load .
    If I put something on the label text of the properties , the text label can't be changed on the first time of form loaded, the lable can be changed if I refresh the form or reload the form.
    Could anyone help me to solve this kinds of problem ?
    Thanks

    This is a tough one to explain. Here is one explanation from the Delving Into Components tutorial:
    As with the JavaServer Pages implementation, when the server constructs a page from JSP source, the tag attribute settings in the JSP source take precedence over runtime settings. For example, if you set the text property for a Static Text component to "moon," the IDE adds text="moon" to the Static Text component's tag in the JSP file. Even if the page's prerender method has a staticText1.setText("sun") statement, the Static Text component shows "moon" when the application renders the page. If the page is rerendered, the staticText1.setText("sun") statement takes affect and the Static Text component shows "sun." If you visit another page and come back, the server once again constructs the page from the JSP source, the values set in the JSP tag attributes take precedence, and the page displays "moon."

  • How to Change the label names in crmd_order

    HI Experts
    in CRMD_order transaction i want to change the lable names to the following Standard labels is it possible?..
    the standard label names are
    Standard Label name proposed label name
    Sold to Party = XXXXXXXX
    Requester = YYYYYYY
    Change Manager = AAAAAA
    Change Advisory Board= BBBBBBB
    I have found one link in sdn,To change the label Names But I am not able to find data element name.
    Kindly provide me  your valuable guidance on the above issue.
    Thanks in advance
    Thanks & Regards
    Anand

    Hi,
    it looks like you want to change the names of the partner functions.
    You can do this in the customizing, for example using SPROScenario Specific SettingsService Desk-Service Desk--Partner Determination Procedure (This one works for both ChaRM & Service Desk).
    The standard procedure in your case would be SDCR0001.
    The recommended way is to define your own Z partner functions and assign them to your own Z Partner Determination Procedure, which you have to replace in the configuration of your transaction type.
    Regards,
    Christoph

  • Trying to change the labels for some UI elements

    hi,
    Problem:  I am trying to change the labels for some UI elements and transport the views from one server to another server.
    the lables show changed in the source server but the changes dont reflect in the destination server
    Kidly help me to slove this problem

    Hi Sharad
    The process is as explained:
    1.     Firstly, go to the respective view, and to the Label and then delete the Label Text as   
                    mentioned in the attribute u2018TEXTu2019 of the Label in the view.
    2.     Next, Activate the View, if it asks for a change request, please assign it to a new TR.
    3.     Finally give the Label text again and then Save it and activate it.
    4.     Further transport the request to ECP and find the difference.
    This especially happens when we frequently change the WD Component and embedd it entirely in the Transport.
    I hope this information would be of a great help to all of us.
    Ponts if helpful.
    Regards
    Roshan

  • Changing the label of Next button in af:trainButtonBar

    Hi,
    I have a bounded task flow that contains 5 train stops.
    In each step, I’m using the train button component to show the back and next buttons.
    In the third train stop, I need to change the label of the next button to something else (read from a resource bundle if possible) but I need to do it only for this taskflow and for this step only.
    I found that I can do this with the skinning, but this will change it for the whole application no? but I need to do it for this task flow only
    Any hints how can i change the label?
    Thank you

    Hi,
    The task flow I’m implementing is a simple task flow where the user navigates through all the stops. No stop is skipped. So the af:trainButtonBar is very suitable for my case. The only modification I need is to change the text label of the next button from “next” to “a string read from a resource bundle”.
    In the example in the link, we are using command buttons but what I need is to stick to af:trainButtonBar with just changing the label.
    Thank you again

  • Is there any way to change the label of my VO attributes

    hi ,
    Is there any way to change the label of my VO attributes so that it will have more logical presentation
    Thanks
    Musahib

    Hello Alex,
    I 've just checked my webbeans and the COLUMN_NAME_LABEL property is not use by the EditCurrentRecord, FindForm and RowsetBrowser webbeans.
    I had the following line to my custom EditCurrentRecord, FindForm and RowSetBrowser.
    So I can set Column display name ones for each webbeans.
    It's better than do it with different methods for each webbeans!!!!
    if((String)qView.getProperty(attrs[attrNo].getColumnName() + "_LABEL") != null)
    rField.setPromptText((String)qView.getProperty(attrs[attrNo].getColumnName() + "_LABEL"));
    In the ViewCurrentRecord something was done but with errors. Oracle Developers used getName() method instead of getColumnName()!!! So I rewrite it.
    if((String)qView.getProperty(attrs[attrNo].getName() + "_LABEL") != null)
    sHeader = (String)qView.getProperty(attrs[attrNo].getName() + "_LABEL");
    Hope this will help!
    Email if you need more.
    [email protected]
    Jean-Nokl

  • Change the label names in Shopping Cart for LATAM countries..

    Hi Gurus,
    We are implementing SRM for LATAM countries. The portuguese & spanish language here are different than those in Portugal & Spain.
    The translations that are coming for these countries are different than what SAP as a standard is offering.
    In view of this, to list some of the issues as below -->
    The word u201CSolicitaru201D (which means Order in English) they want to replace it as u201CEnviaru201D, this is more usual in the LATAM spanish language to send for approval.
    The other one is u201CTartaru201D (which means Edit in english) they want it to replace with word is u201CEditaru201D.
    Can we change these label names without affecting the Portugal & Spain translations which the user there are already fine with.
    Appreciate your quick help.
    Thanks,
    Abey

    Hola,
    You can do it in the component configuration;
    -Goto se80 to the component FPM_OIF_COMPONENT and configuration /SAPSRM/WDCC_FPM_OIF_SC_PROFNL (or what you want, you can see it in technical settings in the portal)
    - Choose "Start Configurator" and change
    - Choose your button and change the label in the field "Identif"
    Regards,

  • Want to change the labels on the buttons on search criteria

    Want to change the labels on the buttons on search criteria as i work on Arabic ADF Project
    i want to change the label of "SEARCH" button , "ADVANCES SEARCH" , "BASIC" , "SAVED SEARCH"
    i don't know how to change this labels as when i drug search criteria over the form i don't know how to change this fields
    thanks i advance

    Hi,
    Arabic language is supported by ADF Faces RC on the fly. When you incorporate localization in your application and set the locale attribute of your page's <f:view> tag to "ar", the labels of the query component will already be shown in Arabic. Please see sample code snippet below:
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:h="http://java.sun.com/jsf/html"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
      <jsp:directive.page contentType="text/html;charset=UTF-8"/>
      <f:view locale="ar">
    ....Please see the following blog-post for details: http://soadev.blogspot.com/2010/03/adf-faces-rc-supplement-on-how-to.html
    regards,
    Pino

  • Changing the label of TOC to another language in Captivate 7

    I am using Captivate 7 and created a number of English Projects.  I have translated these English files to French (by exporting/importing captions), changed the voices, etc, etc.  All is now in French in the project except the title of the Table of Contents when enabled.  I have already changed the labels in the table of contents for things such as Slide Title, Duration, etc by creating the TOCStrings.ini file and copying it to my root folder - that works as described in other posts/blogs. However, I am unable to change the Heading/Label of "Table of Contents" to French. 
    Is the TOCStrings.ini file the place to change the label of Table of Contents to French?  If so, what string would I add to the file to make this change happen?
    Can someone please let me know where the change can be made (if not in the TOCStrings.ini) or if the change is even possible? 
    Thank you!

    If you enter data in the Info fields of the TOC, the indicator 'Table of Contents' will automatically be replaced by the Title field.

  • Changing the label of a field in SAP GUI

    Hello SAP Guys,
    I would like to change the label of a field in SAP GUI.
    I already did it internally because for that field the Shor Text of the label changed:
    I went to SE11, and wrote down the appropriate data element, through Translation I changed the entries of SCRTEXT_L, SCRTEXT_M and SCRTEXT_S and activated this change after saving.
    It is very strange that after making sure that the
    Short Text of that field was changed, I went to trx BP and I could see that the label didn´t change.
    I´ll appreciate any help you can give me,
    Regards,
    Efrain

    Hi Efrain,
    Can you tell me in which screen did you make the screen.
    Moreover the changes are not reflected immediately.
    What you can try is to create a new record of the transaction in which you changed the label and save the recore. After this try to close the session and reopen the transaction and this should work.
    The reason is the label on the screen are not picked up from the data element everytime but from buffer. So when you create a record this updates the database table entry and can also refresh the buffer.
    I had the same problem in BP transaction and the above solution worked.
    Let me know if this helps.
    Jash.

  • How to change the label of a total column in pivot view

    Hi
    Is there a way to change the label of the column created by analytics when calculated row based totals? Currently, it is same as the measure label to be summed.
    Thanks

    Hi
    Thanks for your help, actually that option works for the total displayed as the latest row, I mean the label for the total row. However, for the total column, the name stays as the same as the measure label.
    Can you further help me on the issue?
    Thanks

  • When printing mailing labels from Contacts how do I change the label size?

    I want to print mutliple labels from a group in Contacts. I can print 20 labels per page but I want to print 14. I have tried every option in the pop up window but nothing lets me change the label size, 

    Hi 786menzies,
    Welcome to the HP Support forums.  I understand that your print jobs from Photosmart 5520 seems very small.
    The font size is controlled by the software program that the document was created in, for example any Microsoft Word document that you send to the printer the font size would have been chosen in Microsoft Word.  I've included two different documents on how to change the print settings; one for Mac and one for Windows 8.  These documents will show you the process on changing print settings if not the actual steps as you may not be using one of the operating systems mentioned.
    Changing Print Settings in Mac OS X
    Changing Print Settings in Windows 8
    Regards,
    Happytohelp01
    Please click on the Thumbs Up on the right to say “Thanks” for helping!
    Please click “Accept as Solution ” on the post that solves your issue to help others find the solution.
    I work on behalf of HP

  • Changing the column position & width using Screen Variant..

    Hi Experts,
        Iam trying to change the column position and width for the standard transaction (eg. FB60 or VA02) using the transaction code SHD0 (Transaction and Screen Variant).
        Iam able to create and save the transaction and screen variant and i could see the check box options for table control like
        a. Auto Column Position
        b. Auto Column Width
         I tried checking and unchecking both the check boxes but iam unable to modify / maintain the column position and width.
         Please guide me in changing the column position and width.
       Thanks in Advance.

    Hi Mudit,
    Kindly go through this link below:
    http://help.sap.com/saphelp_nw04/Helpdata/EN/9f/dbac0b35c111d1829f0000e829fbfe/content.htm
    Hope it helps you
    Regrds
    Mansi

Maybe you are looking for

  • How do I connect two ipod's to one computer

    I own an 5th Gen IPOD, I am buying my wife a Nano for Christmas. How do I connect both to the same computer, yet keep the ITunes and therefore IPOD update seperate? IPOD 30GB   Windows XP  

  • Refreshing the fields in a view

    Hi Gurus, I have a requirement of refreshing the values of fields in custom assignment block when clicked on NEW tab in  WEB UI. If I open an existing campaign and then i click in NEW, then the values of custom fields are not getting refreshed. these

  • Webcam, USB Ports stopped working suddenly

    Hi everyone,  Wondering if anyone can help me, my webcam and all USB ports have suddenly all stopped working. Yesterday my mouse light was flickering but still working and today the same mouse won't light up at all. I tried with a different mouse and

  • Using Clobs As An XML Datagrid Source (extjs)

    I'm still playing around with the extjs library and have decided to try an xml-grid next. I know I can call an application process for a URL so I was thinking I'd probably use that to get the resulting XML. I also know I can create an application pro

  • Find client Screen Resolution with PL/SQL.

    Hi, Is it possible to find the client current screen rsoultion using PL/SQL within Oracle Portal? Thanks. Best Regards.