Who is eating my customer?

Hi all,
I have an actionListener which sets a bean in the request scope, but am finding that when the page is rendered the bean is gone! It seems to be related to a naming issue. The actionListener appears inside a h:dataTable with var="customer" and the request scope bean is also called "customer". If I change either of those names so that there is no conflict the problem disappears.
I'm using facelets and suspect that that could be where the problem is (I get the same behaviour on MyFaces and the RI) but thought I'd check here to see if I'm doing anything wrong.
In psuedocode:
page1.xhtml
<h:form>
  <h:dataTable value="#{dao.customers}" var="customer">
    <h:column>
      <h:commandLink action="goToPage2">
        <f:actionListener type="actions.SetCustomerFromId"/>
        <f:param name="id" value="${customer.id}"/>
        Edit ${customer.id}
      </h:commandLink>
    </h:column>
  </h:dataTable>
</h:form>
actions.SetCustomerFromId.java:
id = (String) context.getRequestParameterMap().get("id");
requestMap.put("customer", em.find(Customer.class, id));
page2.xhtml
${customer.id}Thanks in advance,
Roger

No all of them were there, I was just editing for space. I suspect, but I am not sure, that my ScrollPane was consuming the pageup/pagedown key events, even though the scroll bars were not visible.
see: http://java.sun.com/products/jfc/tsc/special_report/kestrel/keybindings.html
...which says " For example BasicScrollPaneUI creates default bindings for page up/down for it's view descendant this way."
Anyway, I fixed my problem by using: InputMap im = comp.getInputMap(JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT); instead of InputMap im = comp.getInputMap(JComponent..WHEN_IN_FOCUSED_WINDOW);

Similar Messages

  • Who has changed the Custom Field value?

    Dears,
    Need to know the information regarding how to fetch that who has changed the Custom field value from PWA/MPP.
    Example:
    There is a PDP (say ProjectInfo):
    There is a Custom Field added to that PDP (say Project Status = In Progress).
    Now for ProjectA, someone has checked out and changed the Custom Field "Project Status" from "In Progress" to "Closed".
    I need to fetch the information regarding who has changed that Custom field.
    In which direction should I move: Event Handlers, PSI???? Any other stuff?
    Thanks & Regards,
    Shravan

    Hi Shravan,
    I'm not a developer but I do know that you can use an event handler pushing the resource name and date in custom fields.
    Another way is to use a 3rd-party tool like
    FluentPro Audit Tool.
    Hope this helps,
    Guillaume Rouyre, MBA, MVP, P-Seller |

  • Manually how to make payment to vendor who is also my customer.

    Hi Friends,
    I wanted to know how I will do manual posting for vendor who is also my customer as well. I mean if my customer needs to pay me 100 rs and vendor is going to get 150 from company, then how by doing manual posting I can give only 50 to my vendor.
    Please help me on this.
    Regards,
    Kumkum

    Hi Kumkum,
    For this scenario you can do this way go to f-53 give all required filed in open item selection enter vendor account number and click the other accounts check box and press enter you will get on screen you can enter account type D,Company code, tick the standard OIs chcek box and enter the customer number click the continue button.
    You can do the manual payment.Once you did the payment 50,customer line item also will be cleared 100 automatically.I hope it will be help to you.
    Regards,
    Nivas.

  • Commission for an agent, who is NOT a Customer....

    Hello everyone...
    Please give your valuable insights... how do we configure commission for an agent who is not a customer but gets orders to the company?
    This is the Scenario. Our client is into a business process where they got an Agent whose role is to get POu2019s (purchase orders) from customers, and the company pays him(agent) some commission. This commission is based on the value of the order he gets. Now how do we configure this in SAP?

    Dear David,
    You can get this requirement through maintaining the Forwarding agent as one of the partner in your partner determination procedure.
    Partner Type Vendor
    Forwarding agent
    A forwarding agent is an example of a business partner on the credit side, who is included in a sales process. If you commission a particular forwarding agent for deliveries to a specific customer, you can define the forwarding agent in the customer master record as the partner.
    Possible partner functions on the credit side in the sales process are for example, interpreters, auditors.
    I hope this will help you,
    Regards,
    Murali.

  • Reconciliation for a vendor who is also a customer

    Dear Gurus,
    I have a requirement which is as follows,
    My client has a vendor for subcontracting who is also a customer to him. Client sells a material and buys back the same with some additional parts fitted or some operations performed. He wants to reconcile the amount for which he sold the material with the amount for which he bought it back. Is it possible in standard SAP practices. Or does it need any developments. Your valuable suggestions will be highly appreciated.
    Thanks in advance
    Atrul.

    As concern to establish a Customer & Vendoer Kink, In Customer Master, maintain Vendor Code in Control Tab Page & similarly in Vendor Master, maintain Customer in Control Tab Page.
    Regards,
    Rajesh Banka
    Reward points if helpful.

  • Who's who Infoset : Adding a custom infotype

    Dear Experts,
    I am in need of your valuable input on Who's who.
    Can we include custom infotype (9000) fields to the infoset (by coping into a custom infoset)?
    What is configuration needs to be done on portal side to enable the additional fields.
    I know to add / remove the fields which are already provided ( from infotype 0,1,2,105 and 32)
    Awaiting your response.
    Cheers
    Jay

    Hi,
    Yes you can surely include your custom Infotypes in the Infoset for Who's Who.
    There is no need for doing any Java customization unless you want to have a hyperlink and other kind of things for the additional fields.
    If you want to show some content from the custom infotype and have a hyperlink to take you to some other location or application in that case you need to do the Java changes.
    In all other cases change in the config will suffice.
    In the ECC system go to t.code SPRO
    Navigate to Personnel Management - Employee Self-Service - Service-Specific Settings - Address book - Who's Who - Who's Who (ESS) : Selection and Output - select the country and replace the standard Infoset with your custom infoset.
    Hope this helps.
    Cheers-
    Pramod

  • WHO WILL LISTEMN TO CUSTOMER PROBLEM

    DEAR SIR I AHVE PURCHSED A COMPAQ LAPTOP FROM HP ON OCT 30TH 2010 AT THAT TIME THEER WAS GIFT COUPON SCHEME OF RS 200-/-THE CONDITION WAS THAT THE CUSTOMER HAS TO SEND THE BILL NUMBER AND SERIAL NUMBER
    I HAVE SEND THE SAME ON NOV 10TH 2010
    I AHVE AGAIN SEND THE SAME ON NOV 14TH 2010 THAN ON NOV 25TH 2010 I HAVE RECIEVED AN EMAIL THAT
    Dear Sir/Madam,
    DEAR SIR I AHVE PURCHSED A COMPAQ LAPTOP FROM HP ON OCT 30TH 2010 AT THAT TIME THEER WAS GIFT COUPON SCHEME OF RS 200-/-THE CONDITION WAS THAT THE CUSTOMER HAS TO SEND THE BILL NUMBER AND SERIAL NUMBER
    I HAVE SEND THE SAME ON NOV 10TH 2010
    I AHVE AGAIN SEND THE SAME ON NOV 14TH 2010 THAN ON NOV 25TH 2010 I HAVE RECIEVED AN EMAIL THAT
    Dear Sir/Madam,
    DEAR SIR I AHVE PURCHSED A COMPAQ LAPTOP FROM HP ON OCT 30TH 2010 AT THAT TIME THEER WAS GIFT COUPON SCHEME OF RS 200-/-THE CONDITION WAS THAT THE CUSTOMER HAS TO SEND THE BILL NUMBER AND SERIAL NUMBER
    I HAVE SEND THE SAME ON NOV 10TH 2010
    I AHVE AGAIN SEND THE SAME ON NOV 14TH 2010 THAN ON NOV 25TH 2010 I HAVE RECIEVED AN EMAIL THAT
    Dear Sir/Madam,
    Redemption Code - 2239692
    DEAR SIR I AHVE PURCHSED A COMPAQ LAPTOP FROM HP ON OCT 30TH 2010 AT THAT TIME THEER WAS GIFT COUPON SCHEME OF RS 200-/-THE CONDITION WAS THAT THE CUSTOMER HAS TO SEND THE BILL NUMBER AND SERIAL NUMBER
    I HAVE SEND THE SAME ON NOV 10TH 2010
    I AHVE AGAIN SEND THE SAME ON NOV 14TH 2010 THAN ON NOV 25TH 2010 I HAVE RECIEVED AN EMAIL THAT
    Dear Sir/Madam,
    Redemption Code - 2239692
    We acknowledge receipt of your online Registration and claim documents against notebook Serial Number CNU0282YQW under the HP Diwali Celebrations offer for the gift of an Titan Gift Voucher.
    DEAR SIR I AHVE PURCHSED A COMPAQ LAPTOP FROM HP ON OCT 30TH 2010 AT THAT TIME THEER WAS GIFT COUPON SCHEME OF RS 200-/-THE CONDITION WAS THAT THE CUSTOMER HAS TO SEND THE BILL NUMBER AND SERIAL NUMBER
    I HAVE SEND THE SAME ON NOV 10TH 2010
    I AHVE AGAIN SEND THE SAME ON NOV 14TH 2010 THAN ON NOV 25TH 2010 I HAVE RECIEVED AN EMAIL THAT
    Dear Sir/Madam,
    Redemption Code - 2239692
    We acknowledge receipt of your online Registration and claim documents against notebook Serial Number CNU0282YQW under the HP Diwali Celebrations offer for the gift of an Titan Gift Voucher.
    We however regret to inform you that we are unable to process your claim due to the below mentioned reason:
    DEAR SIR I AHVE PURCHSED A COMPAQ LAPTOP FROM HP ON OCT 30TH 2010 AT THAT TIME THEER WAS GIFT COUPON SCHEME OF RS 200-/-THE CONDITION WAS THAT THE CUSTOMER HAS TO SEND THE BILL NUMBER AND SERIAL NUMBER
    I HAVE SEND THE SAME ON NOV 10TH 2010
    I AHVE AGAIN SEND THE SAME ON NOV 14TH 2010 THAN ON NOV 25TH 2010 I HAVE RECIEVED AN EMAIL THAT
    Dear Sir/Madam,
    Redemption Code - 2239692
    We acknowledge receipt of your online Registration and claim documents against notebook Serial Number CNU0282YQW under the HP Diwali Celebrations offer for the gift of an Titan Gift Voucher.
    We however regret to inform you that we are unable to process your claim due to the below mentioned reason:
    Gift offer not applicable on the purchased Product
    THAN I HAVE REPLIED BACK THAT GIFT COUPON IS AVAILBLE ON THE PRODUCT I HAVE PURCHASED & I HAVE VALID PROOFS THAN ON DECMEBR 6TH 2010 AT 6 PM(ITS GREAT TIME TO REPLY AFTER 10 DAYS)
    THEY REPLIED WITH THE EMAIL
    Dear Customer,
    This is with reference to your participation under Compaq Presario/HP pavilion Diwali Celebration offer, in case you are submitting the claim documents for the first time, please be informed that we shall not be able to accept your claim documents for validation and processing of the redemption item since  the last date of the submission of claim documents was 25-Nov-10. Any further query pertaining to this matter shall not be entertained at our end and your claim will be treated as rejected.
    Thanks & regards,
    HP Redemption Cell
     I REQUEST HP CUSTOMER SUPPORT TO GO THROUGH THE WHOLE MATTER I CAN PROVIDE YOU AL THE EMAILS WHICH I SEND AND I RECEIVED
    THIS IS GRAET JOK INFACT THAT YOU ARE GIVING LUCRATIVE OFFERS TO CUSTOMERS MAKING THEM FOOL AND IN THE END YOU ARE WRITING THAT YOU WILL NOT ENTERATIN
    ITS HEIGHT!!!!!
    KINDLY REPLY AND TELL ME TO WHOM I APPROACH OTHERISE I HAVE TO SEEK THE COURT

    You need to contact the store or company that offered the rebate. 
    Wendy M - HP Support Forums Moderator
    Click the Kudos star as a way to say "thank you" for helpful posts.
    Be sure to come back and click the 'Accept as Solution' button on the post that solved your issue - it may help someone else.
    Rules of Participation

  • Business Partner who is vendor and customer

    Please explain me the logic behind the concept that we should not buy from customer and we should not sell to vendor in [SAP Business One|http://www.brio.co.in/sapbusinessoneoverview.aspx]. In real life it happens frequently that we buy and sell to a same person. Is there any work around? or is there any update 2007 where we can sell and purchase from same business partner.
    Regards
    Abdul Muneem

    HI Muneem,
    When a question is 'why', it is quite hard to answer.
    I try to help you with 'how' questions.
    You can post Development Requests on the Development Forum:
    [SAP Business One Product Development Collaboration|/community [original link is broken];
    Solution Management checks that forum.
    Hope it helps.
    Jesper

  • Who is DBA's customer?

    Hi All,
    When we play a role as oracle DBA in a global enterprise company, who is actually our customers, both internally and externally?
    Thanks,
    leim

    user8749043 wrote:
    Hi All,
    When we play a role as oracle DBA in a global enterprise company, who is actually our customers, both internally and externally?
    Thanks,
    leimIt depends on what the organizational management says, but my fundamental philosophy is that the business users interface is with some application. They don't care if their data is in a golly-gee-whiz-bang super-dooper rdbms, or written on the back of a donut bag, as long as the application they interface with can deliver their data. They don't care about what OS the servers run or how they are managed. They don't care what network topology is in place or how it is managed. They care that their application works. Thus, business users take their problems to the developers. I provide database services to those developers, they systems admin provides services to me and the developers, and the Net admin guys provide services to the systems guys.
    That's not to say I don't talk to end-users nor is is to say I have no concerns for their issues. It really is (or should be) a team effort. That's the way it was at the best places I've worked. But at the end of the day, business users interface with applications, not the technology behind the application.

  • Whoa! If specify custom Policy Provider, then JVM has no ProtectionDomain!!

    What is going on here?
    I copied the sun.security.provider.PolicyFile class into another folder and then used -Xbootclasspath to specify that folder, and then in java.security I said to use that one as the provider. When I do that, then AccessController's context is null!! But if I don't specify a provider (and use default), then context is not null!!
    What gives?

    solved it!
    The problem was that my test classes were all in the same path as the Policy class, so they were in the bootclasspath and thus had no classloader.

  • Who's eating my VK_TAB KeyEvent?

    I have a JPanel where I override processKeyEvent.
    It never sees KeyEvents generated by tabs.
    I'm guessing somewhere in swing/awt, tabs are consumed during focus traversal.
    How do I get the tab?

    So if I added:
    if (e.getComponent()==this)
    //my code
    e.consume();
    }then the event would only be consumed for that
    JPanel? And otherwise would be handled normally?JPanel isn't the source of the event, it will be passed to the JPanel and filtered down into its components to the focused component. Then the DefaultFocusManager will take the TAB and consume it. Seems to me you'll want install a new focus manager...one that checks first to see if the panel is an ancestor of the next focusable component and consume it.
    If you plug this in as your focus manager it should do what you want.
        class MyFocusManager extends DefaultFocusManager
            public void processKeyEvent(Component c, KeyEvent k)
                if (k.getID() == k.KEY_PRESSED && k.getKeyCode() == KeyEvent.VK_TAB) {
                    // p1 is the panel you're wanting to catch tab events in
                    if (p1.isAncestorOf((Component)k.getSource())) {
                        System.out.println("consume");
                        k.consume();
                        return;
        }

  • Who is eating my keystrokes?

    I have an app that listens to a set of keystrokes, and launches actions based on them. It uses the InputMap to set them all up like this (called from a loop):
    KeyStroke stroke = KeyStroke.getKeyStroke(keyEvent, 0, false);
    InputMap im = comp.getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW);
    im.put(stroke, actionName);where keyEvent is an integer keystroke value, like KeyEvent.VK_F1, for example.
    My problem is that KeyEvent.VK_PAGE_UP and KeyEvent.VK_PAGE_DOWN do not work for me. My other keystrokes are fine. I assume my problem is that pageup and pagedown are getting consumed by some other component, but I am not sure which one, or how to find out which one. Any ideas?

    No all of them were there, I was just editing for space. I suspect, but I am not sure, that my ScrollPane was consuming the pageup/pagedown key events, even though the scroll bars were not visible.
    see: http://java.sun.com/products/jfc/tsc/special_report/kestrel/keybindings.html
    ...which says " For example BasicScrollPaneUI creates default bindings for page up/down for it's view descendant this way."
    Anyway, I fixed my problem by using: InputMap im = comp.getInputMap(JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT); instead of InputMap im = comp.getInputMap(JComponent..WHEN_IN_FOCUSED_WINDOW);

  • Vendor and customer payment

    Hi Gurus,
    i am developing a report to show details of vendor payment who is also a customer deducting all his payments Receivable i want to link the customer and vendor which is the fields. 
    Thanks
    Nilesh

    Dear Nilesh
    Go to customer master General Data and select Control Data tab.  There you can see a field "Vendor".  Table is KNA1 - Field Name LIFNR.  If you maintain the vendor code here, you can generate the rquired report.
    thanks
    G. Lakshmipathi

  • How to find out, who locked the same row

    Dears,
    I have a problem,
    sometimes our user complain that, when he tyring to make a transaction to a specific customer's Account
    its says 'Some other user access the same account, keep trying...' (like this).
    and in this response I just kill that user's session. then he can make the transaction by reconnecting.
    sometimes my solution(killing the session) can not slove this problem.it stayed even 5/6 hours long.
    in this time,i cannot find any bloking session or such a long waiting session.
    In this Scenario..
    I need to find out who(SID,SERIAL#,USERNAME) locked the same ROW (not table).
    There are many users who are locking different rows of the same table at the
    same time. I need to find the one who locked my row.
    is it possible to find out, who locked the specific customer's Account ?
    I am trying to find out by the following query but failed.
    SELECT s.SID, serial#, machine, osuser, terminal, b.object_name,
    row_wait_obj#, row_wait_file#, row_wait_block#, row_wait_row#,
    DBMS_ROWID.rowid_create (1,
    row_wait_obj#,
    row_wait_file#,
    row_wait_block#,
    row_wait_row#
    ) rowidd
    FROM v$session s, dba_objects b
    WHERE s.row_wait_obj# = b.object_id
    SELECT *
    FROM (SELECT s.SID, serial#, machine, osuser, terminal, b.object_name,
    row_wait_obj#, row_wait_file#, row_wait_block#, row_wait_row#,
    DBMS_ROWID.rowid_create (1,
    row_wait_obj#,
    row_wait_file#,
    row_wait_block#,
    row_wait_row#
    ) rowidd
    FROM v$session s, dba_objects b
    WHERE s.row_wait_obj# = b.object_id)
    WHERE rowidd IN (SELECT ROWID
    FROM account_mas
    WHERE branch = '999' AND accout_no = '009990215454')
    please help me...
    My Database version- 10.2.0.4, windows
    Regards
    Halim
    Edited by: Abdul Halim on Oct 26, 2009 2:43 AM

    Just check with this query, find the lock and kill the session.
    select b.session_id ,a.SERIAL#, a.username "Blocker Details"
    from v$session a,dba_lock b
    where b.session_id = a.sid
    and b.blocking_others = 'Blocking';
    Regards
    Asif kabir

  • Who can I complain to about a new order being canc...

    Please can someone help me before I go totally insane!! On 14th March I placed an order online with BT for Phone & Broadband with free BT Sport and paying the line rental in advance with it due to go live on 30th March.
    Transfer date came and went with no sign of any transfer being carried out - details online said they were working on the problem. Several days later had a message to say that they needed to talk to me with regard to my order, then received an email saying that BT were sorry I had cancelled by order!! Long and short of it after days of talking to people in India trying to sort out my order and being told lie after lie (such as they couldn't transfer phone line from Sky without me getting a cease date from Sky) I was told everything was in hand and someone from Openreach would ring me on Monday 13th April to comfirm they had sorted out the problem (basically unplugging a my line from one socket and plugging it into another). On the Monday I received a garbled message from someone in India saying that they needed to talk to me about my order and would ring again Wednesday. On the Wednesday morning I got another garbled message saying that as they had tried repeatedly to speak to me on the phone and hadn't been able to they had now cancelled my order!!! i then phoned and was told my order had got stuck in the system and they needed me to place my order again and this would sort everything out.
    I then find out that the money I paid when I placed my order for my line rental saver in advance plus Hub/Dongle etc had been refunded as I had cancelled my order. No I didn't you did!! I still want my line rental saver, Hub etc, etc.
    I did this but since then I have been getting threatening emails requesting I send back my Hub and Dongle as I had cancelled my order - no I need it, and I didn't cancel my order you did!!! Then today I got a final bill (as I was leaving) for £172.29 which was for line rental saver (£169.90) from 30th March and BT Sport (£25.81) 14 March - 10 May (money due to be taken out of my account on or before 25th April). How can I be charged for a service that I haven't even been connected to!
    Surely they can see what is happening on the account see that there was a problem there end and that I didn't want my account cancelled etc - after all the notes that the call centre people in India supposedly made on my account!!!
    I tried to speak to BT this evening but after 25 minutes of listening to stupid music I gave up. My phone line and broadband are supposed to transfer over to BT on 29th April but I am not holding my breath on this!!
    Please can someone help me with who is the best person to talk to before I go totally mad because if I have to talk to anyone else in India who uses the standard customer service script and tells me that they understand my frustration one more time I will definitely go insane!!!!
    Thanks in advance
    Liz
    Solved!
    Go to Solution.

    I have asked a moderator to provide assistance, they will post an invite on this thread.
    They are the only BT employees on this forum, and are a UK based team of people, who take personal ownership of your problem.
    Once you get a reply, make sure that you are logged into the forum, then click on their name, you will see a screen like this. Click on the link as shown below.
    Please do not send them a personal message, as they cannot deal with service issues that way.
    For your own security, do not post any personal details, on this forum. That includes any tracking number you are give.
    They will respond either by phone or e-mail, when its your turn in the queue.
    Please use the tracked e-mail, to reply, not via the forum. Thanks
    This is the form you should see when you click on the link. If you do not see this form, then you have selected the wrong link.
    When you submit the form, you will receive an enquiry number, so please keep a note of it
    There are some useful help pages here, for BT Broadband customers only, on my personal website.
    BT Broadband customers - help with broadband, WiFi, networking, e-mail and phones.

Maybe you are looking for

  • When I open firefox the address bar remains blank after a website is loaded from favorites.

    I open Firefox and the open window is blank (as it should be, because I have set my Preferences to open firefox with a blank window. Then I select a Bookmarked website from my Bookmarks Toolbar, which opens then opens that website in the window fine.

  • Albums not showing up on website

    I have twelve albums with numerous pictures in each one on my website. for some odd reason when i added three photos a few days ago to just one of the albums 11 of the 12 albums quit showing up on my website (thecolorblindphotographer.net). when i lo

  • Linux 3.2 sound plays through HDMI and laptop speakers simultaneously

    As topic says, laptop speakers is not muted when activating sound through HDMI. Downgrading to 3.1 solves the problem. The laptop is an Asus UL30a. Last edited by KlavKalashj (2012-01-20 08:52:49)

  • Nhl gamecenter app - game highlights not playing!

    It used to work but for whatever reason this year it doesn't. Whenever i try to watch a games highlights, it fails to progress passed the start of the 15 second ad, the screen is black with the timer stuck on 15 seconds. I have an iphone 4 with lates

  • User is locked.

    Hi, We are using ISA 3.0 version. While accessing the Webshop 1. enter the UID and password then browser says that 'user is locked' I tried with SU01 and SU05 also but not able to do so please suggest some ways. Regards, Fedor.