Two Component Click differentaite

Hi All,
I have a login form. It has a commandButton to submit the userId and password to loginbacking object.
It also has a commandLink called "ChangePassword" that also submit to the loginbacking object. Objects are as follows.
private CoreCommandButton commandButton;
private CoreCommandLink forgotpassword;
Now, problem is :----------
In the loginbacking object, I really want to differentiate between "Whether the user clicked the commandButton OR commandLink. In my case, user clicks any of these two and I think both the components are sending values to loginbacking object (Meaning you click either of them and I guess both are getting submitted at a time). This is not good bcaz in that case, there is no way I could know in the loginbacking object "Which component really got clicked by the user "
any idea ? how to differentiate OR better how to prevent both components submitting at a time ???????? is this bug ??
I tried using forgotpassword.getId() avlue in loginbacking object in order to differentiate between two component clicks. But in vain.
Even if user clicks commandButton (and not the commandLink), I still keep getting the ID value of commandLink in backing object. So unable to differentiate.
Any full proof way ??/
thanks,
pp

I used the way you specified in both of the commandButtons in my Jsf page and then in the backing object generated two methods to the get the value of "which button got clicked as follows"
    public void setResponse(String response) {
        this.Response = response;
    public String getResponse() {
        return Response;
    }and then determine which button got clicked in backing actionMethod as follows:----
if (getResponse().equalsIgnoreCase("ChangePassword") ){
/// some logic here
and run the page. but it gives me following error : Any Idea ????
500 Internal Server Error
javax.faces.el.PropertyNotFoundException: Error setting property 'inputValue' in bean of type null     at com.sun.faces.el.PropertyResolverImpl.setValue(PropertyResolverImpl.java:153)     at oracle.adfinternal.view.faces.model.FacesPropertyResolver.setValue(FacesPropertyResolver.java:155)     at com.sun.faces.el.impl.ArraySuffix.setValue(ArraySuffix.java:192)     at com.sun.faces.el.impl.ComplexValue.setValue(ComplexValue.java:171)     at com.sun.faces.el.ValueBindingImpl.setValue(ValueBindingImpl.java:234)     at oracle.adfinternal.view.faces.taglib.listener.SetActionListener.processAction(SetActionListener.java:50)     at javax.faces.event.ActionEvent.processListener(ActionEvent.java:57)     at oracle.adf.view.faces.component.UIXComponentBase.broadcast(UIXComponentBase.java:548)     at oracle.adf.view.faces.component.UIXCommand.broadcast(UIXCommand.java:200)     at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:267)     at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:381)     at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:75)     at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)     at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)     at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)     at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:367)     at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:336)     at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:196)     at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)     at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:332)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:659)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)     at java.lang.Thread.run(Thread.java:534)

Similar Messages

  • Two finger click and control click no longer works in Finder

    Starting today, I can't do a two finger click or a control click to bring up the contextual menu on a file or folder. Two finger click works everywhere else on my Macbook, the desktop, browsers, Office apps, everywhere except Finder. I'm running OSX 10.6.8. I saw a post on another forum that someone else has the same issue with the same OS and also started happening today, but no answers so far. I have rebooted my machine and no change.

    Trash the plist file again but this time.....
    Disconnect all peripherals from your computer.
    Boot from your install disc & run Repair Disk from the utility menu. To use the Install Mac OS X disc, insert the disc, and restart your computer while holding down the C key as it starts up.
    Select your language.
    Once on the desktop, select Utility in the menu bar.
    Select Disk Utility.
    Select the disk or volume in the list of disks and volumes, and then click First Aid.
    Click Repair Disk.
    Restart your computer when done.
    Repair permissions after you reach the desktop-http://support.apple.com/kb/HT2963 and restart your computer and empty the trash when you reach the desktop.

  • Why does the Back button require two mouse clicks?

    I've just upgraded to ver. 9 and now the Back button requires two mous clicks/

    I might not have used the word "Normal".  "Typical" maybe.  I suppose "Normal" is acceptable in the context of "SNAFU".
    Wait until you make an edit on one of your own posts to fix a stupid typo, then later look to find the typo back and you can no longer edit it.  And what's up with that messed-up Javascript that shows up at the top of some quoted messages?
    These forums are barely usable, but a bright spot is the color-managed photo attachment capability (i.e., you can upload an image with a non-sRGB color profile and the server will convert it).  I suppose if anything Adobe could have been expected to get that part right.
    -Noel

  • Touch screen double clicks are seen as two single clicks due to position sensitivity

    I'm developing an app for a laptop with a touch screen. It displays several low resolution images in Lab View pictures. The operator can select an image by double clicking, displaying a higher resolution picture that fills the screen. Double clicking that image returns to the multiple image display.
    It is very difficult to cause a double click event via the touch screen. The two clicks must be located at the exact same point on the touchscreen, or two single clicks are returned. My fat fingers can't seem to hit the same pixel twice.
    Is there a way to set the position sensitivity of double clicks in Lab View? in Windows?
    Thanks,
    Dan

    Hi Dan,
          I think this would be an OS configuration-parameter - at least, outside LabVIEW - have you looked under "Control Panel" or Programs for a touch-screen configuration utility?  Here's a link to info re: the Dell Latitude XFR D630.  Note the "Doube Click Area" parameter under "Touchkit Configuration Utility" - Settings.
    Cheers!
    "Inside every large program is a small program struggling to get out." (attributed to Tony Hoare)

  • Load XML Videos data on tilelist(component) click

    Is this possible to load XML Videos data on tilelist(component) click..?

    yes. works for me:
    import fl.video.FLVPlayback;
    var flv_pb1:FLVPlayback = new FLVPlayback();
    var flv_pb2:FLVPlayback = new FLVPlayback();
    var flv_pb3:FLVPlayback = new FLVPlayback();
    flv_pb1.source="z_flvs/water.flv";
    flv_pb2.source="z_flvs/sample.mp4";
    flv_pb3.source="z_flvs/water.flv";
    tl.addItem({alt:"v 1", src: flv_pb1});
    tl.addItem({alt:"v 2", src: flv_pb2});
    tl.addItem({alt:"v 3", src: flv_pb3});
    tl.labelField = "alt";
    tl.sourceField = "src";
    tl.columnWidth = 400;
    tl.rowHeight = 600;
    tl.columnCount = tl.length;
    tl.rowCount = 1;
    tl.move(10, 10);

  • Two finger click selects text but will not release it.

    I have just upgraded from 10.4.10 to 10.4.11 and from Safari 3.0.3 to 3.1.2. A new problem has developed. If I two-finger click on a link in Safari, in order to select 'Open Link in New Tab' or if I two-finger click in a word to bring up the contextual menu the contextual menu comes up as it should. I can select anything in it I choose. The problem is that when I let go of the trackpad the link or the word remains highlighted. This causes me to have to click somewhere else, on blank space for instance, to release the highlighted text or link.
    This happens in Safari. It does not happen in Camino. Also, if I bring up a contextual menu in Safari using Control-click the same issue happens. The text or link remains highlighted afterwards.
    The biggest nuisance this causes is that as long as a link remains highlighted the mouse arrow remains an arrow rather than turning into a hand and finger when hovering over another link.
    Does anyone else hear experience this or has anyone hear heard of it? TIA
    Greg

    No, I think we are talking about entirely different things. What I am talking about is this...
    For instance, I enter search terms in Google, press enter, it brings up a page of links.
    I hover my mouse over one of the links and when I do the black mouse arrow turns into a hand with a pointing finger. I two-finger tap that link and select "Open Link in New Tab". It does. All is well.
    Now, while still on that Google page I hover my mouse over yet another link.
    If I am using Safari 3.0.3 or 3.0.4 that mouse arrow will turn into a hand with finger as soon as it hovers over another link.
    If I am using any Safari version newer than 3.0.4 the mouse arrow will not turn into a hand with finger when I hover over another link. The reason is because when I two-finger tapped that first link the text of the link got "selected" i.e. highlighted. The mouse pointer is now locked into black-arrow-pointer-mode unless I tap the trackpad to release it from that mode.
    In Safari 3.0.3 or 3.0.4 a two-finger tap on a link would not select the text of the link and therefore the pointer did not have to be released. It would immediately turn into a hand with finger as soon as it hovered over a new link.
    So, why does this matter so much too me? It matters because many web pages have links on them that you cannot even tell are links until you hover your mouse over them, at which time the mouse arrow changes to a hand with pointing finger. If I two-finger tap a link to open it in another tab, and then I continue looking on that page for more links to tap, I cannot discover them. My mouse pointer arrow remains a black arrow even though it is hovering over a link. The reason it remains an arrow is because the first link I tapped selected the text that represents that link and my mouse is now not in the correct mode (mood?) to turn into a hand with finger. I can no longer identify links on that page unless I deliberately tap some place on the screen to release the selected text of that earlier link. The mouse pointer will no longer turn into a hand with pointing finger when hovering over a link. It will remain a black arrow until the text representing the previously tapped link has be released, or deselected.
    Safari 303 and 304 did not select the text of a link when tapped with two-fingers. The mouse arrow was not being held hostage until it was deliberately released. Safari versions higher than 304 are a considerable nuisance due to this issue. It is very easy to forget to release the previously selected text and therefore it is easy to not even find more links on a page if they are the kind of links that the web author decided to make indistinguishable from the rest of the text in a sentence. Apparently the web author assumes you will suspect it to be a link and then hover your mouse over the text to see if it is a link.

  • HT1766 I can not open my ipad mini, a message says " cannot back up. This ipad can not back up to icloud without a verified email address. later , settings but neither of the two when clicked can't be opened.pls advise on what to do?

    I can not open my ipad mini, a message says " cannot back up. This ipad can not back up to icloud without a verified email address. later , settings but neither of the two when clicked can't be opened.pls advise on what to do?

    Have you tried a soft-reset ? Press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider if it appears), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.

  • Inconsistant trackpad recognition of two finger click? ..

    in safari every so often after using a two finger click to open a link in another tab
    my trackpad seems to go wonky and refuses to recognize a two finger click, even though
    the two finger scrolling works just fine. At first I thought it was only a safari issue
    but once in that state the two finger click isn't recognized in firefox either.
    Sometimes I can get it back by restarting Safari, other times I have to reboot my machine.
    I've tried different patterns (thumb and little finger) with different spacing and angles (wide side to side, and diagonals etc) with no luck .. although I did notice that when in this state a triple finger
    click (from one hand) then acts like a two finger click. I also tried washing my hands and wiping down the trackpad (eyeglass cloth) but nothing seems to work other than the safari/machine restart.
    Because it first happened with my gmail I thought maybe it was a webapp thing but I also tried
    all of the gmail cleanup suggestions (remove all google cookies, clear cache etc) but then I even noticed it after searching/clicking on the apple support forum links.
    Unfortunately I can't quite figure out what starts the problem sometimes its fine for days and then other times it happens early after boot/safari start. I do keep my machine as current as software update allows.

    forgot to mention .. when in this state it treats the two-finger click just like a single finger click.

  • How to define the dynamic navigation between two component in web ui

    Hi All,
    I have a requirement to create a new assignment block in accounts overview screen .
    1.Created new view(Table view) in the BP_HEAD component.
    2.Created new button on the table view toolbar .
    3.If the user clicks the new button it should navigate to interaction log component(BT126H_CALL).
    Please hekp me step 3 how to do .
    I have checked planned activity assignment block in the account but is dynamic navigation.
    Please explain me how to define the dynamic navigation between two components.
    What is window delegate .
    Thanks,
    Venkyy

    Hi ,
    Kindly follow the link , this will be helpful for your issue :
    http://wiki.sdn.sap.com/wiki/display/CRM/CRM-NavigatingtoyourcustomBSP+component

  • Windows 7 in boot camp - two finger click and drag issues

    Hey everyone. I have Windows 7 on Boot Camp (MacBook Pro mid-2010, Mac OS X Lion) and I cannot seem to click on a window with one finger, then use a second finger to drag it. Every time I try it brings up the right click menu. Is there any way of fixing this? I want to be able to drag, darn it! Thanks.
    Grant

    Having had the same issue on my MacBook Pro with Boot Camp 5.0.5033 on Windows 8, workaround being external mouse, I have found the following:
    If Trackpad->Two Fingers->Secondary Click is enabled in Control Panel/Boot Camp, in order to Click and Drag one cannot click any place on the trackpad. One must click bottom area of the trackpad with one finger, and then use another finger to drag.
    If Trackpad->Two Fingers->Secondary Click is disabled, Click and Drag works the same way as in Mac OS X: one can click any place on MacBook Pro built-in trackpad with one finger, and then use another finger to drag the window or select a fragment of text. The two fingers Secondary Click, consequently, becomes disabled.
    For me Mac OS X-style Click&Drag is more important, so I disabled two fingers Secondary Click, and assigned Bottom-Right-Corner of the trackpad to be Right-Click instead.
    Don’t know if the question is still open… Hope, however, the info might be helpful to those having the same inconvenience with Click and Drag under Boot Camp.
    HTH

  • Scrolling two extra clicks down in Firefox?

    I have the strangest thing: on my old Powerbook G4 (1Ghz 1Gb RAM) when I start up Firefox (3.0.1) or open a new tab in the program and I click with my trackpad button on the sidebar a first time, it doesn't move the page down once, but two extra times. After that , I'm fine and sometimes it doesn't show that behaviour.
    Anyone have the same experience? And what to do about this?
    Message was edited by: TwoCoke

    Check the FireFox preferences. I recall there being a setting for smooth scrolling that is off by default.

  • Acrobat 8.1.3 requires two double clicks to open a file

    Our agency has a VB app that uses adobe to pull up files routinely (for many employees I support they use this app to pull up dozens of documents a day).
    Use to be that when you want to pull up a PDF file from the VB app you double clicked once and the PDF came right up. Now you double click and it brings adobe to the forefront (if not already started) or it will just sit there in the background (if adobe was already started before), and then you have to go back to the VB application and double click on the document name again before it will pull up in the Adobe program in a second adobe window. Only staff with the 8.1.3 update have this issue, those with 8.1.2 do one double click and the document comes right up.

    I would recommend going to the Help>Repair and then repeating with Help>Updates. I am assuming the process is the same on the MAC as the PC.

  • Works with two component iu in the same PDA

    HI:
    I have two componentes IU in Mobile 7.1 patch07 for handhelds.
    I need to access a view from one componente iu to another view of another componente iu.
    Can I work with two componet iiu n the same PDA and have communication from one to another?
    Best Regards.
    Maria Elena

    HI:
    There any way to configure the main menu of SAP Mobile 7.1 where you have applications that are deployed in the PDA?
    De esta manera podría crear más de un componente dentro de una aplicación y poder tener más de un link en el menu principal
    Best regards
    Maria Elena

  • Pass values between two component

    Hi,
    I have createed ZGAF_COMP1 having one context node COMP1_NODE and one context attribute ATTR_COMP1, ZGAF_COMP2 having one context node COMP2_NODE and one context attribute ATTR_COMP2.
    Then I have created required component conf. and appl conf based on FPM_GAF_COMPONENT and FPM_IDR_COMPONENT.
    now what have I need to do to pass the value of ATTR_COMP1 to the second component?
    any help will be appreciated.
    Thanks,
    -Haresh

    Hi,
    You can use shared data component to pass your data from one component to other component
    Each component which wants to use a shared data component needs to declare a usage to the shared data component. The lifecycle handling is now handled completely by the FPM. Whenever a component is instantiated by the FPM (e.g. a UIBB which is
    configured for a given screen), the FPM analyzes all usages of that component. If it detects a usage pointing to a component which implements the IF_FPM_SHARED_DATA interface, a singleton of this shared data component is automatically attached to the usage.
    please follow the below steps to perform data transfer
    Create a component which implements the IF_FPM_SHARED_DATA interface.
    This component contains methods to retrieve data from the business logic and
    exposes the extracted UI data via its Web Dynpro context or interface
    methods.
    Each component accessing this shared data defines a usage of the shared data
    component. This usage is automatically instantiated by the FPM.
    The consuming component can now communicate with the shared data
    component via Web Dynpro context mapping, attribute access or method calls.
    Thanks
    Senthil

  • Two Finger Right Click on late G4 iBook with USB Trackpad?

    I learned that with OSX Version 10.4.7 it is possible to use the two-finger-click instead of ctrl-click for right-clicking. But this only works on the new Intel Macbooks/Pro. Well, this is nice.
    For older Laptops with ADB-Trackpad there is a freeware program called iScroll2 which also provides this feature.
    For the late 2005 G4 iBooks with USB-trackpads there is apparently nothing:
    The feature doesn't come with 10.4.7 here and iScroll2 is ADB-only.
    On the one hand I don't really get the problem here, why these machines are not supported.
    Since there is no announcement from apple it seems that they are just not interested in supporting computers which have been sold till not even a year ago.
    If Apple is definitely not planning to support this in the future I would at least expect that they publish the source for the USB-driver so that the open source communitiy can take care of the problem.
    G4 Ibook, among others   Mac OS X (10.4.7)  

    have you tried installing iScroll? I'm pretty sure it
    should work...by USB trackpad are you referring to a
    trackpad plugged in to your USB port?!? (".)
    Maybe I didn't explain it clearly enough in my OP:
    The late G4 iBooks have a "Apple Internal Trackpad" which is a USB-Device, whereas older models sport an ADB-trackpad. In the late iBooks ADB is no longer present.
    On the iScroll2 page (http://iscroll2.sourceforge.net/) you will find the following information:
    "Models that have two-finger scrolling already built-in are not supported! These use a completely different, USB-based trackpad, the driver or which is not available as open source. iScroll2 is based on Apple's AppleADBMouse-209.0.10 driver for the ADB-based trackpads found on older models, which is available as part of the publicly released Darwin source code.."
    So again: The feature mentioned in the topic is not provided by Apple, nor is the USB driver source code publicly available making it quite unlikely the OSS community will come up with a solution.

Maybe you are looking for

  • Document not posting through F-02 BDC in background.

    Hi, While trying to post park documents for a company code through F-02 using BDC in background mode N, when any single document is having any error then all the documents for that company code are going in error state and not getting posted.When che

  • Videos app only plays sound through Airplay

    Hi, When I airplay a video using the 'Videos' app on my iPhone 4S or my iPad Mini I only get sound through my Apple TV.  I understand that I can use Mirroring to see the video as well, but other apps show audio and visual without having to mirror.  I

  • Sql sript for Insert of data with repeating values

    It has been a long long time since I had to do write and use any SQL scripts, please forgive the question. I used to use a script to insert values into a table as part of my job. I have forgotten what the script I used was and since lost all my Oracl

  • Cant Find .......  Choose File^ New Slide Show

    I am trying to make a slideshow for the first time. ( iPhoto4.0.3) I can't find the .... " Choose File ^ New Slide Show " in the iPhoto File drop down menu to make a slide show, it only gives me New Album, New Smart, Close Window, Import, Export, Tra

  • Trying to Upgrade to CS4 from CS3 Extended

    I am trying to upgrade to CS4 from CS3 Extended.  The Adobe web page states to call Adobe support for this upgrade.  I call them before I attempt the upgrade to ask what I should do.  They tell me to intall it and call back.  I get to the serial scre