From akuhn at gmx.ch Thu May 1 22:33:20 2008 From: akuhn at gmx.ch (Adrian Kuhn) Date: Thu, 1 May 2008 22:33:20 +0200 Subject: Smallwiki update Message-ID: <7858DDFB-AD69-4B8A-A744-B93B61B361F1@gmx.ch> There are new versions of both Smallwiki and Smallwiki SCG on Bern Store Changes Smallwiki - Metatag Redirect - Metatag Custom RSS - RSS fix moved here from Smallwiki SCG Changes Smallwiki SCG - Using new Google Analytics script - No analytics for internal and logged in users - Logged in users have access to internal pages Alas I was not able to checkout Smallwiki in a fresh image to run the test (in the SCG wiki 9 tests fail due to changes in Smallwiki SCG). There seems to be an issue with Store and version ids. cheers, AA From girba at iam.unibe.ch Sat May 3 22:45:58 2008 From: girba at iam.unibe.ch (Tudor Girba) Date: Sat, 3 May 2008 22:45:58 +0200 Subject: pier blog and google reader Message-ID: <64FB5A1F-3E96-4CA6-8AAC-BEE254C3D51B@iam.unibe.ch> Hi, I just noticed that Google Reader does not manage to read a Pier blog. I tried with both ming and Lukas, and it finds "no items". Any idea why? Cheers, Doru -- www.tudorgirba.com www.tudorgirba.com/blog "When people care, great things can happen." From renggli at iam.unibe.ch Sat May 3 23:00:16 2008 From: renggli at iam.unibe.ch (Lukas Renggli) Date: Sat, 3 May 2008 23:00:16 +0200 Subject: pier blog and google reader In-Reply-To: <64FB5A1F-3E96-4CA6-8AAC-BEE254C3D51B@iam.unibe.ch> References: <64FB5A1F-3E96-4CA6-8AAC-BEE254C3D51B@iam.unibe.ch> Message-ID: Hi Doru, it works over here. See the screenshot of my blog. Lukas -------------- next part -------------- A non-text attachment was scrubbed... Name: Picture 1.png Type: image/png Size: 69390 bytes Desc: not available Url : http://www.iam.unibe.ch/pipermail/smallwiki/attachments/20080503/5436f3c0/Picture1-0001.png -------------- next part -------------- On May 3, 2008, at 22:45 , Tudor Girba wrote: > Hi, > > I just noticed that Google Reader does not manage to read a Pier blog. > I tried with both ming and Lukas, and it finds "no items". > > Any idea why? > > Cheers, > Doru > > -- > www.tudorgirba.com > www.tudorgirba.com/blog > > "When people care, great things can happen." > > > > _______________________________________________ > SmallWiki, Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki -- Lukas Renggli http://www.lukas-renggli.ch From dtrussardi at tiscali.it Mon May 5 15:46:08 2008 From: dtrussardi at tiscali.it (Dario Trussardi) Date: Mon, 5 May 2008 15:46:08 +0200 Subject: MASingleOptionDescription optionsAndLabels asDynamicObject d'ont work Message-ID: <014101c8aeb6$63aaadb0$0301a8c0@istcamuno> Hi All, i have one description based on MASingleOptionDescription. Now it work well when define the items with the options:[ MACityModel DataBase asArray] asDynamicObject. But because i need to view more text for any item in the list, i define the options with the method optionsAndLabels:[( MACityModel DataBase asArray) collect:[:itm| Association key: itm value: itm display]] asDynamicObject With it the list is right create but d'ont update at " dynamic time " with new item or change to MACityModel DataBase items. How i can solve my problem ? " I thinks to found the same problem with MAMultipleOptionsDescription " Thanks for any consideration, Dario -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.iam.unibe.ch/pipermail/smallwiki/attachments/20080505/fc6b0aed/attachment.html From dtrussardi at tiscali.it Mon May 5 16:51:30 2008 From: dtrussardi at tiscali.it (Dario Trussardi) Date: Mon, 5 May 2008 16:51:30 +0200 Subject: Descriptions definition Message-ID: <019e01c8aebf$8a491110$0301a8c0@istcamuno> Hi, i work with Magritte framework for define more data about one specific problem. Now some data is defined as subclass of another class. For example : SuperClass with descriptionCode with descriptionComment with descriptionAddress with descriptionReference and ...... SubClassOptionA with descriptionCostumer and ....other specific description for OptionA SubClassOptionB with descriptionSupply and ..... other specific description for OptionB My questions are : A) What's the best method for not replicate the SuperClass descriptions ? B) If i need to change the label of the priority of one of SuperClass description how i can do it ? C) When i need to do copy of one description and after send to the copy specific messages ? D) When i have a specific description, for example descriptionNazionality based on MASingleOptionDescription, and i have in the "data base" some reference to it , i can define only one basic descriptionNationality and use it ( or copy of it ) with specific attribute ( label priority accessor ) ? What's the solution for have the best performance ? ( I think to port it to GLASS ) Any pointers would be greatly appreciated! Thanks! Dario -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.iam.unibe.ch/pipermail/smallwiki/attachments/20080505/3046cfd4/attachment.html From matthias.berth at googlemail.com Mon May 5 18:19:26 2008 From: matthias.berth at googlemail.com (Matthias Berth) Date: Mon, 5 May 2008 18:19:26 +0200 Subject: Descriptions definition In-Reply-To: <019e01c8aebf$8a491110$0301a8c0@istcamuno> References: <019e01c8aebf$8a491110$0301a8c0@istcamuno> Message-ID: <9aa6ae270805050919s1f9f41eao8eca9cc9bcd63f12@mail.gmail.com> Hi :-) On Mon, May 5, 2008 at 4:51 PM, Dario Trussardi wrote: > > > Hi, > > i work with Magritte framework for define more data about one specific > problem. > > Now some data is defined as subclass of another class. > [...] > My questions are : > > A) What's the best method for not replicate the SuperClass descriptions ? You just add the descriptions for the new attributes to the subclasses. Descriptions are inherited. > B) If i need to change the label of the priority of one of SuperClass > description how i can do it ? Override the superclass method with the modified description. > C) When i need to do copy of one description and after send to the copy > specific messages ? > > D) When i have a specific description, > for example descriptionNazionality based on MASingleOptionDescription, > and i have in the "data base" some reference to it , > i can define only one basic descriptionNationality and use it ( or copy > of it ) with specific attribute ( label priority accessor ) ? I don't understand what you want to do. Maybe http://onsmalltalk.com/programming/smalltalk/using-magritte-with-seaside/ can give you some hints? > What's the solution for have the best performance ? ( I think to port > it to GLASS ) I'd advise you to program the solution that is the simplest to program. Maybe the performance of that solution is completely OK for your application. For persistence, see also http://onsmalltalk.com/programming/smalltalk/simple-image-based-persistence-in-squeak/ Cheers Matthias From renggli at iam.unibe.ch Mon May 5 23:40:40 2008 From: renggli at iam.unibe.ch (Lukas Renggli) Date: Mon, 5 May 2008 23:40:40 +0200 Subject: MASingleOptionDescription optionsAndLabels asDynamicObject d'ont work In-Reply-To: <014101c8aeb6$63aaadb0$0301a8c0@istcamuno> References: <014101c8aeb6$63aaadb0$0301a8c0@istcamuno> Message-ID: <001F65CF-85A0-4EBE-8C13-3CC7D3B7338F@iam.unibe.ch> On May 5, 2008, at 15:46 , Dario Trussardi wrote: > Hi All, > > i have one description based on MASingleOptionDescription. > > Now it work well when define the items with the options: > [ MACityModel DataBase asArray] asDynamicObject. > > But because i need to view more text for any item in the list, > i define the options with the method > > optionsAndLabels:[( MACityModel DataBase asArray) collect:[:itm| > Association key: itm value: itm display]] asDynamicObject > > With it the list is right create but d'ont update at " dynamic time > " with new item or change to MACityModel DataBase items. > > How i can solve my problem ? If you look at #optionsAndLabels: you see that the code disassembles the list. #options: does not do that. So if you want to use #optionsAndLabels: you can't use #asDynamicObject. As you can read in the FAQ I discourage to use #asDynamicObject anyway. http://www.lukas-renggli.ch/smalltalk/magritte/faq I suggest to use option (1). Cheers, Lukas -- Lukas Renggli http://www.lukas-renggli.ch From m.coba.m at gmail.com Tue May 6 01:28:43 2008 From: m.coba.m at gmail.com (=?ISO-8859-1?Q?Miguel_Enrique_Cob=E1_Mart=EDnez?=) Date: Mon, 05 May 2008 18:28:43 -0500 Subject: Magritte descriptions in hierarchies of classes Message-ID: <481F982B.4000802@gmail.com> Suppose I have a hierarchy like this: Object subclass: #ClassA instanceVariableNames: 'name' classVariableNames: '' poolDictionaries: '' category: 'Example' ClassA subclass: #ClassB instanceVariableNames: 'bInstVar' classVariableNames: '' poolDictionaries: '' category: 'Example' ClassB subclass: #ClassC1 instanceVariableNames: 'c1InstVar' classVariableNames: '' poolDictionaries: '' category: 'Example' ClassB subclass: #ClassC2 instanceVariableNames: 'c2InstVar' classVariableNames: '' poolDictionaries: '' category: 'Azteca-Model' ClassA is just an abstract parent with the common functionality for the other classes. Same for ClassB. Only objects from ClassC1 and ClassC2 are to be created. Should I create a "descriptionName" method in the class side of ClassA to be inherited for ClassC1 and ClassC2 or should I create a "descriptionName" once for each of ClassC1, ClassC2. The same question about the inst vars for ClassB. Summary, when you have a previously created hierarchy of classes and you are trying to refactor code (deleting duplicated code and replace it with magritte) how should you proceed? It is valid to inherit the descriptions of parent classes? What if for ClassC1 name should be displayed as 'Name' and for ClassC2 should be displayed 'Title'? Regards, Miguel Cob? From estebanlm at gmail.com Wed May 7 21:17:25 2008 From: estebanlm at gmail.com (Esteban Lorenzano) Date: Wed, 7 May 2008 16:17:25 -0300 Subject: Magritte question: how to describe a Dictionary? Message-ID: Hi, Let's say I have to fill a Dictionary, with pairs of "size->price", and I need to allow users to fill that dictionary... How do I have to describe that with magritte? Is it possible? Thanks, Esteban "Querer es suscitar las paradojas" Camus - El mito de S?sifo -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.iam.unibe.ch/pipermail/smallwiki/attachments/20080507/28970873/attachment-0001.html From girba at iam.unibe.ch Sat May 17 12:26:27 2008 From: girba at iam.unibe.ch (Tudor Girba) Date: Sat, 17 May 2008 12:26:27 +0200 Subject: meta tags Message-ID: Hi, I would like to give the Google Webmaster Tools a try, and for that I need to authenticate that I am the owner of the site. For this to happen, I need to add a meta tag in my Pier pages. The only way I know is to go add it in the updateRoot method, but this should be supported by Pier at a user level. Is there a way to do this? If not, what would be the possible solutions? Cheers, Doru -- www.tudorgirba.com www.tudorgirba.com/blog "Every now and then stop and ask yourself if the war you're fighting is the right one." From girba at iam.unibe.ch Sat May 17 12:35:06 2008 From: girba at iam.unibe.ch (Tudor Girba) Date: Sat, 17 May 2008 12:35:06 +0200 Subject: meta tags In-Reply-To: References: Message-ID: Actually, you can also verify that you own a webpage for Google Webmaster Tools by just adding a new page with a given name. Still, I think the discussion still stands :). Doru On May 17, 2008, at 12:26 PM, Tudor Girba wrote: > Hi, > > I would like to give the Google Webmaster Tools a try, and for that I > need to authenticate that I am the owner of the site. For this to > happen, I need to add a meta tag in my Pier pages. > > The only way I know is to go add it in the updateRoot method, but this > should be supported by Pier at a user level. Is there a way to do > this? If not, what would be the possible solutions? > > Cheers, > Doru > > > -- > www.tudorgirba.com > www.tudorgirba.com/blog > > "Every now and then stop and ask yourself if the war you're fighting > is the right one." > > > > _______________________________________________ > SmallWiki, Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki -- www.tudorgirba.com www.tudorgirba.com/blog "The coherence of a trip is given by the clearness of the goal." From philippe.marschall at gmail.com Sat May 17 12:54:39 2008 From: philippe.marschall at gmail.com (Philippe Marschall) Date: Sat, 17 May 2008 12:54:39 +0200 Subject: meta tags In-Reply-To: References: Message-ID: <66666f210805170354j3f3019f7v909cafe86909b9f5@mail.gmail.com> 2008/5/17, Tudor Girba : > Hi, > > I would like to give the Google Webmaster Tools a try, and for that I > need to authenticate that I am the owner of the site. For this to > happen, I need to add a meta tag in my Pier pages. > > The only way I know is to go add it in the updateRoot method, but this > should be supported by Pier at a user level. Is there a way to do > this? If not, what would be the possible solutions? Pier-Google-pmm.4 and newer have a 'Google Webmaster Tools' widget that should help you. Cheers Philippe From philippe.marschall at gmail.com Sat May 17 12:55:57 2008 From: philippe.marschall at gmail.com (Philippe Marschall) Date: Sat, 17 May 2008 12:55:57 +0200 Subject: meta tags In-Reply-To: <66666f210805170354j3f3019f7v909cafe86909b9f5@mail.gmail.com> References: <66666f210805170354j3f3019f7v909cafe86909b9f5@mail.gmail.com> Message-ID: <66666f210805170355jf16434am8e9e8e9f48da458f@mail.gmail.com> 2008/5/17, Philippe Marschall : > 2008/5/17, Tudor Girba : > > > Hi, > > > > I would like to give the Google Webmaster Tools a try, and for that I > > need to authenticate that I am the owner of the site. For this to > > happen, I need to add a meta tag in my Pier pages. > > > > The only way I know is to go add it in the updateRoot method, but this > > should be supported by Pier at a user level. Is there a way to do > > this? If not, what would be the possible solutions? > > > Pier-Google-pmm.4 and newer have a 'Google Webmaster Tools' widget > that should help you. Also check out the Sitemap plugin to get the most out of Google Webmaster Tools. Cheers Philippe From michael.markowski at gmail.com Tue May 20 10:40:15 2008 From: michael.markowski at gmail.com (Michael Markowski) Date: Tue, 20 May 2008 10:40:15 +0200 Subject: [Pier] Add meta tags Message-ID: <54660547-D3F8-416D-98A8-8C9DA969DA4A@gmail.com> Hi, where would be the best place to put additional meta tags (like a verify tag for google)? I found some settings for the Contents component (Heading, Head title,...) but I need to place additional Infos. Another basic newbie question: What would be the best way to find out which class contains the rendering method for a component? Example: If I look at the html output of seaside, The ability to comment times out after some time. hth, Adriaan. > Hi, > I'm a little bit puzzled. I have a page with a blog, and authorization > to add comments to "others", but the comment post component is not > being displayed... I'm missing something? > > Thanks, > Esteban > > "Querer es suscitar las paradojas" > Camus - El mito de S?sifo > > > > _______________________________________________ > SmallWiki, Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > > -- http://www.a3aan.st From renggli at iam.unibe.ch Fri May 23 17:23:46 2008 From: renggli at iam.unibe.ch (Lukas Renggli) Date: Fri, 23 May 2008 17:23:46 +0200 Subject: Comments on blogs? In-Reply-To: <8156.193.173.83.5.1211555944.squirrel@webmail.xs4all.nl> References: <8156.193.173.83.5.1211555944.squirrel@webmail.xs4all.nl> Message-ID: > The ability to comment times out after some time. This is an editable preference on the blog structure. You can set it to 0 to disable comments. Or set it to something incredibly high to enable comments forever. Lukas > > > hth, > Adriaan. > >> Hi, >> I'm a little bit puzzled. I have a page with a blog, and >> authorization >> to add comments to "others", but the comment post component is not >> being displayed... I'm missing something? >> >> Thanks, >> Esteban >> >> "Querer es suscitar las paradojas" >> Camus - El mito de S?sifo >> >> >> >> _______________________________________________ >> SmallWiki, Magritte, Pier and Related Tools ... >> https://www.iam.unibe.ch/mailman/listinfo/smallwiki >> >> > > > -- > http://www.a3aan.st > > > _______________________________________________ > SmallWiki, Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -- Lukas Renggli http://www.lukas-renggli.ch From keith_hodges at yahoo.co.uk Mon May 26 14:01:12 2008 From: keith_hodges at yahoo.co.uk (Keith Hodges) Date: Mon, 26 May 2008 13:01:12 +0100 Subject: [Ann] Pier-Jetsam-Environment with Themeable classic Pier 1.0.0 ui Message-ID: <483AA688.4020806@yahoo.co.uk> Hello All, Pier-Jetsam-Environment moves all configuration and initialization of a pier kernel to subclasses of PRPierFrame. 1. Just switch your seaside application's PRPierFrame component to switch to a different style and layout (even switch to a different style framework). 2. Set up a second entry point to your Pier instance with a different style. e.g. http://admin.mypier.example this allows a simple way to support admin users without needing Pier-Security. 3. Embed your pier instance in another seaside app, with a specialised style for that app as provided by the root frame component that you choose to embed. 4. The standard scheme of user editable environments still works as before except that new environments get auto initialized. enjoy Keith p.s. feedback invited =========== PRPierFrameStandardBP ================== The same policies and layout as the current pier release, except that no 'environment' is initially needed. If you provide 'environment' with empty contents it will be initialized automatically. PRPierFrameNewBP ================ As above except that the layout is obtained/initialized in $environment/layout PRPierFrameCWS and subclasses ======================== As above except that the style framework is based upon "Content With Style" css framework. The framework uses a single layout definition, but provides a number of common layouts via CSS variants. The options are "#layout1colCss " #layoutnavtopsubrightCss "#layoutnavtop3colCss "" #layoutnavtop1colCss "" #layoutnavleft1colCss "" #layoutnavleft2colCss "" #layoutnavtoplocalleftCss " see: http://www.contentwithstyle.co.uk/Articles/17/a-css-framework PRPierFrameAdminBP - Themeable classic pier 1.0.0 ui ======================================== The old classic pier admin UI (including the tree navigation widget) All colors in css are referenced to method selectors for easy theming. (Subclass and override #colorMethods) Updated to use "Nifty Corners" so that rounded corners show in Internet Explorer. Updated to use transparent png, so that the color of the banner and the logo can be changed in a single method. There is still a little bit of work to get the css working cross browser feedback as always appreciated Keith From keith_hodges at yahoo.co.uk Mon May 26 17:12:51 2008 From: keith_hodges at yahoo.co.uk (Keith Hodges) Date: Mon, 26 May 2008 16:12:51 +0100 Subject: [Ann] Pier-Jetsam-Environment with Themeable classic Pier 1.0.0 ui In-Reply-To: <483AA688.4020806@yahoo.co.uk> References: <483AA688.4020806@yahoo.co.uk> Message-ID: <483AD373.7020303@yahoo.co.uk> > PRPierFrameAdminBP - Themeable classic pier 1.0.0 ui > ======================================== > The old classic pier admin UI (including the tree navigation widget) > I just abandoned the idea of using the Blueprint grid to layout the classic ui. The table based layout is much more fluid all round, and the arguments used for css in favour of tables do not really apply to us with Pier. The argument is usually something along the lines of the content markup being too layout-specific. However in Pier, the semantic markup is not HTML, but instead it is the object model. Secondly it is trivial to write an alternative table layout to go with a new css style sheet. basically we can have the best of all worlds. best regards Keith From estebanlm at gmail.com Tue May 27 23:46:24 2008 From: estebanlm at gmail.com (Esteban Lorenzano) Date: Tue, 27 May 2008 18:46:24 -0300 Subject: MABlockAccessor? Message-ID: Why MABlockAccessor goes in Magritte-Model-lr.313? Is deprecated? What is suppossed to use instead? Cheers, Esteban "Querer es suscitar las paradojas" Camus - El mito de S?sifo From renggli at iam.unibe.ch Tue May 27 23:51:41 2008 From: renggli at iam.unibe.ch (Lukas Renggli) Date: Tue, 27 May 2008 23:51:41 +0200 Subject: MABlockAccessor? In-Reply-To: References: Message-ID: <5023725B-CD85-4C3D-BAE0-D508C62A594D@iam.unibe.ch> > Why MABlockAccessor goes in Magritte-Model-lr.313? Is deprecated? What > is suppossed to use instead? Mhh, sorry about that. It is now called MAPluggableAccessor. Lukas -- Lukas Renggli http://www.lukas-renggli.ch From estebanlm at gmail.com Thu May 29 15:50:28 2008 From: estebanlm at gmail.com (Esteban Lorenzano) Date: Thu, 29 May 2008 10:50:28 -0300 Subject: a couple of questions on magritte Message-ID: Hi, I'm building a complete -but simple- application based on magritte, and having a couple of doubts: -How do I add a "caption" (title) to a form created with "asComponent". I can add a decoration, but I wonder if there are a more "standard" way. -I want to validate some complex input (where field A depends on field B, for example). How do I add conditions to containers? is the only way override #description and building a container my own? Thanks, Esteban "Querer es suscitar las paradojas" Camus - El mito de S?sifo From matthias.berth at googlemail.com Thu May 29 16:22:16 2008 From: matthias.berth at googlemail.com (Matthias Berth) Date: Thu, 29 May 2008 16:22:16 +0200 Subject: a couple of questions on magritte In-Reply-To: References: Message-ID: <9aa6ae270805290722w6d054516u74c287b49f94c434@mail.gmail.com> Hi, for your second question have a look at http://onsmalltalk.com/programming/smalltalk/using-magritte-with-seaside/ under Conditions ("Conditions"), and the other blogpost linked therein. Cheers Matthias On Thu, May 29, 2008 at 3:50 PM, Esteban Lorenzano wrote: > Hi, > I'm building a complete -but simple- application based on magritte, > and having a couple of doubts: > > -How do I add a "caption" (title) to a form created with > "asComponent". I can add a decoration, but I wonder if there are a > more "standard" way. > -I want to validate some complex input (where field A depends on field > B, for example). How do I add conditions to containers? is the only > way override #description and building a container my own? > > Thanks, > Esteban > > "Querer es suscitar las paradojas" > Camus - El mito de S?sifo > > > > _______________________________________________ > SmallWiki, Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki >