[Kss-devel] kukit.pr has no properties

Joachim Schmitz js at aixtraware.de
Tue Jul 3 15:31:43 CEST 2007


Godefroid Chapelle schrieb:
> Joachim Schmitz wrote:

>> line 241 in kukit.js and
>>
>> kukit.fo has no properties in line 139 of kukit.js
> 
> Thinking a bit deeper, I think you have the following problem :
> 
> ++resource++kukit.js is not cooked correctly :
> 
> it is supposed to concatenate all js files found in
> 
> kukit/kukit directory.
in
> 
> For instance, kukit.pr is defined in
> 
> kukit/kukit/providerreg.js
> 
> You might need to debug the computation of kukit.js
> 
In concatresource.zcml providerreg.js was missing, but inserting it 
makes no difference.

Where is it actually build/concatanated ?

the errormessage looks to me as if kukit.pr is empty.

The amazing thing is that I had it working with the old kubuntu.

here once more the output of the javascript console:
GET http://localhost:8080/azaxdemo/++resource++azax_demo.kss 
(5ms)++resource++kukit... (line 171)
ParamsHeadersPostResponse
Response Headers
Request Headers



button#copyFrom:click {

     action-server: copyFromDivContent;

}

button#copyTo:click {

     action-server: copyToDivContent;

}

button#moveTo:click {

     action-server: moveToDivContent;

}

button#clear:click {

     action-server: clearDivContent;

}

button#change:click {

     action-server: getDivContent;

}

Initializing kss
kukit.pr has no properties
addDeclaration("action-server", Object txt=copyFromDivContent 
isMethod=false)++resource++kukit... (line 139)
process()++resource++kukit... (line 138)
mkParser(Object, function(), undefined)++resource++kukit... (line 84)
_TokenBase(Object)++resource++kukit... (line 76)
mkParser(Object, null, true)++resource++kukit... (line 83)
KssRuleProcessor()++resource++kukit... (line 171)
initializeRules()++resource++kukit... (line 68)
initializeRules()++resource++kukit... (line 73)
[Break on this error] for(var 
i=0;i<nodes.length;i++){oper.node=nodes[i];kukit.logDebug('Command Name:...
++resource++kukit... (line 241)
bootstrap
http://localhost:8080/azaxdemo/++resource++azax_demo.kss: rel "kukit" is 
deprecated; use "kinetic-stylesheet" instead.++resource++kukit... (line 61)
Count of KSS links: 1
Start loading and processing 
http://localhost:8080/azaxdemo/++resource++azax_demo.kss resource type kss
kukit.fo has no properties
[Break on this error] 
this.result=[];this.txt=''};kukit.kssp.Block.prototype.addDeclaration=function(k...
++resource++kukit... (line 139)
-- 
Gruß Joachim



More information about the Kss-devel mailing list