On Tue, Jul 17, 2012 at 9:52 AM, paragasu <parag...@gmail.com> wrote:
> Dear all,
>
> I have the following code
>
> qx.Class.define('myprog.Widget',
> {
> properties:
> {
> 'id': { init:null, apply: '_applyId'}
> },
>
> members:
> {
> _applyId: function(){ console.log(' applyId widget executed');}
> }
> });
>
> a class inherit above
>
> qx.Class.define('myprog.WidgetTwo',
> {
> extend: myprog.Widget,
>
> members:
> {
> _applyId: function(){ console.log(' apply widgetTwo apply
> executed executed');}
> }
> });
>
>
> when i do create do
>
> var wtwo = new myprog.WidgetTwo()
> wtwo.setId(3);
>
> It display "applyId widget executed". It seems i am unable to override the
> _applyId function.
> Is there any work around on this?
>
> Regards,
> paragasu.
>
>
Problem solved. It is some mistake in my code.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel