Fire Portal Event to another User

Hi there,
is it possible to send a PortalEvent to a certain portal user ?
I would like to send a message from one User / WD-Application in the EP6.0 to another User / WD-Application in the portal.
Regards,
Claus

Hi Claus,
then RealTimeCollaboration (RTC) / InstantMessaging is the topic for you, see http://help.sap.com/saphelp_nw04/helpdata/en/e6/96ac15284b465da65a3a243caa3941/frameset.htm
I don't know if the API is documented, sorry... (I don't think so, seems one must have his decompiler at hand...)
Hope it helps
Detlev

Similar Messages

  • Connect the current portal session to another user

    We have to do application management for portal users. Often it's necessary to have the same view as the customer. So administrators need a portlet for specifying the user credentials and connecting the current portal session to this user. It's not possible to ask every user for his password.Has anybody created such a portlet?Is it possible to do this? Can I use the EDK or do I need the plumtreeserver - DLL? Which class do I need? Thanks for any help

    Thank you - It works! Now I have an IPTSession-Object for the given user. But how can I set this to the current portal instance? I get only new sessions but I didn't find any way to change the current session.

  • Open portal window in another portal

    Hi all portal experts,
    I need connect from one portal to another one.
    Explanation: I need to create iview or something like that which will open another portal in my portal, but like another user. It have to connect automatically, and I can't see the user name and password. Can you help me where to start?
    Milos

    Hi Milos
                      If you mean that you want to share content of a second Portal onto yours then you can use the Federated Portal Concept.
    Please go throug SDN and you will find numerous documents regarding that.
    This could be a start:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/351402eb-0a01-0010-50ab-a85edf485856
    Or maybe you want a URL iview pointing to another portal.
    Cheers.
    Please award points for helpful answers.

  • Fire A Portal Event With Source Id

    Hi All,
    I have this requirement where I need to fire an event from a Web Dynpro iView and a delivered iView (MSS Team Viewer) will receive it.  The problem is the receiving iView (Team Viewer) need the source id parameter which is available in EPCF raiseEvent as an optional fourth parameter but the method WDPortalEventing.fire() method does not have it.  Is there a workaround for populating this parameter?  I wonder why it is omitted in the Portal Eventing API.
    Thanks in advance.
    Erwin

    Hi Julia,
    Yes, you can have 2 users with same uid in 2 different org but then, you must use 2 different authentication module and then your login url must be something like : .../UI/Login?org=yourOrgName
    And then, this organization must have a Auth module.
    Now, for the users, it's better to propose only the good login url.
    ie, we have 5 differents login url based on 5 differents org. I'd change the login provider to alow the user to change its own organisation (with a list box). I've change the file under LoginProvider directory... (JES 2005Q4, Portal 6 : /etc/opt/SUNWps/desktop/default/LoginProvider/display.template
    I think, in Portal 7, you have a jsp provider. Easier ;-)
    a+
    Philippe

  • How to override the onTouchUp in the user control which can be used to fire the event not only on this user control, but whole application

     I am a new to the C# and WPF. Right now, I want to override onTouchUp event in my user control. Then I can add user control in
    the references for reuse. The problem is each time I want to test this event on the application, the event only fire at area of user control, not whole screen. Anyone has solution for this?

    You cannot just add a UserControl to a window and expect its OnTouchUp method to get invoked when a TouchUp event occurs outside of the user control. That is not how routed events work.
    The OnTouchUp method of the UserControl will only be invoked when a TouchUp event occurs from within the UserControl.
    The event will indeed bubble up to the parent elements of the UserControl and you could for example handle the event in the parent window:
    <Window x:Class="WpfApplicationSlider.MainWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="MainWindow" Height="350" Width="525" TouchUp="Window_TouchUp">
    The OnTouchUp method of the UserControl will however never get invoked when you touch an element outside of the UserControl because an event only travels between the source element and the handler(s). This is how routed events work.
    If you want a "global" TouchUp event handler you should override the OnTouchUp of the top-level
    window:
    public partial class MainWindow : Window
    public MainWindow()
    InitializeComponent();
    protected override void OnTouchUp(TouchEventArgs e)
    base.OnTouchUp(e);
    //do your thing...
    If you want to be able to reuse the functionality across all of your windows in case you have several you could for example create an abstract window class and make all your windows inherit from this one:
    namespace WpfApplication1
    public abstract class BaseWindow : System.Windows.Window
    protected override void OnTouchUp(System.Windows.Input.TouchEventArgs e)
    base.OnTouchUp(e);
    //do your thing...
    MainWindow:
    public partial class MainWindow : BaseWindow
    public MainWindow()
    InitializeComponent();
    <local:BaseWindow x:Class="WpfApplicationSlider.MainWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="clr-namespace:WpfApplication1"
    Title="MainWindow" Height="350" Width="525">
    </local:BaseWindow>
    Hope that helps.
    Please remember to mark helpful posts as answer to close your threads and please start a new thread if you have a new question.

  • Portal eventing in WD ABAP

    Hello ,
    We have an requirment to pass values from one WD ABAP application iView to another in the Enterprise portal.Is there any configuration that needs be done in WD ABAP or is there any setting in EP that we need to do ??
    Rahul

    Rahul,
    Though most of this stuff is of web dynpro for java. You can just replace java Code with ABAP.
    You need to use eventing functionality.In the SAP Enterprise Portal, different application types in specific iViews can be arranged on one page. To communicate between the different iView types the portal provides the Enterprise Portal Client Framework (EPCF), also known as client-side eventing. This document describes how Web Dynpro applications can use EPCF.
    http://help.sap.com/saphelp_nw04/helpdata/en/24/243ca46e1c334f8a6f8b0792656bc7/content.htm
    The following code shows the signature of the subscribe method:
    WDPortalEventing.subscribe(java.lang.String nameSpace, java.lang.String event, IWDAction action);
    for example
    WDPortalEventing.subscribe (“urn:com.sap.tc.webdynpro.test.portal”,
        “TestEvent”,
        wdThis.wdGetTestEventAction());
    You have to define the event’s name and its namespace. The combination of these two names must be unique.
    The third parameter is the Web Dynpro action, which should be mapped to the portal event. The action event handler is called if the Web Dynpro application receives the specified portal event on the client side. The mapping between a portal event and a Web Dynpro action is done automatically and it is completely transparent for the Web Dynpro application developer.
    You can reuse a Web Dynpro action for several portal events. If you want to receive the portal event’s data you have to define the following parameters for your Web Dynpro action:
    ·        dataObject
    The dataObject parameter contains the portal event parameter.
    ·        nameSpace
    The namespace parameter contains the portal event’s namespace.
    ·        name
    The name parameter contains the portal event’s name.
    It is useful to add the nameSpace and nameparameters to the Web Dynpro action if the action is reused for several portal events because you can use this information to differentiate between the portal events.
    Note: In the current version a portal event subscription is valid for a Web Dynpro view. Therefore you should add the required Java coding, for example in the wdDoInit() method of the generated view class. If you navigate between different views, you have to subscribe to every view for the portal event required.
    Unsubscribe from a portal event
    Unsubscribing from a portal event is very similar to subscribing. The following code shows the signature of the unsubscribemethod:
    WDPortalEventing.unsubscribe(java.lang.String nameSpace, java.lang.String event, IWDAction action);
    for example
    WDPortalEventing.unsubscribe (“urn:com.sap.tc.webdynpro.test.portal”,
        “TestEvent”,
        wdThis.wdGetTestEventAction());
    Note: You must unsubscribe every Web Dynpro view, because subscription and unsubscription is valid only for the current view.
    Raise a portal event
    The following example shows how to raise a portal event. The signature is:
    WDPortalEventing.fire(java.lang.String nameSpace, java.lang.String event, java.lang.String parameter);
    for example
    WDPortalEventing.fire (“urn:com.sap.tc.webdynpro.test.portal”,
         “TestEvent”,
        “AParameter”);
    You can fire a portal event anywhere in your Web Dynpro application. The event is sent to the client  with the next response. You can also raise more than one portal event in a request-response cycle. Typically, you will fire a portal event in a Web Dynpro action event handler (for example, as a response to pressing a button).
    The following step-by-step example shows how to carry out portal eventing within two simple Web Dynpro example applications.
    Example Description
    The user can enter an arbitrary string in an input field. If the user presses the pushbutton Click here in the sender view, the input string will be displayed in a TextView UI element of the listener application.
    Prerequisites
    You have built two Web Dynpro applications. How to build Web Dynpro applications is described in Creating a Simple Web Dynpro Application. In each application you have created a Web Component with a view that uses the portal eventing.
    You can find the detailed procedure describing how to insert UI elements into a view in Creating a Simple Web Dynpro Application.
    Further information about the integration of a Web Dynpro application into the SAP Enterprise Portal can you find under Running a Web Dynpro Application in SAP Enterprise Portal.
    Procedure
    Creating the Web Dynpro applications
           1.      Create the Web Dypro project. Call it webdynproexample_portal_eventing.
           2.      Create two Web Dynpro components. Call them:
                                a.      EventSenderComponent
                                b.      EventListenerComponent
           3.      Create two Web Dynpro applications. Call them:
                                a.      EventSenderApplication
                                b.      EventListenerApplication
    Creating the necessary views:
    Create the layout of the EventSenderView in the EventSenderComponent as follows:
    Create the context structure of the EventingSender View:
    The context value attribute Name must be of type String.
    Create an action “Show”
    Define the data binding of corresponding UI element properties:
    The appropriate properties of the UI elements must be bound to the context that contains and displays the data.
           4.      Define a text, for instance, “Enter a text:” for the label UI element (ID: NameLabel) using the property text.
           5.      Bind the property value of the input field (ID: NameInputField) to the context attribute Name.
           6.      Bind onAction of the button (ID:ShowButton) to the corresponding action Show.
    Implementation of the view controller
           7.      If you create an action declaratively within the SAP NetWeaver Developer Studio, the Web Dynpro framework automatically generates an onAction method in the controller’s implementation. The generated method enables you to write code to fetch the input string and to fire the portal event. The fire method of WDPortalEventing passes the data and the name of the event that should be handled by the second application as parameters. The following code shows the implementation of onActionShow method:
    public void onActionShow(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionShow(ServerEvent)
       String name = wdContext.currentContextElement().getName();
        WDPortalEventing.fire("urn:com.sap.tc.webdynpro.example.portaleventing",
                           "Show",
                           name);
        //@@end
    Create the layout of the EventListenerView in the EventListenerComponent as follows:
    Create the context structure of the EventingListenerView:
    The context attribute Name must be of type String.
    Create an action, for example, ReactPortalEventing which should be mapped to the portal event.
           8.      Create an action ReactPortalEventing.
           9.      Add the parameter dataObject. It should have the type java.lang.String.
    Define the data binding of the corresponding UI element properties:
    The corresponding properties of the UI elements must be bound to the context that contains and displays the data.
    10.      Define a text for the NameLabel for example, The entry is displayed in a TextView UI element:
       11.      Bind the property text of the TextView UI element (ID: TextViewShow) to the context attribute Name.
    Implementation of the view’s controller
       12.      You have to subscribe to the event within the wdDoInit method. You have to define the namespaceof the event and the name of the event, for example Show. The third parameter is the Web Dynpro action, which should be mapped to the portal event.
       13.      You have to implement the action (ReactPortalEventing) that passes the dataObjectand fills the context with data. The following code shows the implementation of the wdDoInit and the reactPortalEventing methods:
    public void wdDoInit()
        //@@begin wdDoInit()
        WDPortalEventing.subscribe("urn:com.sap.tc.webdynpro.example.portaleventing", "Show",
        wdThis.wdGetReactPortalEventingAction() );
        //@@end
    public void onActionReactPortalEventing(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent, java.lang.String dataObject )
        //@@begin onActionReactPortalEventing(ServerEvent)
        wdContext.currentContextElement().setName(dataObject);
        //@@end
    Deploying the Web Dynpro Application
    Before you can call the Web Dynpro application, you have to build the Web Dynpro project and deploy the application on the J2EE Engine.
    Simple Testing of the Portal Eventing and Calling the Web Application
       14.      Create two iViews in the newly-created example folder as described in Running a Web Dynpro Application in SAP Enterprise Portal.
       15.      Create a page and add the two iViews to the newly-created page.
    To preview the Web Dynpro applications, choose the button Preview in the Portal Content Studio.
       16.      Enter your input and choose button Click here.
    Result
    A page preview will demonstrate portal eventing.
    Also, Please refer to these links,
    http://help.sap.com/saphelp_nw04/helpdata/en/c6/21fc3f82c2e469e10000000a155106/content.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/portal integration of web dynpro applications.pdf
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/cfb80249-0801-0010-3eaa-829afeac170f
    Please let me know whether its useful.
    Thanks,
    Raj.

  • Possible to highlight a row in text area which in turn would fire an event?

    I'm making a GUI of which the main portion consists of a large text area. The text area would list problems that our company is experiencing - each row would represent a problem. Each row would give a problem ID and a description of the problem. I want to make it so that when the user clicks on a row (a problem), another dialog box would open which would present possible solutions to the user regarding the problem at hand. How would I write code to highlight a row which in turn would fire an event opening up another box?
    I thought about going about this another way - have a drop down (jcombobox) integrated into each row which the user can choose from but I'm not sure if you can insert a drop down into a text area (and neatly into a row at that!) so I think the former way may be preferable.
    Thanks in advance.
    Regards,
    Paul

    If a java application is required (as opposed to a web-based solution using HTML's linking capabilities) the best approach might be a JList implementation. It could go something like this...
    import java.awt.*;
    import javax.swing.*;
    import javax.swing.event.*;
    public class ListFrame extends JFrame
       public ListFrame()
          super("JList example frame");
          getContentPane().add(getListPanel(), BorderLayout.CENTER);
          setDefaultCloseOperation(EXIT_ON_CLOSE);
          pack();
          setVisible(true);
       private Component getListPanel()
          JPanel panel = new JPanel(new BorderLayout());
          final JList list = new JList(new Object[]
             "List option 1...",
             "List option 2...",
             "List option 3..."
          // This will make sure only one item can be checked at a time.
          list.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
          // Handle the selection here.
          list.addListSelectionListener(new ListSelectionListener()
             public void valueChanged(ListSelectionEvent e)
                // No need to go on if this was a deselection.
                if (e.getValueIsAdjusting() || list.isSelectionEmpty())
                   return;
                // This is where you would have to convert the value that's selected into whatever
                // it is you want to display to the user.  This example just puts the text of the
                // selected item into a messagebox.
                Object selectedItem = list.getSelectedValue();
                JOptionPane.showMessageDialog(ListFrame.this, selectedItem);
          list.setVisibleRowCount(5);
          // The scrollpane will control the scrolling of the list (so you can have as many options
          // as you want).  Standard JScrollPane functionalities can be used to control various
          // visual aspects of the list.     
          JScrollPane scroll = new JScrollPane(list);
          scroll.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_ALWAYS);
          panel.add(scroll, BorderLayout.CENTER);
          return panel;
       public static void main(String[] args)
          new ListFrame();
    }I know this is quite after-the-fact, but I hope it helps (if you hadn't already solved the problem :) )

  • Embedded WD and portal eventing

    Hi,
    In MSS-> Equipment I have the standard Employee Search wd component and a custom web dynpro component that displays obejcts on loan(pa0040) embedded in an iView. The PERNR is being successfully passed to the custom application when the user clicks on the employee name. Is there any way I can clear the objects displayed if a user clicks on anything else in the standard wd component. For example, if they click on a company name in the Organisation structure?

    Probably the whole thing works based on Portal events. I assume they have no other means to know what is being selected. Best way forward is subscribe in custom component  to other events such as Organisation. If there are no events fired in that cases then you may have problem here. You can try enhance the existing component and fire a clear event. Subscribe this event in your custom component.
    Handle this clear event in your custom component and invalidate the node for loan.

  • Java Portal Event not received correctly by ABAP Webdynpro

    We have a page that contains 2 iviews. 
    iView 1 contains the MSS Employee Search that raises portal event:
    Namespace: "urn:com.sap.mss.employeesearch"
    Name: "selection_changed"
    The second iview contains an ABAP Webdynpro program that subscribes to the Portal event. 
    The issue is that the event in the ABAP webdynpro is not being triggered.  It does get triggered if we first fire the event from the Java program, unsubscribe the event in the ABAP program them subscribe to the event in the ABAP program.  The event gets triggered at this time and the parameter can be retrieved. 
    If the event is fired a second time, nothing happens in the ABAP program. 
    The abap program works fine when another abap program triggers the same portal event.
    Also, the portal event is being picked up correctly by other SAP delivered JAVA programs.  I just cannot get a custom ABAP Webdynpro program to work...
    Any ideas, comments?
    Glenn

    Hi Glenn,
    Are you using https? Is your j2ee stack and abap stack in the same domain? In the past I have found that https can cause issues in the event communication between different applications.
    Cheers,
    Dion

  • Portal Eventing JSP TreeView

    I am trying to refactor a piece of code that was originally designed using HTMLB to create a tree view role menu that invokes an event in another iView.
    My question is, can portal eventing be done with traditional  JavaScript as opposed to using HTMLB? We are not using WebDynPro for this project.
    I would like to use a jsp treeview to re-engineer the existing htmlb tree structure, but wanted to get some feedback on the options...thanks

    Hi Ryan,
    > whether or not the eventing
    > has to be done on the server side
    The eventing between iViews is done by EPCF, and this is, as said, a pure JS framework. Often it might be senseful for the iView which gets "informed" by some other iView about some event with some event data, to use this data and to refresh itself. This depends on the concrete use case.
    Having this said, it is obviously totally independent if you usue EPCF from some portal HTMLB-JSP, a "pure" JSP without HTMLB or a BSP - all of these things end up in HTML with the possibility to include JS - the EPCF calls.
    See http://help.sap.com/saphelp_nw04/helpdata/en/82/04b340be3dff5fe10000000a155106/frameset.htm for further details.
    > Can all of this be done without post backs
    > to the server,
    As said before, the eventing through EPCF works on client side, but in many cases it makes sense to refresh some iView with some data sent by the event.
    Imagine a List-Details iView combination. The user has one iView with a list of products and another iView with the details of one product. By choosing one product in the list iView, this iView could raise an event, which is subscribed by the details iView, for example passing some product-ID. Now it would make sense to refresh the details iView with the ID given. The alternative would be to load all details data and only to show up the chosen details and to switch on the event. Two disadvantages: It's much harder to code and you may have a very long transmission/network time for the inital call of this iView.
    > without using htmlb using JSP not BSP
    See above, it's independent from the HTML-Layer.
    > can you store a result set in a client side object,
    > like a cookie, and if so, how?
    For sure, somehow you can (at least some representation). But here I'm unsure again, in which direction this question aims, if this is really helpful.
    Hope it helps
    Detlev

  • Raising a Portal Event

    I am trying to raise a portal event via the signal out. It seems when raising an event, the Flash runtime actually puts all the parameters in an XML-like string and then passes them on to EPCM.  The EPCM, however, is expecting this data as an object, not as a string. Has anyone been able to actually raise an event (specifically the navigate event) that can be handled by the standard portal framework?
    What I am really trying to do is navigate from one iView to another within the same browser window. Has anyone done this?  I know that there is HTML view but I don't want to use this because of I want the user to navigate away from the current application.
    Thanks for your help

    HI,
        U can EPCM inside script tags and raise or subscribe the events.
    In one of the JSP (inside portal project), u can write
    <SCRIPT language ="JavaScript">
    EPCM.raiseEvent( "urn:com.sap:MyEvent", "EventName", "Hello" );
    <SCRIPT>
    In the iView to be subscribed, u can write
    <script language ="JavaScript">
    function onMyEvent ( eventObj ) {
    alert( "Got message:" + eventObj.dataObject );
    EPCM.subscribeEvent( "urn:com.sap:MyEvent", "MyEvent", onMyEvent );
    <script>
    This will raise event from first iView and the data will be available in the second iView.
    Regards,
    Vijai

  • Portal eventing - setting CKey manually?

    Hi,
    I need to create my own "team viewer" and in this respect, I need to mimic the standard team viewer of MSS 60.1.20 (for EP6.0, SP16).
    I've succeeded in coding the JavaScript for my viewer. However when the user initially logs in, the iViews that usually resond to the portal eventing of the team viewer does not load properly, because the CKey attribute in the request has not been set in the right way (actually, this is done in JavaScript, but somehow it does not work properly ).
    Hency, I've been looking for a way to set the CKey attribute manually in Java. But I cannot find any documentation for this and the closest I've been up until now is to read the CKey attribute through:
    CKey.getRequestKey()
    No method allows me to set the CKey or to manipulate the key returned by the method.
    Any suggestions?
    Kind regards,
    Rasmus Ørtoft

    Hi Rasmus
    Have you found a way to do this yet?
    I made an iView that sends a teamviewer event to the standard MSS iViews and it works if I put in a delay to make sure the receiving iViews have loaded before I fire my event.
    This works pretty well, but it seems that if you set some kind of cookie or databag before fireing the event, then I wont have to do my delay work-around.
    How did you solve it?
    Cheers,
    Jacob Vennervald

  • Portal Eventing or FPM - navigate to diff comp controller view and ....

    Hi,
       The query is simple, i guess -
    From a particular component controller ( not from its view ) how can i navigate to a view of different component controller.
    Also how can i navigate to diff view ( within the same controller ) by the same controller.
    I tried Portal Eventing and FPM -
    WDPortalEventing.fire( "urn:com.sap.xss.hr.per.tw.bank.overview.Vc...Overview.Eventing","send","N");
    and at receiver
    WDPortalEventing.subscribe("urn:com.sap.xss.hr.per.tw.bank.overview.VcPerBankTWOverview",
         "send", wdThis.wdGetPortalEventAction() );
    it didn't worked.
    Also tried FPM after creating an FPM view , but need inputs from you to link it in event links as target.
    ECC6.0 - mysaperp2005.
    EP7
    THanks,
    Regards,
    Ankit

    Vishwas.. / Chaitanya -
    Thanks for the reply -
    -   I want to navigate to CompB's view from Component Controller A ( not frm the view ).
    - Another query was - how can i get to View2 of comp controller A via Comp Controller A itself. 
    Your answers were helpfull but i need some more info..
    The forums link u mentioined had some body mentioned this -
    " 2 ways to do this...
    The first way:
    1) Create a separate window in Comp B for each view that you need to navigate directly to (an interface view is created for each window)
    2) Embed the multiple interface views of Comp B into Comp A
    3) Use a separate outbound plug in Comp A for each Comp B interface view
    AFTER STEP 2 ON STEP 3 HOW CAN I HAVE AN OUTBOUND PLUG FROM COMP CONTROLLER A ( not from the view ). i.e., outbound plug from Comp A to the Comp B inteface view
    Lokesh -
    Trying same namespace didn't worked , - i guess Portal eventing might work between views , but here i have a component controller and a view.

  • Changing a components values by an event of another avoiding recurse calls

    Hello
    assume there are two Components (e.g. an JCheckBox and a JList) placed on a JPanel. The state of the one components shall depend on the state of the other (e.g. If the user selects one or more items in the List, the checkbox has to be selected automatically whereas if the user deselects the checkbox, all the listitems shall be automatically deselected.)
    If I implement two listener for each of the component which call the other ones API, I get recursive calls. (e.g. if I call "JCheckBox.setSelected(boolean)" by the event-method of the JList-Listener, this method would fire an event...)
    One solution would be to implement a model, which is used by both of the components, but this seems to be a little bit oversized for this simple task. Is there another pattern that I could use?
    Thanks
    Thorsten

    As I said: you could use a boolean flag! :-)
    Eg. something like this:
    public class MyPanel extends JPanel{
      private boolean inUpdate = false;
      SomeListener sl1 = new SomeListener(){
        public void someMethod(...){
           if (! inUpdate){
             inUpdate = true;
             // update code -> calls someMethod of sl2
             inUpdate = false;
      SomeListener sl2 = new SomeListener(){
        public void someMethod(...){
           if (! inUpdate){
             inUpdate = true;
             // update code -> calls someMethod of sl1
             inUpdate = false;
      // register the listeners to the components
    }

  • I can no longer edit images on external drive if logged in as another user even with permission.

    I have two users on my computer. Me (admin) and another log-in for assistants, clients etc.
    I use an external drive to hold images.
    Lately I've had a problem where if I'm logged in as Other (this side for everyone else), I often am not able to edit images even though the permissions are set for this log-in to have complete read/write capabilities?
    Even sometimes when I'm logged in regularly (my admin side) I have received a "File Reservation" error. It says the file is being used by another user.   ????
    Then it asks if I want to use Read-Only and do I want to be notified when the file becomes available. ????
    What's happened to my files?

    Similar problem here. My Ical refuses to edit or delete events. Viewing is possible, though sometimes the whole screen turns grey. Adding new events from mail is still possible. The task-pane completely disappeared. My local apple technic-centre messed about with disk utility for a bit and than told me to reinstall leopard. I could of course do that, but it seems to me that reinstalling Leopard just to fix iCal events is a bit invasive.
    I tried also tried removing everything, installing a new copy of iCal from the leopard-cd, software updates, all to no avail.
    At the moment I'm open to all suggestions that do not include a complete leopard reinstall.

Maybe you are looking for