Help - valueChanged(TreeSelectionevent) firing twice

Hi,
I have a Jtree in which I need to display directories and the files in them.
I need to be able to choose multiple leafs(which contains file names) only if the selected nodes represents file names with the same extension, otherwise select only the last node which broke the uniformity.
For this I have implemented a selectionmodel class in which I iterate through all the nodes and call the super.addSelectionPaths(TreePath[]) method.
My problem now is that the valueChanged() method in the listener class is fire twice for every selection.
I have no idea why is it happening like that.
Can anyone please help me out?

Hi,
Thank you for going through my problem.
I have got the solution now.
The problem was that since I was overriding two methods viz. setSelectionPaths() and addSelectionPaths(), the first time a node is selected both the methods are triggered, and the subsequent selections call only the addSelectionPaths() methods.
Thanks

Similar Messages

  • ValueChanged getting fired twice !!

    When, in a JTable, a row is selected programaticaly, then valueChanged method is fired twice. Although this method always gets fired twice once while its adjusts data and then again after its done with adjusting.
    To cope up with this problem, getValueIsAdjusting() is checked for false.
    But when the row is selected programatically then the getValueIsAdjusting() is always false resulting twice execution.

    let me explain again what i am doing...
    quey is fire several time to populate the JTable. After each query is fired following code is executed
    dbTable[0].getSelectionModel().setLeadSelectionIndex(0);
    when query if fired for the first time then it works fine i.e. valueChanged is executed once only, but when query is fired again then valueChanged is executed twice

  • Oracle.apps.po.rcv.rcvtxn firing twice

    Hi,
    I am using oracle.apps.po.rcv.rcvtxn business event which is fired when we do a receipt trasaction in PO. I have created a pkg.function in which it just enters 2 values into a cutom table. I map this pkg.func to the subscription.
    Now when I test this subscription from Workflow Admin--> Business events -->Events with a key it fires properly as in it inserts 2 values into the custom table.
    But when I actually fire while saving a receipt transaction it inserts data into the table, but twice. I used a sequence and inserted it. 2 different sequnces were inserted. It means it is fired twice.
    Any clue where I am going wrong?

    Hi;
    What is your EBS and OS?
    Please check below notes which could help you on your issue:
    What are the Out-Of-The-Box Business Events Available in the Purchasing Module? [ID 558712.1]
    Where is Oracle.Apps.Po.Rcv.Rcvtxn Business Event Raised? [ID 428493.1]
    ORACLE.APPS.PO.RCV.RCVTXN Business Event Does Not Work For Batch Mode/ROI Receipts [ID 803313.1]
    Also see:
    Common Receiving Issues after Installing or Upgrading to 11.5.10 [ID 309896]
    Regard
    Helios

  • Database call fired twice when using actionListener in dataTable

    Hi all,
    I have a question regarding the request bean lifecylce in the current use case (using Sun JSF 1.2)
    I have a managed bean in request scope that contains an ArrayList which is used as the data provider in a dataTable on a faces page.
    The bean contains an init() method to populate the ArrayList using a database call.
    The dataTable also contains a column with a commandLink that calls a method via actionListener inside the managed bean to delete the current row.
    When I click the link the action gets called and deletes the row from the database. I also reload the data from the database and assign it to my ArrayList.
    However, the init Method is also called before the action is executed. So the database call is fired twice when hitting the link:
    - First time in the init() method of the bean
    - Second time in the actionListener method when reloading the data
    I can not remove the call from the actionListener, because the data has not deleted yet.
    Question:*
    How can I make sure the database call is fired once only? (and also making sure the ArrayList is populated appropriate)
    Maybe I am doing something wrong here? Thanks in advance for any help.
    Maik
    This is the request scope bean:
    public class UserBean implements Serializable {
        private List all;
        private Long userId = null;
        @PostConstruct
        public void init() {
            if(all == null) {
                new ArrayList();
                loadUserList();
         * Constructor
        public UserBean() {
            super();
         * @return the userId
        public Long getUserId() {
            return userId;
         * @param userId
         *            the userId to set
        public void setUserId(Long userId) {
            this.userId = userId;
         * @param all
         *            the all to set
        public void setAll(List all) {
            this.all = all;
        public List getAll() throws GeneralModelException {
            return all;
        public void loadUserList() {
            EntityManager em = Contexts.getEntityManager();
            Query q = em.createNamedQuery("user.findAll");
            all = q.getResultList();
        public void deleteAction(ActionEvent ae) {
            EntityManager em = Contexts.getEntityManager();
            Query q = em.createNamedQuery("user.byId");
            q.setParameter("id", userId);
            try {
                User user = (User) q.getSingleResult();
                if (user != null) {
                    em.remove(user);
                    loadUserList();
            } catch (NoResultException e) {
                // TODO
    }

    No, I do not call the init() method.
    Basically the init() is called before the deleteAction() so the ArrayList still contains the old value, unless a second database call is triggered after the entity has been deleted.
    Maybe I am missing something here...
    See also here (JSF 1.2 RI - Bean Instantiation and Annotation)
    [http://weblogs.java.net/blog/jhook/archive/2007/05/jsf_12_ri_backi.html]
    Here is the init() call stack trace
    Daemon Thread [http-8080-2] (Suspended (breakpoint at line 32 in UserBean))     
         UserBean.init() line: 32     
         NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not available [native method]     
         NativeMethodAccessorImpl.invoke(Object, Object[]) line: not available     
         DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: not available     
         Method.invoke(Object, Object...) line: not available     
         DefaultAnnotationProcessor.postConstruct(Object) line: 79     
         Tomcat6InjectionProvider.invokePostConstruct(Object) line: 118     
         ManagedBeanBuilder(BeanBuilder).invokePostConstruct(Object, InjectionProvider) line: 223     
         ManagedBeanBuilder(BeanBuilder).build(InjectionProvider, FacesContext) line: 108     
         BeanManager.createAndPush(String, BeanBuilder, ELUtils$Scope, FacesContext) line: 368     
         BeanManager.create(String, FacesContext) line: 230     
         ManagedBeanELResolver.getValue(ELContext, Object, Object) line: 88     
         FacesCompositeELResolver(CompositeELResolver).getValue(ELContext, Object, Object) line: 53     
         FacesCompositeELResolver.getValue(ELContext, Object, Object) line: 72     
         AstIdentifier.getValue(EvaluationContext) line: 61     
         AstValue.getTarget(EvaluationContext) line: 59     
         AstValue.setValue(EvaluationContext, Object) line: 129     
         ValueExpressionImpl.setValue(ELContext, Object) line: 249     
         JspValueExpression.setValue(ELContext, Object) line: 85     
         RestoreViewPhase.doPerComponentActions(FacesContext, UIComponent) line: 240     
         RestoreViewPhase.doPerComponentActions(FacesContext, UIComponent) line: 245     
         RestoreViewPhase.doPerComponentActions(FacesContext, UIComponent) line: 245     
         RestoreViewPhase.execute(FacesContext) line: 195     
         RestoreViewPhase(Phase).doPhase(FacesContext, Lifecycle, ListIterator<PhaseListener>) line: 100     
         RestoreViewPhase.doPhase(FacesContext, Lifecycle, ListIterator<PhaseListener>) line: 104     
         LifecycleImpl.execute(FacesContext) line: 118     
         FacesServlet.service(ServletRequest, ServletResponse) line: 265     

  • DimensionChangeEvent firing twice in a row

    The DimensionChangeEvent seems to fire twice in a row.
    Once for the width and again for the height.
    My thinking it should only fire once.
    What is the use case for this behavior?
    pPlayer.addEventListener( DimensionChangeEvent.DIMENSION_CHANGE, mDimensionChange );
    ============ First event ================
    mDimensionChange [Event type="dimensionChange" bubbles=false cancelable=false eventPhase=2]
    evt.newWidth = 600
    evt.newHeight = 0
    evt.oldWidth = 0
    evt.oldHeight = 0
    evt.currentTarget.width =  600
    evt.currentTarget.height =  0
    evt.currentTarget.view.calculatedWidth =  600
    evt.currentTarget.view.calculatedHeight; =  800
    ============ Second event ================
    mDimensionChange [Event type="dimensionChange" bubbles=false cancelable=false eventPhase=2]
    evt.newWidth = 600
    evt.newHeight = 800
    evt.oldWidth = 600
    evt.oldHeight = 0
    evt.currentTarget.width =  600
    evt.currentTarget.height =  800
    evt.currentTarget.view.calculatedWidth =  600
    evt.currentTarget.view.calculatedHeight; =  800

    ====== firing twice code ============
    pPlayer.addEventListener(ViewEvent.DIMENSION_CHANGE, mDimensionChange);
    ====== code per your request ============
    I now get a compiler error on the addEventListener:
    pPlayer.addEventListener(ViewEvent.MEDIA_SIZE_CHANGE, mDimensionChange);
    1119: Access of possibly undefined property MEDIA_SIZE_CHANGE through a reference with static type Class.
    The online ViewEvent docs don't show a MEDIA_SIZE_CHANGE:
    DIMENSION_CHANGE
    Constant
    public static const DIMENSION_CHANGE:String = "dimensionChange" 
    The ViewEvent.DIMENSION_CHANGE constant defines the value of the type property of the event object for a dimensionChange event.
    VIEW_CHANGE
    Constant
    public static const VIEW_CHANGE:String = "viewChange" 
    Language Version:
    ActionScript 3.0
    Product Version:
    OSMF 1.0
    Runtime Versions:
    Flash Player 10, AIR 1.5
    The ViewEvent.VIEW_CHANGE constant defines the value of the type property of the event object for a viewChange event.

  • OnSelect event for dropdownbykey, getting fired twice in IE8

    When you click on key of dropdown , the event "On Select"  getting fired twice in IE8.
    If I try the application using Firefox, it's ok.
    Someone resolve apply the oss note 1461842  and 1411235, but in both notes there's nothing about dropdownbykey.
    Thanks a lot, !!!

    >
    Baskaran Senthivel wrote:
    > Hi,
    >
    > If i am not wrong IE8 is not in the supported list of browsers.
    IE8 is supported.  You can always check the latest supported browsers from the PAM (Platform Availability Matrix) http://service.sap.com/pam
    IE8 does require one of the later Support Package levels, however. See the PAM for the details.
    As far as the notes you reference, they might well fix your problem.  The Unified Rendering fix notes often don't list all the specific issues they address.  They simply list the patch level of the UR.  This problem does sound like a client side/UR problem.

  • Pre-query trigger firing twice

    I have a pre-query trigger on a block in a form to set the "default where" as
    SET_BLOCK_PROPERTY (BLOCK_ID, default_where,where_clause);
    but when I look at the current query for the session the where clause looks like
    WHERE screening_group_num = :1 AND (screening_group_num = :2)
    Why is this firing twice?
    I checked this thread : Re: pre-query firing twice but I dont have any calls to execute_query in the form.

    I am setting the where_clause in the pre_query trigger for that block.
    and the copy value is not set for the screening_group_num item or for that matter any other item in the block. For all other items, it dosent really matter if the comparison is done twice (as the values will be same) , but when I have text (string) items, then its a problem. For example:
    Where
    (event_description LIKE '%test%') --- this is from the pre_query trigger where I am doing a string_comparison using 'Like and %%'
    AND (event_description = :1) --i suppose this is from the default where clause of the block                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Custom Trigger on MTL_SYSTEM_ITEMS_B firing twice from Item form

    Hi ,
    I wrote a custom trigger on MTL_SYSTEM_ITEMS_B for after update. When ever an item is update from the seeded Items Form, it is firing twice. When I do it from back end it is working fine. Any insights or fixes into issue will be much appreciated.
    Thanks.

    Obtain FRD log file to find out why the trigger is fired twice.
    R12: Forms Runtime Diagnostics (FRD), Tracing And Logging For Forms In Oracle Applications (Doc ID 438652.1)
    Steps To Take FRD Trace in 11.5.10 & R12 (Doc ID 867943.1)
    R12: How To Create An FRD (Forms Runtime Diagnostic) Log Using Forms 10g (Doc ID 445166.1)
    How To Collect And Use Forms Trace (FRD) in Oracle Applications Release 12 (Doc ID 373548.1)
    Thanks,
    Hussein

  • FDM event scripts firing twice during data loads

    Here's an interesting one. I have added the following to three different event scripts (one at a time, ensuring only one of these exists at any one time), to clear data before loading to Essbase:
    Event Script content:
    ' Declare local variables
    Dim objShell
    Dim strCMD
    ' Call MaxL script to run data clear calculation.
    Set objShell = CreateObject("WScript.Shell")
    strCMD = "D:\Oracle\Middleware\EPMSystem11R1\products\Essbase\EssbaseClient\bin\startMAXL.cmd D:\Test.mxl"
    API.DataWindow.Utilities.mShellAndWait strCMD, 0
    MaxL Script:
    login ******* identified by ******* on *******;
    execute calculation 'FIX("Member1","Member2") CLEARDATA "Member3"; ENDFIX' on *******.*******;
    exit;
    However, it appears that the clear is carried out twice, both before and after the data has been loaded to Essbase. This has been verified at each step by checking the Essbase application log:
    No event script:
    - No Essbase data clear in application log
    Adding above to "BefExportToDat" event script:
    - Script is executed once after clicking on Export in FDM Web Client (before the "Target System Load" modal popup is displayed). Entries are visible in Essbase Application log.
    - Script is then executed a second time when clicking on the OK button in the "Target System Load" modal popup. Entries are visible in Essbase Application log.
    Adding above to "AftExportToDat" event script:
    - Script is executed once after clicking on Export in FDM Web Client (before the "Target System Load" modal popup is displayed). Entries are visible in Essbase Application log.
    - Script is then executed a second time when clicking on the OK button in the "Target System Load" modal popup. Entries are visible in Essbase Application log.
    Adding above to "BefLoad" event script:
    - Script is NOT executed after clicking on Export in FDM Web Client (before the "Target System Load" modal popup is displayed).
    - Script is executed AFTER the data load to Essbase when clicking on the OK button in the "Target System Load" modal popup. Entries are visible in Essbase Application log.
    Some notes on the above:
    1. "BefExportToDat" and "AftExportToDat" are both executed twice, before and after the "Target System Load" modal popup. :-(
    2. "BefLoad" is executed AFTER the data is loaded to Essbase! :-( :-(
    Does anyone please have any idea how we might execute an Essbase database clear before loading data, and not after we have loaded fresh data? And perhaps on why the above event scripts appear to be firing twice?! There does not appear to be any logic to this!
    BefExportToDat - Essbase Application Log entries:
    +[Wed May 16 16:19:51 2012]Local/Monthly/Monthly/admin@Native Directory/140095859451648/Info(1013091)+
    +Received Command [Calculate] from user [admin@Native Directory]+
    +[Wed May 16 16:19:51 2012]Local/Monthly/Monthly/admin@Native Directory/140095859451648/Info(1013162)+
    +Received Command [Calculate] from user [admin@Native Directory]+
    +[Wed May 16 16:19:51 2012]Local/Monthly/Monthly/admin@Native Directory/140095859451648/Info(1012555)+
    +Clearing data from [Member3] partition with fixed members [Period(Member1); Scenario(Member2)]+
    +...+
    +[Wed May 16 16:20:12 2012]Local/Monthly/Monthly/admin@Native Directory/140095932016384/Info(1003037)+
    Data Load Updated [98] cells
    +[Wed May 16 16:20:12 2012]Local/Monthly/Monthly/admin@Native Directory/140095932016384/Info(1003024)+
    Data Load Elapsed Time : [0.52] seconds
    +...+
    +[Wed May 16 16:20:12 2012]Local/Monthly/Monthly/admin@Native Directory/140095930963712/Info(1013091)+
    +Received Command [Calculate] from user [admin@Native Directory]+
    +[Wed May 16 16:20:12 2012]Local/Monthly/Monthly/admin@Native Directory/140095930963712/Info(1013162)+
    +Received Command [Calculate] from user [admin@Native Directory]+
    +[Wed May 16 16:20:12 2012]Local/Monthly/Monthly/admin@Native Directory/140095930963712/Info(1012555)+
    +Clearing data from [Member3] partition with fixed members [Period(Member1); Scenario(Member2)]+
    AftExportToDat - Essbase Application Log entries:
    +[Wed May 16 16:21:32 2012]Local/Monthly/Monthly/admin@Native Directory/140095933069056/Info(1013091)+
    +Received Command [Calculate] from user [admin@Native Directory]+
    +[Wed May 16 16:21:32 2012]Local/Monthly/Monthly/admin@Native Directory/140095933069056/Info(1013162)+
    +Received Command [Calculate] from user [admin@Native Directory]+
    +[Wed May 16 16:21:32 2012]Local/Monthly/Monthly/admin@Native Directory/140095933069056/Info(1012555)+
    +Clearing data from [Member3] partition with fixed members [Period(Member1); Scenario(Member2)]+
    +...+
    +[Wed May 16 16:21:47 2012]Local/Monthly/Monthly/admin@Native Directory/140095930963712/Info(1003037)+
    Data Load Updated [98] cells
    +[Wed May 16 16:21:47 2012]Local/Monthly/Monthly/admin@Native Directory/140095930963712/Info(1003024)+
    Data Load Elapsed Time : [0.52] seconds
    +...+
    +[Wed May 16 16:21:47 2012]Local/Monthly/Monthly/admin@Native Directory/140095928858368/Info(1013091)+
    +Received Command [Calculate] from user [admin@Native Directory]+
    +[Wed May 16 16:21:47 2012]Local/Monthly/Monthly/admin@Native Directory/140095928858368/Info(1013162)+
    +Received Command [Calculate] from user [admin@Native Directory]+
    +[Wed May 16 16:21:47 2012]Local/Monthly/Monthly/admin@Native Directory/140095928858368/Info(1012555)+
    +Clearing data from [Member3] partition with fixed members [Period(Member1); Scenario(Member2)]+
    BefLoad - Essbase Application Log entries:
    +[Wed May 16 16:23:43 2012]Local/Monthly/Monthly/admin@Native Directory/140095932016384/Info(1013091)+
    +Received Command [Calculate] from user [admin@Native Directory]+
    +[Wed May 16 16:23:43 2012]Local/Monthly/Monthly/admin@Native Directory/140095932016384/Info(1013162)+
    +Received Command [Calculate] from user [admin@Native Directory]+
    +[Wed May 16 16:23:43 2012]Local/Monthly/Monthly/admin@Native Directory/140095932016384/Info(1012555)+
    +Clearing data from [Member3] partition with fixed members [Period(Member1); Scenario(Member2)]+
    +...+
    +[Wed May 16 16:23:44 2012]Local/Monthly/Monthly/admin@Native Directory/140095929911040/Info(1003037)+
    Data Load Updated [98] cells
    +[Wed May 16 16:23:44 2012]Local/Monthly/Monthly/admin@Native Directory/140095929911040/Info(1003024)+
    Data Load Elapsed Time : [0.52] seconds
    +...+
    +[Wed May 16 16:23:45 2012]Local/Monthly/Monthly/admin@Native Directory/140095860504320/Info(1013091)+
    +Received Command [Calculate] from user [admin@Native Directory]+
    +[Wed May 16 16:23:45 2012]Local/Monthly/Monthly/admin@Native Directory/140095860504320/Info(1013162)+
    +Received Command [Calculate] from user [admin@Native Directory]+
    +[Wed May 16 16:23:45 2012]Local/Monthly/Monthly/admin@Native Directory/140095860504320/Info(1012555)+
    +Clearing data from [Member3] partition with fixed members [Period(Member1); Scenario(Member2)]+

    Hi Larry,
    As mentioned, our exports do not appear to be generating the "-B.Dat" and "-C.Dat" files at present. However, you are correct with the Export and Load event scripts firing twice (once for the main TB file and again for the journal file). Does this also mean it could continue to fire an additional two times for the "-B.Dat" and "-C.Dat" files?
    On the last run, the output was as follows with the modified scripts:
    After clicking on Export in Workflow, the Target System Load modal popup is displayed, and the first two files have been generated:
    14.24.15.0527_BefExportToDat.txt
    14.24.17.0617_AftExportToDat.txt
    After clicking on OK in the Target System Load modal popup, the actual load to Essbase takes place. A further six files are generated:
    14.24.21.0289_BefLoad.txt
    14.24.22.0117_AftLoad.txt
    *14.24.22.0152_BefExportToDat-A.txt*
    *14.24.22.0414_AftExportToDat-A.txt*
    *14.24.22.0433_BefLoad-A.txt*
    *14.24.22.0652_AftLoad-A.txt*
    This makes a lot more sense, since one can see that the event scripts are being run a second time against the journal files during the data load. Many thanks, this solves my problem as I can now place my script where I want in the process chain. It's just a shame that there are not separate event scripts to distinguish between the various .Dat exports/loads, which are clearly occuring at separate times in the process chain.
    Many thanks! :-)
    P.S. Updated script below if anyone wishes to use it:
    Sub BefExportToDat(strLoc, strCat, strPer, strTCat, strTPer, strFile)
    Dim strF, fso, tf, t, temp, m, miliseconds, strSuf
    t = Timer
    temp = Int(t)
    m = Int((t-temp)*1000)
    miliseconds = String(4 - Len(m), "0") & m
    strF = "D:\TEST\" & Replace(Time, ":", ".") & "." & miliseconds & "_BefExportToDat"
    strSuf = UCase(Left(Right(strFile,6),2))
    If strSuf = "-A" Or strSuf = "-B" Or strSuf = "-C" Then
    strF = strF & UCase(strSuf) & ".txt"
    Else
    strF = strF & ".txt"
    End If
    Set fso = CreateObject("Scripting.FileSystemObject")
    Set tf = fso.CreateTextFile(strF, True)
    tf.WriteLine(strFile)
    tf.Close
    Set fso = Nothing
    End Sub

  • Unable to use valueChanged(TreeSelectionEvent evt) function

    Hi
    I have an SQLJ file with a method as follows:
    /**************A.sqlj*******************
    public class A
    JTree t;
    DefaultMutableTreeNode
    public A()
    t=nn();
    B b = new B();
    b.addTree(t,top); // Call method in a Java file
    JTree nn()
    t=new JTree(top);
    return t;
    ******************End of A.sqlj****************/
    I have a Java file from which I am accessing the above method
    as:
    //B.java
    public class B
    JTree k;
    public void addTree(JTree t,DefaultMutableTreeNode dmt)
    t=new JTree(dmt);
    call overloaded constructor of B to create tree
    My Problem is that I am Unable to use the function valueChanged(TreeSelectionEvent evt){        } since the returning JTree type t is confined to those functions & constructors that I am calling.

    Hi Saurabh,
    Can you explain your scenario in detail with tcode and function module and all.
    Regards,
    kamalapriya

  • Item added & item updated events fired twice.

    Hello everyone, 
    I have item added and item updated events and both sends e-mails twice cos they are fired twice. 
    I tried the below method but the problem still continues. Any suggessions?
    base.EventFiringEnabled=false;
    base.EventFiringEnabled=true;
    note: my list is custom list. (not document lib)

    If you have required checkout enabled the events can be triggered twice. See this post for more information and how to bypass it:
    Managing ItemUpdating and ItemUpdated Events Firing Twice in a SharePoint Item Event Receiver

  • InfoPath 2010 and REST web services, custom code button firing twice and second click fires error

    Hi,
    I have two supposing simple issues which I'm having problems correcting.
    If a add a button to the form and write some custom code (See below) to submit some data via a REST Web Service data connection. The code runs but somehow fires the URL twice to the web service.
    I've also recreated similar functionality using Rules on a button and some concat formulas and exactly the same thing happens when I the run the data using the Query Data Action, it fires the URL twice at the web service.
    How can I stop this.
    Secondly, if I use the custom code route, it work correctly the first time it pressed except for the double fire issue, but the second time I click the button the InfoPath internal system throws up an issue. See screen shot below.
    Any help would be appreciated.
    Rob
    namespace SubmitTest
    public partial class FormCode
    // Member variables are not supported in browser-enabled forms.
    // Instead, write and read these values from the FormState
    // dictionary using code such as the following:
    // private object _memberVariable
    // get
    // return FormState["_memberVariable"];
    // set
    // FormState["_memberVariable"] = value;
    // NOTE: The following procedure is required by Microsoft InfoPath.
    // It can be modified using Microsoft InfoPath.
    public void InternalStartup()
    //EventManager.FormEvents.Submit += new SubmitEventHandler(FormEvents_Submit);
    ((ButtonEvent)EventManager.ControlEvents["SaveDataPoint"]).Clicked += new ClickedEventHandler(SaveDataPoint_Clicked);
    /*public void FormEvents_Submit(object sender, SubmitEventArgs e)
    // If the submit operation is successful, set
    // e.CancelableArgs.Cancel = false;
    // Write your code here.
    MessageBox.Show("Submit Function Start");
    //SaveDataPoint_Clicked(sender);
    MessageBox.Show("Submit Function End");
    public void SaveDataPoint_Clicked(object sender, ClickedEventArgs e)
    try
    FileQueryConnection fqcConnection = (FileQueryConnection)this.DataConnections["TestREST"];
    string fqcFileLocation = fqcConnection.FileLocation;
    MessageBox.Show("fqcFileLocation " + fqcFileLocation);
    fqcFileLocation = fqcFileLocation + "?TestName='HugeArse'";
    fqcConnection.FileLocation = fqcFileLocation;
    fqcConnection.Execute();
    catch (Exception ex)
    MessageBox.Show("NewDataPoint_Clicked: Error " + ex);

    Hi Phillip6653,
    Did you check the similar
    thread to uninstall the windows update KB2756920 which was published on day 1/10? After auto install the update, on day 1/11, the same error occur when I open site using designer, after I uninstall it, it works for me, please have a check.
    For more information, see
    http://consultingblogs.emc.com/shailensukul/archive/2010/09/17/sharepoint-designer-error.aspx
    http://daniyar-tech.blogspot.com/2012/01/sharepoint-designer-2010-error.html
    Best Regards.
    Kelly Chen
    TechNet Community Support

  • Same Help System Is Merged Twice...

    * RH 6
    * Vista Business
    * HTMLHelp output (.chm)
    I have a core help file that merges and links to other
    supplemental help files. However, one of these has topics appearing
    twice when I search for a topic using the Search tab of the help
    file. And I've noticed that one is an older topic. This makes me
    think that the supplemental help system is included or merged twice
    somehow. Any ideas what might be causing this?
    Follow
    this link to see what's happening in a demo I put on our
    website.
    Thanks,
    Jared

    I think I figured this out. I had an older version of the
    supplemental help file in my project directory. I remember
    initially including it so it would get copied into the !ssl! folder
    whenever i generated. Anyway, deleting that file helped.

  • Help with purchasing album twice.

    Excuse me, I was wondering if there was any way at all I could get a refund for one of the albums I purchased. I actually recently bought Doo- Wops and Hooligans by Bruno Mars from my iPad, and mindlessly assumed that I could get the album on my iPod (3rd Gen) without syncing. Hence, I accidentally bought the album TWICE by accident, is there anything I can do?

    You can't gift an already purchased item. Purchases are permentently lnked t the iTunes account that pruchased them.
    RicardoCC wrote:
    I believe there's nothing you can do. Gift the extra album to someone.

  • I need help forwared 7237-7240 twice for different ip adresses

    I use a wrt54g v6. I have port forwarded ports 7237-7240 on to my ip, but I want to know why can't i port forward the same ports but to a different ip address. Is there a way as to how to do this? Thanks alot to all in advance?

    So do you want the packets on those ports to go to a "different" IP, or do you want them to go to an additional IP?
    If you want them to split (get forwarded to 2 different IPs) I think that you're kind of stuck. Short of getting an ethernet *hub* that would broadcast all traffic to all devices puugged into it, and getting a little funky with your NIC (basically allowing the second NIC to read all traffic on the hub) I wouldn't even know how about trying to do that.
    Why do you want to do that anyway? If packet a goest to 192.168.1.1 and packet b goes to 192.168.1.2, how do they know how to get back and which packets go where etc?

Maybe you are looking for