Hi Dietrich,

yes. I've defined the event like this - sorry that I didn't
mention it:

   events :
   {
     "resized" : "qx.event.type.Data"
   },

The effect is, that you can pick up the splitter element, but
you cannot release it in "build". Seems like _onMouseUp is never
called there.

I've added an "alert" to this method right before the event is
fired. "source" shows the alert, "build" doesn't.

Greets,
Cajus

Dietrich Streifert schrieb:
> Hi Cajus!
> 
> Did you define an event section in the class definition?
> 
> Something like:
> 
>   /*
>   
> *****************************************************************************
>      EVENTS
>   
> *****************************************************************************
>   */
> 
>   events: {
>     /** Fired after pane movement is done. */
>     "resized" : "qx.event.type.Event"
>   },
> 
> Some checks, and I think event registration is one of this checks, are 
> only enforced in the build version.
> 
> The syntax above is for qooxdoo 0.7.x but 0.8.x should be similar.
> 
> 
> Cajus Pollmeier schrieb:
>> Hi!
>>
>> For some reason, I need to add an event to the splitpane.Pane class that 
>> tells me that the resize is done. I tried to do that by inheritung from 
>> qx.ui.splitpane.Pane and add a
>>
>> this.fireDataEvent("resized", this);
>>
>> in the end of _onMouseUp().
>>
>> This seems to work for source, but fails with build - so obviously I'm 
>> wrong with the above method. If I remove the fireDataEvent stuff, it 
>> works for both, source and build.
>>
>> Firebug shows no errors. Any hints on how this should be done properly?
>>
>> Thanks in advance,
>> Cajus
>>
>> ------------------------------------------------------------------------------
>> Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
>> powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
>> easily build your RIAs with Flex Builder, the Eclipse(TM)based development
>> software that enables intelligent coding and step-through debugging.
>> Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
>> _______________________________________________
>> qooxdoo-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>   
> 


------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to