How can a button in a component change text in main

I have created a new component and moved a combobox from the main app to this component. In the main app I’ve include the component and it works marvelous. Also in the main app I have a label id="myLabel”. Now I want to change the text from myLabel when the combobox change (close event).
How can I allow e.g. the combobox in the new component to change something in the main app. It only works visaversa. (Of course I know that this is not the best practice, but I’m just wondering while testing)

Technically this answer is correct, but for most scenarios it is wrong. You should not have your components change properties in their parent components, since this creates a tight coupling making re-use difficult or impossible.
The appropriate way to do this is to use events. A component emits an event and someone listens for this event and the text in the parent changes as a result of the event.

Similar Messages

  • I have a new Macbook pro and can't recall the password I used with my Time capsule - How can I (ideally) retrieve or possibly change the time capsule password?

    I have a new Macbook pro and can't recall the password I used with my Time capsule - How can I (ideally) retrieve or possibly change the time capsule password?

    Remember security on a TC is an illusion.
    Simply press the reset button for 1-2 sec.. you must not do too long .. it will then hard reset.. but soft reset will revert all passwords to default for 5min. ie TC password is now public.
    Remember this the next time because anybody at all can change your passwords.
    Once into the TC you can then open the view passwords if you wanted any weaker security. Click and open the TC.. and click on edit.. then go to the top menu..
    Voila .. all your passwords in plain sight to any Tom Dick and Fred.

  • How can I include a portal component look and feel in a java servlet

    Does any body know how can i include a portal component look and feel (tables, buttons, etc) in a java servlet?

    Hi José,
    I don't think that is possible. But you can import the css files that ep uses for its look and feel and try to give your web pages similar look and feel. The tables and other controls used in EP are totally different and are done through complex JavaScript coding instead of simple HTML tags. If you want exact lok and feel then i thin you must go for a Webdynpro based application rather then a J2EE application with JSPs.
    Regards,
    Guru.
    PS: Give points for helpful replies.

  • I have forgotten my Password to be able to connect between my desktop Mac and Mac Book on my home network. How can I recover the password or change it?

    I have forgotten my Password to be able to connect between my desktop Mac and Mac Book on my home network. How can I recover the password or change it?

    The password used to log in to a user account remotely is the same as you would use to log into it locally. You can also use your Apple ID, so try that.
    To change your login password read OS X Mavericks: Reset a login password
    also OS X Mavericks: If you forget your login password

  • I signed into my Apple ID on a new phone and I already had it on my iPod. When I signed into the new phone it won't let me buy anything unless I know my old security questions but I don't know the answers to them. How can I get past those or change them?

    I signed into my Apple ID on a new phone and I already had it on my iPod. When I signed into the new phone it won't let me buy anything unless I know my old security questions but I don't know the answers to them. How can I get past those or change them?

    See Kappy's great User Tips.
    See my User Tip for some help: Some Solutions for Resetting Forgotten Security Questions: Apple Support Communities https://discussions.apple.com/docs/DOC-4551
    Rescue email address and how to reset Apple ID security questions
    http://support.apple.com/kb/HT5312
    Send Apple an email request for help at: Apple - Support - iTunes Store - Contact Us http://www.apple.com/emea/support/itunes/contact.html
    Call Apple Support in your country: Customer Service: Contacting Apple for support and service http://support.apple.com/kb/HE57
     Cheers, Tom

  • How can I execute method of Component for name

    Hello,
    My program has JInternalFrame with some components. Write me please - how can I execute method of Component for name of Component ?
    Like this:
    ... findObject("jTextArea1").cut();
    Thank you in advance.

    just cycle through the container's components until
    you find one where getName equals "jTextArea1"Thank you for your answer.
    I'm creating components in runtime (I add panel+JTextArea in JTabbedPane) and I don't know how many components will be in JTabbedPane.
    I know only it's names.
    I wan't to execute metod JTextaRea_n_.cut() via using JTextaRea_n_.Name.
    How ?

  • How can i Close the PO by changing the Qty to 6000 from 5.443,206???????

    Hi All,
    User wants the  PO with 240bags= 6000 Kg but the value is like this  240bags x 22.68kg  = 5.443,200 Kg(this is picking from material master in Alternate units of measure 100bags =2268)
    *As of now the PO status is:
    Ordered Qty: 240bags
    Delivery : 264.550 (User changed the Qty from 240 to 264.550 bags in delivery)
    PGI Qty: 264.550
    GR: 240 bags
    IR: not completed
    The fact is that they purchased 6000kg and they were able to add into the system just 5.443,206, and They need to add the rest into the PO:  556,794 kg (we have them in the warehouse)
    How can we do this?
    In order to close this PO they want to add remaining Qty
    i have tried to change the alternate unit of measure in the material master from 100bags=2268Kg to100bags=2500kg but this is not reflecting in the PO
    if i am trying to create a new PO the new AOU(to100bags=2500Kg ) is reflecting
    Please let me know how can i Close the PO by changing the Qty to 6000 from 5.443,206???????

    Hi,
    As per your posting i under stood the question like this.
    PO has been created for 240 bags which is 5.443,200 Kg ( As per the material master calculation).But user wants 6000kg.
    Delivery has been done for 264.550 bags at 100bags =2268 kg.Means 264.550*22.68 = 5999.94 almost 6000kg.
    And since PO is for 5,443,200 KG , GR has been made against this qty.
    At this stage please remove the new conversion change for the material since every transaction has been made against the PO it will not reflect.Also if there exists any transaction in pipe line will get effct due to this.
    Just change the PO qty to 264.550 bags and receive the GR for the remaining qty which is 24.55 bags .Sytem will allow this change.Also no need of additional Delivery or PGI. since already the PGI has been for 264.55 bags.
    Other wise if you want change the conversion factor for the material , please reverse the GR done and cancel the PGI at VL09 and delete the delivery and make the PO afresh and change the qty as per the 6000kg requirement and repeat the process.
    Please reply the result.
    Regards,

  • How can i get my car to change the track when i am listening to the music on my phone through the line-in?

    how can i get my car to change the track when i am listening to the music on my phone through the line-in? is there a app i can download so it will recognize it? i have a vauxhal astra and the controls are on the steering wheel

    First question is how old is Astra and you are in UK ( well you must be to have a Vauxhall)
    Normally the Radio only has a line in socket  to allow sound
    You have two choices here either a simple cable with a 3.5mm Headphone plus at each end
    or a cable with the headphone plug to place in car's line in plug and a wide Apple socket to fit the base of your iPhone This allegedly gives better sound but  you have to control the iPhone for music selection
    The equipment you need to control the iPhone from the Steering Wheel controls ,which I suspect currently handles radio /Cd  tracks /stations ,is much more complicated it will have to be integrate with the Factory Fitted  radio
    and designed to manage the S/Wheel  controls and translate to the iPhone .
    Fitted into back of radio etc etc
    If car is a recent Vauxhall there may be a kit available from them .but will not be cheap
    Many imponderables you did not give much away in your OP

  • How can i set authrization to delete/change email address from broadcasting

    How can i set authorization to delete/change email address from information broadcasting. I would like to set an authorization because other bi users also have an authority to change my auto mail settings. How can i restrict this?

    Auth object for Broadcasting in 7.0 server
    RSRD_ADMIN - Broadcasting (7.x) Administration
    Check the authorizations for Broadcasting in the below SAP notes.
    Authorization check for broadcasting settings
    SAP Note Number: 1053944
    Please go through this thread for additional info.
    Authorizations for Broadcasting

  • How can I know the right component for a transaction?

    Hi, I have a question
    When creating a new message in Solution Manager, notif_create, how can I know the right component given the transaction code or program name?
    Thanks in advance
    Edited by: María Valdés on Aug 19, 2008 6:25 PM

    Hello Maria,
    Well, in the Support Message window, place the cursor in Component box and press F4. This will brings up another window which contains the components list to which you are authorized. From that list you can choose about which component you want to create that particular support message.
    For example, if you are from Quality department, the following can be visible when you press F4.
    QM - Quality Management
      -- QM-ADB Adobe Forms
           -- QM-ADB-PRN Print Forms
      For the Print Forms, the component will be QM-ADB-PRN
    I hope it helps.
    Cheers,
    Satish.

  • HT1918 how can i remove my billing and change it into a free apple id user?

    how can i remove my billing and change it into a free apple id user?

    iTunes Store: Changing Account Information
              http://support.apple.com/kb/HT1918
    Select None under your payment method.

  • My sister inlaw gave me her iphone3 and when i try to update a app it says that i must sign into her accound when i have already created my own apple id n put it in, how can i avoid that from happening/ change it?

    my sister inlaw gave me her iphone3 and when i try to update a app it says that i must sign into her accound when i have already created my own apple id n put it in, how can i avoid that from happening/ change it?

    You should do this to make this your iPhone and remove her info...
    If desired, move photos/videos off the Camera Roll: http://support.apple.com/kb/HT4083
    If desired, backup the device to iTunes or iCloud: http://support.apple.com/kb/ht1766
    Then, on the device...
    Settings > Messages > iMessage > Off
    Settings > FaceTime > Off
    Settings > iCloud > (scroll down) Delete Accout (this only unregisters and deletes it off the device)
    Settings > iTunes & App stores.  Tap the AppleID and sign out.
    Settings > General > Reset > Erase All Content and Settings
    Unregister the device at https://supportprofile.apple.com
    More Info... http://support.apple.com/kb/HT5661

  • How can I customize Workflow for Organizational Change (WS01000014)

    Hi ti all!
    Let me know please, How can I customize Workflow for Organizational Change (WS01000014)?
    What steps must I do?
    Thank!

    Oracle Workflow home page is basically static HTML content rendered by Mod PLSQL code written in WFA_HTML.HOME procedure. There is no supported way of customizing this page.
    Thanks

  • How can I stop tab order get changed/switched?

    I am on 10g platform. I have a page with 2 tabs [tab A (1st tab) and tab B (2nd tab)] and need to navigate to another page from tab B and come back to tab B and display tab B which I achieved using “disclosed” property. However the problem I face is that the tab order get changed/switched (tab B become 1st and tab A become 2nd) when I come back from the other page to tab B. How can I stop tab order get changed/switched?
    Code snippet from backing bean
    private CoreShowDetailItem tabA;
    private CoreShowDetailItem tabB;
    Following code will be executed while returning to tab B from other page.
    tabA.setDisclosed(false);
    tabB.setDisclosed(true);
    Code snippet from page
    <af:showDetailItem text=”Tab 1”
    binding="#{backingBeanName.tabA }">
    <af:showDetailItem text=”Tab 2”
    binding="#{backingBeanName.tabB }">

    Code snippet from backing bean
    I found solution for this problem and the solution as follows.
    private boolean tabA;
    private boolean tabB;
    Following code will be executed while returning to tab B from other page.
    tabA = false;
    tabB =true;
    Code snippet from page
    <af:showDetailItem text=”Tab 1”
    disclosed="#{backingBeanName.tabA }">
    <af:showDetailItem text=”Tab 2”
    disclosed="#{backingBeanName.tabB }">

  • How can I buy the software to change the pdf file to excell file en costa rica

    How can I buy the software to change the pdf file to excell file???

    Not sure what you are expecting. Scale is just an abstract concept. The overall content and appearance of the drawing doesn't change. If you place the same drawing on teh same page and just change it's supposed scale, you have changed nothing effectively . As far as AI is concerned, all that matters is the size of the content in relation to the page its on. If you want things to appear at specific sizes, you must scale them accordingly on the page and also keep in mind that AI uses inches as its base unit. so essentialyl you need to define the DPI of the drawing.
    Mylenium

Maybe you are looking for

  • Error: This page has graphics other than images or text on it

    I recently upgraded to Adobe Acrobat 9 Pro, and I am experiencing a problem with OCR text recognition. If I use "Create PDF from Scanner" or "Create PDF from file" (using a monochrome TIFF image) to create a PDF, I can then perform OCR on the PDF fil

  • My HP 5535e-All-in-one printer will not print in color on items from computer

    Item on computer has color in it, when you hit print it will print all black  but will not print any of the color items

  • How to read scaled data in Matlab?

    I'm using the board PCI-6115, Labview and Matlab. I have some questions related to that scaling of data. I'm using as base of my program the example:'Cont Acq to File(binary)', present in Ni Help. I acquire the data as i16(unscaled) and then read it

  • Logic Pro X Keeps Crashing.

    Hi. I've had a problem with logic pro x the last few days. I can't be sure, but i have a feeling that it started when i was prompted to download a "logic content pack". Pretty much, i clicked on the sub bass on the EXS24 and it said i needed to downl

  • Communication process for customs export declarations in ATLAS

    Hi, I am looking for notes which is relate to German export declaration process. The notes related to 2 message types, one for sending the inspection relate data to the responsible customs office (Neue Nachrichtenart "Beschau") , another message type