Hi List,

 

I am successfully using my own library project in any other project of mine.
But I have some problems with resources at build version. This are my
settings:

 

 

            asa -> library project

            asawizzard -> current project

 

            asawizzard is using a cell renderer class of asa successfully
but used images are not copied by generate.py to asawizzard/build/recourse.
Why?

 

Here the cell renderer class at asa:

 

/*

#asset(qx/*)

#asset(asa/*)

*/

 

qx.Class.define("asa.fromToCellRenderer",

{

  extend : qx.ui.table.cellrenderer.Image,

 

  construct : function(width, height)

  {

    this.base(arguments);

 

    if (qx.core.Variant.isSet("qx.debug", "on")) {

      qx.log.appender.Native;

    }

 

    if (width) {

      this.imageWidth = width;

    }

 

    if (height) {

      this.imageHeight = height;

    }

 

    this.am = qx.util.AliasManager.getInstance();

  },

 

  members :

  {

    am : null,

    imageHeight : 16,

    imageWidth : 16,

 

    // overridden

    /**

     * TODOC

     *

     * @param cellInfo {var} TODOC

     * @return {var} TODOC

     */

    _identifyImage : function(cellInfo)

    {

      var imageHints =

      {

        imageWidth  : this.imageWidth,

        imageHeight : this.imageHeight

      };

 

      if (cellInfo.value == "") {

        imageHints.url = null;

      }

      else

      {

        if (cellInfo.value == "t") {

          imageHints.url = this.am.resolve('asa/to.png');

        } else if (cellInfo.value == "f") {

          imageHints.url = this.am.resolve('asa/from.png');

        }

      }

 

      imageHints.tooltip = cellInfo.tooltip;

 

      return imageHints;

    }

  }

});

 

So any good ideas?

 

Regards Sak

 

 


 


SAKsystems

Inh. Mustafa Sak

Varrelmannstr. 16

30453 Hannover

Tel.   +49 511 / 165 969 40

Fax   +49 511 / 165 969 49

Mobil +49 163 / 312 6144

http://www.saksys.de

 <mailto:[email protected]> [email protected]

STEUER-Nr. 2613817458

 

<<attachment: Mustafa Sak ([email protected]).vcf>>

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to