From Alexander.Koehn at catworkx.de Sun Jul 1 17:45:23 2007 From: Alexander.Koehn at catworkx.de (=?ISO-8859-1?Q?Alexander_K=F6hn?=) Date: Sun, 1 Jul 2007 17:45:23 +0200 Subject: [Kss-devel] Import Errors Message-ID: <4D173A5D-3D13-4376-81B7-8F334F5E9910@catworkx.de> Hey, We have a Zoep 2.9.4 with a Plone 2.5.1. I used the External-File from https://svn.plone.org/svn/collective/plonekss/bundles/1.1.alpha1- plone2.5-zope2.9/EXTERNALS.TXT Now I tested the tutotial (http://kssproject.org/documentation/ tutorials/begin-with-kss-part-2) and become all the time the Error "ImportError: import of "kss.core.ttwapi" is unauthorized". Any idea? -- Cheers Alexander Koehn -------------- next part -------------- An HTML attachment was scrubbed... URL: http://codespeak.net/pipermail/kss-devel/attachments/20070701/1d35a4fe/attachment.htm From js at aixtraware.de Mon Jul 2 20:27:40 2007 From: js at aixtraware.de (Joachim Schmitz) Date: Mon, 02 Jul 2007 20:27:40 +0200 Subject: [Kss-devel] kukit.pr has no properties Message-ID: <4689439C.9050301@aixtraware.de> Hi, after migrating my kubuntu from version 5 to the current, and after some trouble making my zope's runnig, I now get the following error on the java-console, when invoking any of azaxdemo's. This worked under the former kubuntu. I'am using my patched version of azax and the trunk of azaxdemo. This is the same as under the old version. The other zope application work as before. Any hint, what could be the problem, or howto debug it further is very welcome. Here is the Javascript console output. Initializing kss bootstrap http://localhost:8080/uniben/azaxdemo/++resource++azax_two_selects.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/uniben/azaxdemo/++resource++azax_two_selects.kss resource type kss kukit.pr has no properties-- -- Gru? Joachim From gotcha at bubblenet.be Mon Jul 2 20:33:37 2007 From: gotcha at bubblenet.be (Godefroid Chapelle) Date: Mon, 02 Jul 2007 20:33:37 +0200 Subject: [Kss-devel] kukit.pr has no properties In-Reply-To: <4689439C.9050301@aixtraware.de> References: <4689439C.9050301@aixtraware.de> Message-ID: <46894501.8090800@bubblenet.be> Joachim Schmitz wrote: > Hi, > > after migrating my kubuntu from version 5 to the current, and after some > trouble making my zope's runnig, I now get the following error on the > java-console, when invoking any of azaxdemo's. This worked under the > former kubuntu. > I'am using my patched version of azax and the trunk of azaxdemo. This is > the same as under the old version. The other zope application work as > before. > Any hint, what could be the problem, or howto debug it further is very > welcome. > > Here is the Javascript console output. > > > Initializing kss > bootstrap > http://localhost:8080/uniben/azaxdemo/++resource++azax_two_selects.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/uniben/azaxdemo/++resource++azax_two_selects.kss > resource type kss > kukit.pr has no properties-- > > -- > > Gru? Joachim > Have you seen any errors in the Zope event.log ? If not, can you find a line number advertised by Firebug ? That you could communicate ? -- Godefroid Chapelle (aka __gotcha)- BubbleNet http://bubblenet.be From js at aixtraware.de Mon Jul 2 20:45:15 2007 From: js at aixtraware.de (Joachim Schmitz) Date: Mon, 02 Jul 2007 20:45:15 +0200 Subject: [Kss-devel] kukit.pr has no properties In-Reply-To: <46894501.8090800@bubblenet.be> References: <4689439C.9050301@aixtraware.de> <46894501.8090800@bubblenet.be> Message-ID: <468947BB.3080904@aixtraware.de> Godefroid Chapelle schrieb: > Joachim Schmitz wrote: >> Hi, >> >> after migrating my kubuntu from version 5 to the current, and after >> some trouble making my zope's runnig, I now get the following error on >> the java-console, when invoking any of azaxdemo's. This worked under >> the former kubuntu. >> I'am using my patched version of azax and the trunk of azaxdemo. This >> is the same as under the old version. The other zope application work >> as before. >> Any hint, what could be the problem, or howto debug it further is very >> welcome. >> >> Here is the Javascript console output. >> >> >> Initializing kss >> bootstrap >> http://localhost:8080/uniben/azaxdemo/++resource++azax_two_selects.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/uniben/azaxdemo/++resource++azax_two_selects.kss >> resource type kss >> kukit.pr has no properties-- >> >> -- >> >> Gru? Joachim >> > Have you seen any errors in the Zope event.log ? > > If not, can you find a line number advertised by Firebug ? > > That you could communicate ? > line 241 in kukit.js and kukit.fo has no properties in line 139 of kukit.js -- Gru? Joachim From gotcha at bubblenet.be Mon Jul 2 20:50:13 2007 From: gotcha at bubblenet.be (Godefroid Chapelle) Date: Mon, 02 Jul 2007 20:50:13 +0200 Subject: [Kss-devel] kukit.pr has no properties In-Reply-To: <468947BB.3080904@aixtraware.de> References: <4689439C.9050301@aixtraware.de> <46894501.8090800@bubblenet.be> <468947BB.3080904@aixtraware.de> Message-ID: <468948E5.8070305@bubblenet.be> Joachim Schmitz wrote: > Godefroid Chapelle schrieb: >> Joachim Schmitz wrote: >>> Hi, >>> >>> after migrating my kubuntu from version 5 to the current, and after >>> some trouble making my zope's runnig, I now get the following error on >>> the java-console, when invoking any of azaxdemo's. This worked under >>> the former kubuntu. >>> I'am using my patched version of azax and the trunk of azaxdemo. This >>> is the same as under the old version. The other zope application work >>> as before. >>> Any hint, what could be the problem, or howto debug it further is very >>> welcome. >>> >>> Here is the Javascript console output. >>> >>> >>> Initializing kss >>> bootstrap >>> http://localhost:8080/uniben/azaxdemo/++resource++azax_two_selects.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/uniben/azaxdemo/++resource++azax_two_selects.kss >>> resource type kss >>> kukit.pr has no properties-- >>> >>> -- >>> >>> Gru? Joachim >>> >> Have you seen any errors in the Zope event.log ? >> >> If not, can you find a line number advertised by Firebug ? >> >> That you could communicate ? >> > 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. For instance, kukit.pr is defined in kukit/kukit/providerreg.js You might need to debug the computation of kukit.js -- Godefroid Chapelle (aka __gotcha)- BubbleNet http://bubblenet.be From js at aixtraware.de Mon Jul 2 20:53:46 2007 From: js at aixtraware.de (Joachim Schmitz) Date: Mon, 02 Jul 2007 20:53:46 +0200 Subject: [Kss-devel] kukit.pr has no properties In-Reply-To: <468948E5.8070305@bubblenet.be> References: <4689439C.9050301@aixtraware.de> <46894501.8090800@bubblenet.be> <468947BB.3080904@aixtraware.de> <468948E5.8070305@bubblenet.be> Message-ID: <468949BA.2090504@aixtraware.de> Godefroid Chapelle schrieb: > Joachim Schmitz wrote: >>> That you could communicate ? >>> >> 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. > > For instance, kukit.pr is defined in > > kukit/kukit/providerreg.js > > You might need to debug the computation of kukit.js > that sheds some light how can I "recompile" kukit.js ? or where is it computed ? -- Gru? Joachim From js at aixtraware.de Mon Jul 2 21:02:20 2007 From: js at aixtraware.de (Joachim Schmitz) Date: Mon, 02 Jul 2007 21:02:20 +0200 Subject: [Kss-devel] kukit.pr has no properties In-Reply-To: <468948E5.8070305@bubblenet.be> References: <4689439C.9050301@aixtraware.de> <46894501.8090800@bubblenet.be> <468947BB.3080904@aixtraware.de> <468948E5.8070305@bubblenet.be> Message-ID: <46894BBC.2050001@aixtraware.de> 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. > > For instance, kukit.pr is defined in > > kukit/kukit/providerreg.js > > You might need to debug the computation of kukit.js > here is the output of kukit.UtilsTestCase Results +++ 3 tests ran in 0.003 seconds OK! kukit.RequestManagerTestCase Results +++++++ 7 tests ran in 0.162 seconds OK! kukit.TokenizerTestCase Results FFF++++ 7 tests ran in 0.063 seconds kukit.TokenizerTestCase.testException, exception line 88 - Assertion failed: TypeError != ParsingError kukit.TokenizerTestCase.testExceptionWithRowCol, exception line 107 - Assertion failed: TypeError != ParsingError kukit.TokenizerTestCase.testBasic, exception TypeError: kukit.err has no properties NOT OK! kukit.KssParserTestCase Results FF+FF+F 7 tests ran in 0.155 seconds kukit.KssParserTestCase.testPropvalueInMethod, exception TypeError: kukit.err has no properties kukit.KssParserTestCase.testPropValue, exception TypeError: kukit.err has no properties kukit.KssParserTestCase.testMethodArgs, exception TypeError: kukit.err has no properties kukit.KssParserTestCase.testKssSelector, exception TypeError: kukit.err has no properties kukit.KssParserTestCase.testFull, exception TypeError: kukit.fo has no properties NOT OK! -- Gru? Joachim From ree at ree.hu Tue Jul 3 01:52:54 2007 From: ree at ree.hu (Balazs Ree) Date: Tue, 3 Jul 2007 01:52:54 +0200 Subject: [Kss-devel] kukit.pr has no properties References: <4689439C.9050301@aixtraware.de> Message-ID: Mon, 02 Jul 2007 20:27:40 +0200 keltez?ssel Joachim Schmitz azt ?rta: > Hi, > > after migrating my kubuntu from version 5 to the current, and after some > trouble making my zope's runnig, I now get the following error on the > java-console, when invoking any of azaxdemo's. This worked under the > former kubuntu. > I'am using my patched version of azax and the trunk of azaxdemo. This is > the same as under the old version. The other zope application work as > before. > Any hint, what could be the problem, or howto debug it further is very > welcome. > > Here is the Javascript console output. > kukit.pr has no properties-- possibly, that javascript had a syntax error and although it seems to be imported, the result is that it is as if it would not be. Could be, also a result of packing, you should try in the concatresource.zcml file to change compression to "none" and see if the error persists... Unfortunately, even a missing or an extra semicolon can cause these kinds of problems. -- Balazs Ree From lewicki at provider.pl Tue Jul 3 13:13:51 2007 From: lewicki at provider.pl (Pawel Lewicki) Date: Tue, 03 Jul 2007 13:13:51 +0200 Subject: [Kss-devel] How to manually render a view Message-ID: Hi, I have a problem with kss html replacement using views. Is there a simple python equivalent of ? I have a master page with a list of viewlets and use PloneKSSView to rerender them. I came so far to that code but it's not working. -----code------ class KSSWorkflowView(PloneKSSView): def workflowAction(self, uid, action): core = self.getCommandSet('core') at_tool = getToolByName(self.context, 'archetype_tool') obj = at_tool.lookupObject(uid) view = getMultiAdapter((obj, self.request), name='kssworkflowviewlet') content=view() core.replaceInnerHTML('div#kssresult', content) return self.render() class KSSWorkflowViewlet(BrowserView): def getActions(self): return ['action1', 'action2'] ------end-of-code------ I get "Unauthorized: You are not allowed to access 'getActions' in this context" error while calling view(). Pawel Lewicki From js at aixtraware.de Tue Jul 3 15:31:43 2007 From: js at aixtraware.de (Joachim Schmitz) Date: Tue, 03 Jul 2007 15:31:43 +0200 Subject: [Kss-devel] kukit.pr has no properties In-Reply-To: <468948E5.8070305@bubblenet.be> References: <4689439C.9050301@aixtraware.de> <46894501.8090800@bubblenet.be> <468947BB.3080904@aixtraware.de> <468948E5.8070305@bubblenet.be> Message-ID: <468A4FBF.1060403@aixtraware.de> 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 References: <4689439C.9050301@aixtraware.de> Message-ID: <468A5C86.10000@aixtraware.de> Balazs Ree schrieb: > Mon, 02 Jul 2007 20:27:40 +0200 keltez?ssel Joachim Schmitz azt ?rta: >> kukit.pr has no properties-- > > possibly, that javascript had a syntax error and although it seems to be > imported, the result is that it is as if it would not be. > > Could be, also a result of packing, you should try in the > concatresource.zcml file to change compression to "none" and see if the > error persists... Unfortunately, even a missing or an extra semicolon can > cause these kinds of problems. > The file concatresources was missing several js-files, I have no idea why. Here is a diff: diff azax_trunk/concatresource.zcml azax_trunk/azax_trunk_org/concatresource.zcml 7d6 < kukit/kukit/providerreg.js 9d7 < kukit/kukit/commandprocessor.js 11d8 < kukit/kukit/tokenizer.js 12a10 > kukit/kukit/tokenizer.js 19d16 < kukit/kukit/serveraction.js 24,26c21 < compress_level="none" < caching="default" < lmt_check_period="0" --- > compress_level="safe" After adding this now the demo works again. Is this a bug in the trunk ? -- Gru? Joachim From gotcha at bubblenet.be Tue Jul 3 16:33:43 2007 From: gotcha at bubblenet.be (Godefroid Chapelle) Date: Tue, 03 Jul 2007 16:33:43 +0200 Subject: [Kss-devel] kukit.pr has no properties In-Reply-To: <468A5C86.10000@aixtraware.de> References: <4689439C.9050301@aixtraware.de> <468A5C86.10000@aixtraware.de> Message-ID: <468A5E47.7000804@bubblenet.be> Joachim Schmitz wrote: > Balazs Ree schrieb: >> Mon, 02 Jul 2007 20:27:40 +0200 keltez?ssel Joachim Schmitz azt ?rta: > >>> kukit.pr has no properties-- >> possibly, that javascript had a syntax error and although it seems to be >> imported, the result is that it is as if it would not be. >> >> Could be, also a result of packing, you should try in the >> concatresource.zcml file to change compression to "none" and see if the >> error persists... Unfortunately, even a missing or an extra semicolon can >> cause these kinds of problems. >> > The file concatresources was missing several js-files, I have no idea > why. Here is a diff: > > > diff azax_trunk/concatresource.zcml > azax_trunk/azax_trunk_org/concatresource.zcml > 7d6 > < kukit/kukit/providerreg.js > 9d7 > < kukit/kukit/commandprocessor.js > 11d8 > < kukit/kukit/tokenizer.js > 12a10 > > kukit/kukit/tokenizer.js > 19d16 > < kukit/kukit/serveraction.js > 24,26c21 > < compress_level="none" > < caching="default" > < lmt_check_period="0" > --- > > compress_level="safe" > After adding this now the demo works again. Is this a bug in the trunk ? > > Which trunk are you speaking of ? if those files are missing, it's a bug... -- Godefroid Chapelle (aka __gotcha)- BubbleNet http://bubblenet.be From js at aixtraware.de Tue Jul 3 16:51:42 2007 From: js at aixtraware.de (Joachim Schmitz) Date: Tue, 03 Jul 2007 16:51:42 +0200 Subject: [Kss-devel] kukit.pr has no properties In-Reply-To: <468A5E47.7000804@bubblenet.be> References: <4689439C.9050301@aixtraware.de> <468A5C86.10000@aixtraware.de> <468A5E47.7000804@bubblenet.be> Message-ID: <468A627E.2000700@aixtraware.de> Godefroid Chapelle schrieb: > Joachim Schmitz wrote: >> After adding this now the demo works again. Is this a bug in the trunk ? >> >> > Which trunk are you speaking of ? > > if those files are missing, it's a bug... > svn co http://codespeak.net/svn/kukit/azax/trunk azax -- Gru? Joachim From gotcha at bubblenet.be Tue Jul 3 21:08:52 2007 From: gotcha at bubblenet.be (Godefroid Chapelle) Date: Tue, 03 Jul 2007 21:08:52 +0200 Subject: [Kss-devel] kukit.pr has no properties In-Reply-To: <468A627E.2000700@aixtraware.de> References: <4689439C.9050301@aixtraware.de> <468A5C86.10000@aixtraware.de> <468A5E47.7000804@bubblenet.be> <468A627E.2000700@aixtraware.de> Message-ID: <468A9EC4.8060902@bubblenet.be> Joachim Schmitz wrote: > Godefroid Chapelle schrieb: >> Joachim Schmitz wrote: >>> After adding this now the demo works again. Is this a bug in the trunk ? >>> >>> >> Which trunk are you speaking of ? >> >> if those files are missing, it's a bug... >> > > svn co http://codespeak.net/svn/kukit/azax/trunk azax > You should not be using this trunk. It used to be the Zope 2.10 head... You should use http://codespeak.net/svn/kukit/azax/branch/1.1/ which is for Zope 2.9 -- Godefroid Chapelle (aka __gotcha)- BubbleNet http://bubblenet.be From ree at ree.hu Wed Jul 4 01:26:08 2007 From: ree at ree.hu (Balazs Ree) Date: Wed, 4 Jul 2007 01:26:08 +0200 Subject: [Kss-devel] kukit.pr has no properties References: <4689439C.9050301@aixtraware.de> <468A5C86.10000@aixtraware.de> <468A5E47.7000804@bubblenet.be> <468A627E.2000700@aixtraware.de> <468A9EC4.8060902@bubblenet.be> Message-ID: On Tue, 03 Jul 2007 21:08:52 +0200 Godefroid Chapelle wrote: > Joachim Schmitz wrote: >> Godefroid Chapelle schrieb: >>> Joachim Schmitz wrote: >> svn co http://codespeak.net/svn/kukit/azax/trunk azax >> >> > You should not be using this trunk. > > It used to be the Zope 2.10 head... > > You should use http://codespeak.net/svn/kukit/azax/branch/1.1/ > > which is for Zope 2.9 Ok. I will do some svn rearrangements soon and I will also make sure this trunk is "no more". just to avoid further misunderstanding. -- Balazs Ree From js at aixtraware.de Wed Jul 4 11:51:08 2007 From: js at aixtraware.de (Joachim Schmitz) Date: Wed, 04 Jul 2007 11:51:08 +0200 Subject: [Kss-devel] kukit.pr has no properties In-Reply-To: <468A9EC4.8060902@bubblenet.be> References: <4689439C.9050301@aixtraware.de> <468A5C86.10000@aixtraware.de> <468A5E47.7000804@bubblenet.be> <468A627E.2000700@aixtraware.de> <468A9EC4.8060902@bubblenet.be> Message-ID: <468B6D8C.4030701@aixtraware.de> Godefroid Chapelle schrieb: > Joachim Schmitz wrote: >> Godefroid Chapelle schrieb: >>> Joachim Schmitz wrote: >>>> After adding this now the demo works again. Is this a bug in the >>>> trunk ? >>>> >>>> >>> Which trunk are you speaking of ? >>> >>> if those files are missing, it's a bug... >>> >> >> svn co http://codespeak.net/svn/kukit/azax/trunk azax >> > > You should not be using this trunk. > > It used to be the Zope 2.10 head... > > You should use http://codespeak.net/svn/kukit/azax/branch/1.1/ > > which is for Zope 2.9 > May be but the demo did not work with this version. See http://codespeak.net/pipermail/kss-devel/2007-June/000158.html -- Gru? Joachim From js at aixtraware.de Wed Jul 4 12:51:33 2007 From: js at aixtraware.de (Joachim Schmitz) Date: Wed, 04 Jul 2007 12:51:33 +0200 Subject: [Kss-devel] azax for cps or pure cmf ? Message-ID: <468B7BB5.7050909@aixtraware.de> hi, is there any documentation hints or even work in progress howto use azax in/with CPS? -- Gru? Joachim From gotcha at bubblenet.be Wed Jul 4 20:20:39 2007 From: gotcha at bubblenet.be (Godefroid Chapelle) Date: Wed, 04 Jul 2007 20:20:39 +0200 Subject: [Kss-devel] azax for cps or pure cmf ? In-Reply-To: <468B7BB5.7050909@aixtraware.de> References: <468B7BB5.7050909@aixtraware.de> Message-ID: <468BE4F7.1050600@bubblenet.be> Joachim Schmitz wrote: > hi, > > is there any documentation hints or even work in progress howto use azax > in/with CPS? I do not see why it would be different from using it above Zope. IOW, looking how azaxdemo does it should allow you to make it work... Outside registering the js and kss files in your framework (templates), the rest should be totally similar. -- Godefroid Chapelle (aka __gotcha)- BubbleNet http://bubblenet.be From jeroen.vloothuis at xs4all.nl Tue Jul 10 16:08:47 2007 From: jeroen.vloothuis at xs4all.nl (Jeroen Vloothuis) Date: Tue, 10 Jul 2007 16:08:47 +0200 Subject: [Kss-devel] Improved way of testing command sets Message-ID: For the pure Python version of the KSS server side libraries I created a small extension to help with testing. It basically is just a small piece of code to create a string representation of a command set. You can then test them really easy with a doctest. Example of a test: >>> scriptaculous.effect(CSS('node'), 'fade') >>> print commands effect(css('node'), type='fade') >>> scriptaculous.effect(CSS('node'), 'fade', delay=0.1) >>> print commands effect(css('node'), type='fade') effect(css('node'), delay='0.1', type='fade') From danny.bloemendaal at informaat.nl Wed Jul 11 00:25:41 2007 From: danny.bloemendaal at informaat.nl (Danny Bloemendaal) Date: Wed, 11 Jul 2007 00:25:41 +0200 Subject: [Kss-devel] Registering an action.. almost... Message-ID: <812B7AB2-1A9F-4645-945A-78600BBE82AC@informaat.nl> Today I have been struggling in order to have a custom action work from the server. With not much success so far. This is what I did: In my product I created the file interfaces.py: ======================================================== interfaces.py ======================================================== from zope.interface import Interface class IICEKSSCommands(Interface): """The commands""" def initializePortlets(): """Make portlets draggable and collapsable""" ======================================================== And I created a commands.py: ======================================================== commands.py ======================================================== try: from azax.selectors import Selector, CssSelector, HtmlIdSelector, SameNodeSelector from azax.azaxview import AzaxViewAdapter from azax.deprecated import deprecated, deprecated_warning from azax.parsers import XmlParser, HtmlParser _dummy = Selector, CssSelector, HtmlIdSelector, SameNodeSelector, AzaxViewAdapter, deprecated, deprecated_warning, XmlParser, HtmlParser # satisfy pyflakes except ImportError: from Products.azax.selectors import Selector, CssSelector, HtmlIdSelector, SameNodeSelector from Products.azax.azaxview import AzaxViewAdapter from Products.azax.deprecated import deprecated, deprecated_warning from Products.azax.parsers import XmlParser, HtmlParser class ICEKSSCommands(AzaxViewAdapter): __allow_access_to_unprotected_subobjects__ = 1 def initializePortlets(self): """ see interfaces.py """ command = self.commands.addCommand('initializePortlets') ========================================================= and finally in my configure.zcml: ======================================================== configure.zcml ======================================================== ====================================================== Then, I have this javascript file that's always included and in there I did this: ====================================================== portletmanager.js ====================================================== kukit.actionsGlobalRegistry.register("initializePortlets", function (oper) { oper.completeParms([], {}, "initializePortlets"); PortletManager.initialize(); } ) kukit.commandsGlobalRegistry.registerFromAction('initializePortlets', kukit.cr.makeSelectorCommand); ======================================================= In here, PortletManager is an object that's already loaded. It needs to be reinitialized after certain ajax calls. And finally, I have a view that deals with ajax calls: ===================================================== trackerView.py ===================================================== try: from azax import AzaxBaseView, force_unicode from azax.plugins.core.interfaces import IKSSCoreCommands from azax.plugins.effects.interfaces import IScriptaculousEffectsCommands except ImportError: from Products.azax import AzaxBaseView, force_unicode from Products.azax.plugins.core.interfaces import IKSSCoreCommands from Products.azax.plugins.effects.interfaces import IScriptaculousEffectsCommands from Products.ICETools.interfaces import IICEKSSCommands import datetime, time from Products.CMFCore.utils import getToolByName from zope.app.pagetemplate.viewpagetemplatefile import ViewPageTemplateFile class TrackerView(AzaxBaseView): ..... def myMethod(self): ..... # return a new portlet IKSSCoreCommands(self).replaceHTML('#portlet-issues', result) # make sure that after it's inserted, the PortletManager can reinitialize. IICEKSSCommands(self).initializePortlets() return self.render() ====================================================== So, ok.. all this work only to just be able to call on tiny javascript function... ok.. what has to be done, has to be done. So, after restarting the whole bunch and doing some interaction after which this last method is called, I get this back from the server after the request: =====================================================
< ... cut ...>
========================================================= That part looks good.. however, my function isn't called. Kukit reports: =============================== Number of commands: 2 Selector type: default (css), selector : "#portlet-issues", selected nodes:1+ Command Name: replaceHTML Selector type: default (css), selector : "null", selected nodes:0 Selector found no nodes ================================= Now, obviously I'm doing something wrong although I feel I'm close. I'm not sure why it tries to find nodes because my function is a global one that doesn't operate on any node. This action does work in a kss file though using action- client:initializePortlets. So, anybody, please shed some light on this. I'm stuck. Danny. PS: I still don't like this enormously overcomplicated way of doing one simple thing. Maybe, after this works I will create a generic javascript action that can have any javascript function as a parameter and evals that. I just want to do things like: { action-client: callFunction; callFunction-name:myJsFunction; callFunction-parameters:params(a, b, c); } And I understand that this may not be clean and different from the patterns but I'm just a simple kss end user who needs to get his work done with it. But that's another discussion ;-) From ree at ree.hu Wed Jul 11 00:59:57 2007 From: ree at ree.hu (Balazs Ree) Date: Tue, 10 Jul 2007 15:59:57 -0700 Subject: [Kss-devel] Registering an action.. almost... In-Reply-To: <812B7AB2-1A9F-4645-945A-78600BBE82AC@informaat.nl> References: <812B7AB2-1A9F-4645-945A-78600BBE82AC@informaat.nl> Message-ID: <1184108397.31613.33.camel@brumi.ree> 2007. 07. 11, szerda keltez?ssel 00.25-kor Danny Bloemendaal ezt ?rta: > Today I have been struggling in order to have a custom action work > from the server. With not much success so far. > This is what I did: > > In my product I created the file interfaces.py: > ======================================================== > interfaces.py > ======================================================== > from zope.interface import Interface > > class IICEKSSCommands(Interface): > """The commands""" > > def initializePortlets(): > """Make portlets draggable and collapsable""" > ======================================================== > > And I created a commands.py: > > ======================================================== > commands.py > ======================================================== > try: > from azax.selectors import Selector, CssSelector, > HtmlIdSelector, SameNodeSelector > from azax.azaxview import AzaxViewAdapter > from azax.deprecated import deprecated, deprecated_warning > from azax.parsers import XmlParser, HtmlParser > _dummy = Selector, CssSelector, HtmlIdSelector, > SameNodeSelector, AzaxViewAdapter, deprecated, deprecated_warning, > XmlParser, HtmlParser # satisfy pyflakes > except ImportError: > from Products.azax.selectors import Selector, CssSelector, > HtmlIdSelector, SameNodeSelector > from Products.azax.azaxview import AzaxViewAdapter > from Products.azax.deprecated import deprecated, deprecated_warning > from Products.azax.parsers import XmlParser, HtmlParser > > > class ICEKSSCommands(AzaxViewAdapter): > __allow_access_to_unprotected_subobjects__ = 1 > > > def initializePortlets(self): > """ see interfaces.py """ > command = self.commands.addCommand('initializePortlets') > ========================================================= > > and finally in my configure.zcml: > > ======================================================== > configure.zcml > ======================================================== > xmlns:browser="http://namespaces.zope.org/browser" > xmlns:five="http://namespaces.zope.org/five" > xmlns:azax="http://namespaces.zope.org/azax" > xmlns:zcml="http://namespaces.zope.org/zcml" > > > > > for="Products.azax.interfaces.IAzaxView" > provides=".interfaces.IICEKSSCommands" > factory=".commands.ICEKSSCommands" > /> > > > > for="azax.interfaces.IAzaxView" > provides=".interfaces.IICEKSSCommands" > factory=".commands.ICEKSSCommands" > /> > > > > name="initializePortlets" > command_factory="global" > /> > > > > ====================================================== > > Then, I have this javascript file that's always included and in there > I did this: > > ====================================================== > portletmanager.js > ====================================================== > > kukit.actionsGlobalRegistry.register("initializePortlets", function > (oper) { > oper.completeParms([], {}, "initializePortlets"); > PortletManager.initialize(); > } > ) > > kukit.commandsGlobalRegistry.registerFromAction('initializePortlets', > kukit.cr.makeSelectorCommand); > ======================================================= > > In here, PortletManager is an object that's already loaded. It needs > to be reinitialized after certain ajax calls. > > And finally, I have a view that deals with ajax calls: > > ===================================================== > trackerView.py > ===================================================== > try: > from azax import AzaxBaseView, force_unicode > from azax.plugins.core.interfaces import IKSSCoreCommands > from azax.plugins.effects.interfaces import > IScriptaculousEffectsCommands > except ImportError: > from Products.azax import AzaxBaseView, force_unicode > from Products.azax.plugins.core.interfaces import IKSSCoreCommands > from Products.azax.plugins.effects.interfaces import > IScriptaculousEffectsCommands > from Products.ICETools.interfaces import IICEKSSCommands > > import datetime, time > from Products.CMFCore.utils import getToolByName > > from zope.app.pagetemplate.viewpagetemplatefile import > ViewPageTemplateFile > > class TrackerView(AzaxBaseView): > ..... > > def myMethod(self): > ..... > # return a new portlet > IKSSCoreCommands(self).replaceHTML('#portlet-issues', result) > > # make sure that after it's inserted, the PortletManager can > reinitialize. > IICEKSSCommands(self).initializePortlets() > > return self.render() > ====================================================== > > So, ok.. all this work only to just be able to call on tiny > javascript function... ok.. what has to be done, has to be done. So, > after restarting the whole bunch and doing some interaction after > which this last method is called, I get this back from the server > after the request: I told you on irc that you don't have to do this. I would do this because I prefer to have my code in a well contained component, but instead registering the javascript you can just use... addCommand. Try to grep for it in the code. > ===================================================== > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional > > .dtd"> > > > xmlns:kukit="http://www.kukit.org/commands/1.0"> > > > > > selectorType=""> > > > >
< ... cut ...>
> >
> >
> > > > > >
> > > ========================================================= > > That part looks good.. however, my function isn't called. Kukit reports: > > =============================== > Number of commands: 2 > Selector type: default (css), selector : "#portlet-issues", selected > nodes:1+ > Command Name: replaceHTML > Selector type: default (css), selector : "null", selected nodes:0 > Selector found no nodes > ================================= > > Now, obviously I'm doing something wrong although I feel I'm close. > I'm not sure why it tries to find nodes because my function is a > global one that doesn't operate on any node. Then use kukit.cr.makeGlobalCommand instead of kukit.cr.makeSelectorCommand. I admit the kss registry is not much documented yet apart from the code examples but it will be in my new book I am writing. Otherwise you also ask lots of questions on irc that we answer one by one in the existing docs and tutorials. I know they are far from complete but please, take the time to go through them, they are sometimes outdated but otherwise good and will save you a lot of time after that. > This action does work in a kss file though using action- > client:initializePortlets. > > So, anybody, please shed some light on this. I'm stuck. > > Danny. > > PS: I still don't like this enormously overcomplicated way of doing > one simple thing. Maybe, after this works I will create a generic > javascript action that can have any javascript function as a > parameter and evals that. > I just want to do things like: > { > action-client: callFunction; > callFunction-name:myJsFunction; > callFunction-parameters:params(a, b, c); > } > And I understand that this may not be clean and different from the > patterns but I'm just a simple kss end user who needs to get his work > done with it. The main reason why we don't want to allow an arbitrary callout to js in kss because we beleive the usage of javascript is something we want to avoid and discourage. We provide and encourage other patterns instead. To provide a way of working with javascript, in a way that your life just becomes more difficult from kss, would indeed be foolish and is not what we want. You can register your function that does exactly this as a plugin though, if you really believe this is what you want. It's just a few lines and kss permits you to do that. We even had it originally, but we decided to get rid of it. We have the experience that it is harmful and brings us further from the original goals. But again we just talk from our own experience which may not be the same as yours. > But that's another discussion ;-) That's a discussion that has come to a conclusion already, but it is always worth to revisit it and in some cases we can change our past decisions (don't think this is the case here though). -- Balazs Ree -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Ez az =?ISO-8859-1?Q?=FCzenetr=E9sz?= =?ISO-8859-1?Q?_digit=E1lis?= =?ISO-8859-1?Q?_al=E1=EDr=E1ssal?= van =?ISO-8859-1?Q?ell=E1tva?= Url : http://codespeak.net/pipermail/kss-devel/attachments/20070710/fe7b94a4/attachment-0001.pgp From dokter at w20e.com Fri Jul 20 16:45:13 2007 From: dokter at w20e.com (Duco Dokter) Date: Fri, 20 Jul 2007 16:45:13 +0200 Subject: [Kss-devel] KSS drag & drop Message-ID: <200707201645.13927.dokter@w20e.com> L.S., as far as I know there's no drag & drop support built into KSS yet. We have recently created a Plone App implementing the Google dashboard functionality, with drag-able 'viewlets'. We'd like to further enhance this product, Mlango, by making it KSS compliant, and in the effort are willing to add drag & drop support to KSS. Please let me know whether this is a good plan, and what needs to be done to build in a module like this. Cheers, Duco Dokter From jeroen.vloothuis at xs4all.nl Fri Jul 20 23:41:55 2007 From: jeroen.vloothuis at xs4all.nl (Jeroen Vloothuis) Date: Fri, 20 Jul 2007 23:41:55 +0200 Subject: [Kss-devel] KSS drag & drop In-Reply-To: <200707201645.13927.dokter@w20e.com> References: <200707201645.13927.dokter@w20e.com> Message-ID: <46A12C23.2090004@xs4all.nl> Duco Dokter wrote: > as far as I know there's no drag & drop support built into KSS yet. We have > recently created a Plone App implementing the Google dashboard functionality, > with drag-able 'viewlets'. We'd like to further enhance this product, Mlango, > by making it KSS compliant, and in the effort are willing to add drag & drop > support to KSS. Please let me know whether this is a good plan, and what > needs to be done to build in a module like this. > There is dnd support for KSS. Balazs and Godefroid did most of the work I believe. As far as I know there was problem with Scriptaculous. From what I have heard Scriptaculous has a system in which you can only define a single droppables -> drop regions connection. You could create a new plugin which uses your current code instead of Scriptaculous. Anyway, the code can be found here: https://codespeak.net/svn/kukit/kss.core/trunk/kss/core/plugins/draganddrop From dokter at w20e.com Mon Jul 23 09:52:25 2007 From: dokter at w20e.com (Duco Dokter) Date: Mon, 23 Jul 2007 09:52:25 +0200 Subject: [Kss-devel] drag & drop Message-ID: <200707230952.25527.dokter@w20e.com> Is there a list of features that a drag & drop implementation should provide? Or a general description of this? For instance to list all KSS attributes that may be set on an element, and what kind of parameters they would take. I assume drag & drop would look something like: #someElt { allow-drag: True; snap-grid: True; allow-parents: } -- At once it struck me what quality went to form a man of achievement, especially in literature, and which Shakespeare possessed so enormously -- I mean negative capability, that is, when a man is capable of being in uncertainties, mysteries, doubts, without any irritable reaching after fact and reason. -- John Keats From ree at ree.hu Mon Jul 23 12:18:05 2007 From: ree at ree.hu (Balazs Ree) Date: Mon, 23 Jul 2007 12:18:05 +0200 Subject: [Kss-devel] drag & drop References: <200707230952.25527.dokter@w20e.com> Message-ID: On Mon, 23 Jul 2007 09:52:25 +0200 Duco Dokter wrote: > Is there a list of features that a drag & drop implementation should > provide? Or a general description of this? For instance to list all KSS > attributes that may be set on an element, and what kind of parameters > they would take. I assume drag & drop would look something like: > > #someElt { > allow-drag: True; > snap-grid: True; > allow-parents: > } There is no docs. We need to work together on this. This would require a deeper knowledge of the kss internals. The current drag and drop implementation is one of the most complex plugins we have because it operates on internal state and incorporates more kss events that need to be bound together (because that's what the underlying libraries require.) We have a working implementation that is based on the prototype/ scriptaculous library, however I did not have time to write a working demo for it that would show you how to use evt-xxx parameters to parametrize the events. More importantly, the way the js wrapper for kss e constructed is sparsely documented. This documentation will be coming soon but not right now. I can only repeat now that at the moment I can give you zero time for help, I don't even attempt to show you why the parameters need to be done a bit differently then in your example. The plone release and my other project work keeps me 100% busy for this week. I would however be more then happy to work together with you and give you all the necessary support to make a kss binding for the javascript library you use, following the next week or after. The main reason for why this would be a priority, is that it turned out that scriptaculous drag and drop is not usable in its current form for general application building, because it does not support more independent drag and drop "pools" within the same page. Of course we could fix that which would practically mean a significant rewrite of the scriptaculous code. However this is not an option for us. Not because we cannot write the program, but because it is an impossible burden (and luxury) to maintain our own javascript code for something that is used in every single application on the web. Instead, we prefer to reuse libraries that are widely used outside the Plone community too and make kss wrapper for them. So replacing scriptaculous with one of jQuery or MochiKit or something else is a must. By the way, which is the library that you reuse in your product? I did not remember mentioned it so far. -- Balazs Ree From dokter at w20e.com Mon Jul 23 13:28:32 2007 From: dokter at w20e.com (Duco Dokter) Date: Mon, 23 Jul 2007 13:28:32 +0200 Subject: [Kss-devel] drag & drop In-Reply-To: References: <200707230952.25527.dokter@w20e.com> Message-ID: <200707231328.33026.dokter@w20e.com> On Monday 23 July 2007 12:18:05 Balazs Ree wrote: > There is no docs. We need to work together on this. Ok, I can write some documentation in the process. In the meanwhile, I'll try to wrap up what I think dnd should provide for Plone, and send that to this list as a draft. Or I could add it to the documents on the KSS project site. > I can only repeat now that at the moment I can give you zero time for > help, I don't even attempt to show you why the parameters need to be done > a bit differently then in your example. The plone release and my other > project work keeps me 100% busy for this week. I would however be more > then happy to work together with you and give you all the necessary > support to make a kss binding for the javascript library you use, > following the next week or after. Yeah, I know the coming Plone release is somewhat of a burden on the developers... Anyway, next week or the week after would be fine. We have a project coming up that wishes to use our Mlango framework for a dashboard, and we would like to use some of the budget to make Mlango use KSS. If that involves refactoring KSS DnN, that's ok with us. This project is scheduled to be finished and of august, so starting in some one or two weeks is good enough. > ... So replacing scriptaculous with one of jQuery or > MochiKit or something else is a must. .... > By the way, which is the library that you reuse in your product? I did > not remember mentioned it so far. We used the library on http://tool-man.org/examples/, and wrapped this stuff in some script of our own, to be able to do the snap-to-grid stuff that our dashboard requires. However, it doesn't look like the best maintained lib in the world, and a better bet would be to look at something else. I'll have a look at your suggestions. Duco -- Many pages make a thick book. From dokter at w20e.com Mon Jul 23 16:52:45 2007 From: dokter at w20e.com (Duco Dokter) Date: Mon, 23 Jul 2007 16:52:45 +0200 Subject: [Kss-devel] drag & drop In-Reply-To: References: <200707230952.25527.dokter@w20e.com> Message-ID: <200707231652.46298.dokter@w20e.com> On Monday 23 July 2007 12:18:05 Balazs Ree wrote: A short research period has revealed five potential candidates for drag-n-drop in KSS, holding only two assumptions: 1. free license; 2. active community. The five candidates are: 1. Dojo 2. YUI 3. Mochikit 4. Prototype/Scriptaculous 5. jQuery Prototype/Scriptaculous is the current implementation, that seems to lack the ability to have more than one dragable/droppable pool on one page, although I can't find this shortcoming in the code. Some other prerequisites may put focus on one of the other four. * YUI is very modular, backed up by good documentation, and very fast. * Mochikit is the most Python-esque of all, API-wise, has a small footprint and is well documented. Seems to be a little slow in operations. * Dojo is backed up by IBM, but is seemingly a tad on the monolothic side. * jQuery is rapidly accumulating popularity, and has lot's of examples and documentation. Other considerations that I can think of: * what's already in use? (Found Mochikit.js in core...) * is python-esqueness a good thing? * is a modular approach preferred? So as to be able to include only _some_ supported functions. Anything else? Duco > On Mon, 23 Jul 2007 09:52:25 +0200 Duco Dokter wrote: > > Is there a list of features that a drag & drop implementation should > > provide? Or a general description of this? For instance to list all KSS > > attributes that may be set on an element, and what kind of parameters > > they would take. I assume drag & drop would look something like: > > > > #someElt { > > allow-drag: True; > > snap-grid: True; > > allow-parents: > > } > > There is no docs. We need to work together on this. > > This would require a deeper knowledge of the kss internals. The current > drag and drop implementation is one of the most complex plugins we have > because it operates on internal state and incorporates more kss events > that need to be bound together (because that's what the underlying > libraries require.) > > We have a working implementation that is based on the prototype/ > scriptaculous library, however I did not have time to write a working > demo for it that would show you how to use evt-xxx parameters to > parametrize the events. More importantly, the way the js wrapper for kss > e constructed is sparsely documented. This documentation will be coming > soon but not right now. > > I can only repeat now that at the moment I can give you zero time for > help, I don't even attempt to show you why the parameters need to be done > a bit differently then in your example. The plone release and my other > project work keeps me 100% busy for this week. I would however be more > then happy to work together with you and give you all the necessary > support to make a kss binding for the javascript library you use, > following the next week or after. > > The main reason for why this would be a priority, is that it turned out > that scriptaculous drag and drop is not usable in its current form for > general application building, because it does not support more > independent drag and drop "pools" within the same page. Of course we > could fix that which would practically mean a significant rewrite of the > scriptaculous code. However this is not an option for us. Not because we > cannot write the program, but because it is an impossible burden (and > luxury) to maintain our own javascript code for something that is used in > every single application on the web. Instead, we prefer to reuse > libraries that are widely used outside the Plone community too and make > kss wrapper for them. So replacing scriptaculous with one of jQuery or > MochiKit or something else is a must. > > By the way, which is the library that you reuse in your product? I did > not remember mentioned it so far. -- It has long been an axiom of mine that the little things are infinitely the most important. -- Sir Arthur Conan Doyle, "A Case of Identity" From usenet at diefenba.ch Tue Jul 24 21:45:56 2007 From: usenet at diefenba.ch (Kai Diefenbach) Date: Tue, 24 Jul 2007 21:45:56 +0200 Subject: [Kss-devel] Selenium tests: HTML to Python Message-ID: <1i1rywb.1l2e43hcouxjmN%usenet@diefenba.ch> Hi guys, >From the http://kssproject.org/blog: > Jeroen Vloothuis worked on a script that generates Python modules (that > run the Selenium test cases) from the Selenium HTML recorded with > Selenium-IDE. I wonder whether there is any code you like to share? Thanks Kai -- Kai Diefenbach - http://diefenba.ch iqplusplus - http://iqpp.de From jeroen.vloothuis at xs4all.nl Tue Jul 24 22:36:42 2007 From: jeroen.vloothuis at xs4all.nl (Jeroen Vloothuis) Date: Tue, 24 Jul 2007 22:36:42 +0200 Subject: [Kss-devel] Selenium tests: HTML to Python In-Reply-To: <1i1rywb.1l2e43hcouxjmN%usenet@diefenba.ch> References: <1i1rywb.1l2e43hcouxjmN%usenet@diefenba.ch> Message-ID: <46A662DA.10706@xs4all.nl> Kai Diefenbach wrote: > Hi guys, > > >From the http://kssproject.org/blog: > >> Jeroen Vloothuis worked on a script that generates Python modules (that >> run the Selenium test cases) from the Selenium HTML recorded with >> Selenium-IDE. >> > > I wonder whether there is any code you like to share? > What do you mean with share? You can find the code at the following location: https://codespeak.net/svn/kukit/kss.demo/trunk/kss/demo/tests/selenium_tests/createpythontests.py I wrote the code to avoid having to save both HTML and Python files for each test. From usenet at diefenba.ch Tue Jul 24 23:41:26 2007 From: usenet at diefenba.ch (Kai Diefenbach) Date: Tue, 24 Jul 2007 23:41:26 +0200 Subject: [Kss-devel] Selenium tests: HTML to Python References: <1i1rywb.1l2e43hcouxjmN%usenet@diefenba.ch> <46A662DA.10706@xs4all.nl> Message-ID: <1i1s4ch.e9phf34snbkuN%usenet@diefenba.ch> Jeroen Vloothuis wrote: > > I wonder whether there is any code you like to share? > > > What do you mean with share? You can find the code at the following > location: I meant that somebody point me to the code, if it exists at all and you are willing to share it with me. > https://codespeak.net/svn/kukit/kss.demo/trunk/kss/demo/tests/selenium_t ests/createpythontests.py Yay, thanks. -- Kai Diefenbach - http://diefenba.ch iqplusplus - http://iqpp.de From usenet at diefenba.ch Tue Jul 24 23:43:12 2007 From: usenet at diefenba.ch (Kai Diefenbach) Date: Tue, 24 Jul 2007 23:43:12 +0200 Subject: [Kss-devel] Selenium tests: HTML to Python References: <1i1rywb.1l2e43hcouxjmN%usenet@diefenba.ch> <46A662DA.10706@xs4all.nl> Message-ID: <1i1s4hc.1al1cn0ayxma5N%usenet@diefenba.ch> Jeroen Vloothuis wrote: > Kai Diefenbach wrote: > > I wonder whether there is any code you like to share? > > > What do you mean with share? You can find the code at the following > location: I meant that somebody point me to the code, if it exists at all and you are willing to share it with me. > https://codespeak.net/... Yay, thanks. -- Kai Diefenbach - http://diefenba.ch iqplusplus - http://iqpp.de From philipp at weitershausen.de Wed Jul 25 20:59:35 2007 From: philipp at weitershausen.de (Philipp von Weitershausen) Date: Wed, 25 Jul 2007 20:59:35 +0200 Subject: [Kss-devel] Please stop using request.RESPONSE Message-ID: There's no request.RESPONSE in Zope3. Fortunately, *both* Zope 2 and Zope 3 have request.response (lower case). From jeroen.vloothuis at xs4all.nl Thu Jul 26 16:17:39 2007 From: jeroen.vloothuis at xs4all.nl (Jeroen Vloothuis) Date: Thu, 26 Jul 2007 16:17:39 +0200 Subject: [Kss-devel] Webdesign mockups Message-ID: <46A8AD03.1090101@xs4all.nl> A colleague (Linda) has created a few mock ups for the KSS website. These are her initial thoughts and pretty rough. So any feedback is appreciated. -------------- next part -------------- A non-text attachment was scrubbed... Name: voorbeelda.gif Type: image/gif Size: 40897 bytes Desc: not available Url : http://codespeak.net/pipermail/kss-devel/attachments/20070726/c5bf228a/attachment-0003.gif -------------- next part -------------- A non-text attachment was scrubbed... Name: voorbeeldb.gif Type: image/gif Size: 49473 bytes Desc: not available Url : http://codespeak.net/pipermail/kss-devel/attachments/20070726/c5bf228a/attachment-0004.gif -------------- next part -------------- A non-text attachment was scrubbed... Name: voorbeeldc.gif Type: image/gif Size: 46394 bytes Desc: not available Url : http://codespeak.net/pipermail/kss-devel/attachments/20070726/c5bf228a/attachment-0005.gif From gotcha at bubblenet.be Thu Jul 26 16:29:19 2007 From: gotcha at bubblenet.be (Godefroid Chapelle) Date: Thu, 26 Jul 2007 16:29:19 +0200 Subject: [Kss-devel] Webdesign mockups In-Reply-To: <46A8AD03.1090101@xs4all.nl> References: <46A8AD03.1090101@xs4all.nl> Message-ID: <46A8AFBF.9070004@bubblenet.be> Jeroen Vloothuis wrote: > A colleague (Linda) has created a few mock ups for the KSS website. > These are her initial thoughts and pretty rough. So any feedback is > appreciated. > Thanks for the work. a few quick remarks : I see no difference between voorbeeldb and voorbeeldc I like b better than a as it's more colorfull. It's still too white imo. finally, I like the idea of big icons on the home page... but they should not coexist with the orange bar for navigation. which could be used inside the site. my 2 cents. -- Godefroid Chapelle (aka __gotcha)- BubbleNet http://bubblenet.be From gotcha at bubblenet.be Thu Jul 26 16:36:21 2007 From: gotcha at bubblenet.be (Godefroid Chapelle) Date: Thu, 26 Jul 2007 16:36:21 +0200 Subject: [Kss-devel] Webdesign mockups In-Reply-To: <46A8AFBF.9070004@bubblenet.be> References: <46A8AD03.1090101@xs4all.nl> <46A8AFBF.9070004@bubblenet.be> Message-ID: <46A8B165.20808@bubblenet.be> Godefroid Chapelle wrote: > Jeroen Vloothuis wrote: >> A colleague (Linda) has created a few mock ups for the KSS website. >> These are her initial thoughts and pretty rough. So any feedback is >> appreciated. >> > Thanks for the work. > > a few quick remarks : > > I see no difference between voorbeeldb and voorbeeldc I looked better and saw the difference... > > I like b better than a as it's more colorfull. It's still too white imo. > b being better than c as well for the same reason. > finally, I like the idea of big icons on the home page... > but they should not coexist with the orange bar for navigation. > > which could be used inside the site. > > my 2 cents. -- Godefroid Chapelle (aka __gotcha)- BubbleNet http://bubblenet.be From dokter at w20e.com Thu Jul 26 16:39:44 2007 From: dokter at w20e.com (Duco Dokter) Date: Thu, 26 Jul 2007 16:39:44 +0200 Subject: [Kss-devel] Webdesign mockups In-Reply-To: <46A8AD03.1090101@xs4all.nl> References: <46A8AD03.1090101@xs4all.nl> Message-ID: <200707261639.44872.dokter@w20e.com> On Thursday 26 July 2007 16:17:39 Jeroen Vloothuis wrote: Pretty cool design. Maybe the contrast between the nice big icons and the background could be a tad bigger. In other words: greyer icons. Other then that I think I'd prefer b/c, given the extra space at the left bar for news and the likes. > A colleague (Linda) has created a few mock ups for the KSS website. > These are her initial thoughts and pretty rough. So any feedback is > appreciated. -- A horse! A horse! My kingdom for a horse! -- Wm. Shakespeare, "Henry VI" From ree at ree.hu Thu Jul 26 16:44:30 2007 From: ree at ree.hu (Balazs Ree) Date: Thu, 26 Jul 2007 16:44:30 +0200 Subject: [Kss-devel] Webdesign mockups References: <46A8AD03.1090101@xs4all.nl> Message-ID: Thu, 26 Jul 2007 16:17:39 +0200 keltez?ssel Jeroen Vloothuis azt ?rta: > A colleague (Linda) has created a few mock ups for the KSS website. > These are her initial thoughts and pretty rough. So any feedback is > appreciated. I would like to make one observation before going to the real discussion. The color you use is not the color we finally approved. This color that you use for the mockup is actually the preview version Jola made first, 240, 77, 37. I liked this color actually but we concluded "too red", not orange at all how we intended. The approved color was 255, 73, 22. -- Balazs Ree From ke.liew at gmail.com Thu Jul 26 17:03:45 2007 From: ke.liew at gmail.com (KE Liew) Date: Thu, 26 Jul 2007 17:03:45 +0200 Subject: [Kss-devel] Webdesign mockups In-Reply-To: References: <46A8AD03.1090101@xs4all.nl> Message-ID: You might be interested in checking out this palette set for the colour scheme. (Found from the approved colour). http://www.colourlovers.com/palette/89464/YTMND.com Big icons are tricky to play with. It kinda throws off the flow with others. Take note on sites that have big icons, they don't usually have lots of text around it. KwangErn On 7/26/07, Balazs Ree wrote: > > Thu, 26 Jul 2007 16:17:39 +0200 keltez?ssel Jeroen Vloothuis azt ?rta: > > > A colleague (Linda) has created a few mock ups for the KSS website. > > These are her initial thoughts and pretty rough. So any feedback is > > appreciated. > > I would like to make one observation before going to the real discussion. > The color you use is not the color we finally approved. > > This color that you use for the mockup is actually the preview version > Jola made first, 240, 77, 37. I liked this color actually but we > concluded "too red", not orange at all how we intended. > > The approved color was 255, 73, 22. > > -- > Balazs Ree > > _______________________________________________ > Kss-devel mailing list > Kss-devel at codespeak.net > http://codespeak.net/mailman/listinfo/kss-devel > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://codespeak.net/pipermail/kss-devel/attachments/20070726/834f1425/attachment.htm From gotcha at bubblenet.be Thu Jul 26 17:52:51 2007 From: gotcha at bubblenet.be (Godefroid Chapelle) Date: Thu, 26 Jul 2007 17:52:51 +0200 Subject: [Kss-devel] Webdesign mockups In-Reply-To: References: <46A8AD03.1090101@xs4all.nl> Message-ID: <46A8C353.2020409@bubblenet.be> KE Liew wrote: > You might be interested in checking out this palette set for the colour > scheme. (Found from the approved colour). > > http://www.colourlovers.com/palette/89464/YTMND.com > When checking this page, I must say I really like HEX: #FAFAED RGB: 250, 250, 237 HEX: #F0F0D8 RGB: 240, 240, 216 instead of plain white... The grays are a bit too sad imo. > > Big icons are tricky to play with. It kinda throws off the flow with > others. Take note on sites that have big icons, they don't usually have > lots of text around it. right, but home page should not have too much text. unless you are a portal. > > > KwangErn > -- Godefroid Chapelle (aka __gotcha)- BubbleNet http://bubblenet.be From shywolf9982 at gmail.com Tue Jul 31 17:10:59 2007 From: shywolf9982 at gmail.com (Simone Deponti) Date: Tue, 31 Jul 2007 17:10:59 +0200 Subject: [Kss-devel] Webdesign mockups References: <46A8AD03.1090101@xs4all.nl> Message-ID: <20070731171059.17d65848@localhost.localdomain> On Thu, 26 Jul 2007 16:17:39 +0200 Jeroen Vloothuis wrote: > A colleague (Linda) has created a few mock ups for the KSS website. > These are her initial thoughts and pretty rough. So any feedback is > appreciated. > > A colleague of mine has created a mockup (with a self-designed logo) aswell, since he was working on this from a bit ago (I think I mentioned in previous mails). Content is taken straight out from the old site to give a rough preview. As a side note, he told me he decided to use the shark in the logo to emphasize that KSS adds "movement" to your page (sharks die if they don't move) and hence addressing the "kinetic" part of the name :). He also told me the shark was a good metaphor for KSS "eating up" your javascript, although I'm not entirely sure if he was joking on this or not :O. Well, hope to have some feedback -- Simone Deponti hm. I've lost a machine.. literally _lost_. it responds to ping, it works completely, I just can't figure out where in my apartment it is. -------------- next part -------------- A non-text attachment was scrubbed... Name: KSS_layout_site.jpg Type: image/jpeg Size: 626348 bytes Desc: not available Url : http://codespeak.net/pipermail/kss-devel/attachments/20070731/4303431c/attachment-0001.jpg