To stop server eventing in case of javascript error

Hi,
I have another simple query:
I have written few javascript validations like:
var data = this.value;
if ( isAlpha(data) != true )
a_lert("Name should not contain numbers");
document.getElementById("firstname").style.color = "red";
document.getElementById("firstname").style.borderColor = "red";
It is working absolutely fine and the alert is appearing. Now my requirement is to stop any server side event to occur like oninputprocessing if the javascript error persists.
Please guide.
Saurabh tripathi

check the sample app htmlb_samples/radiobuttongroupSample.htm
<htmlb:radioButton id            = "k1"
                                     onC lick       = "onClickk1"
                                     onC lientClick = "var Check = false; Check = co nfirm('k1?');if(Check == false){ htmlbe vent.cancel Submit = true; }"
                                     text          = "red"
                                     key           = "k1" >

Similar Messages

  • Automatically stop development VM in case of HA event

    Hello,
    Can we create a policy/anti-affinity group somehow so that in the case of a failure, production VMs fail over to another server and some specific VM are stopped automatically ?
    Thank you for your hints...
    Best Regards,
    Gregory

    Hello,
    I'd like to push it a bit further (and that's actually my question). I'm fine with the production VM to be restarted by the HA feature. What I would like to get is "some of the development VM to be STOPPED automatically in the event we loose a server. This is to make sure those production VM that should fail over can be actually be restarted, even if the development server is over provisioned".
    This would allow us (1) to provision one server for dev AND (2) rely on the HA feature, not only to failover the VM but also to reclaim memory/cpu of the dev server, in this case. If it doesn't exist, could we hook a script in the HA process somehow ? Or maybe, the anti-affinity groups could somehow be useful. Any idea ?
    Best Regards,
    Gregory

  • Javascript server events in webdynpro ABAP

    I am migrating an existing BSP application to webdynpro abap. Few of sections, in existing BSP application, uses java script coding to trigger few server events. For example it uses a flash charts on click of which some filtering logic is written on table. Similar logic needs to be placed for webdynpro. I used Iframe to display this charts. Charts are rendered properly but I am not able to raise the actions or trigger events on server as I don’t have access to parent.document object of my parent view.
    I get access denied/ permission denied error.
    Can’t we trigger server action or event using JavaScript from child IFrame.
    With Regards,
    Nitesh Shelar.

    Hi Nitesh,
    Integrating custom java script is not supported. There are still a few benefits BSP has over WDA. Well, you could put the flash object inside of a BSP application and use portal eventing to communicate with WDA.
    Best regards,
    Thomas

  • C# COM server events "lost" when raising events while Excel is in edit mode

    I posted this question on StackOverflow (http://stackoverflow.com/questions/23798443/c-sharp-com-server-events-lost-when-raising-events-while-excel-is-in-edit-mode) but did not receive a good answer, so I'm trying my luck here.
    I have an in-proc COM server written in C# (using .NET Framework 3.5) that raises COM events based on this example: http://msdn.microsoft.com/en-us/library/dd8bf0x3(v=vs.90).aspx
    Excel VBA is the most common client of my COM server.  I’ve found that when I raise COM events while Excel is in edit mode (e.g. a cell is being edited) the event is “lost”.  Meaning, the VBA event handler is never called (even after the Excel
    edit mode is finished) and the call to the C# event delegate passes through and fails silently with no exceptions being thrown.  Do you know how I can detect this situation on my COM server?  Or better still, make the event delegate call block until
    Excel is out of edit mode?
    I have tried:
    Inspecting the properties of the event delegate – could not find any property to indicate that the event failed to be raised on the client.
    Calling the event delegate directly from a worker thread and from the main thread – event not raised on the client, no exceptions thrown on the server.
    Pushing the event delegate onto a worker thread’s Dispatcher and invoking it synchronously – event not raised on the client, no exceptions thrown on the server.
    Pushing the event delegate onto the main thread’s Dispatcher and invoking it synchronously and asynchronously – event not raised on the client, no exceptions thrown on the server.
    Checking the status code of the Dispatcher.BeginInvoke call (using DispatcherOperation.Status) – the status is always ends with “Completed”, and is never in “Aborted” state.
    Creating an out-of-proc C# COM server exe and tested raising the events from there – same result, event handler never called, no exceptions.
    Since I get no indication that the event was not raised on the client, I cannot handle this situation in my code.
    I have tested this with Excel 2010 and Excel 2013.
    Here is a simple test case.  The C# COM server:
    namespace ComServerTest
    public delegate void EventOneDelegate();
    // Interface
    [Guid("2B2C1A74-248D-48B0-ACB0-3EE94223BDD3"), Description("ManagerClass interface")]
    [InterfaceType(ComInterfaceType.InterfaceIsDual)]
    [ComVisible(true)]
    public interface IManagerClass
    [DispId(1), Description("Describes MethodAAA")]
    String MethodAAA(String strValue);
    [DispId(2), Description("Start thread work")]
    String StartThreadWork(String strIn);
    [DispId(3), Description("Stop thread work")]
    String StopThreadWork(String strIn);
    [Guid("596AEB63-33C1-4CFD-8C9F-5BEF17D4C7AC"), Description("Manager events interface")]
    [InterfaceType(ComInterfaceType.InterfaceIsIDispatch)]
    [ComVisible(true)]
    public interface ManagerEvents
    [DispId(1), Description("Event one")]
    void EventOne();
    [Guid("4D0A42CB-A950-4422-A8F0-3A714EBA3EC7"), Description("ManagerClass implementation")]
    [ComVisible(true), ClassInterface(ClassInterfaceType.None)]
    [ComSourceInterfaces(typeof(ManagerEvents))]
    public class ManagerClass : IManagerClass
    private event EventOneDelegate EventOne;
    private System.Threading.Thread m_workerThread;
    private bool m_doWork;
    private System.Windows.Threading.Dispatcher MainThreadDispatcher = null;
    public ManagerClass()
    // Assumes this is created on the main thread
    MainThreadDispatcher = System.Windows.Threading.Dispatcher.CurrentDispatcher;
    m_doWork = false;
    m_workerThread = new System.Threading.Thread(DoThreadWork);
    // Simple thread that raises an event every few seconds
    private void DoThreadWork()
    DateTime dtStart = DateTime.Now;
    TimeSpan fiveSecs = new TimeSpan(0, 0, 5);
    while (m_doWork)
    if ((DateTime.Now - dtStart) > fiveSecs)
    System.Diagnostics.Debug.Print("Raising event...");
    try
    if (EventOne != null)
    // Tried calling the event delegate directly
    EventOne();
    // Tried synchronously invoking the event delegate from the main thread's dispatcher
    MainThreadDispatcher.Invoke(EventOne, new object[] { });
    // Tried asynchronously invoking the event delegate from the main thread's dispatcher
    System.Windows.Threading.DispatcherOperation dispOp = MainThreadDispatcher.BeginInvoke(EventOne, new object[] { });
    // Tried synchronously invoking the event delegate from the worker thread's dispatcher.
    // Asynchronously invoking the event delegate from the worker thread's dispatcher did not work regardless of whether Excel is in edit mode or not.
    System.Windows.Threading.Dispatcher.CurrentDispatcher.Invoke(EventOne, new object[] { });
    catch (System.Exception ex)
    // No exceptions were thrown when attempting to raise the event when Excel is in edit mode
    System.Diagnostics.Debug.Print(ex.ToString());
    dtStart = DateTime.Now;
    // Method should be called from the main thread
    [ComVisible(true), Description("Implements MethodAAA")]
    public String MethodAAA(String strValue)
    if (EventOne != null)
    try
    // Tried calling the event delegate directly
    EventOne();
    // Tried asynchronously invoking the event delegate from the main thread's dispatcher
    System.Windows.Threading.DispatcherOperation dispOp = System.Windows.Threading.Dispatcher.CurrentDispatcher.BeginInvoke(EventOne, new object[] { });
    // Tried synchronously invoking the event delegate from the main thread's dispatcher
    System.Windows.Threading.Dispatcher.CurrentDispatcher.Invoke(EventOne, new object[] { });
    catch (System.Exception ex)
    // No exceptions were thrown when attempting to raise the event when Excel is in edit mode
    System.Diagnostics.Debug.Print(ex.ToString());
    return "";
    return "";
    [ComVisible(true), Description("Start thread work")]
    public String StartThreadWork(String strIn)
    m_doWork = true;
    m_workerThread.Start();
    return "";
    [ComVisible(true), Description("Stop thread work")]
    public String StopThreadWork(String strIn)
    m_doWork = false;
    m_workerThread.Join();
    return "";
    I register it using regasm:
    %SystemRoot%\Microsoft.NET\Framework\v2.0.50727\regasm /codebase ComServerTest.dll /tlb:ComServerTest.tlb
    Excel VBA client code:
    Public WithEvents managerObj As ComServerTest.ManagerClass
    Public g_nCounter As Long
    Sub TestEventsFromWorkerThread()
    Set managerObj = New ComServerTest.ManagerClass
    Dim dtStart As Date
    dtStart = DateTime.Now
    g_nCounter = 0
    Debug.Print "Start"
    ' Starts the worker thread which will raise the EventOne event every few seconds
    managerObj.StartThreadWork ""
    Do While True
    DoEvents
    ' Loop for 20 secs
    If ((DateTime.Now - dtStart) * 24 * 60 * 60) > 20 Then
    ' Stops the worker thread
    managerObj.StopThreadWork ""
    Exit Do
    End If
    Loop
    Debug.Print "Done"
    End Sub
    Sub TestEventFromMainThread()
    Set managerObj = New ComServerTest.ManagerClass
    Debug.Print "Start"
    ' This call will raise the EventOne event
    managerObj.MethodAAA ""
    Debug.Print "Done"
    End Sub
    ' EventOne handler
    Private Sub managerObj_EventOne()
    Debug.Print "EventOne " & g_nCounter
    g_nCounter = g_nCounter + 1
    End Sub
    This problem also occurs for a C++ MFC Automation server that raises COM events.  If I raise the COM event from the main thread when Excel is in edit mode, the event handler is never called.  No errors or exceptions are thrown on the server,
    similar to my C# COM server.  However, if I use the Global Interface Table to marshal the event sink interface from the main thread
    back to the main thread, then invoking the event - it will block while Excel is in edit mode.  (I also used COleMessageFilter to disable the busy dialog and not responding dialogs, otherwise I'd receive the exception:
    RPC_E_CANTCALLOUT_INEXTERNALCALL It is illegal to call out while inside message filter.)
    Knowing that, I tried to do the same on my C# COM server.  I could instantiate the Global Interface Table (using the definition from pinvoke.net) and the message filter (using the IOleMessageFilter definition from MSDN).  However, the event still
    gets "lost" and does not block while Excel is in edit mode.
    Here's my additional C# code to try to make use of the Global Interface Table:
    namespace ComServerTest
    // Global Interface Table definition from pinvoke.net
    ComImport,
    InterfaceType(ComInterfaceType.InterfaceIsIUnknown),
    Guid("00000146-0000-0000-C000-000000000046")
    interface IGlobalInterfaceTable
    uint RegisterInterfaceInGlobal(
    [MarshalAs(UnmanagedType.IUnknown)] object pUnk,
    [In] ref Guid riid);
    void RevokeInterfaceFromGlobal(uint dwCookie);
    [return: MarshalAs(UnmanagedType.IUnknown)]
    object GetInterfaceFromGlobal(uint dwCookie, [In] ref Guid riid);
    ComImport,
    Guid("00000323-0000-0000-C000-000000000046") // CLSID_StdGlobalInterfaceTable
    class StdGlobalInterfaceTable /* : IGlobalInterfaceTable */
    public class ManagerClass : IManagerClass
    //...skipped code already mentioned in earlier sample above...
    //...also skipped the message filter code for brevity...
    private Guid IID_IDispatch = new Guid("00020400-0000-0000-C000-000000000046");
    private IGlobalInterfaceTable m_GIT = null;
    public ManagerClass()
    //...skipped code already mentioned in earlier sample above...
    m_GIT = (IGlobalInterfaceTable)new StdGlobalInterfaceTable();
    public void FireEventOne()
    // Using the GIT to marshal the (event?) interface from the main thread back to the main thread (like the MFC Automation server).
    // Should we be marshalling the ManagerEvents interface pointer instead? How do we get at it?
    uint uCookie = m_GIT.RegisterInterfaceInGlobal(this, ref IID_IDispatch);
    ManagerClass mgr = (ManagerClass)m_GIT.GetInterfaceFromGlobal(uCookie, ref IID_IDispatch);
    mgr.EventOne(); // when Excel is in edit mode, event handler is never called and does not block, event is "lost"
    m_GIT.RevokeInterfaceFromGlobal(uCookie);
    I’d like my C# COM server to behave in a similar way to the MFC Automation server.  Is this possible?  I think I should be registering the ManagerEvents interface pointer in the GIT but I don't know how to get at it? I tried using Marshal.GetComInterfaceForObject(this,
    typeof(ManagerEvents)) but that just throws an exception: System.InvalidCastException: Specified cast is not valid.
    Thanks.

    Hi Jason-F,
    I’ve found that when I raise COM events while Excel is in edit mode (e.g. a cell is being edited) the event is “lost”.  Meaning,
    the VBA event handler is never called (even after the Excel edit mode is finished) and the call to the C# event delegate passes through and fails silently with no exceptions being thrown.
    Do you mean you didn't raise EventOne event? EventOne handler like following?
    ' EventOne handler
    Private Sub managerObj_EventOne()
    Debug.Print "EventOne " & g_nCounter
    g_nCounter = g_nCounter + 1
    End Sub
    After test your code, here is my screenshot
    And here is my execute log in C# ComServerTest.
    ManagerClass1/1/2015 5:48:11 PM
    DoThreadWork()1/1/2015 5:48:12 PM
    ManagerClass_EventOne()1/1/2015 5:48:17 PM
    ManagerClass_EventOne()1/1/2015 5:48:22 PM
    ManagerClass_EventOne()1/1/2015 5:48:27 PM
    ManagerClass_EventOne()1/1/2015 5:48:32 PM
    ManagerClass_EventOne()1/1/2015 5:48:37 PM
    ManagerClass_EventOne()1/1/2015 5:48:42 PM
    ManagerClass1/1/2015 5:49:56 PM
    DoThreadWork()1/1/2015 5:49:56 PM
    ManagerClass_EventOne()1/1/2015 5:50:01 PM
    ManagerClass1/1/2015 5:50:04 PM
    If i misunderstand you, please feel free to let me know.
    Best regards,
    kristin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Unable to stop the event logs on access point console

    Hi team,
    I have an AIR-LAP1131AG-E-K9 access point having ios c1130-k9w8-mx.124-21a.JHB1.
    When I am trying to take the console of it there are many logs generated like LWAPP ...Go join the controller, Discover controller etc. and the ap is unable to register to the controller(2112 with ios version 6.0.199.4). I'm trying to enter the command but there are many event msg generated....How do i stop this event log. I tried entering the command no debug all. but still there are many logs...
    I want to enter the the following commands
    #lwapp ap  ip address <ip addr>.
    #lwapp a pip default-gateway <gateway ip addr>
    #lwapp ap controller ip addr <controller ip>
    #wr me
    Revert me back on urgent basis
    Thanks in advance..

    Thanks Rashika,
    Now the access point got registered to the controller..This happened becuse of country Code..
    I have changed the country code to UK, Belgium it started working fine.
    Initially when it was IN the access point was not getting register..
    But now the problem which arised is that the user is unable to get authenticated to the radius server.
    Radius server is reachable and we have done every changes required for radius server authentication.
    Users are getting rejected.
    Customer is saying that the radius server is in IN domain and the WLC/access point is in UK,BE and hence the users are unable to connect..
    Is it so??
    Rply
    Thanks in advance...

  • How to stop timeout event

    hi,
    Inside a while loop i've placed one timeoout event with other button click event, but after stopping the while loop the time out event didn't stop.. how to stop that event,
    Suggestions pls??
    Thanks and Regards
    Jagan

    2716jag wrote:
    im having only one event structure.. see within a while loop im having the event structure. im having three cases, one is time out event having the time out of value '0'. that is it never wait for other to event occur. if i click other other event after running that time out event is running. in one case im stoping the while loop with a boolean. but after giving the true value to the while loop the time out event is continously running. tell me how an i stop the time out event??
    You should really show us your code! We cannot troubleshoot vague descriptions. Attach your VI or at least attach a picture of the code.
    Have you tried running in execution highlighting mode?
    Some guesses:
    Are you possibly running the VI in "continuous run" mode? That would restart the code after it finishes. 
    Is your stop button outside the loop, but wired to the stop terminal across the loop boundary?
    Message Edited by altenbach on 06-15-2008 01:48 AM
    LabVIEW Champion . Do more with less code and in less time .

  • Getting Javascript error on Production Server

    Hi,
    I am facing unusual problem as my one jsp file containing javascript is working fine on testing server.I put same code on production server ,here I am getting javascript alert for not saving my data.Putting some part of my JSP file for ur reference--
    Javascript--
    function sysValidate(item){
                        var itemValue=item;
    // alert(itemValue);
    /* if((itemValue == '')||(itemValue == null))
    return false;
                        var today = new Date();
                        var sysDay = today.getDate();
                        var sysMonth = today.getMonth()+1;
                        var sysYear = today.getFullYear();
                        var fieldArray = itemValue.split("/");
                        var itemDay = parseInt(fieldArray[0]);
                        var itemMonth = parseInt(fieldArray[1]);
                        var itemYear = parseInt(fieldArray[2]);
    if(itemYear > sysYear)
    return false;
                        else{
                             if(itemYear < sysYear)
                                  return true;
                             else{
                                  if(itemMonth > sysMonth)
                                       return false;
                                  else{
                                       if(itemMonth < sysMonth)
                                            return true;
                                       else{
    if(itemDay >=sysDay)
    return false;
                                            else
    return true;
    if(sysValidate(exdate))
    alert("Save denied as delivery date prior to sysdate");
    bool=false;
    return bool;
    As when I am trying to save record in which my PO delivery date is greater than my Sysdate.I am getting javascript alert- "Save denied as delivery date prior to sysdate".
    Plz,help.
    Vaish...

    956066 wrote:
    1)I installed webcenter Management and Production instance and both working fineI hope you meant WebCenter Sites.
    2)On community Management Instance successfully showing the UI but after clicked on any of functions getting javascript error.Ensure that Community Patch1 is applied. Can be checked as status page (should show smth like "Oracle WebCenter Sites 11gR1 | Community 223 revision 3560" )
    3)On Community Production instance not able to validate the CAS.How "not able"? And what CAS: Sites Management CAS, Sites Production CAS or Visitor CAS?? Provide please details.
    Did you mean status page on Production Community instance shows errors related to CAS? What does status page on Management Community instance shows in this case? The same?
    Are there any errors in logs?
    Did you register Community instances in the SystemSatellite table?
    Edited by: 964768 on May 16, 2013 8:30 AM

  • Date format in log/error messages with Server Event Log

    Hi :)
    I have some question.
    Current Date is printed at tterrors/ttmesg log files to add with "-showdate" option at $TIMESTEN_HOME/info/ttendaemon.options file.
    But date when the TimesTen Server Event Log output is not displayed.
    How to solve these case?
    ====
    ttmesg.log
    ====
    2010-05-17 09:40:00.11 Info: : 7409: maind: done with request #433.1657
    09:40:00.13 Info: SRV: 31875: EventID=16| Connect succeeded from client: ttwell01 (ttwell01); IP address: 218.234.33.27; Client PID: 31870; DSN: ntsdb; UID: timesten
    2010-05-17 09:40:27.84 Info: : 7409: maind got #434.1658, hello: pid=32076 type=utility payload=%00%00%00%00 protocolID=TimesTen 7.0.5.9.0.tt7059 ident=%00%00%00%00
    ====
    ====
    ttendaemon.options
    ====
    # Commented values are default values
    #-supportlog /home/TimesTen/tt7059/info/ttmesg.log
    #-maxsupportlogfiles 10
    #-maxsupportlogsize 0x100000
    #-userlog /home/TimesTen/tt7059/info/tterrors.log
    #-maxuserlogfiles 10
    #-maxuserlogsize 0x100000
    -showdate
    -verbose
    -oracle_home /home/oracle11g
    # Start the TimesTen OracleConnect GUI
    -webserver
    -server 17593
    ====
    OS
    ====
    Red Hat Enterprise Linux AS release 4 (Nahant Update 5)
    Thanks
    GooGyum

    This is an issue that was discussed internally very recently. BUG 9719650 - -SHOWDATE OPTION NOT ENABLED FOR SRV MESSAGES has been logged to track the issue.

  • Project Server 2010 - PDP updates not triggering Project Server Events

    Hello,
    We're experiencing an issue whereby when a user updates a Project PDP, no update is triggered and reflected in the reporting database.
    My question is, which Server Side Event Handler is responsible for picking up PDP changes (i.e. Changes to Enterprise Custom Fields)?
    Can someone please assist?
    Thanks in advance.
    What we have configured and is working as expected...
    Event: Reporting
    Event Name: ProjectChanged, ProjectCreated, ProjectDeleted

    There may be multiple reasons for this.
    1. SharePoint timer Job is malfunctioning:
    For this try restarting SharePoint timer Job. through SP Powershell:
    Stop SPTimerv4 , Start SPTimerv4
     2: SharePoint Cache is full:
    Reset SharePoint Cache by deleting all XML files ( except cache.ini
    )  in SharePoint Cache located in System Drive\ProgramData\Microsoft\SharePoint\Config\<GUID>
    3: Check if Microsoft Project Server Event Service is running in Services.msc, try restarting it.

  • Can I stop the event to add an entry with the event et_FORM_DATA_ADD???

    My problem is when i add a record , for example a BusinessPartner. I want to stop the event  et_FORM_DATA_ADD  when not comply  a condition.This is my code:
    Private Sub SBO_Application_FormDataEvent) Handles SBO_Application.FormDataEven
    Dim IC As SAPbobsCOM.BusinessPartners
    If BusinessObjectInfo.EventType = SAPbouiCOM.BoEventTypes.et_FORM_DATA_ADD And  BusinessObjectInfo.BeforeAction = False Then
          Select Case BusinessObjectInfo.Type
          Case 2 // BusinessPartners
                IC = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oBusinessPartners)
                IC.Browser.GetByKeys(BusinessObjectInfo.ObjectKey)
                Dim ZP As String = IC.ZipCode
                if ZP  = "99999"
                  // STOP. I Dont want to add this record.how can stop it??    
                 End if
    End if
    Thanks.

    Hi Edy;
    From what my understanding is that you want to stop this Add event if the user type in something wrong in the form.Is this correct ? if so, can you tell me which field ? maybe I can help you with some code.
    Remember the code:
    If BusinessObjectInfo.EventType = SAPbouiCOM.BoEventTypes.et_FORM_DATA_ADD And BusinessObjectInfo.BeforeAction = True Then
    IC = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oBusinessPartners)
    IC.Browser.GetByKeys( BusinessObjectInfo.ObjectKey )
    //open Form1
    oXmlDoc.Load(NameForm)
    creationPackage = SBO_Application.CreateObject   (SAPbouiCOM.BoCreatableObjectType.cot_FormCreationParams)
    creationPackage.XmlData = oXmlDoc.InnerXml
    oForm1 = SBO_Application.Forms.AddEx(creationPackage)
    dim Class as NewClass = new (oForm1 ,IC)
    // STOP. I Dont want to add this record until the Form1 get me a value. This value I have to selected from a Grid on the Form1, so until I select it I can't continue with the execution, because I need to assign to the IC
    // assign to the IC the Value
    IC.UserFields.Fields().Item("UserField").Value = Class.Value  
    End if
    Thank you very much Edy

  • Microsoft Project Server Event/Queue Services has been disable

    Hi after update Service pack 2 and December 2013 CU,Microsoft Project Server Event/Queue Services has been disable . I have manually change and start  but after some time again same thing happen.
    Kinldy let me know the process hwo to resolve this issue.
    I have fallow the below link but this is not impactable on my envirnment.
    http://blogs.technet.com/b/projectsupport/archive/2012/12/26/project-server-2010-my-queue-service-keeps-getting-disabled.aspx
    Help is appricable.
    Hasan Jamal Siddiqui(MCTS,MCPD,ITIL@V3),Sharepoint and EPM Consultant,TCS
    |
    | Twitter

    Hi Muelder,
    Yes share point Project Appl service is enabled.
    Now i have resolved issue with the help of below script.
    ((Get-SPFarm).Services | ? {$_.Name -match "ProjectQueueService14"}).Instances | % {$_.Id} | Stop-SPServiceInstance -Confirm:$false -Verbose;
    ((Get-SPFarm).Services | ? {$_.Name -match "ProjectEventService14"}).Instances | % {$_.Id} | Stop-SPServiceInstance -Confirm:$false -Verbose;
    ((Get-SPFarm).Services | ? {$_.Name -match "ProjectQueueService14"}).Instances | % {$_.Id} | Start-SPServiceInstance -Confirm:$false -Verbose;
    ((Get-SPFarm).Services | ? {$_.Name -match "ProjectEventService14"}).Instances | % {$_.Id} | Start-SPServiceInstance -Confirm:$false -Verbose;
    ((Get-SPFarm).Services | ? {$_.Name -match "ProjectQueueService14"}).Instances | ft -AutoSize
    ((Get-SPFarm).Services | ? {$_.Name -match "ProjectEventService14"}).Instances | ft -AutoSize
    Hasan Jamal Siddiqui(MCTS,MCPD,ITIL@V3),Sharepoint and EPM Consultant,TCS
    |
    | Twitter

  • Brwoser does not refresh for each server event if delta handling is on

    I wrote a simple stateful BSP page. When I turn on delta handling(to remove flickering) on the page, page is refreshed only for every other server event. This page contains two table views and I use table view iterator for one of them. How can I force browser refresh for each server event? Browser is IE and version is 5.5.
    This problem doesn't exist if turn off delta handling. But I want to stop flickering any how, since users are complaining.

    Learning BSP is similar like driving a car. You first need to get a driver's license. So you study a bit, take a test and are ready to drive. Thereafter, flipping that deltaHandling checkbox is like getting into a big plane and trying to fly. It is unfortunately a quantum jump from using BSP to activating the DH system. Which also has a lot of very special constraints, etc.
    This was a very special development we did for a big application group inhouse. The first version was good, but did not exactly meet all our expectations. So we redid a lot of the work/concepts. All of this is highly specialized and not documented.
    What I could recommend is that you look at BSP application IT05. It should help a little. Otherwise, I am going to ask that you please open an OSS message (please reference this thread!). Then we can look at your application and show you what is to be done. But it is definitely not all moonshine and roses. Our standard answer is "do not use it" when people can not ride this bull. I will add it onto my weblog schedule for some future date.

  • How to handle server event in component through BOL Concept

    Hi All,
                Please let me know how o handle Server event in Component through BOL Concept.
    Thanks,
    Prameela.

    Hi Prameela,
    If you want the server event to be triggered in the search view, you have to add the code in the GET_DQUERY_DEFINITIONS method.
      DATA: lv_getter TYPE string.
    CONCATENATE 'GET_P_' <rt_result>-field INTO lv_getter.
        TRANSLATE lp_getter TO UPPER CASE.                    "#EC SYNTCHAR
        TRY.
            CALL METHOD me->(lp_getter)
              CHANGING
                cs_result = <rt_result>.
          CATCH cx_sy_dyn_call_illegal_method.
    *     no P-Getter found
        ENDTRY.
    Regards,
    Leon

  • Event in case structure

    Dear all,
    I am using Event Structure in a Tab Control.
    On page 1, there is a Table Control and when the mouse is clicked on it, it returns the Cell Value. The event is working ablsolutely fine, but the problem is i have no idea how to Stop the Event.
    I am attaching my Vi here. Pls have a look at it and let me know of a possible solution.
    Thanks,
    Ritesh
    Solved!
    Go to Solution.
    Attachments:
    Event in Tab.vi ‏18 KB

    ritesh024 wrote:
    But, it means that the Events in Page 1 are getting triggered even when the Control is on Page 2.
    That would take the unnecessary memory and time as there is no need for the events on Page 1 to run when the Control is on a different page.
    No, the event will not get "triggered", because if you are on the other tab it is impossible to fire the table event and a mouse up cannot occur. The event structure is in memory no matter what and placing it inside a case structure only complicates the code and can will lead to problems.
    The event structure should always be in the dataflow, the tab position is irrelevant. Never hide an event structures inside a case structure!
    Here's a quick example (LV 8.5). Tab 1 has your table and senses the cell position. Tab 2 has a light switch. As you can see there is no case structure needed.
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    Event_in_TabMOD.vi ‏19 KB

  • Trigger a server event on iFrame close event

    Our ADF application is displayed in an iframe inside another shell application. When user close the Iframe on the browser, the shelll application trigger a javascript event in our client listener and close the iframe. In the javascript event, we then queue a server event using AdfCustomEvent as follow
    AdfCustomEvent.queue(lnk, 'serverCloseApplication', {applicationName:sourceApp}, true);
    However, it appear that the server event is only triggered intermittently causing our application session clean up code is not triggered.
    Is there any suggestion as to how we should set this up given our scenario
    Thank much for your helps and suggestions

    The problem is that the tab which contain the iframe is not within our product control. The application which control this tab is the shell application. I'm actually requesting the shell application for the exact ability you mentioned. However, i was hoping if there's a better way to approach this while we're waiting for this solution
    thanks
    Tony

Maybe you are looking for

  • Router No Asking For Username/Password

    Having just upgraded from a WRT54G to a E2500 all I can say is that I'm disappointed with Cisco. Having spent a few hours yesterday trying to resolve issues via Live Chat (ID 130105-001270 & 130105-002081) and spending more time today - I'm truly at

  • Change Bill-of-lading&package no in Outbound Delivery using BAPI or any FM

    Dear ABAP Gurus, How to change Bill of Lading(BOLNR) and Number of Packages(ANZPK) in Outbound Delivery using BAPI or some other Function MOdule.( BDC is not required for this). Regards, Rajesh

  • Does the lower menu - dock - take up resources?

    I am running a lower powered computer and I am wondering if the dock takes up resources and if it does how do iI get ride of it to free up as much resource as possible. Jim 450 mhz PowerPC G4   Mac OS X (10.4.8)   1 GB SDRAM, 9200 Radeon card

  • Help !!!set Arguments property for block based on store procedures

    hi i build a block based on storeprocedures ,if i set the Query Data Source Arguments property in design time with a value my form will work, but i need to set this property programetically and in runtime, if there is any built_in or other ways ,plea

  • Details Section Name consistency

    Hi All, I'm interested in getting access to the specific Details section in .Net code.  I am using Crystal Reports 10 and have 26 detail sections in the designed report.  As I am in .Net code iterating over the details sections they aren't named like