t:panelTab and  f:actionListener together?

Is it possible to use <f:actionListener> with <t:panelTab> (or <t:panelTabbedPane>, for that matter) to call a method when a tab is pressed/selected?

  if (event.getSource() == buttonTotal)
    double transportAmt=0.0, billsAmt=0.0, foodAmt=0.0, giftsAmt=0.0,leisureAmt=0.0, othersAmt=0.0, totalAmt=0.0;
    if(!transportField.getText().equals("")) transportAmt = Double.parseDouble(transportField.getText());
    if(!billsField.getText().equals("")) billsAmt = Double.parseDouble(billsField.getText());
    if(!foodField.getText().equals("")) foodAmt = Double.parseDouble(foodField.getText());
    if(!giftsField.getText().equals("")) giftsAmt = Double.parseDouble(giftsField.getText());
    if(!leisureField.getText().equals("")) leisureAmt = Double.parseDouble(leisureField.getText());
    if(!othersField.getText().equals("")) othersAmt = Double.parseDouble(othersField.getText());
    totalAmt = transportAmt + billsAmt + foodAmt + giftsAmt + leisureAmt + othersAmt;
    showTotal.setText("= $" + totalAmt);
  }

Similar Messages

  • What key(s) do i type to change language from english to other? i am writing s story in dual languages. i was told to click command and space bar together but it is not working.

    what key(s) do it type to change language from english to other? i am writing a story in dual languages. I was told to click command and space bar together but it is not working.

    Command Spacebar opens Spotlight as you have found out. If you want to change languages you need to say what app you are using to write the story in, I'm guessing you are using Pages or MS Word. If that's the case
    Pages: Open Inspector - Click the T tab - Click Language and change your language.
    MS Word: Tools Menu - Language - Choose your language.

  • Perform static and dynamic check together on a customer?

    Hello All,
    Is it possible to perform static and dynamic check together on a customer?
    I believe standard SAP does not allow both options together.
    The scenario is: My client has customer who orders products 1 year in advance and create sales order with a future delivery date. The customer might have balance due on their account which is close to the credit limit. As a result the sale order should be blocked as if the automatic credit check is "Static". This would allow our customer service to call the customer and arrange for the payments.
    Then 11 months later, a dynamic check should be performed on the customer to make sure the past due is under the credit limit. If the past due is over credit limit, the sales order must be blocked for delivery as if the credit check was "Dynamic" with 30 days horizon. This would again give our customer service time to settle the payment with the customer.
    If anyone has implemented such a scenario, can you please give me an overview of how you did it?
    Thanks very much in advance and Text Removed.
    With Regards,
    AM
    Edited by: Lakshmipathi on Nov 13, 2010 9:23 AM
    Please dont include this text

    Static and Dynamic Cannot be Performed together. They are mutually exclusive events.
    Credit check can be performed either at Sale order level or at Delivery / PGI Level.
    FCV3 is a good report to see whether a customer would fail a credit check. ( suitable for your customer service )
    Coming to your Point , Assuming that the customer is eligible for a Credit of 50 Lacs. Now the Customer has placed an order for 60 Lacs. We set the Customer credit checking at  order level . The Customers Sale order would get blocked.
    The Customer service  will follow up for the payment and see to it that it is made. Assume the customer has made a payment for 70 Lacs.
    Now let us have a look at the account statement of the customer.
    Account Statement :     Customer Cr :  70 Lacs.   Dr   :  0.  ( because no delivery and invoice  so far has been made )  
    So we are supposed to deliver the Material worth value of 60 Lacs.
    The First sale order worth 60 Lacs has been unblocked in VKM3. Now at the time of Delivery level why would you want to chekc the Credit limit again ? It has already passed the credit check.
    It is not necessary to check credit limit . Because you have already performed the same at the order level.
    Now the customer has come again and raised another sale order for 80 Lacs. The System would block him.
    The system will never block the Previous delivery which you are, due for delivery  to the customer.
    If we keep on checking the Credits without delivering we would end up only raising in Sale orders and no Delivery to the Customer  at all. The Debit side of his account will always be 0.
    So i donot think Static and dynamic is needed . you can go for either Static or Dynamic.

  • Error while using REMAP_TABLE and WHERE clause  together in IMPDP

    I am trying to move some records from a very large table to another small table.
    I am facing trouble while using REMAP_TABLE and WHERE clause together in IMPDP.
    Problem is data filter is not getting applied and all records are getting imported.
    here is how I have simulated this. please advice.
    CREATE TABLE TSHARRHB.TMP1
      A  NUMBER,
      B  NUMBER
    begin
    Insert into TSHARRHB.TMP1
       (A, B)
    Values
       (1, 1);
    Insert into TSHARRHB.TMP1
       (A, B)
    Values
       (2, 2);
    COMMIT;
    end;
    expdp system/password TABLES=tsharrhb.TMP1 DIRECTORY=GRDP_EXP_DIR DUMPFILE=TMP1.dmp REUSE_DUMPFILES=YES LOGFILE=EXP.log PARALLEL=8
    impdp system/password DIRECTORY=GRDP_EXP_DIR DUMPFILE=TMP1.dmp LOGFILE=imp.log PARALLEL=8 QUERY='TSHARRHB.TMP1:"WHERE TMP1.A = 2"'  REMAP_TABLE=TSHARRHB.TMP1:TMP3 CONTENT=DATA_ONLY
    Import: Release 11.2.0.1.0 - Production on Fri Dec 13 05:13:30 2013
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    With the Partitioning, Automatic Storage Management, OLAP, Data Mining
    and Real Application Testing options
    Master table "SYSTEM"."SYS_IMPORT_FULL_01" successfully loaded/unloaded
    Starting "SYSTEM"."SYS_IMPORT_FULL_01":  system/********@GRD6.RBSG DIRECTORY=GRDP_EXP_DIR DUMPFILE=TMP1.dmp LOGFILE=SSD_93_TABLES_FULL_EXP.log PARALLEL=8 QUERY=TSHARRHB.TMP1:"WHERE TMP1.A = 2" REMAP_TABLE=TSHARRHB.TMP1:TMP3 CONTENT=DATA_ONLY
    Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
    . . imported "TSHARRHB"."TMP3"                           5.421 KB       2 rows
    Job "SYSTEM"."SYS_IMPORT_FULL_01" successfully completed at 05:13:33
    here I am expecting only 1 record to get imported but both the records are getting imported. please advice.

    The strange thing compared to your output is that I get an error when I have table prefix in the query block:
    Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Master table "SYSTEM"."SYS_IMPORT_FULL_01" successfully loaded/unloaded
    Starting "SYSTEM"."SYS_IMPORT_FULL_01":  system/******** DUMPFILE=TMP1.dmp LOGFILE=imp.log PARALLEL=8 QUERY=SYSADM.TMP1:"WHERE TMP1.A = 2" REMAP_TABLE=SYSADM.TMP1:TMP3 CONTENT=DATA_ONLY
    Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
    ORA-31693: Table data object "SYSADM"."TMP3" failed to load/unload and is being skipped due to error:
    ORA-38500: Unsupported operation: Oracle XML DB not present
    Job "SYSTEM"."SYS_IMPORT_FULL_01" completed with 1 error(s) at Fri Dec 13 10:39:11 2013 elapsed 0 00:00:03
    And if I remove it, it works:
    Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Master table "SYSTEM"."SYS_IMPORT_FULL_01" successfully loaded/unloaded
    Starting "SYSTEM"."SYS_IMPORT_FULL_01":  system/******** DUMPFILE=TMP1.dmp LOGFILE=imp.log PARALLEL=8 QUERY=SYSADM.TMP1:"WHERE A = 2" REMAP_TABLE=SYSADM.TMP1:TMP3 CONTENT=DATA_ONLY
    Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
    . . imported "SYSADM"."TMP3"                             5.406 KB       1 out of 2 rows
    Job "SYSTEM"."SYS_IMPORT_FULL_01" successfully completed at Fri Dec 13 10:36:50 2013 elapsed 0 00:00:01
    Nicolas.
    PS: as you can see, I'm on 11.2.0.4, I do not have 11.2.0.1 that you seem to use.

  • Can i install windows 7 and OS X together on the same Mac Book Pro?

    can i install windows 7 and OS X together on the same Mac Book Pro?

    You can do it either using Boot Camp or by running a virtual machine, such as Parallels Desktop (which I use) or VMFusion. I prefer the VM method, as I don't have to reboot using the handful of Windows applications that I use. And I can access my Windows apps just as I do my Mac apps - copy and paste between them, etc.
    I just upgraded from Parallels 7 to 8 and I'm quite happy with it, running Mountain Lion on a late 2011 MBP with 16GB of RAM and a 512GB SSD. I also have a 27" Apple Thunderbolt Display and there are no problems with video drivers, etc.
    If I were you - unless I needed every inch of performance that running Boot Camp can bring - I'd go with a VM to run Windows. I can attest to the functionality of Parallels - perhaps others with experience with other VMs will chime in.
    Clinton

  • My iphone6 screen is off since last few days i have tried all the options like pressing the home and sleep button together but still its not switching it on before it was getting hanged quite often it had full battery charged but still it is off

    my iphone6 screen is off since last few days i have tried all the options like pressing the home and sleep button together but still its not switching it on before it was getting hanged quite often it had full battery charged but still it is off can anyone please help ......

    hi i m currently in pakistan and there is no apple store here . i will b back to australia after 2 weeks i was wondering if thei can b any fix as i have all my contacts and everything else in my mobile

  • My ipod screen has a white screen i have tried plugging it in to itunes and pressing the home button and top button together but it wont turn on! this has happened before, i should have never bought one what should i do?

    my ipod screen has went white i have tried plugging it into itunes and pressing the home button and top button together for 10 seconds but it wont work!! this has happened twice before already and i havent even had it a year yet, i should have listened to my sister and never have bought one!!! someone help please ?

    - Connect to computer and it it shows in iTune restore via iTunes
    - Then try letting the battery fully drain. After charging for an hour try the reset (both buttons) and connecting to computer and restore.

  • Ipad 2 screen is black . when i press the power button it takes a screen shot but i have no functionality . tried holding the home and power button together but the screen just flicker and stay black . no apple icon shows up. help please

    ipad 2 screen is black . when i press the power button it takes a screen shot but i have no functionality . tried holding the home and power button together but the screen just flicker and stay black . no apple icon shows up. help please

    Make sure it is charged for about 10min using the adapter, then connect in recovery mode, explained in this article:
    If you can't update or restore your iOS device

  • My grandsons new Apple refurbed 35g ipad keeps locking up with a black screen amd nothing else. I have reset it many times pressing the home and off buttons together but uit keeps locking up. Help,please!

    My grandsons new Apple refurbed 35g ipad keeps locking up with a black screen amd nothing else. I have reset it many times pressing the home and off buttons together but it keeps locking up. Help,please!

    Thank you for trying to help. I followed your instructions, it took 6 hours to download, and then said it could not solve the problem (something to do with error 9?). It will have to go back to Apple - its only 3 days since it came out of the package and its very disappointing for him. Looks like I have to hang around in the Apple store in Plymouth all tomorrow until they can fix it, or will change it. Thanks for your help.

  • My phone died last night and when I plugged it in it wouldn't turn on.I tried restarting it but it has yet to turn on since last night,It was just a black screen,i try the on/off and home buttons together but its not working,What should I do?

    My phone died last night and when I plugged it in it wouldn't turn on.I tried restarting it but it has yet to turn on since last night,It was just a black screen,i try the on/off and home buttons together but its not working,What should I do?

    How long have you had your phone? Because if you've had it a long time, the battery in the phone might of died on you. Or have you dropped it in water, snow, from high up? All those things could of disconnected something internally in your phone, or permentaly damaged the internal hard drive its self, or the sims card.

  • My iphone 4 wont turn on after hours of charging, normally i would press the lock button and home button together but my lock button stopped working afue weeks ago. Help!

    My iphone 4 wont turn on after hours of charging, normally i would press the lock button and home button together but my lock button stopped working afue weeks ago. Help!

    Hello Kimbo1991,
    It sounds like your phone is not successfully booting even though you have reset the device. I would next recommend attempting a backup and restore to iTunes with this article:
    iOS: Back up and restore your iOS device with iCloud or iTunes
    http://support.apple.com/kb/ht1766
    If you are unable to restore with iTunes I would next put the device into recovery mode, and attempt the restore again:
    If you can't update or restore your iOS device
    http://support.apple.com/kb/ht1808
    Thank you for using Apple Support Communities.
    Regards,
    Sterling

  • Abap and java stack together gives error message...

    I am trying to install abap stach and java stack together.
    I installed abap was without problem but when I install Java i get the error below.
    I tried SP09 and since it didnt work Sp07 also since I had it with me downloaded before.
    Any help ??? Got stuck
    I need to install together to practice webdynpro...
    E:\NW2004sSP7_Preview\SAP_NetWeaver_2004s_SR_1_Installation_Master_DVD__ID__NW05SR1_IM1\IM_WINDOWS_I386\NW04S\WEBAS\ADA\control.xml
    George
    INFO 2006-11-30 15:10:12
    An error occured and the user decided to rety the current step: "|NW_Java_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_GetSidNoProfiles|ind|ind|ind|ind|1|0|collect".
    ERROR 2006-11-30 15:10:14
    FJS-00003  TypeError: this._name has no properties (in script NW_Java_OneHost|ind|ind|ind|ind, line 8987: ???)
    INFO[E] 2006-11-30 15:10:13
    FSL-02077  File system export (share) saploc does not exist.
    ERROR 2006-11-30 15:10:14
    FCO-00011  The step collect with step key |NW_Java_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_GetSidNoProfiles|ind|ind|ind|ind|1|0|collect was executed with status ERROR .
    THis error was gone when I used the registry cleaner for removing ABAp stack But now question is How do I install BOTH????
    May be the instance number is the problem....
    In old version of ABap stack we can enter the instance number .But not in SP 9 .Can we change here too?
    E:\NW2004sSP7_Preview\SAP_NetWeaver_2004s_SR_1_Installation_Master_DVD__ID__NW05SR1_IM1\IM_WINDOWS_I386\NW04S\WEBAS\ADA\control.xml
    This file holds the Key of the errors since it checks for the instance number which is given in the log as details.. May be we can change it....
    In ABap STack install instead of files as in SP 07 they have created an image and may be this si the reason that
    we cannot customize.I have to find a way in order to install it...

    i found soltuion myslef THe lates WAS for abap is preconfigured and so its not suitable for abap-java multiple installation

  • My iPod touch isn't working correctly.it is displaying a white light and no matter what i try it isn't helping.tries holding the reset and power button together and tryed holding the power button in but it doesn't work. please can someone help?

    my iPod touch isn't working correctly.it is displaying a white light and no matter what i try it isn't helping.tries holding the reset and power button together and tryed holding the power button in but it doesn't work. please can someone help?

    Try the remaining items in the white-screen topic of.
    iPod touch: Hardware troubleshooting
    If not successful. let the battery fully drain and then charfe for an hour and try again.
    Frequently a white scree nis due to a hardware problem.

  • My iphone suddenly died as well. Holding the sleep button and home button together got it going again. Any ideas why this happens?

    my iphone suddenly died as well. Holding the sleep button and home button together got it going again. Any ideas why this happened?

    No, I don't think anyone here would know.
    Mine has done that once or twice.

  • Can i use JSF tags and HTML tages Together

    i am trying to use html and JSf tages together. i hope it should owrk. but for me html tags are not working.
    can any one help me

    thanks
    its working but i have one more clarification
    can we wuse jsf tags in javascript
    for examp
    this my javascript using html
    newQuotCell1[0].innerHTML='<input type=text class=TextField name="nameofEmployer'+count1+'">';
    if i want to write a jsf tage there . does it allow
    i want to bind the textfield with bean value . Is it possibel.
    please let me know.
    thansk in advance

Maybe you are looking for

  • I'm not able to get to the OnInputProcessing event from a button click

    I have a tableview and I added a button and I have put the code in the event OnInputProcessing. But when I click the button, it does not get to the event. Do you know what the problem might be? Please help Here's the complete code: ==================

  • Information about Web Dynpro

    Hello! I would like to ask you all about sources to learn web dynpro. I did some research for myself and found pieces of information like the "Tutorial for Beginners" of Web Dynpro SDN area and a pdf at SDN with pieces of information from the sap hel

  • I recently bought Apple TV.  I now understand it has been discontinued.  What gives?

    I'm really a bit put out with Mother Apple.  Less than a month ago, I bought Apple TV2 from the company itself online.  In a flash, it has been discontinued.  No warning with my purchase or anywhere else that I visited while deciding whether to buy i

  • Pulling a value from a field for a SQL statement

    How do i pull the value from a Formatted Text Field into a sql query? Im trying to create an interface to allow a user to put the first name in a field then poll the database for anyone of that name. I do not know of how to get the value that is put

  • Creating standby DB after failover

    Hi, I have performed failover to my standby DB, now i need to re create the standby db for the new production. But there is some confusion, because previously , in my production db_name and unique name was same, suppose test1. And the db_name and uni