Server side eventing

Hi developers,
I got the following problem in a customer's project. Analoguous to the
tutorial in the sdn about server side eventing (In the component
interface controller the event InnerEvent is fired and passes the stringparameter text to the event receivers (embedding component).) I did the
following: I created three web dynpro components. The components
EmployeeSearchComp, BonusComp and TicketComp. BonusComp and TicketComp
depend on EmployeeSearchComp and BonusComp depens on TicketComp.
Inside the BonusComp a InterfaceView from EmployeeSearchComp is
embedded. I declared a event in the EmployeeSearch Component Interface
Controller which is fired if an employee is choosen. BonusComp and
TicketComp have a event handler declared for this event. But if the
event is fired only the handler method in BonusComp is called! I am not
shure if it is a bug or not! But from my point of view both (all
registered handler methods if I correctly understand the tutorial)
handler methods should be called!? This happens when I call the
BonusApp with the Bonus Component Controller. Do somebody have an idea how
to solve it? I am not shure but I think at same time it has worked and now it does not work.
Greets Ruben

Hi Ruben,
Let me rephrase your scenario, to see if I got all the details.
You have an application that launch BonusComp which embed an instance of EmployeeSearchComp. You declared an event on EmployeeSearchComp component interface and then, in BonusComp, you declared an event handler.
You did the same with TicketComp, except that TicketComp is used nowhere in your application. Right?
I can see two problems:
1. TicketComp is not instantiated and so it will not be part of your runtime logic.
2. TicketComp and BonusComp use different instances of the EmployeeSearchComp so they will react only to the event of their own instance.
Ask if you need more details.
Bests

Similar Messages

  • Problem when using object array as parameter of server-side event

    Hi Friends,
        I had defined an event in component interface of Component A, with object array as its parameter. but when I define event-handler for this event in Component B, the type of parameter in generated event-handler method is just the class itself instead of an array.
       It's a bug or array parameter is not support by server-side event in WD4J?
       Thanks in advanced.

    I think you are trying to do the editing of parameter from the java editor.
    Do it via the controller editer. Go the methods tab. Select the actionhandler.
    In the parameter section edit the paramter. Change the dimensions here.
    Regards,
    Ashwani Kr Sharma

  • How to trigger navigation to a portal iView from server side event handler

    Hi,
    I am modifying the workset map application. I have created custom URL links under each iView which should navigate to different iViews depending on some business logic. So I had to provide a custom event handler for these iVIew links and the path to the next iview is dynamically created by the code in the event handler. Once the new PCD path is generated, the event handler should trigger a navigation to that PCD object. Which APIs can I use to trigger this navigation from the server side event handler? I have done this before in webdynpro where we used WDPortalNavigation (.absoluteNavigation or .relativeNavigation). Is there something similar that i can use in this case (i.e. when developing a simple Portal Application from an AbstractPortalComponent)?

    Hi,
    On my understanding of your requirement.
    the best solution what i think is use Object Based Navigation(OBN).
    Is much suitable to your requirement.
    Moreover you can use
    1.Relative navigation
    2.Absolute navigation.
    In the same way how you used in web dynpro.
    Same thing can be done in abstract portal component also.
    Try using that.
    Thanks & Regards,
    Lokesh
    Edited by: lokesh kamana on Aug 11, 2008 7:23 AM

  • TFS work item store is not connecting in production server using server side event handler code

    Server side plugin code to connect to work item store
    tfs = new TfsTeamProjectCollection(new Uri(tfsUri));
    store = (WorkItemStore)tfs.GetService(typeof(WorkItemStore));
    I used the above code and accessed work item store in my TFS DEV server without username and password. But the same plugin code is not working for the TFS Production server.
    Exception:
    Account name:
    domain\TFSService Detailed Message: : TF30063: You are
    not authorized to access http://localhost:8080/tfs/xx. Exception Message: TF30063: You are not
    authorized to access http://localhost:8080/tfs/xx
    Please guide

    Hi divya,
    From the error message, you might not have the permissions to get the work item store in TFS production server. You can check the permissions on your production server by using
    tfssecurity command in VS command line.
    Please execute tfssecurity /imx “domain\username” /collection:url, for more information about tfssecurity /imx, please refer to:
    http://msdn.microsoft.com/en-us/library/ms400806.aspx 
    If you have the permission, then you can also clean team foundation cache and try again.
    Best regards,

  • Error creating Project Server 2013 Server Side Event Handlers

    Hi,
    I have created a WCF service and deployed it successfully.  Now when trying to add a new event receiver for Project CheckIn event, nothing happens.  Checking the service using Services panel, it shows Microsoft Project Server Events Service 2013
    is started.  I check the ULS logs and see exception:
    System.Data.SqlClient.SqlException (0x80131904): Could not find stored procedure 'pub.MSP_ADMIN_SetEventReceivers15RTM'
    I have service pack 1 installed for Project Server and SharePoint, version 15.0.4571.1502.  Any ideas?  I see there is a stored procedure without '15RTM' suffixed in PWA database.  I read another post on the forum relating to this same issue
    but didn't want to create each additional item in the DB (table, data type, stored procedure, etc).  Am I missing something?  Looking for suggestions here.  Your help is always appreciated.
    Thanks,
    kashif

    Hi Gokulraj,
    What permission mode are you using in project server 2013? Is it "project permissions mode" or "SharePoint permissions mode"?
    If you are using "project permissions mode", then go to Server Settings -> Manage users and click on the user with "team member" permissions to edit.
    In the next page, expand "Global Permissions" and "View Approval" permission.
    It could be the issue with the categories and category level permissions.
    Happy troubleshooting...
    Vikram Daruru - MSFT

  • Server Side Events

    Hi everyone,
    I was wondering if someone can please point me in the correct direction...
    I have an application which creates dynamic destinations and clients connect to them.
    I want to be able to send a message to all people in a destination that x has left the destination...(for whatever reason.. like network issues etc)
    I've been reading the API and so far I don't see any events that would do this? Has anyone done this before, if so can you please point me to the right area of the API or show an example...
    thanks in advance.

    As a follow up: This last post on this thread is exactly my problem and I am also doing an Air app.
    http://forums.adobe.com/thread/295937
    No one seemed to replied to this, I hope there is someone with some thoughts please...
    Thanks again
    copied from the post....
    Hi,
    I'm writing an AIR app where I'm trying to use this messaging functionality. The problem I'm having is that with an unstable network the client is disconnected but the server does not recognize that a session needs to be destroyed [ sessionDestroyed(FlexSession session) is not called].
    Everything works fine as long as the AIR app is opened and closed by the user. But if the network connection drops for UserA - UserB doesn't know that UserA is now offline.
    Does anyone know any workarounds for this, please?
    Thank you

  • [Announcement: Java server-side web controls] - TICL 1.0 Final Released

    Hello JSP developers,
    We are pleased to announce the immediate availability of TICL (Tag Interface
    Component Library) 1.0 Final Release. TICL is library of server-side user
    interface components accessible through JSP tags. Like a conventional
    desktop toolkit, the components maintain state and manage interaction logic
    with the end-user with little or no assistance from the programmer.
    Read more about TICL at http://www.kobrix.com/ticl/ticlmain.jsp.
    If you are already a TICL user, check out the release notes at
    http://www.kobrix.com/ticl/releasenotes.jsp for the latest changes.
    More info
    One of the major goals of TICL is to bring RAD-like development to the WEB
    platform. Programmers can concentrate on logical functionality and build JSP
    pages by placing TICL components through tags and responding to user events.
    Every component is self-contained and manages interaction with the end-user.
    Visual appearance of components is abstracted into a high-level styles
    framework. In fact, TICL is probably the only server-side Java toolkit that
    rivals Microsoft ASP.NET's web controls.
    The library is tailored more towards WEB application development, rather
    than content only oriented sites. It is designed to quickly build clean,
    robust, well-structured and therefore highly maintainable code. It
    integrates seemlessly into existing JSP applications and it will work on any
    standard compliant JSP 1.1 container (e.g. Tomcat 3.2.1 and above, Resin
    etc.) and with fairly recent versions of the popular browsers.
    Core features are:
    - A powerful and extensible server-side event model. Component-end user
    interaction is encapsulated into a well defined set of server-side events.
    You can of course define event listeners, develop custom events, event
    filters etc.
    - Predefined components like panels, tabbed panels, tree views, DHTML menus,
    table views. Most can perform their interaction with the end-user at the
    browser through DHTML or by making a trip back to server on every user
    action (like expanding a tree node or minimizing a panel) - that is
    components are either "client" or "server" managed.
    - Smart browser handling. A complete framework for dealing with browser
    (user agent) capabilities, including detection of dynamic properties like
    connection speed, screen resolution, available plugins etc.; supporting JSP
    tags; on the fly selection of component rendering based on the current user
    agent.
    - A high-level styles framework for complete customization of the look&feel
    of components. Styles can be organized into themes. An inheritence mechanism
    of style objects provides for a powerful high-level structuring. The
    framework allows for a clean separation between look&feel and functional
    behaviour of GUI elements. No more copy&paste, no more code cluttering with
    tedious, browser-specific HTML details - consistency of look&feel can be
    easily achieved by maintaining a single TICL style sheet, a simple XML file,
    that is applied to all pages in your WEB application.
    - Full encapsulation of HTML forms, including a file upload component,
    augmented with things such as server-side command handlers, labels and DHTML
    tooltips. Form fields are typed, true server-side components. Not limited to
    the standard HTML form fields, they operate on a high level and custom ones
    can be developed and plugged into the framework.
    - A very powerful and easy to use declarative form validation mechanism
    (both client and server-side). You define validation rules and handlers for
    invalid forms in a clean, declarative way. The same rules you define can be
    applied at the client (through automatic generation of the necessary
    JavaScript) or at the server. Special purpose syntax allows you to easily
    handle interdependencies between field values.
    - A Data Objects framework integrated with TICL forms. Allows you to
    manipulate complex aggregate structures and associate them with forms for
    automatic mapping to/from form field values and data object fields (e.g.
    Java beans). A type mapping framework allows you to map any form field type
    to any Java type.
    - An integration module for the popular Struts framework is provided also.
    For example, it is possible to use the powerful TICL form tags with Struts'
    ActionForms.
    TICL is FREE for non-commercial and non-govermental use, and for an
    unlimited evaluation period. It comes with an extensive, over 200 pages,
    Reference Manual. To download it, please goto http://www.kobrix.com and
    select Downloads from the TICL pulldown menu. If you are not already a TICL
    user, you may need to register first.
    We sincerely hope you will enjoy TICL and are looking forward to your
    feedback!
    Best Regards,
    Borislav Iordanov
    [email protected]
    Kobrix Software Inc.
    http://www.kobrix.com

    This looks quite nice. I'm going to evaluate it now, but I wish it was open-source....
    Judging from the release notes, it's been around for a while. Has anybody had any experience with this product? Is it reliable? Does it scale well?

  • Server side function not get called after dispatching cairngorm event second time on same page

    Hi All,
    I am facing a urgent issue regarding cairngorm event. Actually my page contain 3 button add,delete,save
    and  clicking of any button I do the respected functionality. For ex:
    I click the add button & on clicking of add button I fire a cairngorm evnt & after getting response from server side that the record is added
    I displayed a message that the record is added & update the data source.
    After addition of the record , with out going to other page if I perform the same functionaly(Like adding another record) on same page the cairngorm
    event not call the server side function  -  after debugging I find out that cairngorm event  reach to the corresponding excutecommand function & called that function  but it is not calling my server side function & I also din't get any error message .
    I dont know why  the server side function not get called?. similarly if I try for delete or update case the same things happend. Only for the first time it works properly but not for the second  time.
    Could any of  you please tell me why the cairngorm event not calling the server side function.
    Thank you for your kind assistance.
    Regards,
    Ujjwal

    Okay, well I think I've worked out the problem.
    In ASP.NET we would typically bind repeating controls such as DataLists and Repeaters manually using <i>Control</i>.DataBind(), because we're usually using a separate class library containing collections for our objects. Seems the SAP Table control doesn't like this approach.
    I changed the code so that the databinding is specified on the control, and call the Page's DataBind() method and it all worked fine.
    One tip: because the collection I used to bind to is in a separate class library, I receieved a <i>BC306523: Reference required to assembly MyAssemblyName...</i> message, even though I had a reference to the assembly in my project and the DLL is being properly deployed. To fix this, you must include the following directive at the top of the component's ASCX file:
    <%@ Assembly Name="AssemblyName" %>

  • Using Server Side Cookies between pages of a BSP application

    Hi,
    I have Page1 which will retrieve some data into a internal table. Once user performs an action I want to set a server side cookie in Page1 and then retrieve that cookie with data in Page2 of the same BSP and display it?
    Is this possible using set/get server cookies?
    Thanks
    Kiran

    Hi Kiran,
    Yes, you can.
    Basically, you set a server-side cookie in the event OnInputProcessing of Page 1 (or the MVC equivalent) :
    cl_bsp_server_side_cookie=>set_server_cookie(
      exporting
        name = 'TEST'
        application_namespace = 'NONE'
        username = 'NONE'
        session_id = 'NONE'
        data_value = <your_data_here>
        data_name = 'NONE'
        expiry_time_rek = 3600 ).
    And, you retrieve this information in the OnInitialization event of Page 2 :
    cl_bsp_server_side_cookie=>get_server_cookie(
      exporting
        name = 'TEST'
        application_namespace = 'NONE'
        username = 'NONE'
        session_id = 'NONE'
        data_name = 'NONE'
      IMPORTING
        expiry_date = w_date
        expiry_time = w_time
      CHANGING
        data_value = <your_data_here> ).
    Best regards,
    Guillaume

  • How do I tell FMS to only serve a section of a file using server-side ActionScript?

    We have a bunch of mp3 files on our server and we'd like to serve only particular sections of particular files to users.  For example, hello.mp3 might be four minutes long, but when user 1 tries to play it, he should only be able to play the section from 0:30 to 1:00, whereas user 2 should be able to play the whole thing.
    I'm coming from a background using Wowza Media Server, where this is fairly easy to achieve: http://fmsguru.com/showtutorial.cfm?tutorialID=78.
    Wowza doesn't require any change to the player (it doesn't call any special methods), so I'm looking for the same here.
    I've been fiddling around with the main.asc file and the "Server-Side ActionScript" API to try and achieve something similar.  In particular I've found the Stream.play method, which seems relevant.  But I can't figure out how to attach a handler to a "play" event; all the examples I've seen only attach to Application.onConnect, which doesn't seem to include a connection to a particular file, which I need in order to determine the section that can be played.
    So I'd like to do something along the lines of this (this is completely made up and doesn't follow any of the APIs; it's just an illustration of what I'm trying to achieve):
    application.onConnect = function(client) {
       client.onPlay = function(stream) { // Client.onPlay doesn't exist; what should I do here?
           var section = getStreamSection(client, stream);
           stream.play(section.start, section.end);
    var getStreamSection = function(client, stream) {
       return { start: 30, end: 60 }; // Return value is based on the user's credentials and the file they're trying to stream

    You can find the documentation for Plug-ins here:
    http://help.adobe.com/en_US/flashmediaserver/plugin_apiref/index.html
    http://help.adobe.com/en_US/flashmediaserver/devguide/WS5b3ccc516d4fbf351e63e3d11a0d662434 -7ff6PluginAPI.html
    Basically you need to concentrate on E_PLAY event and two fields F_STREAM_LENGTH & F_STREAM_POSITION. I am pasting below some code which you need to paste in your sample Auth Plug-in which you can find in : <installdir>/samples/plug-ins. You would have paste below code in case E_PLAY section in MyFmsAuthorizeEvent::authorize() function and compile it. You would basically get AuthModule.dll which you need to place in modules/auth and restart FMS.
    // Set the Stream to be played back only for 10 seconds starting from 10 th second
                                  // Stream will play from 10th Second to 20th Second
                                     float fValue;
                                  char buf[1024];
                                  if (getFloatField(m_pAev, IFmsAuthEvent::F_STREAM_LENGTH, fValue))
                                            float fLength = fValue; // in seconds
                                            sprintf(buf,"Original Stream length value passed from player %f\n",fLength);
                    m_pFmsAuthServerContext->log(buf, IFmsServerContext::kInformation, false);
                                            fLength=10.0;
                                            sprintf(buf,"Modifying Stream length value passed from player %f\n",fLength);
                    m_pFmsAuthServerContext->log(buf, IFmsServerContext::kInformation, false);
                                            setFloatField(m_pAev,IFmsAuthEvent::F_STREAM_LENGTH,fLength);
                                  if (getFloatField(m_pAev, IFmsAuthEvent::F_STREAM_POSITION, fValue))
                                            float iPosition = fValue; // in seconds
                                            sprintf(buf,"Original Stream Position value passed from player %f\n",iPosition);
                    m_pFmsAuthServerContext->log(buf, IFmsServerContext::kInformation, false);
                                            iPosition=10.0;
                                            sprintf(buf,"Modifying Stream length value passed from player %f\n",iPosition);
                    m_pFmsAuthServerContext->log(buf, IFmsServerContext::kInformation, false);
                                            setFloatField(m_pAev,IFmsAuthEvent::F_STREAM_POSITION,iPosition);

  • Problem in mapping remoteobject on server side

    Hello all
    I am trying to use remoteobjects in Flex and PHP via Zend_AMF.  I am having problem in mapping the data object in flex with the one in PHP.
    Here's my code....
    private function getAuthors(event:Event):void
         serviceRO = new RemoteObject();
         serviceRO.endpoint = "http://localhost/sampleproj/public/";
         serviceRO.destination = "zend";
         serviceRO.source = "MyService";
         serviceRO.addEventListener(FaultEvent.FAULT, faultListener);
         serviceRO.getData.addEventListener(ResultEvent.RESULT, resultListener);
    Now, here's the server side directory structure that works for me....
    webroot
    + sampleproj
    ++ public
    +++ index.php (index file for the webapp)
    +++ MyService.php (this is the service class)
    +++ VOAuthor.php (this is the Value Object class)
    Since the index file, and the service file and value object are all in same directory, it works.
    This is what DOESN'T work....
    webroot
    + sampleproj
    ++ services
    +++ MyService.php (this is the service class)
    ++ vos
    +++ VOAuthor.php (this is the Value Object class)
    ++ public
    +++ index.php (index file for the webapp)
    The error that I get is:
    Channel.Connect.Failed error
    Here's little of something that's going on in index.php
    <?php
    require_once ('C:/webtools/zendframework/zf/library/Zend/Amf/Server.php');
    require_once ( realpath(dirname(__FILE__) . '/../services/MyService.php') );
    $server = new Zend_Amf_Server();
    $server->setClass("MyService"); // adding the class to AMF server
    $server->setClassMap("VOAuthor", "VOAuthor"); // mapping the ActionScript VO to PHP VO
    echo($server->handle());
    ?>
    My guess is that in ActionScript code I have to do something with RemoteObject's endpoint.
    Can anybody please help me out with this?
    Thanks and Regards
    ShiVik

    The problem turned out to be in the php code.
    Here's how I changed it
    <?php
    require_once ('C:/webtools/zendframework/zf/library/Zend/Amf/Server.php');
    $server = new Zend_Amf_Server();
    // the following methods provide the lazy loading of services and value objects
    $server->addDirectory( realpath(dirname(__FILE__) . "/../services/") );
    $server->addDirectory( realpath(dirname(__FILE__) . "/../vos/") );
    echo($server->handle());
    ?>
    Earlier I wasn't taking into account the change of directories for service and value object files.
    Thanks and Regards
    ShiVik

  • How to create an object alive all the time on a server side

    Hi,
    I work on an Intranet with J2EE technologies. I need an object to do several tasks in background on the server side. Like start scheduled processes on a database and files, stocked on the server. What is the way to do this. I thought to use the JNDI by declaring the object in the Deployement Descriptor, and to manage a timer within.
    I don't know if this works.
    Anyway, my question is how to create an object on the server that is ALIVE ALL THE TIME and visible by the other objects running in the same VM.
    Thank's.

    This may not be the correct design, but I had success doing the following:
    1. Create an Stateless EJB that does a task, i.e. update a database table.
    2. Create a subclass of java.util.TimerTask to call the EJB methods.
    3. Kick off the TimerTask from a servlet.init method.
    Seems to work pretty well to do scheduled tasks, such as refreshing lookup tables. I would imagine the same could be done with an MBean, but I haven't had time to fully understand JMX yet. (It's on the list).
    As for event driven procedures, that can be done through a servlet interface.
    You may also wish to review a scheduler here: http://www.part.net/quartz.html. Note, I have NOT even looked at it yet, so I have no clue if it's any good. But, it is on my list of tools to evaluate (that's a long list) someday when my head's above water. Have a look, and caveat emptor.
    Hope this helps,
    Perry Tew

  • Calling PL/SQL from Server Side Rule

    Hi there,
    I'm wanting to call a PL/SQL procedure from a server side rule created within collaboration suite using the oesrl command line utility. I have seen examples of the XML rule which should do this together with the appropriate PL/SQL
    &lt;account qualifiedName="UM_SYSTEM" ownerType="system"&gt;
    &lt;rulelist event="relay"&gt;
    &lt;rule description="Retention Rule" active="yes"&gt;
    &lt;condition negation="no" junction="and"&gt;
    &lt;condition&gt;
    &lt;attribute tag="rfc822to"/&gt;
    &lt;operator caseSensitive="no" op="contains"/&gt;
    &lt;operand&gt;instigate.com&lt;/operand&gt;
    &lt;/condition&gt;
    &lt;/condition&gt;
    &lt;action&gt;
    &lt;command tag="call"/&gt;
    &lt;parameter&gt;RulesPackage.archive_message&lt;/parameter&gt;
    &lt;parameter&gt;test1&lt;/parameter&gt;
    &lt;parameter&gt;Archive&lt;/parameter&gt;
    &lt;/action&gt;
    &lt;/rule&gt;
    &lt;/rulelist&gt;
    &lt;/account&gt;
    The above should call the Procedure RulesPackage.archive_message when an email to anyone at instigate.com arrives in OCS. I have written and tested an appropriate package. However, I have been unable to get the rule to execute and call my PL/SQL when I send an email to trigger it.
    I have written rules which do not invoke external packages without any trouble.
    I believe the problem is that I need to register the PL/SQL package with the rules engine somehow, before the rule can find it, but I am uncertain how to do this, or even if that is indeed what I need to do.
    Any help would be most appreciated as the documentation doesn't go into too much detail.
    I am using OCS R2.
    Regards
    Oliver

    Could you please check the structure of the procedure "RulesPackage.archive_message" ? It may fail due to procedure structure.
    The structure should be similar to the below example
    PROCEDURE archive_message
    (p_event IN NUMBER,
    p_sessionid IN NUMBER,
    p_msgobj IN es_mail.mail_message_obj,
    p_param1 IN VARCHAR2,
    p_param2 IN VARCHAR2,
    p_status OUT NUMBER) AS
    BEGIN
    /* Code for Archving */
    END;
    Relevant URL:
    http://download-west.oracle.com/docs/cd/B25553_01/mail.1012/b25459/ad_email_custact.htm#sthref677 (Please check Step 2 of "A Custom Action Written in Java")

  • Server-side filtering to subfolder for all users (spamassassin)

    Hello,
    I am trying to integrate a 3rd-party spam filter/virus scanner, it is just spamassassin/amavisd-new running on a front-end box that adds an X-Spam-Flag: YES header to the message before passing it on. This works great on our current postfix/cyrus-imap system using individual cyrus sieve server side filters to look for the flag and move the message into the user's spam folder.
    My question is how to do this in a universal way on OCS, I have been reading through the docs and think server-side filters are the answer, but I can't seem to find a way to set up a system-wide filter that will put the incoming message into the recipients' spam subfolder. Does anyone have any clues on this? I think the key here is to somehow be able to use the recipient name as a variable to pass as a parameter to the moveto action, but I can't see a way to do this. Any pointers would be appreciated.

    You can do this in a single system wide rule, but it's undocumented and technically unsupported.
    First of all, checking the spam-flag in a system side Deliver rule is straightforward:
    <condition>
    <attribute tag="xheader" param="X-Spam-Flag"/>
    <operator caseSensitive="no" op="stringequal"/>
    <operand>YES</operand>
    </condition>
    (Checking on the subject is OK too, if you rewrite it through SpamAssassin.)
    Then to move to a folder, you'll need an external PL/SQL action since the full folder name will vary for each user:
    <action>
    <command tag="call"/>
    <parameter>SpamCheck.moveMsg</parameter>
    <parameter>parameter1</parameter>
    <parameter>parameter2</parameter>
    </action>
    Then the tricky part is the Pl/SQL to do the move, using the undocumented es_ga.g_username variable. This is the only way to know which mailbox context you're currently in for the deliver event at the system level. Without this, you need a separate rule for every user. Here's the bare bones of a procedure that would do it.
    procedure moveMsg(p_eventid in integer,
    p_sessionid in integer,
    p_msgobj in mail_message_obj,
    myparam1 in varchar2,
    myparam2 in varchar2,
    p_status out number)
    is
    this_user varchar2(255);
    mList MAIL_MESSAGE_LIST;
    Begin
    this_user := es_ga.g_username;
    mList:=MAIL_MESSAGE_LIST(p_msgobj);
    mail_folder.move_messages(p_sessionid, mList, '/' || es_ga.g_username || '/ServerMove');
    end MoveToSpam;
    You probably want to add some exception handling, etc. to that ;-) More info on the Pl/SQL API in general is in the Mail Application Dev Guide.

  • Refreshing the Servlet on the Server side???

    Hi,
    Can we refresh a servlet page on the server side without using response.sendRedirect()???

    Hello,
    I just had a look at www.pushlets.com, looks an interesting idea, and relatively easy to do.
    Correct me if I am wrong, but the examples I looked at were not reloading the page, rather, they create a page that takes a long time to load, and keep streaming more data to it.
    What they are doing is putting the thread to sleep, so the page never loads fully, instead continually updating.
    The problems with this would seem to be that you could append more data to the page, but not be able to delete information already in the browser.
    I am also unsure what would happen in the event the user closes the browser, I assume the jsp would keep trying to send data until the session expired.

Maybe you are looking for

  • Close vi reference doesnt close the VI?!

    Hi, I'm running an application that has several dynamically loaded listening threads. When running in interpreted mode while developing, I noticed the threads are not closing when I stop the main VI. To try to combat this, I made an event case: This

  • Scanned picture not clear in iPhoto but clear on desktop

    Hi, This is going to be lengthy as I would like to give as much information to the person/s who will please help. I have iphoto2 and iphoto 4 on different machines. Both work- for the most part just fine. I also have Kodak Easyshare software on my co

  • I did a some reminders where do I find them on my mac

    I did a some reminders where do I find them on my mac

  • No sound over HDMI?? (There is more)

    Here is the sitrep: Macbook Air 3.1 Mac OSX 10.6.8 Just bought a Mini DisplayPort to HDMI connector to plug in to my Samsung 32" HD tv. I go into my sound preferences and select the HDMI option for sound output. Play the video and its still coming ou

  • Do you have a cat?

    My TV suddenly just stopped.  Light on box went very dim and then out.  I phoned Verizon support and proceeded with alot of fancy maneuvers but none helped.  A technician was dispatched to the house and came the following afternoon.  He noticed my ca