+ Reply to Thread
Results 1 to 3 of 3

Thread: How to deploy a UserVariableEventHandler?

  1. #1
    Junior Member
    Join Date
    Nov 2008
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    How to deploy a UserVariableEventHandler?

    I'm trying to create a user variable event handler. The documentation on writing the handler itself is straightforward. What I can't find, however, is what the extensions.xml entry should look like for the handler.

    Whatever I put after the <LogoutHandlers> block, the console tells me "no child element is expected at this point." Are user variable event handlers an unimplemented feature, like buddy list event handlers? If not, what should the block look like and where should it go?

    Many thanks!

  2. #2
    Senior Member
    Join Date
    Jul 2008
    Posts
    341
    Thanks
    0
    Thanked 2 Times in 2 Posts
    Hopefully this helps a little.

    Code:
    <Extension>
        <Name>LogoutEventHandler</Name>
        <EventHandlers>
            <LogoutHandlers>
                <LogoutHandler>
                    NameOfTheHandler
                    Java
                    Dot path to class being used for handler</Path>
                </LogoutHandler>
            </LogoutHandlers>
        </EventHandlers>
    </Extension>

  3. #3
    Junior Member
    Join Date
    Nov 2008
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks, but my LogoutHandler works fine. What I'm trying to figure out is how to create a UserVariableEventHandler.

+ Reply to Thread

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts