Double value change event if cursor is set busy (LV2009)

Hello everybody,
I just migrated from LV 8.0 to LV 2009 (on linux) and now got problems with a value change event. I want to send a command if a button is pressed and send another one if the button is released. After sending the command I need to wait for an acknowledge from the receiver and to avoid user interaction in between I lock the cursor with "set busy" VI until the acknowledge is received. To see, when the button is pressed or released, I use a value change event. Inside the event structure the cursor is set busy.
This worked reliable in LV 8.0 but not any more in LV 2009. The button's mechanical action is set to "switch until released" and if I press the button and keep it pressed it is reset to false automatically. The value change event is fired twice instead of only once (see attached vi) and "new value" is one time true and one time false. This doesn't happen if the mechanical action is set to "switch when pressed".
Does anybody have an explanation or a workaround for this behaviour? Am I doing something wrong or is this a bug in LV? For now I'll just keep the cursor unlocked.
Thanks for your help.
Attachments:
setMouseBusy_01.vi ‏11 KB

Hi ckis,
attached you'll find your modified example, it should do the trick now.
Regards,
Bernd
Attachments:
setMouseBusy_01.vi ‏9 KB

Similar Messages

  • LV7: how to catch 'Value change' event for cursor position in XY graph?

    I try to catch an event when the cursor position of a graph's cursor
    changes. I created a reference for the cursor array and registered a dynamic
    event 'Value change' for it. The event does not fire when the cursor changes
    (either by dragging it with the mouse or by direct entry of a new value in
    the cursor's X or Y fields. In contrast, when I register e.g. the 'Mouse Up'
    event for the cursor array, the event IS detected.
    -Franz

    So this is the same behaviour as that of a regular control which also does
    not fire a 'Value changed' event when it gets updated by e.g. writing to a
    local.
    At least the cursor's behavior is consistent then...
    But unfortunately also the direct user interaction with the cursor's numeric
    field does not fire the event, which is NOT consistent.
    I was trying to catch cursor changes in my event loop and had used a 'Mouse
    Up' event of the graph indicator to look for cursor changes (whose last
    position I had kept in a local or shift reg). In order not to miss a direct
    user interaction in the numeric field I added the dynamic event 'Value
    change' to the same event case, but with no success, it missed the direct
    entry ...
    according to what you say this seems to b
    e a bug then...
    -Franz
    "Greg McKaskle" schrieb im Newsbeitrag
    news:[email protected]..
    > > I try to catch an event when the cursor position of a graph's cursor
    > > changes. I created a reference for the cursor array and registered a
    dynamic
    > > event 'Value change' for it. The event does not fire when the cursor
    changes
    > > (either by dragging it with the mouse or by direct entry of a new value
    in
    > > the cursor's X or Y fields. In contrast, when I register e.g. the 'Mouse
    Up'
    > > event for the cursor array, the event IS detected.
    > >
    >
    > The reason is that value change events fire when user action directly on
    > the control changes its value. They do not fire when other programmatic
    > value changes occur. If you are looking at a value change on the cursor
    > palette, user interaction with the numeric should fire it, but updates
    > due to cursor movement are more like programmatic updates.
    >
    > Additional events will likely be added in future
    releases, and these may
    > make it easier to catch cursor movement events on a graph.
    >
    > Greg McKaskle
    >

  • LOV value change event is getting triggered automatically

    Hi,
    I'm using ADF Faces with EJB. I have a page with a LOV defined as:
    <af:selectInputText binding="#{backing_contactUpdate.investorLOV}"
              id="investorLOV" columns="30"
              searchDesc="Search and Select Investor"
              value="#{updateContact.reference_id_meaning}"
              action="dialog:chooseInvestor"
              windowHeight="600" windowWidth="650"
              returnListener="#{backing_contactUpdate.investorLovReturn_action}"
              valueChangeListener="#{backing_contactUpdate.investorLovChange_action}"
              autoSubmit="true"/>
    When this page is run the first time and no value exists in the managed bean property bound to LOV field (updateContact.reference_id_meaning) then it all works fine. But if the managed bean property has any value then clicking any button which submits data triggers the LOV change event (backing_contactUpdate.investorLovChange_action). Once a new value is selected in the LOV then the event doesn't get triggered. How can I make the state of LOV field as validated, so that the change event doesn't get fired?

    Additional Information:
    The backing bean and managed bean both are at request scope.
    Another problem I'm facing is that the value change event is not fired when the value in the LOV field is deleted (set to blank).
    The method in backing bean is:
    public void investorLovChange_action(ValueChangeEvent valueChangeEvent) {
    // Add event code here...
    String investorName = (String)valueChangeEvent.getNewValue();
    if (investorName == null) {
    getReferenceId().setSubmittedValue(null);
    getReferenceId().setValue(null);
    } else {
    ValueBinding investorBeanBind =
    application.createValueBinding("#{irmInvestorBean}");
    IrmInvestorBean investorBean =
    (IrmInvestorBean)investorBeanBind.getValue(facesContext);
    investorBean.fetchInvestors(investorName, null, null);
    IrmInvestorSearchResults[] investors = investorBean.getInvestors();
    if ((investors != null) && (investors.length == 1)) {
    getReferenceId().setSubmittedValue(null);
    getReferenceId().setValue(investors[0].getInvestor_id());
    getInvestorLOV().setSubmittedValue(null);
    getInvestorLOV().setValue(investors[0].getFull_name());
    } else {
    UIViewRoot investorLovRoot =
    application.getViewHandler().createView(facesContext,
    "/investorLOV.jsp");
    HashMap windowProp = new HashMap();
    windowProp.put("height", "600");
    windowProp.put("width", "650");
    adfFacesContext.launchDialog(investorLovRoot, null,
    valueChangeEvent.getComponent(),
    true, windowProp);
    }

  • Drop Down Lists and Value Change Events

    I have 4 drop down lists each with a set of values from the database.
    Based on the value of the first list(ValueChangeEvent only for list1) , I fetch data from the database and set the 'selected value' in the other lists.
    I have a Submit button which takes values from these 4 lists and puts it in the database.
    Problem:
    I change list 2 through list 4 and hit a Submit button which inserts all the values in the database.
    However,on Clicking the Submit button I never get the new selected values, it always refers to the previously fetched values.
    I tried to recreate this case in a Sandbox without a database , Here is the code:
    Page1.jsp
    <h:selectOneMenu id="list1" value="#{SessionBean1.selectedList1}" valueChangeListener="#{SessionBean1.list1ValueChangeListener}"  onchange="this.form.submit();" >
                   <f:selectItems id="dropdown1SelectItems" value="#{SessionBean1.list1}"/>
    </h:selectOneMenu>
      <h:selectOneMenu id="list2" value="#{SessionBean1.selectedList2}" >                           
                  <f:selectItems id="dropdown2SelectItems" value="#{SessionBean1.list2}"/>
       </h:selectOneMenu>
       <h:commandButton id="add" actionListener="#{SessionBean1.addActionListener}" value="Add"/>
        <h:inputText id="result" value="#{SessionBean1.result}" />SessionBean1
       public SessionBean1() {
            list1.add(new SelectItem("0","0"));
            list1.add(new SelectItem("1","1"));
            list1.add(new SelectItem("2","2"));
            list1.add(new SelectItem("3","3"));
            list2.add(new SelectItem("a","a"));
            list2.add(new SelectItem("b","b"));
            list2.add(new SelectItem("c","c"));
            list2.add(new SelectItem("d","d"));
            map.put("0", "a");
            map.put("1", "b");
            map.put("2", "c");
            map.put("3", "d");
        private void fetch_data(String value){
             selectedList2=map.get(value);
        public void list1ValueChangeListener(ValueChangeEvent vce){
                fetch_data(vce.getNewValue().toString());
        public void addActionListener(ActionEvent event){
            result=selectedList2;
        }I tried debugging and found that after the Value Change Event is fired only selectedList1 gets a new value during Update Model Values Phase and selectedList2 still has the old value.
    With this sand box project I cannot even get the second list to show the corresponding value.
    Any insight on this would be helpful

    Thank You Balus C,
    I just realized the reason why this is not working, I found the reason in your article Populating Child Menu's article, I am just
    putting it as a reference here.
    One concern is that the skipping of the UPDATE_MODEL_VALUES will also cause that the new values of the menu's which have immediate="true" set won't be set in the backing bean. This can partly be fixed by getting the new value from the ValueChangeEvent inside the valueChangeListener method and assign it to the appropriate property. But this won't work for other menu's of which the valueChangeListener isn't been invoked. This would cause problems if you select a child menu value and then select the parent menu back to null and then reselect it to same value again, the child menu which will show up again would remain the same selection instead of null while its child will not be rendered! To solve this we need to bind the menu's to the backing bean so that we can use UIInput#setValue() and UIInput#getValue() to set and get the actual values.+ The JSF lifecycle will set and get them in the RESTORE_VIEW and RENDER_RESPONSE phases respectively.+
    I am not sure I understand whether or not it is a limitation but the reason above is valid and I rolled back to binding my menus and getting to work with that.
    Is Binding UI components a wise idea because most of the attributes can be programmed using properties in Backing Beans unless you have to build new components?
    Thanks Again

  • Value change using DataSocket can't create value change event on remote computer?

    I am trying to create an event on the remote computer:
    Local computer:
    Change a value in remote computer by DataSocket.
    Remote Computer:
    create a event: when the value changes.
    I can see the value change on the remote computer; however, the value change doesn't cause the "value change event".
    Anyone tried this before?  Thanks.
    ------- LabVIEW 2009, So Easy, Even a Therapist Can Do It -------

    Hi,
    Event Structure monitors a specified event based on user interaction on the front-panel objects. However, it does not monitor event generated programmatically like a change in the DataSocket data value. In order to generate a value change event with the DataSocket, you will need to use the "value (signaling)" property node for the DataSocket data or control. This property node sets the value of the control and also generates a Value Change event.
    To create the property node, simply right click the control and select "Create>>Property Node>> Value (Signaling)". You can then wire the output from the DataSocket read to this property.
    You can also checkout this knowledgebase entry for additional information.
    Tunde

  • Newbie: UITextField's "value changed" event won't fire

    I'm trying to get a UITextField's "value changed" event to trigger whenever it's value is changed with the keyboard or if some other control changes it via setting the myTextField.text property. For some reason, this event will not fire and call the event handler.
    I tried connecting the other events such as "Editing Did Begin" to the event handler, and it works. But "Value Changed" event never fires. Is it a supported event or am I missing something

    I had the same problem, this works:
    [myTextField addTarget:self action:@selector(textFieldDidChange:) forControlEvents:UIControlEventEditingChanged];

  • How to tackle the dataflow problem when Value Change event always triggers after another GUI event

    We know that Value change event always triggers after another GUI event. Eg, the user modifies string control, the user clicks on a boolean control. Then event boolean clicked is triggered before event string control value change.
    Now suppose somehow the GUI event that must happen to subsequently trigger the Value change event can potentially affect the data that Value change event is supposed to work on. How can we tackle this problem ?
    For example, in a mockup application that the grand purpose is to have user entered values in a textbox logged to a file (no missing information is accepted, and there is a boolean to determine how the information is logged).
    There are 2 controls, boolean A when clicked (mouse down) will load random number in text box B. Text box B is designed with event structure VALUE change which saves whatever values user enters into text box B to a log file.
    There are 3 problems when instead of clicking anywhere on the front panel after modifying text box B, the user ends up clicking on boolean control A.
    1. Event mouse down on Boolean control A will execute first, modifying text box B content before the user entered values in B get saved.
    2. The value of boolean A can potentially affect how textbox B is loggged.
    3. The value of boolean A affects how the file is logged and this is indeterminate. Somehow when running this VI with no Highlighting, the textbox B Value change event executes -before- boolean A value is updated (F to T). When running this VI with Highlighting, the boolean A value is updated (F to T) (because we click on it) -before- textbox B value change event occurs. Why is it like this ?
    Now the situation I made up seems non-sense, but I believe it resembles one way or another a problem that you might run into. How would you solve this problem elegantly ?
     

    You can set the string control to "update while typing".
    Are you sure appending the log to itself is reasonable? Wouldn't it grow without bounds if the users keeps entering strings or pressing the ingore button?
    Why isn't the "constant" a diagram constant instead of a control. Is the user allowed to change it?
    To reset just write empty strings or a false to local variables of the controls (renit to defaults" seems a bit heavy handed).
    All you probably need is a single event case for "ignore:value change" and "String" value changed", no need for the local variable..
    Also add a stop button and an event for it.
    You don't need the timeout event.
     

  • Will "Value change" events fire when changed via ActiveX?

    I have a VI with an Event Structure defining several Value Changed events. These events are associated with various buttons on the control panel. When I work through the panel and press the buttons, the events fire correctly. However, if I connect via the COM/ActiveX control and change the control values, the button indicator light changes, but the Value Change event does not fire. Can we trigger value changed events remotely or must they be triggered via a mouse-click on the button?

    Hi Cyle,
    Please take a look at the document below. It explains why the events are not being fired.
    Event Structure Does Not Capture the Value Changed Event for Indicator Wired to Iteration Terminal
    I hope this helps.
    Sincerely,
    Feroz
    National Instruments

  • [svn:osmf:] 17497: Fix FM-933: ProxyMetadata doesn' t dispatch change events for its initially set inner metadata.

    Revision: 17497
    Revision: 17497
    Author:   [email protected]
    Date:     2010-08-27 09:58:09 -0700 (Fri, 27 Aug 2010)
    Log Message:
    Fix FM-933: ProxyMetadata doesn't dispatch change events for its initially set inner metadata.
    Ticket Links:
        http://bugs.adobe.com/jira/browse/FM-933
    Modified Paths:
        osmf/trunk/framework/OSMF/org/osmf/elements/LoadFromDocumentElement.as
        osmf/trunk/framework/OSMF/org/osmf/elements/ProxyElement.as
        osmf/trunk/framework/OSMF/org/osmf/elements/proxyClasses/ProxyMetadata.as
        osmf/trunk/framework/OSMFTest/org/osmf/elements/TestProxyElement.as

  • PDA build error when using a 'value change' event on two controls

    I get a build error when I use a 'value change' event on controls of a different type or even a different numeric representation. I'm using LV 7.1 PDA with no other modules installed. Attached is a picture of the entire code and the error message.
    Try to take over the world!
    Attachments:
    PDA Error.jpg ‏48 KB

    Hi,
    I verified the error that you are seeing. It appears to be a bug hence I have reported it to our developers. Hopefully this bug would be fixed in the next relaese of the PDA module.
    Thank you for pointing this to us. It is through feedback that we can make LabVIEW PDA module even better.
    Regards,
    Ankita A.
    National Instruments

  • Help with value change events

    I need to be able to use the value change event to handle sorting and control the properties of a multicolumn listbox. I have a slow loop that runs every 10 seconds and acquires new data if it's available. New data is appended directly to the list box. The event structure handles two events. One to change colors of the text when new data is added and another to sort the contents when a user clicks on the column header. The first event seems to work just fine. It only runs when new data is added. The second event is the problem. It runs every time the loop runs and ties up the user interface so that it does not respond.
    What am I doing wrong??
    By the way, it seems that whatever I am doing wrong crashes LabVIEW while I am
    editing the vi. Probably during a partial compile. LabVIEW crashed twice while I was creating this test vi and I don't normally have trouble with LabVIEW crashing. It has crashed in both the transact.cpp and panel.cpp.
    Thanks for any help or guidance you can offer.
    Attachments:
    Event_Handling_Test.vi ‏242 KB

    I have made a few quick modifications, see attached.
    -- The lower loop should probably be a plain loop, since the timing is done by the event structure.
    -- You cannot use a shift register in the upper loop if you want the acquired list to remain sorted.
    Sorry, I am on vacation in the middle of nowhere and only spend a few minutes on this. There are many improvements possible.
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    Event_Handling_TestMOD.vi ‏200 KB

  • "Error Out.status":Value change event

    I get no event fired when the error out "status" changes?
    Solved!
    Go to Solution.
    Attachments:
    SLH-CANservicetest.vi ‏112 KB

    Just writing data to an indicator terminal doesn't cause a value change event.
    The only things that cause a value change event are user interaction with a control, or writing to the Value (Signalling) property of a control or indicator.

  • Need help going to error page from jsf component value change event

    Afternoon all,
    I have a jsp page which uses jsf components and when one of the jsf combo boxes components handles an value change event, the method 'handleTestComboValueChange' is fired.
    Within this method if an error is caught I would like to display an error page instead of the currently displayed page.
    Can some one tell me how to do this. I tried to use getFacesContext().getExternalContext().redirect("errorpage.jsp"); but I just got an illegalStackException error.
    Any help would be great.
    Thanks in advance,
    Lex

    log output listed below...
    [14/04/06 14:52:48:781 BST] 6b0ec4d8 ProcessValida E com.sun.faces.lifecycle.ProcessValidationsPhase com.sp.exceptions.ServicePackagesException: My custom error message
    [14/04/06 14:52:48:812 BST] 6b0ec4d8 ProcessValida E com.sun.faces.lifecycle.ProcessValidationsPhase TRAS0014I: The following exception was logged javax.faces.el.EvaluationException: com.sp.exceptions.ServicePackagesException: My custom error message
         at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:130)
         at javax.faces.component.UIInput.broadcast(UIInput.java:492)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:252)
         at javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:346)
         at com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:78)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
         at com.ibm.faces.webapp.FacesGenericPortlet.execute(FacesGenericPortlet.java:637)
         at com.ibm.faces.webapp.FacesGenericPortlet.processAction(FacesGenericPortlet.java:142)
         at com.scottishpower.portlet.GoldenAccountPortlet.processAction(GoldenAccountPortlet.java:143)
         at com.ibm.wps.pe.pc.std.cmpf.impl.PortletFilterChainImpl.processAction(PortletFilterChainImpl.java:104)
         at com.ibm.wps.propertybroker.standard.filter.PropertyBrokerActionFilter.processAction(PropertyBrokerActionFilter.java:260)
         at com.ibm.wps.pe.pc.std.cmpf.impl.PortletFilterChainImpl.processAction(PortletFilterChainImpl.java:95)
         at com.ibm.wps.pe.pc.std.invoker.impl.PortletServlet.dispatch(PortletServlet.java:148)
         at com.ibm.wps.pe.pc.std.invoker.impl.PortletServlet.doPost(PortletServlet.java:76)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at com.ibm.wps.pe.pc.std.cache.CacheablePortlet.service(CacheablePortlet.java:257)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
         at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
         at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
         at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
         at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
         at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
         at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:1095)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java(Compiled Code))
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java:254)
         at com.ibm.wps.pe.pc.std.invoker.impl.PortletInvokerImpl.invoke(PortletInvokerImpl.java:204)
         at com.ibm.wps.pe.pc.std.invoker.impl.PortletInvokerImpl.invoke(PortletInvokerImpl.java:168)
         at com.ibm.wps.pe.pc.std.invoker.impl.PortletInvokerImpl.action(PortletInvokerImpl.java:82)
         at com.ibm.wps.pe.pc.std.event.ActionEvent.execute(ActionEvent.java:111)
         at com.ibm.wps.pe.pc.std.event.EventQueueManager.processEventLoop(EventQueueManager.java:86)
         at com.ibm.wps.pe.pc.std.PortletContainerImpl.performEvents(PortletContainerImpl.java:168)
         at com.ibm.wps.pe.pc.PortletContainerImpl.performEvents(PortletContainerImpl.java:229)
         at com.ibm.wps.engine.phases.WPActionPhase.processPortlets(WPActionPhase.java:947)
         at com.ibm.wps.engine.phases.WPActionPhase.execute(WPActionPhase.java:489)
         at com.ibm.wps.state.phases.AbstractActionPhase.next(AbstractActionPhase.java:130)
         at com.ibm.wps.engine.Servlet.callPortal(Servlet.java:710)
         at com.ibm.wps.engine.Servlet.doGet(Servlet.java:562)
         at com.ibm.wps.engine.Servlet.doPost(Servlet.java:736)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
         at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
         at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
         at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
         at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
         at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
         at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
         at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:76)
         at com.ibm.wps.state.filter.StateCleanup.doFilter(StateCleanup.java:86)
         at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:132)
         at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:71)
         at com.ibm.wps.mappingurl.impl.URLAnalyzer.doFilter(URLAnalyzer.java:258)
         at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:132)
         at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:71)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:1086)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java(Compiled Code))
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:201)
         at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:125)
         at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:286)
         at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
         at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182)
         at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
         at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
         at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:652)
         at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:448)
         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))
    Caused by: com.sp.exceptions.ServicePackagesException: My custom error message
         at pagecode.fragments.GSolus.getTariffsByRef(GSolus.java:297)
         at pagecode.fragments.GSolus.handleServicePackageComboValueChange(GSolus.java:214)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code))
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code))
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
         at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
         at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:126)
         ... 68 more
    javax.faces.el.EvaluationException: com.sp.exceptions.ServicePackagesException: My custome error message
         at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:130)
         at javax.faces.component.UIInput.broadcast(UIInput.java:492)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:252)
         at javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:346)
         at com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:78)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
         at com.ibm.faces.webapp.FacesGenericPortlet.execute(FacesGenericPortlet.java:637)
         at com.ibm.faces.webapp.FacesGenericPortlet.processAction(FacesGenericPortlet.java:142)
         at com.sp.portlet.GoldenAccountPortlet.processAction(GoldenAccountPortlet.java:143)
         at com.ibm.wps.pe.pc.std.cmpf.impl.PortletFilterChainImpl.processAction(PortletFilterChainImpl.java:104)
         at com.ibm.wps.propertybroker.standard.filter.PropertyBrokerActionFilter.processAction(PropertyBrokerActionFilter.java:260)
         at com.ibm.wps.pe.pc.std.cmpf.impl.PortletFilterChainImpl.processAction(PortletFilterChainImpl.java:95)
         at com.ibm.wps.pe.pc.std.invoker.impl.PortletServlet.dispatch(PortletServlet.java:148)
         at com.ibm.wps.pe.pc.std.invoker.impl.PortletServlet.doPost(PortletServlet.java:76)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at com.ibm.wps.pe.pc.std.cache.CacheablePortlet.service(CacheablePortlet.java:257)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
         at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
         at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
         at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
         at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
         at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
         at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:1095)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java(Compiled Code))
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java:254)
         at com.ibm.wps.pe.pc.std.invoker.impl.PortletInvokerImpl.invoke(PortletInvokerImpl.java:204)
         at com.ibm.wps.pe.pc.std.invoker.impl.PortletInvokerImpl.invoke(PortletInvokerImpl.java:168)
         at com.ibm.wps.pe.pc.std.invoker.impl.PortletInvokerImpl.action(PortletInvokerImpl.java:82)
         at com.ibm.wps.pe.pc.std.event.ActionEvent.execute(ActionEvent.java:111)
         at com.ibm.wps.pe.pc.std.event.EventQueueManager.processEventLoop(EventQueueManager.java:86)
         at com.ibm.wps.pe.pc.std.PortletContainerImpl.performEvents(PortletContainerImpl.java:168)
         at com.ibm.wps.pe.pc.PortletContainerImpl.performEvents(PortletContainerImpl.java:229)
         at com.ibm.wps.engine.phases.WPActionPhase.processPortlets(WPActionPhase.java:947)
         at com.ibm.wps.engine.phases.WPActionPhase.execute(WPActionPhase.java:489)
         at com.ibm.wps.state.phases.AbstractActionPhase.next(AbstractActionPhase.java:130)
         at com.ibm.wps.engine.Servlet.callPortal(Servlet.java:710)
         at com.ibm.wps.engine.Servlet.doGet(Servlet.java:562)
         at com.ibm.wps.engine.Servlet.doPost(Servlet.java:736)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
         at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
         at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
         at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
         at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
         at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
         at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
         at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:76)
         at com.ibm.wps.state.filter.StateCleanup.doFilter(StateCleanup.java:86)
         at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:132)
         at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:71)
         at com.ibm.wps.mappingurl.impl.URLAnalyzer.doFilter(URLAnalyzer.java:258)
         at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:132)
         at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:71)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:1086)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java(Compiled Code))
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:201)
         at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:125)
         at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:286)
         at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
         at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182)
         at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
         at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
         at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:652)
         at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:448)
         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))
    Caused by: com.sp.exceptions.ServicePackagesException: My custome error message
         at pagecode.fragments.GSolus.getTariffsByRef(GSolus.java:297)
         at pagecode.fragments.GSolus.handleServicePackageComboValueChange(GSolus.java:214)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code))
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code))
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
         at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
         at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:126)
         ... 68 more

  • Value-Changed Events

    There are two basic events, action and value-changed events.
    How is the server informed of a value-changed event? Does this include javaScript? If not, how is this handeled?
    Thx,
    Sven Haiges

    JSF is a server-side technology, so while JavaScript can be generated for some client-side behavior, the bulk of the processing (and the only processing that is guaranteed to work for all client types) happens on the server.
    Value-changed events are generated on the server when the form is submitted, by comparing the component's old value to the new value recieved with the request. In other words, these events are not triggerd by simply changing the value in the browser; the form must be subitted before the event is triggered (which, of course, can be initiated by JavaScript code immediately when the value is changed in some client-types).
    I hope this helps.

  • New row creation in value change event

    I used this code for to create new empty for adf table in value change listener
    public void valchaag(ValueChangeEvent valueChangeEvent) {
    OperationBinding oper = (OperationBinding ) bindings.get("Create");
    oper.execute();
    AdfFacesContext.getCurrentInstance().addPartialTarget(<table UI reference ttt>);
    but its creating new empty row when i changing the value of last column of current row and along with some error ....such as
    JBO-27027: Missing mandatory attributes for a row with key null of type AppModule.PmmpropfacilityView1
    JBO-27014: Attribute Propertycode in AppModule.PmmpropfacilityView1 is required
    JBO-27014: Attribute Facilitycode in AppModule.PmmpropfacilityView1 is required
    JBO-29000: Unexpected exception caught: java.lang.NullPointerException, msg=null
    java.lang.NullPointerException

    Hi,
    appears as if you submit a row that misses attribute values. I am not sure this is related to creating the new row. Try adding a call to responseComplete (from the FacesContext) after creating the row.
    Frank

Maybe you are looking for

  • How do I set my printer to black and white ONLY?

    I have an HP Photosmart All-In-One C4480.  I don't want to have to buy color cartridges, because I only need black and white, and I have three black and white cartridges already.  How do I set the printer to print my documents in black and white only

  • Tax with the help of idoc and EDI

    Dear gurus, how can we process tax data that is used between two systems through the help of IDOC and EdI? It would be great for ur kind support.

  • Procedure works in debug mode but not normally

    I'm scratching my head on this and would appreciate any help as to what is happening. We have client code that calls stored procedures on an Oracle 10g database. When I run it normally the procedure does not behave as expected. If I try to debug the

  • [MfE]- HELP....

    please help..!!! my company mail server cannot syncronise with M4E.... when i call my IT staff, they say the SLL must be off, then i change the secure connection menu to "No" but it still cann not connect... if i use my other company mail server it w

  • A Doubt on Customization

    Hi, I read the following in OAF dev guide Extension is extending the functionality of an aplication using - Adding new functional flows. - Extending or overriding existing functional flows. - Extending or overriding existing business logic. I underst