From enrico.spinielli at googlemail.com Mon Nov 1 14:42:57 2010 From: enrico.spinielli at googlemail.com (Enrico Spinielli) Date: Mon, 1 Nov 2010 14:42:57 +0100 Subject: Beautiful Math for Pier Message-ID: Hi all, I just implemented a proof-of-concept extension for Pier: PRMath. It uses MathJax, http://http://www.mathjax.org/, to display math formulae with style: you can use [La]TeX syntax! I created a squeak source project open to all to contribute at http://www.squeaksource.com/PRMath and there are ToDo's for anybody (more knowledgeable than me) to contribute. Just to give you an idea of what it is, I attach a snapshot of it in action. Hope you like it and contribute (or even copy/enhance/fork/use/misuse...) Bye Enrico PS: note that current PRMath implementation refers to MathJax deployment, which is _NOT_ polite, as explicitly written in MathJax site: Please do not link to the copy of MathJax at www.mathjax.org, as we do not have the resources to act as a web service for all the sites on the web that would like to display mathematics. -- Enrico Spinielli "Do Androids dream of electric sheep?"? Philip K. Dick "Hear and forget; see and remember;do and understand."?Mitchel Resnick -------------- next part -------------- A non-text attachment was scrubbed... Name: beautiful math in Pier.png Type: image/png Size: 40263 bytes Desc: not available URL: From renggli at gmail.com Tue Nov 2 10:06:44 2010 From: renggli at gmail.com (Lukas Renggli) Date: Tue, 2 Nov 2010 10:06:44 +0100 Subject: Beautiful Math for Pier In-Reply-To: References: Message-ID: Very cool plugin! I am sure you know that there is a similar plugin that locally calls LaTeX in the package Pier-Math in http://source.lukas-renggli.ch/pieraddons/. Lukas On 1 November 2010 14:42, Enrico Spinielli wrote: > Hi all, > I just implemented a proof-of-concept extension for Pier: PRMath. > It uses MathJax, http://http://www.mathjax.org/, to display math formulae > with style: you can use [La]TeX syntax! > > I created a squeak source project open to all to contribute at > ?http://www.squeaksource.com/PRMath > and there are ToDo's for anybody (more knowledgeable than me) to contribute. > > Just to give you an idea of what it is, I attach a snapshot of it in action. > Hope you like it and contribute (or even copy/enhance/fork/use/misuse...) > Bye > Enrico > PS: note that current PRMath implementation refers to MathJax > deployment, which is > _NOT_ polite, as explicitly written in MathJax site: > Please do not link to the copy of MathJax at www.mathjax.org, as we do not have > the resources to act as a web service for all the sites on the web > that would like to > display mathematics. > > -- > Enrico Spinielli > "Do Androids dream of electric sheep?"? Philip K. Dick > "Hear and forget; see and remember;do and understand."?Mitchel Resnick > > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -- Lukas Renggli www.lukas-renggli.ch From tudor.girba at gmail.com Tue Nov 2 10:25:55 2010 From: tudor.girba at gmail.com (Tudor Girba) Date: Tue, 2 Nov 2010 10:25:55 +0100 Subject: Beautiful Math for Pier In-Reply-To: References: Message-ID: Very cool indeed. How are you rendering the formulas (I did not look at the code yet)? Cheers, Doru On 2 Nov 2010, at 10:06, Lukas Renggli wrote: > Very cool plugin! > > I am sure you know that there is a similar plugin that locally calls > LaTeX in the package Pier-Math in > http://source.lukas-renggli.ch/pieraddons/. > > Lukas > > > On 1 November 2010 14:42, Enrico Spinielli > wrote: >> Hi all, >> I just implemented a proof-of-concept extension for Pier: PRMath. >> It uses MathJax, http://http://www.mathjax.org/, to display math formulae >> with style: you can use [La]TeX syntax! >> >> I created a squeak source project open to all to contribute at >> http://www.squeaksource.com/PRMath >> and there are ToDo's for anybody (more knowledgeable than me) to contribute. >> >> Just to give you an idea of what it is, I attach a snapshot of it in action. >> Hope you like it and contribute (or even copy/enhance/fork/use/misuse...) >> Bye >> Enrico >> PS: note that current PRMath implementation refers to MathJax >> deployment, which is >> _NOT_ polite, as explicitly written in MathJax site: >> Please do not link to the copy of MathJax at www.mathjax.org, as we do not have >> the resources to act as a web service for all the sites on the web >> that would like to >> display mathematics. >> >> -- >> Enrico Spinielli >> "Do Androids dream of electric sheep?"? Philip K. Dick >> "Hear and forget; see and remember;do and understand."?Mitchel Resnick >> >> _______________________________________________ >> Magritte, Pier and Related Tools ... >> https://www.iam.unibe.ch/mailman/listinfo/smallwiki >> > > > > -- > Lukas Renggli > www.lukas-renggli.ch > > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki -- www.tudorgirba.com "We cannot reach the flow of things unless we let go." From enrico.spinielli at googlemail.com Tue Nov 2 14:48:23 2010 From: enrico.spinielli at googlemail.com (espin) Date: Tue, 2 Nov 2010 06:48:23 -0700 (PDT) Subject: Beautiful Math for Pier In-Reply-To: References: Message-ID: <1288705703135-3023714.post@n4.nabble.com> Hi Lukas, PRMath does not require any LaTeX installation, all rendering is performed by MathJax (written in Javascript...sponsored by American Mathematical Sociaty among aothers...) The addon you mention probably allows to compile a (dvi/)pdf from a BOBook, I think, while PRMath is just an exercise for myself to understand your post on "Extending the Pier Parser" [1]...and with the following code it will integrate well (even if incompletely, i.e. lack of \label{}) with BOLatexXYZZY BOLatexWriter>>visitMath: anObject stream nextPutAll: anObject class markupBegin. stream nextPutAll: anObject text. stream nextPutAll: anObject class markupEnd. Bye Enrico Bye Enrico [1] http://www.lukas-renggli.ch/blog/extendingpierparser -- View this message in context: http://forum.world.st/Beautiful-Math-for-Pier-tp3022170p3023714.html Sent from the Magritte, Pier and Related Tools mailing list archive at Nabble.com. From enrico.spinielli at googlemail.com Tue Nov 2 14:52:59 2010 From: enrico.spinielli at googlemail.com (espin) Date: Tue, 2 Nov 2010 06:52:59 -0700 (PDT) Subject: Beautiful Math for Pier In-Reply-To: References: Message-ID: <1288705979757-3023721.post@n4.nabble.com> Hi Tudor, it is all done by MathJax, the wiki code I used is something like --------------- The following is a piece of Displayed Math: \[\frac{1}{\Bigl(\sqrt{\phi \sqrt{5}}-\phi\Bigr) e^{\frac25 \pi}} = 1+\frac{e^{-2\pi}} {1+\frac{e^{-4\pi}} {1+\frac{e^{-6\pi}} {1+\frac{e^{-8\pi}} {1+\ldots} } } }\] This, \(E = m c^2\), on the other end is a piece of Inline Math. --------------- The guys at MathJax have done miracles...(the code I wrote is just tiny and trivial and more needs to be done not to access relevant js from MathJax but from Seaside/Pier. Any suggestions and helps is welcome of course ;-) Bye Enrico -- View this message in context: http://forum.world.st/Beautiful-Math-for-Pier-tp3022170p3023721.html Sent from the Magritte, Pier and Related Tools mailing list archive at Nabble.com. From andy.burnett at knowinnovation.com Mon Nov 8 02:51:00 2010 From: andy.burnett at knowinnovation.com (Andy Burnett) Date: Sun, 7 Nov 2010 20:51:00 -0500 Subject: What is the correct root object from which to build a new component? Message-ID: I suspect this is a very basic question. I would like to use Pier as the basis of a group brainstorming system. In order to do this, I need to build a new component that would have a small text entry box, and a list display holding all the entries. It seems as though some other components have subclassed PRWidget, but not all of them. So, before I go shooting off down the wrong path, could someone explain if there is a best starting point? Cheers Andy -------------- next part -------------- An HTML attachment was scrubbed... URL: From lenglish5 at cox.net Mon Nov 8 03:20:45 2010 From: lenglish5 at cox.net (Lawson English) Date: Sun, 07 Nov 2010 19:20:45 -0700 Subject: What is the correct root object from which to build a new component? In-Reply-To: References: Message-ID: <4CD75E7D.60505@cox.net> > I suspect this is a very basic question. > > I would like to use Pier as the basis of a group brainstorming system. > In order to do this, I need to build a new component that would have > a small text entry box, and a list display holding all the entries. > > It seems as though some other components have subclassed PRWidget, but > not all of them. So, before I go shooting off down the wrong path, > could someone explain if there is a best starting point? > > Cheers > Andy > When you browse hierarchy on PRWidget, you see its a subclass of MAComponent. Browsing MAComponent it looks like all Pier components are subclased off of PRWidget, so it just becomes a matter of deciding which extra capabilities you want beyond what PRWIdget provides. I'm often wrong, of course. Lawson From norbert at hartl.name Mon Nov 8 08:19:59 2010 From: norbert at hartl.name (Norbert Hartl) Date: Mon, 8 Nov 2010 08:19:59 +0100 Subject: What is the correct root object from which to build a new component? In-Reply-To: References: Message-ID: <7E11AA60-9F75-427E-9950-11CEE0C9CF7F@hartl.name> On 08.11.2010, at 02:51, Andy Burnett wrote: > I suspect this is a very basic question. > > I would like to use Pier as the basis of a group brainstorming system. In order to do this, I need to build a new component that would have a small text entry box, and a list display holding all the entries. > > It seems as though some other components have subclassed PRWidget, but not all of them. So, before I go shooting off down the wrong path, could someone explain if there is a best starting point? > Just a short extension to Lawsons mail. It depends what you need to do. Pier is a system based on Magritte and Seaside. And that is reflected in the object hierarchie. To be able to do just a web component you need to subclass WAComponent. This component has just a dependency on seaside and can be run without pier. If you subclass MAComponent you can make use of Magritte related stuff. But then you also need Magritte to able to run your component. And finally PRWidget eases your use in a pier environment. And again pier is your dependency then. So if you only want to display a text box and a list that you define yourself than you should subclass WAComponent. hope this helps, Norbert From yanni at rogers.com Tue Nov 9 19:42:56 2010 From: yanni at rogers.com (Yanni Chiu) Date: Tue, 09 Nov 2010 13:42:56 -0500 Subject: what is status of Pier-FilesystemPersistence Message-ID: I've been looking at Pier-FilesystemPersistence, and have a few questions. The version comments seem to indicate it is still a work in progress. What work remains to be done? It looks like the change history is not persisted. What's a good way to do that - individual xml files, or a change log? The usage scenario seems to be: start image, import kernel, save pages. Would it be possible to do a lazy read of the kernel, instead of reading it in entirely, at image start up? How does it compare with SIXX persistence done for VA Smalltalk? -- Yanni Chiu From andy.burnett at knowinnovation.com Wed Nov 10 02:42:14 2010 From: andy.burnett at knowinnovation.com (Andy Burnett) Date: Tue, 9 Nov 2010 20:42:14 -0500 Subject: What is the correct root object from which to build a new component? Message-ID: > Just a short extension to Lawsons mail. It depends what you need to do. > Pier is a system based on Magritte and Seaside. And that is reflected in the > object hierarchie. To be able to do just a web component you need to > subclass WAComponent. This component has just a dependency on seaside and > can be run without pier. If you subclass MAComponent you can make use of > Magritte related stuff. But then you also need Magritte to able to run your > component. And finally PRWidget eases your use in a pier environment. And > again pier is your dependency then. > > So if you only want to display a text box and a list that you define > yourself than you should subclass WAComponent. > > hope this helps, > Thanks guys, that's very helpful. I am hoping to build a component that can access various attributes in the pier, logged in username - just for example. Would I be right in assuming that subclassing PRWidget is therefore my safest bet? I realise that this means I have more to learn, but it seems like a worthwhile investment. Cheers Andy -------------- next part -------------- An HTML attachment was scrubbed... URL: From jvdsandt at gmail.com Wed Nov 10 10:07:35 2010 From: jvdsandt at gmail.com (Jan van de Sandt) Date: Wed, 10 Nov 2010 10:07:35 +0100 Subject: what is status of Pier-FilesystemPersistence In-Reply-To: References: Message-ID: Hello Yanni, The idea of the Pier-FilesystemPersistence package is to have an export/import and persistence mechanism that stores the tree of PRStructure objects in a directory tree. Each instance of a subclass of PRStructure is represented by a single xml file. The xml file contains something like this: About this website bla bla bla .... With the current version you can export a Pier website to such a directory tree. Or a zip file containing such a tree. I am still working on using this functionality as a persistence mechanism. A few commands are already implemented but not all. And I haven't figured out yet how to handle the change history. One of the ideas I want to try out is to manage the directory tree with a SCM like subversion. On Tue, Nov 9, 2010 at 7:42 PM, Yanni Chiu wrote: > I've been looking at Pier-FilesystemPersistence, and have a few questions. > > The version comments seem to indicate it is still a work in progress. What > work remains to be done? > > It looks like the change history is not persisted. What's a good way to do > that - individual xml files, or a change log? > > The usage scenario seems to be: start image, import kernel, save pages. > Would it be possible to do a lazy read of the kernel, instead of reading it > in entirely, at image start up? > > Not yet. I think something like this can be implemented but it will require some changes to the Pier code. You need some kind of hook in the childrenDecoration od a PRStructure. > How does it compare with SIXX persistence done for VA Smalltalk? > > I don't know SIXX very well but I think it is a generic serialization mechanism for Smalltalk objects to XML. You don't have control over the xml schema with SIXX. And I'm not sure if it is possible with SIXX to store groups of related Smalltalk object in separate files. Pier-FilesystemPersistence uses the package Magritte-XMLBinding. WIth this package you can control the way Magritte objects (like PRStructure) are serialized to xml. So it is still work in progress. If you want to have a look at it, you can load it using the following Gofer script (I use a Pier2 image from the build server of Lukas Renggli as a base image): "XML Support" Gofer new squeaksource: 'XMLSupport'; package: 'XML-Parser'; load. "Load Filesystem" Gofer new renggli: 'fs'; package: 'Filesystem'; load. Gofer new renggli: 'magritte2addons'; package: 'Magritte-XMLBinding'; load. Gofer new renggli: 'pier2addons'; package: 'Pier-FilesystemPersistence'; load. Jan. -------------- next part -------------- An HTML attachment was scrubbed... URL: From yanni at rogers.com Wed Nov 10 17:27:53 2010 From: yanni at rogers.com (Yanni Chiu) Date: Wed, 10 Nov 2010 11:27:53 -0500 Subject: what is status of Pier-FilesystemPersistence In-Reply-To: References: Message-ID: On 10/11/10 4:07 AM, Jan van de Sandt wrote: > > So it is still work in progress. If you want to have a look at it, you > can load it using the following Gofer script (I use a Pier2 image from > the build server of Lukas Renggli as a base image): Thanks for the background info. I've already loaded it, and saved a Pier kernel to disk, and restored it into a somewhat working site. I had to use an older version of XMLSupport to have the tests pass, because the latest XML code outputs some spaces in different positions than before, so some string compares failed. I'm actual looking for a way to externalize the Pier kernel content, so that no image save needs to be done. I will try to look into how SIXX is utilized to save Pier content. -- Yanni From norbert at hartl.name Wed Nov 10 17:45:01 2010 From: norbert at hartl.name (Norbert Hartl) Date: Wed, 10 Nov 2010 17:45:01 +0100 Subject: what is status of Pier-FilesystemPersistence In-Reply-To: References: Message-ID: On 10.11.2010, at 17:27, Yanni Chiu wrote: > I will try to look into how SIXX is utilized to save Pier content. It just works. Sixx writes out the complete object graph and can read it back. Besides encoding there is less surprise to expect. Norbert From yanni at rogers.com Wed Nov 10 18:38:36 2010 From: yanni at rogers.com (Yanni Chiu) Date: Wed, 10 Nov 2010 12:38:36 -0500 Subject: what is status of Pier-FilesystemPersistence In-Reply-To: References: Message-ID: On 10/11/10 11:45 AM, Norbert Hartl wrote: > > On 10.11.2010, at 17:27, Yanni Chiu wrote: > >> I will try to look into how SIXX is utilized to save Pier content. > > It just works. Sixx writes out the complete object graph and can read > it back. Besides encoding there is less surprise to expect. That sounds like a good enough solution. As the change history grows, then start up time may become an issue, but that's down the road. From dhenrich at vmware.com Thu Nov 11 22:54:17 2010 From: dhenrich at vmware.com (Dale Henrichs) Date: Thu, 11 Nov 2010 13:54:17 -0800 Subject: [ANN] new versions of Seaside30 configurations released Message-ID: <4CDC6609.9040103@vmware.com> ConfigurationOfPierAddOns2 version '2.0.7' released. ConfigurationOfPier2 version '2.0.7' released. ConfigurationOfMagritte2 version '2.0.6' released. ConfigurationOfGrease version '1.0.1' released. ConfigurationOfSeaside30 version '3.0.1' released. ConfigurationOfKomHttpServer version '1.0.6' released. Tested against: - GLASS 1.0-beta8.4 - Squeak4.1 - Pharo1.0 - Pharo1.1.1-11414 All tests are green except on Squeak4.1 where MAExtensionsTest>>testTimePrintOn: is failing ... the Time>>print24:showSeconds:on: prints milliseconds in addition to seconds, so presumably this is a minor error. Dale From dtrussardi at tiscali.it Mon Nov 15 12:12:32 2010 From: dtrussardi at tiscali.it (dtrussardi at tiscali.it) Date: Mon, 15 Nov 2010 12:12:32 +0100 Subject: Pier2 2.0.7. questions Message-ID: Hi, i load the last version ( 2.0.7) of Pier2 and PiersAddOns2 into Pharo image. Now i don't found the PRAjaxSearchWidget. Because ? Thanks, Dario From nick.ager at gmail.com Mon Nov 15 13:03:11 2010 From: nick.ager at gmail.com (Nick Ager) Date: Mon, 15 Nov 2010 12:03:11 +0000 Subject: Pier2 2.0.7. questions In-Reply-To: References: Message-ID: Hi Dario, I think you need to specify specifically what add-ons you want to load - PRAjaxSearchWidget is in the group 'Pier-jQuery'. In Gemstone something like this works for me: Gofer project load: 'PierAddOns2' group: #('Pier-Blog' 'Pier-Book' 'Pier-Design' 'Pier-Documents' 'Pier-EditorEnh' 'Pier-Google' 'Pier-JQuery' 'Pier-LinkChecker' 'Pier-Setup' 'Pier-TagCloud'). or something like: ConfigurationOfPierAddOns2 project latestVersion load: #('Pier-Blog' 'Pier-Book' 'Pier-Design' 'Pier-Documents' 'Pier-EditorEnh' 'Pier-Google' 'Pier-JQuery' 'Pier-LinkChecker' 'Pier-Setup' 'Pier-TagCloud' 'Pier-Twitter'). or you can just use: Gofer project load: 'PierAddOns2' group: 'ALL'. ConfigurationOfPierAddOns2 project latestVersion load: 'ALL'. See: http://code.google.com/p/glassdb/wiki/Seaside30Configuration Nick On 15 November 2010 11:12, dtrussardi at tiscali.it wrote: > Hi, > > i load the last version ( 2.0.7) of Pier2 and PiersAddOns2 into > Pharo image. > > > Now i don't found the PRAjaxSearchWidget. > > Because ? > > Thanks, > > Dario > > > > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -------------- next part -------------- An HTML attachment was scrubbed... URL: From carlos.crosetti at mostar.com.ar Tue Nov 16 00:34:42 2010 From: carlos.crosetti at mostar.com.ar (Carlos Crosetti) Date: Mon, 15 Nov 2010 20:34:42 -0300 Subject: installing Magritte Message-ID: <6E4BDBB2218941DB9D36C7B10958E51F@MOSTAR> Hi, I got my Seaside 3.0 one click image loaded into my Windows box. What are the steps to follow to downlad Magritte? A working sample on Seaside with object editors will be appreciated, regards, Carlos -------------- next part -------------- An HTML attachment was scrubbed... URL: From renggli at gmail.com Tue Nov 16 11:56:24 2010 From: renggli at gmail.com (Lukas Renggli) Date: Tue, 16 Nov 2010 07:56:24 -0300 Subject: installing Magritte In-Reply-To: <6E4BDBB2218941DB9D36C7B10958E51F@MOSTAR> References: <6E4BDBB2218941DB9D36C7B10958E51F@MOSTAR> Message-ID: There are instructions on the website: http://www.lukas-renggli.ch/smalltalk/magritte Alternatively you use a ready-made image available from: Magritte 2, for just Seaside 3 and Magritte 2 Pier 2, for Seaside 3, Magritte 2, and Pier 2 For the Pier 2 image there is also one-click images available: http://hudson.lukas-renggli.ch/job/Pier%202/lastSuccessfulBuild/artifact/Pier-2.0-OneClick.zip Cheers, Lukas On 15 November 2010 20:34, Carlos Crosetti wrote: > Hi, I got my Seaside 3.0 one click image loaded into my Windows?box. > > What are the steps to follow to downlad?Magritte? > > A working sample on Seaside with object editors will be appreciated, > regards, Carlos > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -- Lukas Renggli www.lukas-renggli.ch From norbert at hartl.name Tue Nov 16 12:18:35 2010 From: norbert at hartl.name (Norbert Hartl) Date: Tue, 16 Nov 2010 12:18:35 +0100 Subject: kind and PriorityContainer Message-ID: <06BB09F8-E637-49B6-9ECB-FEB8BBA1A8A7@hartl.name> I have a problem understanding the scope of using MADescription>>kind. It does not work when being used on a priority container. If used on a MAContainer the validation fails because in MADescription>>validateKind: anObject "Validate ==anObject== to be of the right kind." (anObject isKindOf: self kind) ifFalse: [ MAKindError description: self signal: self kindErrorMessage ] anObject will be the memento and therefor it can not work unless self kind is Object. Is the scope of kind not meant to be used that way or is this a problem within magritte? thanks, Norbert From renggli at gmail.com Tue Nov 16 14:02:31 2010 From: renggli at gmail.com (Lukas Renggli) Date: Tue, 16 Nov 2010 10:02:31 -0300 Subject: installing Magritte In-Reply-To: References: <6E4BDBB2218941DB9D36C7B10958E51F@MOSTAR> Message-ID: I missed the URL here: > Alternatively you use a ready-made image available from : > > ? ?Magritte 2, for just Seaside 3 and Magritte 2 > ? ?Pier 2, for Seaside 3, Magritte 2, and Pier 2 -- Lukas Renggli www.lukas-renggli.ch From dhenrich at vmware.com Tue Nov 16 18:33:45 2010 From: dhenrich at vmware.com (Dale Henrichs) Date: Tue, 16 Nov 2010 09:33:45 -0800 Subject: installing Magritte In-Reply-To: References: <6E4BDBB2218941DB9D36C7B10958E51F@MOSTAR> Message-ID: <4CE2C079.5070106@vmware.com> Lukas, Looking at the load instructions on that page, I noticed that the GemStone instructions are out of date ... the instructions are similar to the pharo instructions as you use ConfigurationOfMagritte2 from http://seaside.gemstone.com/ss/MetacelloRepository. Also you should point out that ConfigurationOfMagritte is for Seaside2.8 and ConfigurationOfMagritte2 is for Seaside 3.0... Thanks, Dale On 11/16/2010 02:56 AM, Lukas Renggli wrote: > There are instructions on the website: > > http://www.lukas-renggli.ch/smalltalk/magritte > > Alternatively you use a ready-made image available from: > > Magritte 2, for just Seaside 3 and Magritte 2 > Pier 2, for Seaside 3, Magritte 2, and Pier 2 > > For the Pier 2 image there is also one-click images available: > > http://hudson.lukas-renggli.ch/job/Pier%202/lastSuccessfulBuild/artifact/Pier-2.0-OneClick.zip > > Cheers, > Lukas > > On 15 November 2010 20:34, Carlos Crosetti > wrote: >> Hi, I got my Seaside 3.0 one click image loaded into my Windows box. >> >> What are the steps to follow to downlad Magritte? >> >> A working sample on Seaside with object editors will be appreciated, >> regards, Carlos >> _______________________________________________ >> Magritte, Pier and Related Tools ... >> https://www.iam.unibe.ch/mailman/listinfo/smallwiki >> > > > From dhenrich at vmware.com Tue Nov 16 18:47:04 2010 From: dhenrich at vmware.com (Dale Henrichs) Date: Tue, 16 Nov 2010 09:47:04 -0800 Subject: installing Magritte In-Reply-To: <4CE2C079.5070106@vmware.com> References: <6E4BDBB2218941DB9D36C7B10958E51F@MOSTAR> <4CE2C079.5070106@vmware.com> Message-ID: <4CE2C398.4090901@vmware.com> Lukas, Both ConfigurationOfMagritte (for Seaside2.8) and ConfigrationOfMagritte2 (for Seaside3.0) can be used for GemStone... Dale On 11/16/2010 09:33 AM, Dale Henrichs wrote: > Lukas, > > Looking at the load instructions on that page, I noticed that the > GemStone instructions are out of date ... the instructions are similar > to the pharo instructions as you use ConfigurationOfMagritte2 from > http://seaside.gemstone.com/ss/MetacelloRepository. > > Also you should point out that ConfigurationOfMagritte is for Seaside2.8 > and ConfigurationOfMagritte2 is for Seaside 3.0... > > Thanks, > > Dale > > On 11/16/2010 02:56 AM, Lukas Renggli wrote: >> There are instructions on the website: >> >> http://www.lukas-renggli.ch/smalltalk/magritte >> >> Alternatively you use a ready-made image available from: >> >> Magritte 2, for just Seaside 3 and Magritte 2 >> Pier 2, for Seaside 3, Magritte 2, and Pier 2 >> >> For the Pier 2 image there is also one-click images available: >> >> http://hudson.lukas-renggli.ch/job/Pier%202/lastSuccessfulBuild/artifact/Pier-2.0-OneClick.zip >> >> Cheers, >> Lukas >> >> On 15 November 2010 20:34, Carlos Crosetti >> wrote: >>> Hi, I got my Seaside 3.0 one click image loaded into my Windows box. >>> >>> What are the steps to follow to downlad Magritte? >>> >>> A working sample on Seaside with object editors will be appreciated, >>> regards, Carlos >>> _______________________________________________ >>> Magritte, Pier and Related Tools ... >>> https://www.iam.unibe.ch/mailman/listinfo/smallwiki >>> >> >> >> > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki From norbert at hartl.name Tue Nov 16 21:22:23 2010 From: norbert at hartl.name (Norbert Hartl) Date: Tue, 16 Nov 2010 21:22:23 +0100 Subject: Providing lookup environment for descriptions Message-ID: <5908259D-A434-477F-B896-7313A2DE8442@hartl.name> I'm using some option descriptions. For resolving possible options of to be referenced objects I use something like options: [ HRExampleObject instances ] magritteDynamicObject; Now I'm trying to avoid using globals. Especially when dealing with gemstone it is not advizable to have class side instances management. Is there a way to specify some lookup environment to lookup something like the above? Norbert From agarcia at tdexa.com Wed Nov 17 04:49:13 2010 From: agarcia at tdexa.com (Alejandro Garcia) Date: Tue, 16 Nov 2010 21:49:13 -0600 Subject: installing Magritte In-Reply-To: <6E4BDBB2218941DB9D36C7B10958E51F@MOSTAR> References: <6E4BDBB2218941DB9D36C7B10958E51F@MOSTAR> Message-ID: Hi Carlos this are the instructions I used to install Magritte in the one-click Seaside 3.0 image. In Workspace window type: Gofer it squeaksource: 'MetacelloRepository'; package: 'ConfigurationOfMagritte2'; load. (ConfigurationOfMagritte2 project version: '2.0.5') load: #('Magritte-Seaside') More information: http://lists.squeakfoundation.org/pipermail/seaside/2010-November/024936.html On Mon, Nov 15, 2010 at 5:34 PM, Carlos Crosetti wrote: > Hi, I got my Seaside 3.0 one click image loaded into my Windows?box. > > What are the steps to follow to downlad?Magritte? > > A working sample on Seaside with object editors will be appreciated, > regards, Carlos > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > From norbert at hartl.name Wed Nov 17 10:34:44 2010 From: norbert at hartl.name (Norbert Hartl) Date: Wed, 17 Nov 2010 10:34:44 +0100 Subject: Providing lookup environment for descriptions In-Reply-To: <5908259D-A434-477F-B896-7313A2DE8442@hartl.name> References: <5908259D-A434-477F-B896-7313A2DE8442@hartl.name> Message-ID: <72A33AE7-DA2B-4A93-9365-0C2D8DF6C531@hartl.name> On 16.11.2010, at 21:22, Norbert Hartl wrote: > I'm using some option descriptions. For resolving possible options of to be referenced objects I use something like > > options: [ HRExampleObject instances ] magritteDynamicObject; > > Now I'm trying to avoid using globals. Especially when dealing with gemstone it is not advizable to have class side instances management. Is there a way to specify some lookup environment to lookup something like the above? > Well, the question was maybe too unspecific. At first I'm looking for a possibility to create options from the instance side while dealing with components. On my custom components I could do that easily by overwriting availableList. I'm just looking for a more generically applicable solution that does not force me to build a custom component for every case. thanks, Norbert From yanni at rogers.com Wed Nov 17 17:56:40 2010 From: yanni at rogers.com (Yanni Chiu) Date: Wed, 17 Nov 2010 11:56:40 -0500 Subject: Providing lookup environment for descriptions In-Reply-To: <72A33AE7-DA2B-4A93-9365-0C2D8DF6C531@hartl.name> References: <5908259D-A434-477F-B896-7313A2DE8442@hartl.name> <72A33AE7-DA2B-4A93-9365-0C2D8DF6C531@hartl.name> Message-ID: On 17/11/10 4:34 AM, Norbert Hartl wrote: > > Well, the question was maybe too unspecific. At first I'm looking for > a possibility to create options from the instance side while dealing > with components. I don't fully understand what you're trying to achieve, but how about you override #description on the instance side. Something like: description | desc instanceSpecificDesc | desc := super description copy. "Copy, else per class cache altered" desc add: (instanceSpecificDesc := self descriptionInstanceSpecific). instanceSpecificDesc optionsAndLabels: self buildOptionsAndLabels. "instanceSpecificDesc options: self buildOptions." A variation, to have all the descriptions documented on the class side, is as follows: description | desc customizedDesc | desc := super description copy. customizedDesc := desc detect: [:each | each label = 'Customized']. customizedDesc options: self customOptions. ^ desc From renggli at gmail.com Wed Nov 17 18:21:22 2010 From: renggli at gmail.com (Lukas Renggli) Date: Wed, 17 Nov 2010 14:21:22 -0300 Subject: Providing lookup environment for descriptions In-Reply-To: References: <5908259D-A434-477F-B896-7313A2DE8442@hartl.name> <72A33AE7-DA2B-4A93-9365-0C2D8DF6C531@hartl.name> Message-ID: The way Magritte builds descriptions by default has become quite a nuisance. Of course you can always do your own thing as Yanni describes, but I think that at some point Magritte should be improved in that regard. I wrote a proposal this summer of want to proceed on that, but of course I had to finish my writing and never actually found the time to implement it: -------------------- I propose to perform the following (non-backward compatible) changes in the Magritte 2 code-base to resolve some major annoyances and issues that keep on reoccurring: - Move descriptions from class-side to instance-side. This resolves various issues such as cache-invalidation, instance specific descriptions, dynamic descriptions, context dependent descriptions, etc. Furthermore the descriptions will be closer to the code they describe and it will be possible to describe class- and instance-side of an object, not just the instance-side. - Rename the method #description as the default entry point into Magritte to #magritteDescription. This avoids common problems where the domain model already defines such a method. - Instead of using a naming convention for description methods, use a pragma called to annotate the methods. And to extend and change existing descriptions use . Finally all Smalltalk implementation reached a consensus of pragmas that can be safely used cross-platform. All in all the "new" Magritte would look like in the following example. Imagine a shop item with the accessor #place: Item>>place ^ place Item>>place: aString place := aString The meta-description is defined on the instance-side and annotated. It can refer to itself for the possible places: Item>>placeDescription ^ MASingleOptionDescription new options: self possiblePlaces; label: 'Place of Item'; accessor: #place; yourself Class extensions can modify a description using: Item>>placeDescriptionXmlStorage: aDescription ^ placeDescription xmlTag: 'xname' Since these changes are not backward compatible I'll try to provide automatic refactorings for most parts. Moving existing code to the new codebase will certainly cause some problems, but in the long run I believe this to be a much better approach than the current one. If people have any feedback, concerns or other changes that would be important in the same run I am happy to hear them. -------------------- On 17 November 2010 13:56, Yanni Chiu wrote: > On 17/11/10 4:34 AM, Norbert Hartl wrote: >> >> Well, the question was maybe too unspecific. At first I'm looking for >> a possibility to create options from the instance side while dealing >> with components. > > I don't fully understand what you're trying to achieve, but how about you > override #description on the instance side. Something like: > > description > ?| desc instanceSpecificDesc | > ?desc := super description copy. "Copy, else per class cache altered" > ?desc add: (instanceSpecificDesc := self descriptionInstanceSpecific). > ?instanceSpecificDesc optionsAndLabels: self buildOptionsAndLabels. > ?"instanceSpecificDesc options: self buildOptions." > > A variation, to have all the descriptions documented on the class side, is > as follows: > > description > ?| desc customizedDesc | > ?desc := super description copy. > ?customizedDesc := desc detect: [:each | each label = 'Customized']. > ?customizedDesc options: self customOptions. > ?^ desc > > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -- Lukas Renggli www.lukas-renggli.ch From nick.ager at gmail.com Wed Nov 17 19:00:29 2010 From: nick.ager at gmail.com (Nick Ager) Date: Wed, 17 Nov 2010 18:00:29 +0000 Subject: Providing lookup environment for descriptions In-Reply-To: References: <5908259D-A434-477F-B896-7313A2DE8442@hartl.name> <72A33AE7-DA2B-4A93-9365-0C2D8DF6C531@hartl.name> Message-ID: Hi Lukas, This sounds really useful. Since these changes are not backward compatible I'll try to provide > automatic refactorings for most parts. Moving existing code to the new > codebase will certainly cause some problems, but in the long run I > believe this to be a much better approach than the current one. If > people have any feedback, concerns or other changes that would be > important in the same run I am happy to hear them. > I am using similar tricks to the ones Yanni indicated above to build instance specific instances - so it looks like your proposal would simplify that code considerably. I've also been bitten by the name clash with #description. One specific annoyance I have is with class extension description methods that are installed by addons that I can't disable (I currently delete the methods). Specifically: PRCase>>descriptionDocumentTagCloud: aDescription ^ aDescription beTagCloud PRStructure>>descriptionNameTagCloud: aDescription ^ aDescription beTagCloud I use the TagCloud addon, but don't want the structure name to be included and instead of document I use plain text (arguably the plain text change might be more widely applicable, but probably the first is more specific to my use cases) Perhaps it's overcomplicating to be able to disable class extension descriptions - without making the code incomprehensible. --- The other issue is with Magritte description caching and Gemstone. After I change a description in Gemstone I have to remember to flush the description cache. This seems to be due to a combination of Gemstone's classHistory and lack of support for weak collections(?). Is this on your radar? ---- I imagine your proposed changes will require some effort to rework Pier - as it uses Magritte extensively - I guess we can all pitch in to try to make it happen smoothly - perhaps we could organise a Camp Magritte/Pier?? ---- Nick -------------- next part -------------- An HTML attachment was scrubbed... URL: From norbert at hartl.name Wed Nov 17 20:37:52 2010 From: norbert at hartl.name (Norbert Hartl) Date: Wed, 17 Nov 2010 20:37:52 +0100 Subject: Providing lookup environment for descriptions In-Reply-To: References: <5908259D-A434-477F-B896-7313A2DE8442@hartl.name> <72A33AE7-DA2B-4A93-9365-0C2D8DF6C531@hartl.name> Message-ID: <803609FE-5DAE-46BB-AC5C-88BC969829DD@hartl.name> On 17.11.2010, at 17:56, Yanni Chiu wrote: > On 17/11/10 4:34 AM, Norbert Hartl wrote: >> >> Well, the question was maybe too unspecific. At first I'm looking for >> a possibility to create options from the instance side while dealing >> with components. > > I don't fully understand what you're trying to achieve, but how about you override #description on the instance side. Something like: > > description > | desc instanceSpecificDesc | > desc := super description copy. "Copy, else per class cache altered" > desc add: (instanceSpecificDesc := self descriptionInstanceSpecific). > instanceSpecificDesc optionsAndLabels: self buildOptionsAndLabels. > "instanceSpecificDesc options: self buildOptions." > > A variation, to have all the descriptions documented on the class side, is as follows: > > description > | desc customizedDesc | > desc := super description copy. > customizedDesc := desc detect: [:each | each label = 'Customized']. > customizedDesc options: self customOptions. > ^ desc > Thanks Yanni, this came to mind as well. I was asking if there is a better idea to achieve the same. Norbert From sergiolist at village-buzz.com Wed Nov 17 21:55:56 2010 From: sergiolist at village-buzz.com (sergio_101) Date: Wed, 17 Nov 2010 15:55:56 -0500 Subject: firing up an instance of pier Message-ID: i have just installed pier on pharo.. and everything looks okay.. i just don't know how to fire up an instance.. how would i go about doing that? thanks! -- ---- peace, sergio photographer, journalist, visionary http://www.CodingForHire.com http://www.coffee-black.com http://www.painlessfrugality.com http://www.twitter.com/sergio_101 http://www.facebook.com/sergio101 From lenglish5 at cox.net Wed Nov 17 22:12:12 2010 From: lenglish5 at cox.net (Lawson English) Date: Wed, 17 Nov 2010 14:12:12 -0700 Subject: firing up an instance of pier In-Reply-To: References: Message-ID: <4CE4452C.2080402@cox.net> On 11/17/10 1:55 PM, sergio_101 wrote: > i have just installed pier on pharo.. and everything looks okay.. > > i just don't know how to fire up an instance.. > > how would i go about doing that? > > thanks! > Thanks to Nick Ager: Some ways of registering Pier: 1) PRPierFrame registerAsApplication: 'pier' kernel: PRDistribution new kernel. 2) PRPierFrame registerAsApplication: 'pier' kernel: (PRKernel named: 'aSimpleKernel'). 3) PRPierFrame registerAsApplication: 'pier' kernel: (PRKernel new root: (PRPage new title: 'test title'; contents: 'Pier on Seaside 3.0'; name: 'testPage'); name: 'aVerySimpleKernel'). From yanni at rogers.com Thu Nov 18 07:31:11 2010 From: yanni at rogers.com (Yanni Chiu) Date: Thu, 18 Nov 2010 01:31:11 -0500 Subject: Providing lookup environment for descriptions In-Reply-To: References: <5908259D-A434-477F-B896-7313A2DE8442@hartl.name> <72A33AE7-DA2B-4A93-9365-0C2D8DF6C531@hartl.name> Message-ID: On 17/11/10 12:21 PM, Lukas Renggli wrote: > > Since these changes are not backward compatible I'll try to provide > automatic refactorings for most parts. Moving existing code to the new > codebase will certainly cause some problems, but in the long run I > believe this to be a much better approach than the current one. If > people have any feedback, concerns or other changes that would be > important in the same run I am happy to hear them. I like the proposed changes. I've run into all those problems that would be fixed. The pragma usage is something I'll have to get used to. It's not clear whether your plan is to start with the Magritte2 code base, and create, say, a Magritte3. Or is it to make the changes directly to the Magritte2 code base. Changing Magritte2 directly would mean one less branch to be maintained. Either way is fine with me. From sukiari at gmail.com Thu Nov 18 23:12:30 2010 From: sukiari at gmail.com (Andrew Robertson) Date: Thu, 18 Nov 2010 14:12:30 -0800 Subject: Pier difficulties... Message-ID: <3DBBA603-1E37-46FF-B7AD-09A8A3BCAD7F@gmail.com> I have been using the Pier one-click images (both the release and the newest Pier2 beta) and have run across some difficulties. I can launch the image just fine, and there is no issue when editing existing content. However, the difficulties arise when I try to remove blog entries. I can remove the default, demo entries just fine, but they still show up in the Archive section on the right of the Blog page. When I click on one of them, the service hangs and "MessageNotUnderstood: receiver of "feedTitle" is nil" pops up in the smalltalk image. Also when creating a new blog entry, it shows up in the content tree when logged in as the administrator, and can be referenced by URL, but will not show up under the Blog heading. Anybody have a suggestion for me? Thanks a lot. -Andrew Robertson From carlos.crosetti at mostar.com.ar Fri Nov 19 02:58:16 2010 From: carlos.crosetti at mostar.com.ar (Carlos Crosetti) Date: Thu, 18 Nov 2010 22:58:16 -0300 Subject: installing Magritte References: <6E4BDBB2218941DB9D36C7B10958E51F@MOSTAR> Message-ID: <0ED5922B072D4242A4DEFC905F833469@MOSTAR> Thanks, I got Magritte instaled this way, regards, Carlos ----- Original Message ----- From: "Alejandro Garcia" To: "Magritte, Pier and Related Tools ..." Sent: Wednesday, November 17, 2010 12:49 AM Subject: Re: installing Magritte > Hi Carlos this are the instructions I used to install Magritte in the > one-click Seaside 3.0 image. > > In Workspace window type: > Gofer it > squeaksource: 'MetacelloRepository'; > package: 'ConfigurationOfMagritte2'; > load. > > (ConfigurationOfMagritte2 project version: '2.0.5') load: > #('Magritte-Seaside') > > More information: > http://lists.squeakfoundation.org/pipermail/seaside/2010-November/024936.html > > > > On Mon, Nov 15, 2010 at 5:34 PM, Carlos Crosetti > wrote: >> Hi, I got my Seaside 3.0 one click image loaded into my Windows box. >> >> What are the steps to follow to downlad Magritte? >> >> A working sample on Seaside with object editors will be appreciated, >> regards, Carlos >> _______________________________________________ >> Magritte, Pier and Related Tools ... >> https://www.iam.unibe.ch/mailman/listinfo/smallwiki >> > > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki From renggli at gmail.com Fri Nov 19 03:26:57 2010 From: renggli at gmail.com (Lukas Renggli) Date: Thu, 18 Nov 2010 23:26:57 -0300 Subject: Pier difficulties... In-Reply-To: <3DBBA603-1E37-46FF-B7AD-09A8A3BCAD7F@gmail.com> References: <3DBBA603-1E37-46FF-B7AD-09A8A3BCAD7F@gmail.com> Message-ID: The blog entries in these lists are cached per session. They will refresh if you are visiting the site in a different browser or if you login/logout. Lukas On 18 November 2010 19:12, Andrew Robertson wrote: > I have been using the Pier one-click images (both the release and the newest Pier2 beta) and have run across some difficulties. > > I can launch the image just fine, and there is no issue when editing existing content. ?However, the difficulties arise when I try to remove blog entries. ?I can remove the default, demo entries just fine, but they still show up in the Archive section on the right of the Blog page. ?When I click on one of them, the service hangs and "MessageNotUnderstood: receiver of "feedTitle" is nil" pops up in the smalltalk image. > > Also when creating a new blog entry, it shows up in the content tree when logged in as the administrator, and can be referenced by URL, but will not show up under the Blog heading. > > Anybody have a suggestion for me? ?Thanks a lot. > > -Andrew Robertson > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -- Lukas Renggli www.lukas-renggli.ch From sergiolist at village-buzz.com Sat Nov 20 16:59:44 2010 From: sergiolist at village-buzz.com (sergio_101) Date: Sat, 20 Nov 2010 10:59:44 -0500 Subject: pier: multiple blogs with custom rss feeds? Message-ID: i am currently investigating setting up pier to run a new blog/podcast/content site that i am developing.. i have just a few questions.. i would like to have a blog, and also host a podcast.. since the podcast is really just a blog with an attachment, i figured i could just install two blogs into my pier instance.. is there a way i can create a custom RSS feed for the podcast blog? thanks! if you are interested in playing the home game, you can read along here: http://www.codingforhire.com/2010/11/smalltalk-pier-vs-wordpress-for-podcast-engine/ -- ---- peace, sergio photographer, journalist, visionary http://www.CodingForHire.com http://www.coffee-black.com http://www.painlessfrugality.com http://www.twitter.com/sergio_101 http://www.facebook.com/sergio101 From sergiolist at village-buzz.com Sun Nov 21 15:56:39 2010 From: sergiolist at village-buzz.com (sergio_101) Date: Sun, 21 Nov 2010 09:56:39 -0500 Subject: editing the environment - i botched my installation.. Message-ID: i may have botched my installation, but i think it's fixable.. my front page needs a different environment, so i made a new one, and copied mainenvironment into it to edit it.. unfortunately, i started editing frontenvironment (the name i gave it) willy nilly, and i think i killed the section where it rendered the contents.. now, i can no longer edit that page, or do anything to it.. i can't access frontenvironment either.. most likely for the same reason.. is there a way i can access the data in the back end and make a change to frontenvironment to make it work again? oops and thank you.. -- ---- peace, sergio photographer, journalist, visionary http://www.CodingForHire.com http://www.coffee-black.com http://www.painlessfrugality.com http://www.twitter.com/sergio_101 http://www.facebook.com/sergio101 From p3anoman at gmail.com Sun Nov 21 16:26:15 2010 From: p3anoman at gmail.com (John McKeon) Date: Sun, 21 Nov 2010 10:26:15 -0500 Subject: editing the environment - i botched my installation.. In-Reply-To: References: Message-ID: Hello Sergio, Someone else might have an easier method, but I recommend the Pier Browser. Load Pier-Omnibrowser from the old Pier repository. You will need Magritte-Morph installed too. It gives you a nice morphic browser on the Pier kernels in your image. John On Sun, Nov 21, 2010 at 9:56 AM, sergio_101 wrote: > i may have botched my installation, but i think it's fixable.. > > my front page needs a different environment, so i made a new one, and > copied mainenvironment into it to edit it.. > > unfortunately, i started editing frontenvironment (the name i gave it) > willy nilly, and i think i killed the section where it rendered the > contents.. > > now, i can no longer edit that page, or do anything to it.. > > i can't access frontenvironment either.. most likely for the same reason.. > > is there a way i can access the data in the back end and make a change > to frontenvironment to make it work again? > > oops and thank you.. > > -- > ---- > peace, > sergio > photographer, journalist, visionary > > http://www.CodingForHire.com > http://www.coffee-black.com > http://www.painlessfrugality.com > http://www.twitter.com/sergio_101 > http://www.facebook.com/sergio101 > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -- http://john-mckeon.us -------------- next part -------------- An HTML attachment was scrubbed... URL: From renggli at gmail.com Sun Nov 21 21:19:25 2010 From: renggli at gmail.com (Lukas Renggli) Date: Sun, 21 Nov 2010 17:19:25 -0300 Subject: editing the environment - i botched my installation.. In-Reply-To: References: Message-ID: Alternatively you can explore (inspect) PRKernel instances navigate to the root structure and set the environment to nil: self localEnvironment: nil Like this a new default environment will be installed the next time you browse Pier from the web. Lukas On 21 November 2010 12:26, John McKeon wrote: > Hello Sergio, > Someone else might have an easier method, but I recommend the Pier Browser. > Load Pier-Omnibrowser from the old Pier repository. You will need > Magritte-Morph installed too. It ?gives you a nice morphic browser on the > Pier kernels in your image. > John > > On Sun, Nov 21, 2010 at 9:56 AM, sergio_101 > wrote: >> >> i may have botched my installation, but i think it's fixable.. >> >> my front page needs a different environment, so i made a new one, and >> copied mainenvironment into it to edit it.. >> >> unfortunately, i started editing frontenvironment (the name i gave it) >> willy nilly, and i think i killed the section where it rendered the >> contents.. >> >> now, i can no longer edit that page, or do anything to it.. >> >> i can't access frontenvironment either.. most likely for the same reason.. >> >> is there a way i can access the data in the back end and make a change >> to frontenvironment to make it work again? >> >> oops and thank you.. >> >> -- >> ---- >> peace, >> sergio >> photographer, journalist, visionary >> >> http://www.CodingForHire.com >> http://www.coffee-black.com >> http://www.painlessfrugality.com >> http://www.twitter.com/sergio_101 >> http://www.facebook.com/sergio101 >> _______________________________________________ >> Magritte, Pier and Related Tools ... >> https://www.iam.unibe.ch/mailman/listinfo/smallwiki > > > > -- > http://john-mckeon.us > > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -- Lukas Renggli www.lukas-renggli.ch From sergiolist at village-buzz.com Mon Nov 22 04:45:52 2010 From: sergiolist at village-buzz.com (sergio_101) Date: Sun, 21 Nov 2010 22:45:52 -0500 Subject: editing the environment - i botched my installation.. In-Reply-To: References: Message-ID: > Someone else might have an easier method, but I recommend the Pier Browser. > Load Pier-Omnibrowser from the old Pier repository. You will need > Magritte-Morph installed too. It ?gives you a nice morphic browser on the hmm.. i got it installed, but i can't seem to fire it up.. it seems like there was something deprecated in "world" and it doesn't know were to put it.. any ideas on where to find it? thanks! -- ---- peace, sergio photographer, journalist, visionary http://www.CodingForHire.com http://www.coffee-black.com http://www.painlessfrugality.com http://www.twitter.com/sergio_101 http://www.facebook.com/sergio101 From sergiolist at village-buzz.com Mon Nov 22 04:48:18 2010 From: sergiolist at village-buzz.com (sergio_101) Date: Sun, 21 Nov 2010 22:48:18 -0500 Subject: problems running pier headless Message-ID: i originally sent this to the pharo list, but i might better to send it here.. i have upgraded my squeak VM to: 4.0.3-2202 after having problems getting it to run on: 3.11.3.2135 Unix VM but i am still having problems getting my headless to run.. 'run' looks like this: # settings USER="optimizeguys" VM="/usr/local/bin/squeak" VM_PARAMS="-mmap 256m -vm-sound-null -vm-display-null" IMAGE="Pier.image" # start the vm exec \ /usr/local/bin/setuidgid "$USER" \ "$VM" $VM_PARAMS "$IMAGE" the error i am getting is: # ./run SQUEAK_ENCODING=UTF-8 SQUEAK_PATHENC=UTF-8 SQUEAK_PLUGINS=/usr/local/lib/squeak/4.0.3-2202 + exec /usr/local/lib/squeak/4.0.3-2202/squeakvm -mmap 256m -vm-sound-null -vm-display-null Pier.image This interpreter (vers. 6502) cannot read image file (vers. 6505). Press CR to quit... any ideas? thanks! -- ---- peace, sergio photographer, journalist, visionary http://www.CodingForHire.com http://www.coffee-black.com http://www.painlessfrugality.com http://www.twitter.com/sergio_101 http://www.facebook.com/sergio101 From sergiolist at village-buzz.com Mon Nov 22 05:22:30 2010 From: sergiolist at village-buzz.com (sergio_101) Date: Sun, 21 Nov 2010 23:22:30 -0500 Subject: editing headers Message-ID: i would like to edit the head tag so that i can put links to my rss feeds there.. how would i go about doing this? thanks! -- ---- peace, sergio photographer, journalist, visionary http://www.CodingForHire.com http://www.coffee-black.com http://www.painlessfrugality.com http://www.twitter.com/sergio_101 http://www.facebook.com/sergio101 From sergiolist at village-buzz.com Mon Nov 22 05:23:00 2010 From: sergiolist at village-buzz.com (sergio_101) Date: Sun, 21 Nov 2010 23:23:00 -0500 Subject: editing the environment - i botched my installation.. In-Reply-To: References: Message-ID: On Sun, Nov 21, 2010 at 3:19 PM, Lukas Renggli wrote: > Alternatively you can explore (inspect) > > ? ?PRKernel instances > that worked.. thanks, lukas.. -- ---- peace, sergio photographer, journalist, visionary http://www.CodingForHire.com http://www.coffee-black.com http://www.painlessfrugality.com http://www.twitter.com/sergio_101 http://www.facebook.com/sergio101 From sergiolist at village-buzz.com Mon Nov 22 07:51:59 2010 From: sergiolist at village-buzz.com (sergio_101) Date: Mon, 22 Nov 2010 01:51:59 -0500 Subject: links to blog posts go directly to comments form Message-ID: when i click on a link that goes directly to a blog entry, i end up not at the blog page, but sitting in the author field of the comment form.. i would like to end up at the top of the page.. any ideas? thanks! -- ---- peace, sergio photographer, journalist, visionary http://www.CodingForHire.com http://www.coffee-black.com http://www.painlessfrugality.com http://www.twitter.com/sergio_101 http://www.facebook.com/sergio101 From sergiolist at village-buzz.com Mon Nov 22 08:24:10 2010 From: sergiolist at village-buzz.com (sergio_101) Date: Mon, 22 Nov 2010 02:24:10 -0500 Subject: search component Message-ID: trying to use the search component.. it doesn't seem to be populating, and there is no submit button.. am i doing something wrong? thanks! -- ---- peace, sergio photographer, journalist, visionary http://www.CodingForHire.com http://www.coffee-black.com http://www.painlessfrugality.com http://www.twitter.com/sergio_101 http://www.facebook.com/sergio101 From renggli at gmail.com Mon Nov 22 11:36:53 2010 From: renggli at gmail.com (Lukas Renggli) Date: Mon, 22 Nov 2010 07:36:53 -0300 Subject: problems running pier headless In-Reply-To: References: Message-ID: Looks like you use a Cog image without a Cog VM. Lukas On 22 November 2010 00:48, sergio_101 wrote: > i originally sent this to the pharo list, but i might better to send it here.. > > > i have upgraded my squeak VM to: > > 4.0.3-2202 > > after having problems getting it to run on: > > 3.11.3.2135 Unix VM > > but i am still having problems getting my headless to run.. 'run' > looks like this: > > # settings > USER="optimizeguys" > VM="/usr/local/bin/squeak" > VM_PARAMS="-mmap 256m -vm-sound-null -vm-display-null" > IMAGE="Pier.image" > > # start the vm > exec \ > ? /usr/local/bin/setuidgid "$USER" \ > ? "$VM" $VM_PARAMS "$IMAGE" > > the error i am getting is: > > # ./run > SQUEAK_ENCODING=UTF-8 > SQUEAK_PATHENC=UTF-8 > SQUEAK_PLUGINS=/usr/local/lib/squeak/4.0.3-2202 > + exec /usr/local/lib/squeak/4.0.3-2202/squeakvm -mmap 256m > -vm-sound-null -vm-display-null Pier.image > This interpreter (vers. 6502) cannot read image file (vers. 6505). > Press CR to quit... > > any ideas? > > thanks! > > -- > ---- > peace, > sergio > photographer, journalist, visionary > > http://www.CodingForHire.com > http://www.coffee-black.com > http://www.painlessfrugality.com > http://www.twitter.com/sergio_101 > http://www.facebook.com/sergio101 > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -- Lukas Renggli www.lukas-renggli.ch From renggli at gmail.com Mon Nov 22 11:38:26 2010 From: renggli at gmail.com (Lukas Renggli) Date: Mon, 22 Nov 2010 07:38:26 -0300 Subject: editing headers In-Reply-To: References: Message-ID: There is no ready-made component that can add arbitrary head tags. Either you create your own component that implements #updateRoot: as you wish, you you add a small Javascript to your website that modifies the head accordingly. Lukas On 22 November 2010 01:22, sergio_101 wrote: > i would like to edit the head tag so that i can put links to my rss > feeds there.. > > how would i go about doing this? > > thanks! > > -- > ---- > peace, > sergio > photographer, journalist, visionary > > http://www.CodingForHire.com > http://www.coffee-black.com > http://www.painlessfrugality.com > http://www.twitter.com/sergio_101 > http://www.facebook.com/sergio101 > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -- Lukas Renggli www.lukas-renggli.ch From renggli at gmail.com Mon Nov 22 11:40:52 2010 From: renggli at gmail.com (Lukas Renggli) Date: Mon, 22 Nov 2010 07:40:52 -0300 Subject: links to blog posts go directly to comments form In-Reply-To: References: Message-ID: Remove PRJavaScriptSupport from your Seaside libraries. It automatically sets the focus to the first input field, what does not really work in the context of the blog. This should be fixed. Lukas On 22 November 2010 03:51, sergio_101 wrote: > when i click on a link that goes directly to a blog entry, i end up > not at the blog page, but sitting in the author field of the comment > form.. > > i would like to end up at the top of the page.. > > any ideas? > > thanks! > > -- > ---- > peace, > sergio > photographer, journalist, visionary > > http://www.CodingForHire.com > http://www.coffee-black.com > http://www.painlessfrugality.com > http://www.twitter.com/sergio_101 > http://www.facebook.com/sergio101 > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -- Lukas Renggli www.lukas-renggli.ch From renggli at gmail.com Mon Nov 22 11:41:39 2010 From: renggli at gmail.com (Lukas Renggli) Date: Mon, 22 Nov 2010 07:41:39 -0300 Subject: search component In-Reply-To: References: Message-ID: There are various search components. Some use AJAX and require some Javascript libraries. Others just display the result in the page when you hit enter. Lukas On 22 November 2010 04:24, sergio_101 wrote: > trying to use the search component.. it doesn't seem to be populating, > and there is no submit button.. > > am i doing something wrong? > > thanks! > > -- > ---- > peace, > sergio > photographer, journalist, visionary > > http://www.CodingForHire.com > http://www.coffee-black.com > http://www.painlessfrugality.com > http://www.twitter.com/sergio_101 > http://www.facebook.com/sergio101 > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -- Lukas Renggli www.lukas-renggli.ch From sergiolist at village-buzz.com Mon Nov 22 14:40:26 2010 From: sergiolist at village-buzz.com (sergio_101) Date: Mon, 22 Nov 2010 08:40:26 -0500 Subject: problems running pier headless In-Reply-To: References: Message-ID: On Mon, Nov 22, 2010 at 5:36 AM, Lukas Renggli wrote: > Looks like you use a Cog image without a Cog VM. > i am not sure what this means.. what is a Cog image? where would li go about finding a Cog VM? thanks! -- ---- peace, sergio photographer, journalist, visionary http://www.CodingForHire.com http://www.coffee-black.com http://www.painlessfrugality.com http://www.twitter.com/sergio_101 http://www.facebook.com/sergio101 From sergiolist at village-buzz.com Mon Nov 22 14:41:48 2010 From: sergiolist at village-buzz.com (sergio_101) Date: Mon, 22 Nov 2010 08:41:48 -0500 Subject: search component In-Reply-To: References: Message-ID: > Some use AJAX and require some Javascript libraries. > > Others just display the result in the page when you hit enter. > ah! how would i set the site up to include javascript libraries? -- ---- peace, sergio photographer, journalist, visionary http://www.CodingForHire.com http://www.coffee-black.com http://www.painlessfrugality.com http://www.twitter.com/sergio_101 http://www.facebook.com/sergio101 From renggli at gmail.com Mon Nov 22 14:47:30 2010 From: renggli at gmail.com (Lukas Renggli) Date: Mon, 22 Nov 2010 10:47:30 -0300 Subject: problems running pier headless In-Reply-To: References: Message-ID: http://www.mirandabanda.org/files/Cog/VM/ Alternatively you use the VM that comes shipped with the one-click images. Lukas On 22 November 2010 10:40, sergio_101 wrote: > On Mon, Nov 22, 2010 at 5:36 AM, Lukas Renggli wrote: >> Looks like you use a Cog image without a Cog VM. >> > > i am not sure what this means.. > > what is a Cog image? where would li go about finding a Cog VM? > > thanks! > > > -- > ---- > peace, > sergio > photographer, journalist, visionary > > http://www.CodingForHire.com > http://www.coffee-black.com > http://www.painlessfrugality.com > http://www.twitter.com/sergio_101 > http://www.facebook.com/sergio101 > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -- Lukas Renggli www.lukas-renggli.ch From renggli at gmail.com Mon Nov 22 14:51:03 2010 From: renggli at gmail.com (Lukas Renggli) Date: Mon, 22 Nov 2010 10:51:03 -0300 Subject: search component In-Reply-To: References: Message-ID: Depends what version of Pier and what Search component you are using. If you are using a recent version of Pier the class JQDeploymentLibrary might be the library to add to the Seaside application configuration of your Pier installation. Lukas On 22 November 2010 10:41, sergio_101 wrote: >> Some use AJAX and require some Javascript libraries. >> >> Others just display the result in the page when you hit enter. >> > > > ah! > > how would i set the site up to include javascript libraries? > > > > -- > ---- > peace, > sergio > photographer, journalist, visionary > > http://www.CodingForHire.com > http://www.coffee-black.com > http://www.painlessfrugality.com > http://www.twitter.com/sergio_101 > http://www.facebook.com/sergio101 > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -- Lukas Renggli www.lukas-renggli.ch From sergiolist at village-buzz.com Mon Nov 22 16:35:45 2010 From: sergiolist at village-buzz.com (sergio_101) Date: Mon, 22 Nov 2010 10:35:45 -0500 Subject: problems running pier headless In-Reply-To: References: Message-ID: > ? ?http://www.mirandabanda.org/files/Cog/VM/ > > Alternatively you use the VM that comes shipped with the one-click images. okay.. i am having a bit of trouble in this end.. i downloaded the cog vm.. but i wasn't sure if i should just go ahead and replace everything in my system by hand.. so i grabbed the vm from the one-click image (the linux one) .. and copied all the files right into the same directory as my pier image.. then, i just changed my "run" to reflect this.. VM="squeakvm" obviously, it didn't work.. curiously, i get this.. setuidgid: fatal: unable to run squeakvm: access denied ideas? thanks! -- ---- peace, sergio photographer, journalist, visionary http://www.CodingForHire.com http://www.coffee-black.com http://www.painlessfrugality.com http://www.twitter.com/sergio_101 http://www.facebook.com/sergio101 From sergiolist at village-buzz.com Mon Nov 22 16:48:45 2010 From: sergiolist at village-buzz.com (sergio_101) Date: Mon, 22 Nov 2010 10:48:45 -0500 Subject: links to blog posts go directly to comments form In-Reply-To: References: Message-ID: > Remove PRJavaScriptSupport from your Seaside libraries. It > automatically sets the focus to the first input field, what does not > really work in the context of the blog. This should be fixed. okay, i went into the config/files section, and i can see PRJavascriptSupport, but there seems to be no way to delete that library from the system. i configured the library, and i see that there is a file called pier.js attached to it, and i removed that.. but i am still having the issue where the page focuses on the author of a new comment. ideas? thanks! -- ---- peace, sergio photographer, journalist, visionary http://www.CodingForHire.com http://www.coffee-black.com http://www.painlessfrugality.com http://www.twitter.com/sergio_101 http://www.facebook.com/sergio101 From renggli at gmail.com Mon Nov 22 16:51:51 2010 From: renggli at gmail.com (Lukas Renggli) Date: Mon, 22 Nov 2010 12:51:51 -0300 Subject: problems running pier headless In-Reply-To: References: Message-ID: > > setuidgid: fatal: unable to run squeakvm: access denied I am sorry, I cannot help with that. I've never seen that problem before. Maybe the Pharo or SqueakVM list is of better help here. Lukas On 22 November 2010 12:35, sergio_101 wrote: >> ? ?http://www.mirandabanda.org/files/Cog/VM/ >> >> Alternatively you use the VM that comes shipped with the one-click images. > > okay.. i am having a bit of trouble in this end.. > > i downloaded the cog vm.. but i wasn't sure if i should just go ahead > and replace everything in my system by hand.. so i grabbed the vm from > the one-click image (the linux one) .. and copied all the files right > into the same directory as my pier image.. > > then, i just changed my "run" to reflect this.. > > VM="squeakvm" > > obviously, it didn't work.. > > curiously, i get this.. > > setuidgid: fatal: unable to run squeakvm: access denied > > ideas? > > thanks! > > > -- > ---- > peace, > sergio > photographer, journalist, visionary > > http://www.CodingForHire.com > http://www.coffee-black.com > http://www.painlessfrugality.com > http://www.twitter.com/sergio_101 > http://www.facebook.com/sergio101 > > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -- Lukas Renggli www.lukas-renggli.ch From sergiolist at village-buzz.com Tue Nov 23 02:19:12 2010 From: sergiolist at village-buzz.com (sergio_101) Date: Mon, 22 Nov 2010 20:19:12 -0500 Subject: links to blog posts go directly to comments form In-Reply-To: References: Message-ID: scratch that, lukas.. i got it all handled.. thanks! -- ---- peace, sergio photographer, journalist, visionary http://www.CodingForHire.com http://www.coffee-black.com http://www.painlessfrugality.com http://www.twitter.com/sergio_101 http://www.facebook.com/sergio101 From p3anoman at gmail.com Tue Nov 23 04:17:18 2010 From: p3anoman at gmail.com (John McKeon) Date: Mon, 22 Nov 2010 22:17:18 -0500 Subject: links to blog posts go directly to comments form In-Reply-To: References: Message-ID: I made a simple change to the javascript that fixes this. The file out is attached. John On Mon, Nov 22, 2010 at 5:40 AM, Lukas Renggli wrote: > Remove PRJavaScriptSupport from your Seaside libraries. It > automatically sets the focus to the first input field, what does not > really work in the context of the blog. This should be fixed. > > Lukas > > On 22 November 2010 03:51, sergio_101 wrote: > > when i click on a link that goes directly to a blog entry, i end up > > not at the blog page, but sitting in the author field of the comment > > form.. > > > > i would like to end up at the top of the page.. > > > > any ideas? > > > > thanks! > > > > -- > > ---- > > peace, > > sergio > > photographer, journalist, visionary > > > > http://www.CodingForHire.com > > http://www.coffee-black.com > > http://www.painlessfrugality.com > > http://www.twitter.com/sergio_101 > > http://www.facebook.com/sergio101 > > _______________________________________________ > > Magritte, Pier and Related Tools ... > > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > > > > > > -- > Lukas Renggli > www.lukas-renggli.ch > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -- http://john-mckeon.us -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: PRJavaScriptSupport-pierJs.st Type: application/octet-stream Size: 666 bytes Desc: not available URL: From sergiolist at village-buzz.com Tue Nov 23 06:06:58 2010 From: sergiolist at village-buzz.com (sergio_101) Date: Tue, 23 Nov 2010 00:06:58 -0500 Subject: cannot access my image at 8080 Message-ID: here is the process that i went through recently to break my image: my image was not responding, so i stopped and restarted my server with the seaside control panel a few times, no luck.. then, i accidentally shut down window for the seaside control panel.. when i opened it back up, the three buttons for start, stop, and one other one.. were missing.. it says the following: Type: WAComancheAdaptor Encoding: utf-8 seaside-8080 [running] port: 8080 but i cannot access the server.. i tried to fire up another server, and now i have two servers in the list.. both on 8080, only one of them running.. but i still can't access my image.. how can i: delete the adaptor that is running.. troubleshoot why i can't access my image.. ideas? thanks! -- ---- peace, sergio photographer, journalist, visionary http://www.CodingForHire.com http://www.coffee-black.com http://www.painlessfrugality.com http://www.twitter.com/sergio_101 http://www.facebook.com/sergio101 From sergiolist at village-buzz.com Tue Nov 23 06:08:01 2010 From: sergiolist at village-buzz.com (sergio_101) Date: Tue, 23 Nov 2010 00:08:01 -0500 Subject: changing port number Message-ID: i need to change my port from 8080 to 8085 to deploy my site.. something else is running on 8080.. how can i do this in my pier image? thanks! -- ---- peace, sergio photographer, journalist, visionary http://www.CodingForHire.com http://www.coffee-black.com http://www.painlessfrugality.com http://www.twitter.com/sergio_101 http://www.facebook.com/sergio101 From sergiolist at village-buzz.com Tue Nov 23 06:15:32 2010 From: sergiolist at village-buzz.com (sergio_101) Date: Tue, 23 Nov 2010 00:15:32 -0500 Subject: rolling up a pier site Message-ID: is it possible to export an entire pier site from one smalltalk image, then import it into another image? not that this makes too much sense, but i am just thinking out loud.. -- ---- peace, sergio photographer, journalist, visionary http://www.CodingForHire.com http://www.coffee-black.com http://www.painlessfrugality.com http://www.twitter.com/sergio_101 http://www.facebook.com/sergio101 From sergiolist at village-buzz.com Tue Nov 23 06:15:32 2010 From: sergiolist at village-buzz.com (sergio_101) Date: Tue, 23 Nov 2010 00:15:32 -0500 Subject: rolling up a pier site Message-ID: is it possible to export an entire pier site from one smalltalk image, then import it into another image? not that this makes too much sense, but i am just thinking out loud.. -- ---- peace, sergio photographer, journalist, visionary http://www.CodingForHire.com http://www.coffee-black.com http://www.painlessfrugality.com http://www.twitter.com/sergio_101 http://www.facebook.com/sergio101 From sergiolist at village-buzz.com Tue Nov 23 07:07:18 2010 From: sergiolist at village-buzz.com (sergio_101) Date: Tue, 23 Nov 2010 01:07:18 -0500 Subject: seaside control panel not responsive to right click Message-ID: okay, i think i may have another clue for my issues.. i am using the pier one click image.. there is a seaside control panel there. on another pharo image i am working on, this panel works correctly.. on my one click image, it doesn't work.. if i right click, nothing happens.. ideas? thanks! -- ---- peace, sergio photographer, journalist, visionary http://www.CodingForHire.com http://www.coffee-black.com http://www.painlessfrugality.com http://www.twitter.com/sergio_101 http://www.facebook.com/sergio101 From sergiolist at village-buzz.com Tue Nov 23 07:19:21 2010 From: sergiolist at village-buzz.com (sergio_101) Date: Tue, 23 Nov 2010 01:19:21 -0500 Subject: rolling up a pier site In-Reply-To: References: Message-ID: actually, the reason i am thinking about doing this is to fix my current broken image issue.. i am going crazy wanting to launch this site.. thanks! -- ---- peace, sergio photographer, journalist, visionary http://www.CodingForHire.com http://www.coffee-black.com http://www.painlessfrugality.com http://www.twitter.com/sergio_101 http://www.facebook.com/sergio101 From sergiolist at village-buzz.com Tue Nov 23 08:37:49 2010 From: sergiolist at village-buzz.com (sergio_101) Date: Tue, 23 Nov 2010 02:37:49 -0500 Subject: accessing the current url Message-ID: i am looking at writing a component that would allow you to insert a facebook 'like' button on: - each blog entry, without having to add it manually.. it would just appear as part of the content.. - only the pages that it would makes sense on.. in order to get that, i would have to have access to the current url.. how would i go about that in pier? thanks! -- ---- peace, sergio photographer, journalist, visionary http://www.CodingForHire.com http://www.coffee-black.com http://www.painlessfrugality.com http://www.twitter.com/sergio_101 http://www.facebook.com/sergio101 From jvdsandt at gmail.com Tue Nov 23 09:51:56 2010 From: jvdsandt at gmail.com (Jan van de Sandt) Date: Tue, 23 Nov 2010 09:51:56 +0100 Subject: accessing the current url In-Reply-To: References: Message-ID: Hello, You can use the PRContext>>url method for this. Jan. On Tue, Nov 23, 2010 at 8:37 AM, sergio_101 wrote: > i am looking at writing a component that would allow you to insert a > facebook 'like' button on: > > - each blog entry, without having to add it manually.. it would just > appear as part of the content.. > - only the pages that it would makes sense on.. > > in order to get that, i would have to have access to the current url.. > > how would i go about that in pier? > > thanks! > > -- > ---- > peace, > sergio > photographer, journalist, visionary > > http://www.CodingForHire.com > http://www.coffee-black.com > http://www.painlessfrugality.com > http://www.twitter.com/sergio_101 > http://www.facebook.com/sergio101 > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jvdsandt at gmail.com Tue Nov 23 09:54:19 2010 From: jvdsandt at gmail.com (Jan van de Sandt) Date: Tue, 23 Nov 2010 09:54:19 +0100 Subject: rolling up a pier site In-Reply-To: References: Message-ID: Hello, Yes, there is an Import/Export component that can do this. It is part of the default Pier setup. Jan. On Tue, Nov 23, 2010 at 6:15 AM, sergio_101 wrote: > is it possible to export an entire pier site from one smalltalk image, > then import it into another image? > > not that this makes too much sense, but i am just thinking out loud.. > > -- > ---- > peace, > sergio > photographer, journalist, visionary > > http://www.CodingForHire.com > http://www.coffee-black.com > http://www.painlessfrugality.com > http://www.twitter.com/sergio_101 > http://www.facebook.com/sergio101 > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -------------- next part -------------- An HTML attachment was scrubbed... URL: From renggli at gmail.com Tue Nov 23 11:58:52 2010 From: renggli at gmail.com (Lukas Renggli) Date: Tue, 23 Nov 2010 07:58:52 -0300 Subject: links to blog posts go directly to comments form In-Reply-To: References: Message-ID: I included the change: Name: Pier-Seaside-lr.501 Author: lr Time: 23 November 2010, 7:58:05 am UUID: 6643fdf7-dd07-48e7-b713-ac1a7b55c328 Ancestors: Pier-Seaside-lr.500 - do not set the focus automatically into comment field of blog (thanks go to John McKeon) This fixes the problem with the blog, but not if you have search field at the top of your site yet. Lukas On 23 November 2010 00:17, John McKeon wrote: > I made a simple change to the javascript that fixes this. > The file out is attached. > John > > On Mon, Nov 22, 2010 at 5:40 AM, Lukas Renggli wrote: >> >> Remove PRJavaScriptSupport from your Seaside libraries. It >> automatically sets the focus to the first input field, what does not >> really work in the context of the blog. This should be fixed. >> >> Lukas >> >> On 22 November 2010 03:51, sergio_101 wrote: >> > when i click on a link that goes directly to a blog entry, i end up >> > not at the blog page, but sitting in the author field of the comment >> > form.. >> > >> > i would like to end up at the top of the page.. >> > >> > any ideas? >> > >> > thanks! >> > >> > -- >> > ---- >> > peace, >> > sergio >> > photographer, journalist, visionary >> > >> > http://www.CodingForHire.com >> > http://www.coffee-black.com >> > http://www.painlessfrugality.com >> > http://www.twitter.com/sergio_101 >> > http://www.facebook.com/sergio101 >> > _______________________________________________ >> > Magritte, Pier and Related Tools ... >> > https://www.iam.unibe.ch/mailman/listinfo/smallwiki >> > >> >> >> >> -- >> Lukas Renggli >> www.lukas-renggli.ch >> _______________________________________________ >> Magritte, Pier and Related Tools ... >> https://www.iam.unibe.ch/mailman/listinfo/smallwiki > > > > -- > http://john-mckeon.us > > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -- Lukas Renggli www.lukas-renggli.ch From renggli at gmail.com Tue Nov 23 12:03:34 2010 From: renggli at gmail.com (Lukas Renggli) Date: Tue, 23 Nov 2010 08:03:34 -0300 Subject: cannot access my image at 8080 In-Reply-To: References: Message-ID: > then, i accidentally shut down window for the seaside control panel.. > > when i opened it back up, the three buttons for start, stop, and one > other one.. were missing.. Try to update Seaside-Tools-OmniBrowser to the latest code, there seems to be some mismatch in version between Seaside and the OmniBrowser tools. Lukas -- Lukas Renggli www.lukas-renggli.ch From renggli at gmail.com Tue Nov 23 12:04:38 2010 From: renggli at gmail.com (Lukas Renggli) Date: Tue, 23 Nov 2010 08:04:38 -0300 Subject: changing port number In-Reply-To: References: Message-ID: World -> Tools -> Seaside Control Panel -> Add adaptor On 23 November 2010 02:08, sergio_101 wrote: > i need to change my port from 8080 to 8085 to deploy my site.. > something else is running on 8080.. > > how can i do this in my pier image? > > thanks! > > -- > ---- > peace, > sergio > photographer, journalist, visionary > > http://www.CodingForHire.com > http://www.coffee-black.com > http://www.painlessfrugality.com > http://www.twitter.com/sergio_101 > http://www.facebook.com/sergio101 > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -- Lukas Renggli www.lukas-renggli.ch From renggli at gmail.com Tue Nov 23 12:05:54 2010 From: renggli at gmail.com (Lukas Renggli) Date: Tue, 23 Nov 2010 08:05:54 -0300 Subject: changing port number In-Reply-To: References: Message-ID: Alternatively: WAServerManager default adaptors do: [ :each | each stop ]. WAKom startOn: 8085 On 23 November 2010 08:04, Lukas Renggli wrote: > World -> Tools -> Seaside Control Panel -> Add adaptor > > On 23 November 2010 02:08, sergio_101 wrote: >> i need to change my port from 8080 to 8085 to deploy my site.. >> something else is running on 8080.. >> >> how can i do this in my pier image? >> >> thanks! >> >> -- >> ---- >> peace, >> sergio >> photographer, journalist, visionary >> >> http://www.CodingForHire.com >> http://www.coffee-black.com >> http://www.painlessfrugality.com >> http://www.twitter.com/sergio_101 >> http://www.facebook.com/sergio101 >> _______________________________________________ >> Magritte, Pier and Related Tools ... >> https://www.iam.unibe.ch/mailman/listinfo/smallwiki >> > > > > -- > Lukas Renggli > www.lukas-renggli.ch > -- Lukas Renggli www.lukas-renggli.ch From renggli at gmail.com Tue Nov 23 12:08:43 2010 From: renggli at gmail.com (Lukas Renggli) Date: Tue, 23 Nov 2010 08:08:43 -0300 Subject: rolling up a pier site In-Reply-To: References: Message-ID: See here: http://www.lukas-renggli.ch/blog/export-import Lukas On 23 November 2010 05:54, Jan van de Sandt wrote: > Hello, > Yes, there is an Import/Export component that can do this. It is part of the > default Pier setup. > Jan. > > > On Tue, Nov 23, 2010 at 6:15 AM, sergio_101 > wrote: >> >> is it possible to export an entire pier site from one smalltalk image, >> then import it into another image? >> >> not that this makes too much sense, but i am just thinking out loud.. >> >> -- >> ---- >> peace, >> sergio >> photographer, journalist, visionary >> >> http://www.CodingForHire.com >> http://www.coffee-black.com >> http://www.painlessfrugality.com >> http://www.twitter.com/sergio_101 >> http://www.facebook.com/sergio101 >> _______________________________________________ >> Magritte, Pier and Related Tools ... >> https://www.iam.unibe.ch/mailman/listinfo/smallwiki > > > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -- Lukas Renggli www.lukas-renggli.ch From sergiolist at village-buzz.com Tue Nov 23 15:03:43 2010 From: sergiolist at village-buzz.com (sergio_101) Date: Tue, 23 Nov 2010 09:03:43 -0500 Subject: rolling up a pier site In-Reply-To: References: Message-ID: On Tue, Nov 23, 2010 at 6:08 AM, Lukas Renggli wrote: > See here: http://www.lukas-renggli.ch/blog/export-import > ah.. i found this last night.. but unfortunately, my images is broken, and i can't hit it from the web.. -- ---- peace, sergio photographer, journalist, visionary http://www.CodingForHire.com http://www.coffee-black.com http://www.painlessfrugality.com http://www.twitter.com/sergio_101 http://www.facebook.com/sergio101 From sergiolist at village-buzz.com Tue Nov 23 15:07:29 2010 From: sergiolist at village-buzz.com (sergio_101) Date: Tue, 23 Nov 2010 09:07:29 -0500 Subject: changing port number In-Reply-To: References: Message-ID: > WAServerManager default adaptors do: [ :each | each stop ]. > WAKom startOn: 8085 okay, this worked.. i have two other adaptors still listed in the seaside control panel, but i can't delete them, as the control panel is broken.. -- ---- peace, sergio photographer, journalist, visionary http://www.CodingForHire.com http://www.coffee-black.com http://www.painlessfrugality.com http://www.twitter.com/sergio_101 http://www.facebook.com/sergio101 From davorin.rusevljan at gmail.com Tue Nov 23 15:12:11 2010 From: davorin.rusevljan at gmail.com (Davorin Rusevljan) Date: Tue, 23 Nov 2010 15:12:11 +0100 Subject: changing port number In-Reply-To: References: Message-ID: On Tue, Nov 23, 2010 at 3:07 PM, sergio_101 wrote: >> WAServerManager default adaptors do: [ :each | each stop ]. >> WAKom startOn: 8085 > > okay, this worked.. > > i have two other adaptors still listed in the seaside control panel, > but i can't delete them, as the control panel is broken.. well before going live, it might be a good idea to load your packages into the fresh clean seaside image, and deplay _that_ davorin rusevljan http://www.cloud208.com/ From sergiolist at village-buzz.com Tue Nov 23 15:14:11 2010 From: sergiolist at village-buzz.com (sergio_101) Date: Tue, 23 Nov 2010 09:14:11 -0500 Subject: cannot access my image at 8080 In-Reply-To: References: Message-ID: > Try to update Seaside-Tools-OmniBrowser to the latest code, there > seems to be some mismatch in version between Seaside and the > OmniBrowser tools. > i am sorry i keep asking stupid questions.. but how do i do this? -- ---- peace, sergio photographer, journalist, visionary http://www.CodingForHire.com http://www.coffee-black.com http://www.painlessfrugality.com http://www.twitter.com/sergio_101 http://www.facebook.com/sergio101 From sergiolist at village-buzz.com Tue Nov 23 15:15:24 2010 From: sergiolist at village-buzz.com (sergio_101) Date: Tue, 23 Nov 2010 09:15:24 -0500 Subject: accessing the current url In-Reply-To: References: Message-ID: On Tue, Nov 23, 2010 at 3:51 AM, Jan van de Sandt wrote: > Hello, > You can use the PRContext>>url method for this. > Jan. perfect.. thanks! -- ---- peace, sergio photographer, journalist, visionary http://www.CodingForHire.com http://www.coffee-black.com http://www.painlessfrugality.com http://www.twitter.com/sergio_101 http://www.facebook.com/sergio101 From renggli at gmail.com Tue Nov 23 15:26:47 2010 From: renggli at gmail.com (Lukas Renggli) Date: Tue, 23 Nov 2010 11:26:47 -0300 Subject: cannot access my image at 8080 In-Reply-To: References: Message-ID: Gofer new squeaksource: 'Seaside30'; package: 'Seaside-Tools-OmniBrowser'; load On 23 November 2010 11:14, sergio_101 wrote: >> Try to update Seaside-Tools-OmniBrowser to the latest code, there >> seems to be some mismatch in version between Seaside and the >> OmniBrowser tools. >> > > i am sorry i keep asking stupid questions.. but how do i do this? > > > -- > ---- > peace, > sergio > photographer, journalist, visionary > > http://www.CodingForHire.com > http://www.coffee-black.com > http://www.painlessfrugality.com > http://www.twitter.com/sergio_101 > http://www.facebook.com/sergio101 > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -- Lukas Renggli www.lukas-renggli.ch From sergiolist at village-buzz.com Tue Nov 23 15:36:16 2010 From: sergiolist at village-buzz.com (sergio_101) Date: Tue, 23 Nov 2010 09:36:16 -0500 Subject: cannot access my image at 8080 In-Reply-To: References: Message-ID: On Tue, Nov 23, 2010 at 9:26 AM, Lukas Renggli wrote: > Gofer new > ? ?squeaksource: 'Seaside30'; > ? ?package: 'Seaside-Tools-OmniBrowser'; > ? ?load > that fixed it.. thank you so much! -- ---- peace, sergio photographer, journalist, visionary http://www.CodingForHire.com http://www.coffee-black.com http://www.painlessfrugality.com http://www.twitter.com/sergio_101 http://www.facebook.com/sergio101 From sergiolist at village-buzz.com Tue Nov 23 15:38:38 2010 From: sergiolist at village-buzz.com (sergio_101) Date: Tue, 23 Nov 2010 09:38:38 -0500 Subject: custom RSS feed for podcast Message-ID: the site that i am launching has two blogs.. one is a regular text blog, the other is a podcast blog... i really like the current layout for the podcast blog.. where i can spit out the text that goes with the blog, etc.. the only thing i am going to need to do is create a custom feed that itunes can digest for the podcast.. any tips on where i should start? thanks! -- ---- peace, sergio photographer, journalist, visionary http://www.CodingForHire.com http://www.coffee-black.com http://www.painlessfrugality.com http://www.twitter.com/sergio_101 http://www.facebook.com/sergio101 From sergiolist at village-buzz.com Tue Nov 23 16:04:57 2010 From: sergiolist at village-buzz.com (sergio_101) Date: Tue, 23 Nov 2010 10:04:57 -0500 Subject: last steps in deployment.. Message-ID: i am ALMOST there.. i am reading the tutorial for deployment, and i have a few issues.. from the document: -- Edit the configuration of the Pier application located in the /seaside/config: Set the Server Hostname to: http://www.YOURDOMAIN.com this seems to be missing from my config -- Set the Deployment Mode to true - this, too... where would i find this? also, my /config is totally available to anyone who visits the site.. i changed it to authconfiguration, thinking that it would ask for authentication before letting anyone in.. unfortunately, it does, but the u/p i set up as a login don't work... where does this get handled? thanks! -- ---- peace, sergio photographer, journalist, visionary http://www.CodingForHire.com http://www.coffee-black.com http://www.painlessfrugality.com http://www.twitter.com/sergio_101 http://www.facebook.com/sergio101 From renggli at gmail.com Tue Nov 23 16:08:06 2010 From: renggli at gmail.com (Lukas Renggli) Date: Tue, 23 Nov 2010 12:08:06 -0300 Subject: last steps in deployment.. In-Reply-To: References: Message-ID: Sounds like you are using Seaside 3.0 together with instructions for Seaside 2.8. Check out the Seaside book: http://book.seaside.st/book/advanced/deployment Lukas On 23 November 2010 12:04, sergio_101 wrote: > i am ALMOST there.. > > i am reading the tutorial for deployment, and i have a few issues.. > from the document: > > -- Edit the configuration of the Pier application located in the > /seaside/config: > Set the Server Hostname to: http://www.YOURDOMAIN.com > > this seems to be missing from my config > > -- Set the Deployment Mode to true - this, too... where would i find this? > > also, my /config is totally available to anyone who visits the site.. > i changed it to authconfiguration, thinking that it would ask for > authentication before letting anyone in.. > > unfortunately, it does, but the u/p i set up as a login don't work... > where does this get handled? > > thanks! > > -- > ---- > peace, > sergio > photographer, journalist, visionary > > http://www.CodingForHire.com > http://www.coffee-black.com > http://www.painlessfrugality.com > http://www.twitter.com/sergio_101 > http://www.facebook.com/sergio101 > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -- Lukas Renggli www.lukas-renggli.ch From sergiolist at village-buzz.com Tue Nov 23 16:15:32 2010 From: sergiolist at village-buzz.com (sergio_101) Date: Tue, 23 Nov 2010 10:15:32 -0500 Subject: last steps in deployment.. In-Reply-To: References: Message-ID: On Tue, Nov 23, 2010 at 10:08 AM, Lukas Renggli wrote: > Sounds like you are using Seaside 3.0 together with instructions for > Seaside 2.8. > ah! okay.. let me look at that.. i am getting the instructions from here: http://www.piercms.com/doc/deploy?_s=TA2fu0VolmUedYIO&_k=lLPxhdcH&_n&23 -- ---- peace, sergio photographer, journalist, visionary http://www.CodingForHire.com http://www.coffee-black.com http://www.painlessfrugality.com http://www.twitter.com/sergio_101 http://www.facebook.com/sergio101 From renggli at gmail.com Tue Nov 23 16:20:17 2010 From: renggli at gmail.com (Lukas Renggli) Date: Tue, 23 Nov 2010 12:20:17 -0300 Subject: last steps in deployment.. In-Reply-To: References: Message-ID: Thank you for reporting this, I've created an issue: http://code.google.com/p/pier/issues/detail?id=125 Lukas On 23 November 2010 12:15, sergio_101 wrote: > On Tue, Nov 23, 2010 at 10:08 AM, Lukas Renggli wrote: >> Sounds like you are using Seaside 3.0 together with instructions for >> Seaside 2.8. >> > > ah! okay.. let me look at that.. i am getting the instructions from here: > > http://www.piercms.com/doc/deploy?_s=TA2fu0VolmUedYIO&_k=lLPxhdcH&_n&23 > > > -- > ---- > peace, > sergio > photographer, journalist, visionary > > http://www.CodingForHire.com > http://www.coffee-black.com > http://www.painlessfrugality.com > http://www.twitter.com/sergio_101 > http://www.facebook.com/sergio101 > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -- Lukas Renggli www.lukas-renggli.ch From sergiolist at village-buzz.com Tue Nov 23 16:25:31 2010 From: sergiolist at village-buzz.com (sergio_101) Date: Tue, 23 Nov 2010 10:25:31 -0500 Subject: last steps in deployment.. In-Reply-To: References: Message-ID: > Thank you for reporting this, I've created an issue: > http://code.google.com/p/pier/issues/detail?id=125 > let me know if you need any help in documenting these things.. ie writing new documentation.. i would be glad to help.. another issue: following here: http://book.seaside.st/book/advanced/deployment/deployment-preparing?_s=g_M59XlQFbMOPKVN&_k=eWi3ZH4i&_n&14 when i add WAAuthConfiguration, i IMMEDIATELY get an http login.. and no usernames or passwords work.. this is for the whole site.. i get entirely locked out of my site.. ideas? -- ---- peace, sergio photographer, journalist, visionary http://www.CodingForHire.com http://www.coffee-black.com http://www.painlessfrugality.com http://www.twitter.com/sergio_101 http://www.facebook.com/sergio101 From sergiolist at village-buzz.com Tue Nov 23 16:41:25 2010 From: sergiolist at village-buzz.com (sergio_101) Date: Tue, 23 Nov 2010 10:41:25 -0500 Subject: deployment: config no longer works Message-ID: according to the documentation here: http://book.seaside.st/book/advanced/deployment/deployment-preparing?_s=g_M59XlQFbMOPKVN&_k=eWi3ZH4i&_n&14 i set selected config, then added WAAuthConfiguration this made my site ask for a mystery username and password every time i tried to view anything on it.. so reverted back to the previous image, and did this: | application | application := WADispatcher default handlerAt: 'config'. application configuration addParent: WAAuthConfiguration instance. application preferenceAt: #login put: 'admin'; preferenceAt: #passwordHash put: (GRPlatform current secureHashFor: 'seaside'). application addFilter: WAAuthenticationFilter new. which chokes here: application := WADispatcher default handlerAt: 'config'. with: upon viewing the point, i get: mesageNotUnderstood: receiver of new is nil ideas? -- ---- peace, sergio photographer, journalist, visionary http://www.CodingForHire.com http://www.coffee-black.com http://www.painlessfrugality.com http://www.twitter.com/sergio_101 http://www.facebook.com/sergio101 From renggli at gmail.com Tue Nov 23 16:50:38 2010 From: renggli at gmail.com (Lukas Renggli) Date: Tue, 23 Nov 2010 12:50:38 -0300 Subject: deployment: config no longer works In-Reply-To: References: Message-ID: I cannot tell offhand what the problem is, but it is clearly related to Seaside, not Pier. Lukas On 23 November 2010 12:41, sergio_101 wrote: > according to the documentation here: > > http://book.seaside.st/book/advanced/deployment/deployment-preparing?_s=g_M59XlQFbMOPKVN&_k=eWi3ZH4i&_n&14 > > i set selected config, then added WAAuthConfiguration > > this made my site ask for a mystery username and password every time i > tried to view anything on it.. > > so reverted back to the previous image, and did this: > > | application | > application := WADispatcher default handlerAt: 'config'. > application configuration > ? ?addParent: WAAuthConfiguration instance. > application > ? ?preferenceAt: #login put: 'admin'; > ? ?preferenceAt: #passwordHash put: (GRPlatform current > secureHashFor: 'seaside'). > application > ? ?addFilter: WAAuthenticationFilter new. > > which chokes here: > > application := WADispatcher default handlerAt: 'config'. > > with: > > upon viewing the point, i get: > > mesageNotUnderstood: receiver of new is nil > > ideas? > > -- > ---- > peace, > sergio > photographer, journalist, visionary > > http://www.CodingForHire.com > http://www.coffee-black.com > http://www.painlessfrugality.com > http://www.twitter.com/sergio_101 > http://www.facebook.com/sergio101 > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -- Lukas Renggli www.lukas-renggli.ch From sergiolist at village-buzz.com Tue Nov 23 17:09:52 2010 From: sergiolist at village-buzz.com (sergio_101) Date: Tue, 23 Nov 2010 11:09:52 -0500 Subject: rolling up a pier site In-Reply-To: References: Message-ID: On Tue, Nov 23, 2010 at 9:03 AM, sergio_101 wrote: > On Tue, Nov 23, 2010 at 6:08 AM, Lukas Renggli wrote: >> See here: http://www.lukas-renggli.ch/blog/export-import >> > working with this setup... i have exported my site.. but when i try to import it into a new image, nothing happens.. the import goes okay, but image doesn't show new pages.. it looks exactly as it it did before.. hmm.. -- ---- peace, sergio photographer, journalist, visionary http://www.CodingForHire.com http://www.coffee-black.com http://www.painlessfrugality.com http://www.twitter.com/sergio_101 http://www.facebook.com/sergio101 From yanni at rogers.com Tue Nov 23 17:52:04 2010 From: yanni at rogers.com (Yanni Chiu) Date: Tue, 23 Nov 2010 11:52:04 -0500 Subject: last steps in deployment.. In-Reply-To: References: Message-ID: On 23/11/10 10:15 AM, sergio_101 wrote: > On Tue, Nov 23, 2010 at 10:08 AM, Lukas Renggli wrote: >> Sounds like you are using Seaside 3.0 together with instructions for >> Seaside 2.8. >> > > ah! okay.. let me look at that.. i am getting the instructions from here: Here's some code I quickly cut out of my code base - released under MIT license, etc. I'd been wanting to package it better. The methods are on the class side. The code in the "build-core" category is called by my build script. After the image is built by the build script, I start the image and use a browser to run the code in the "build-customize" category. I edit the code in the message comment (i.e. change password and domain name) then run "doIt". It's probably better to run the "build-customize" code before you upload the image to the server. But if you must do it after, remember that you can use a startup script to do minor tweaks to the image. I've used the startup script sometimes to restart Seaside on a different portno, so I could access the vnc controller via Seaside, to start the VNC Server. Then with VNC running, I did further image adjustments. -- Yanni Chiu -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: ZZInstallUtility.st URL: From marianopeck at gmail.com Tue Nov 23 19:05:59 2010 From: marianopeck at gmail.com (Mariano Martinez Peck) Date: Tue, 23 Nov 2010 19:05:59 +0100 Subject: cannot access my image at 8080 In-Reply-To: References: Message-ID: Another common problem with port 8080 I think is that in Linux for example, the user that launch the VM needs to have sudo access. And I always have something running in 8080...this is why I alwways change to another port. And I even think Seaside one click should use another port by default than 8080. Cheers mariano On Tue, Nov 23, 2010 at 3:36 PM, sergio_101 wrote: > On Tue, Nov 23, 2010 at 9:26 AM, Lukas Renggli wrote: > > Gofer new > > squeaksource: 'Seaside30'; > > package: 'Seaside-Tools-OmniBrowser'; > > load > > > > that fixed it.. > > thank you so much! > > > > -- > ---- > peace, > sergio > photographer, journalist, visionary > > http://www.CodingForHire.com > http://www.coffee-black.com > http://www.painlessfrugality.com > http://www.twitter.com/sergio_101 > http://www.facebook.com/sergio101 > > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sergiolist at village-buzz.com Tue Nov 23 20:37:43 2010 From: sergiolist at village-buzz.com (sergio_101) Date: Tue, 23 Nov 2010 14:37:43 -0500 Subject: site is deployed.. extra '//' in url.. Message-ID: whew! i got the site deployed.. i will blog about the things i had to do to get it set up, but suffice it to say, it wasn't impossible... bear in mind that it's not public yet.. and not complete.. but it will be in a day or so.. but you can see it here: http://www.thoseoptimizeguys.com my question.. if you go to a page, you will see there is an extra '/' in the url... ie http://www.thoseoptimizeguys.com//ContactUs?_s=7leixyWenK8hmr6j&_k=oJw56kD1GNp4lURv&_n&13 i am not sure if i need to change that in my image, or in my apache config.. that section of the apache config looks like: # set serer name ProxyPreserveHost On ServerName thoseoptimizeguys.com ServerAlias www.thoseoptimizeguys.com # connfigure static file serving DocumentRoot /home/optimizeguys/optimizeImage/files Order deny,allow Allow from all # rewrite incoming requests RewriteEngine On RewriteRule ^/pier(.*)$ http://www.thoseoptimizeguys.com/$1 [redirect,last] RewriteRule ^/files/(.*)$ http://localhost:8085/files/$1 [proxy,last] RewriteCond /home/optimizeguys/optimizeImage/files/%{REQUEST_FILENAME} !-f RewriteRule ^/(.*)$ http://localhost:8085/pier/$1 [proxy,last] -- ---- peace, sergio photographer, journalist, visionary http://www.CodingForHire.com http://www.coffee-black.com http://www.painlessfrugality.com http://www.twitter.com/sergio_101 http://www.facebook.com/sergio101 From sergiolist at village-buzz.com Tue Nov 23 20:41:45 2010 From: sergiolist at village-buzz.com (sergio_101) Date: Tue, 23 Nov 2010 14:41:45 -0500 Subject: deployed site will not let me log in.. Message-ID: whew.. okay, so i have deployed my image.. but now, it won't let me log in... using the same login/password as i used when i was running the image on my local machine, it doesn't do anything.. i don't get any error messages or anything of the sort.. the screen just refreshes.. ideas? thanks! -- ---- peace, sergio photographer, journalist, visionary http://www.CodingForHire.com http://www.coffee-black.com http://www.painlessfrugality.com http://www.twitter.com/sergio_101 http://www.facebook.com/sergio101 From sergiolist at village-buzz.com Tue Nov 23 20:43:18 2010 From: sergiolist at village-buzz.com (sergio_101) Date: Tue, 23 Nov 2010 14:43:18 -0500 Subject: favicon on deployed site Message-ID: okay, one more question, i swear.. where is the favicon served up in a pier site? i can't seem to find it anywhere.. i would like to install a custom favicon, but i can't find it anywhere.. -- ---- peace, sergio photographer, journalist, visionary http://www.CodingForHire.com http://www.coffee-black.com http://www.painlessfrugality.com http://www.twitter.com/sergio_101 http://www.facebook.com/sergio101 From renggli at gmail.com Tue Nov 23 21:10:48 2010 From: renggli at gmail.com (Lukas Renggli) Date: Tue, 23 Nov 2010 17:10:48 -0300 Subject: site is deployed.. extra '//' in url.. In-Reply-To: References: Message-ID: You probably need to remove the last / from the base-path in the Seaside configuration of your Pier application. Lukas On 23 November 2010 16:37, sergio_101 wrote: > whew! > > i got the site deployed.. > > i will blog about the things i had to do to get it set up, but suffice > it to say, it wasn't impossible... > > bear in mind that it's not public yet.. and not complete.. but it will > be in a day or so.. > > but you can see it here: > > http://www.thoseoptimizeguys.com > > my question.. > > if you go to a page, you will see there is an extra '/' in the url... ie > > http://www.thoseoptimizeguys.com//ContactUs?_s=7leixyWenK8hmr6j&_k=oJw56kD1GNp4lURv&_n&13 > > i am not sure if i need to change that in my image, or in my apache config.. > > that section of the apache config looks like: > > > > ? ? ? ? ?# set serer name > ? ? ? ? ?ProxyPreserveHost On > ? ? ? ? ?ServerName thoseoptimizeguys.com > ? ? ? ? ?ServerAlias www.thoseoptimizeguys.com > > ? ? ? ? ?# connfigure static file serving > ? ? ? ? ?DocumentRoot /home/optimizeguys/optimizeImage/files > ? ? ? ? ? > ? ? ? ? ? ?Order deny,allow > ? ? ? ? ? ?Allow from all > ? ? ? ? ? > > ? ? ? ? ?# rewrite incoming requests > ? ? ? ? ?RewriteEngine On > ? ? ? ? ?RewriteRule ^/pier(.*)$ http://www.thoseoptimizeguys.com/$1 [redirect,last] > ? ? ? ? ?RewriteRule ^/files/(.*)$ http://localhost:8085/files/$1 [proxy,last] > ? ? ? ? ?RewriteCond /home/optimizeguys/optimizeImage/files/%{REQUEST_FILENAME} !-f > ? ? ? ? ?RewriteRule ^/(.*)$ http://localhost:8085/pier/$1 [proxy,last] > > > > -- > ---- > peace, > sergio > photographer, journalist, visionary > > http://www.CodingForHire.com > http://www.coffee-black.com > http://www.painlessfrugality.com > http://www.twitter.com/sergio_101 > http://www.facebook.com/sergio101 > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -- Lukas Renggli www.lukas-renggli.ch From renggli at gmail.com Tue Nov 23 21:12:00 2010 From: renggli at gmail.com (Lukas Renggli) Date: Tue, 23 Nov 2010 17:12:00 -0300 Subject: deployed site will not let me log in.. In-Reply-To: References: Message-ID: Sounds like the base-path in the Seaside configuration is wrong. Check with FireBug and you can probably observe that the post of the login goes nowhere ... Lukas On 23 November 2010 16:41, sergio_101 wrote: > whew.. > > okay, so i have deployed my image.. but now, it won't let me log in... > > using the same login/password as i used when i was running the image > on my local machine, it doesn't do anything.. > > i don't get any error messages or anything of the sort.. the screen > just refreshes.. > > ideas? > > thanks! > > -- > ---- > peace, > sergio > photographer, journalist, visionary > > http://www.CodingForHire.com > http://www.coffee-black.com > http://www.painlessfrugality.com > http://www.twitter.com/sergio_101 > http://www.facebook.com/sergio101 > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -- Lukas Renggli www.lukas-renggli.ch From renggli at gmail.com Tue Nov 23 21:13:18 2010 From: renggli at gmail.com (Lukas Renggli) Date: Tue, 23 Nov 2010 17:13:18 -0300 Subject: favicon on deployed site In-Reply-To: References: Message-ID: Should work if you just put the file at /home/optimizeguys/optimizeImage/files/favicon.ico Lukas On 23 November 2010 16:43, sergio_101 wrote: > okay, one more question, i swear.. > > where is the favicon served up in a pier site? i can't seem to find it > anywhere.. i would like to install a custom favicon, but i can't find > it anywhere.. > > > -- > ---- > peace, > sergio > photographer, journalist, visionary > > http://www.CodingForHire.com > http://www.coffee-black.com > http://www.painlessfrugality.com > http://www.twitter.com/sergio_101 > http://www.facebook.com/sergio101 > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -- Lukas Renggli www.lukas-renggli.ch From sergiolist at village-buzz.com Tue Nov 23 23:29:09 2010 From: sergiolist at village-buzz.com (sergio_101) Date: Tue, 23 Nov 2010 17:29:09 -0500 Subject: site is deployed.. extra '//' in url.. In-Reply-To: References: Message-ID: hmm.. currently, thy they are both (resource base url, server path) set to unspecified.. not sure what to set the resource base url to... it SEEMS like resource base url should be "http://www.thoseoptimizeguys.com/resources' and server path should be '/' but that doesn't feel right.. On Tue, Nov 23, 2010 at 3:10 PM, Lukas Renggli wrote: > You probably need to remove the last / from the base-path in the > Seaside configuration of your Pier application. > > Lukas > > On 23 November 2010 16:37, sergio_101 wrote: >> whew! >> >> i got the site deployed.. >> >> i will blog about the things i had to do to get it set up, but suffice >> it to say, it wasn't impossible... >> >> bear in mind that it's not public yet.. and not complete.. but it will >> be in a day or so.. >> >> but you can see it here: >> >> http://www.thoseoptimizeguys.com >> >> my question.. >> >> if you go to a page, you will see there is an extra '/' in the url... ie >> >> http://www.thoseoptimizeguys.com//ContactUs?_s=7leixyWenK8hmr6j&_k=oJw56kD1GNp4lURv&_n&13 >> >> i am not sure if i need to change that in my image, or in my apache config.. >> >> that section of the apache config looks like: >> >> >> >> ? ? ? ? ?# set serer name >> ? ? ? ? ?ProxyPreserveHost On >> ? ? ? ? ?ServerName thoseoptimizeguys.com >> ? ? ? ? ?ServerAlias www.thoseoptimizeguys.com >> >> ? ? ? ? ?# connfigure static file serving >> ? ? ? ? ?DocumentRoot /home/optimizeguys/optimizeImage/files >> ? ? ? ? ? >> ? ? ? ? ? ?Order deny,allow >> ? ? ? ? ? ?Allow from all >> ? ? ? ? ? >> >> ? ? ? ? ?# rewrite incoming requests >> ? ? ? ? ?RewriteEngine On >> ? ? ? ? ?RewriteRule ^/pier(.*)$ http://www.thoseoptimizeguys.com/$1 [redirect,last] >> ? ? ? ? ?RewriteRule ^/files/(.*)$ http://localhost:8085/files/$1 [proxy,last] >> ? ? ? ? ?RewriteCond /home/optimizeguys/optimizeImage/files/%{REQUEST_FILENAME} !-f >> ? ? ? ? ?RewriteRule ^/(.*)$ http://localhost:8085/pier/$1 [proxy,last] >> >> >> >> -- >> ---- >> peace, >> sergio >> photographer, journalist, visionary >> >> http://www.CodingForHire.com >> http://www.coffee-black.com >> http://www.painlessfrugality.com >> http://www.twitter.com/sergio_101 >> http://www.facebook.com/sergio101 >> _______________________________________________ >> Magritte, Pier and Related Tools ... >> https://www.iam.unibe.ch/mailman/listinfo/smallwiki >> > > > > -- > Lukas Renggli > www.lukas-renggli.ch > > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -- ---- peace, sergio photographer, journalist, visionary http://www.CodingForHire.com http://www.coffee-black.com http://www.painlessfrugality.com http://www.twitter.com/sergio_101 http://www.facebook.com/sergio101 From renggli at gmail.com Tue Nov 23 23:33:28 2010 From: renggli at gmail.com (Lukas Renggli) Date: Tue, 23 Nov 2010 19:33:28 -0300 Subject: site is deployed.. extra '//' in url.. In-Reply-To: References: Message-ID: > it SEEMS like resource base url should be > "http://www.thoseoptimizeguys.com/resources' Yes. > and server path should be '/' > > but that doesn't feel right.. It is the solution. The URLs on your Pier site are all generated wrong, they have a /pier prefix. Lukas -- Lukas Renggli www.lukas-renggli.ch From sergiolist at village-buzz.com Tue Nov 23 23:38:02 2010 From: sergiolist at village-buzz.com (sergio_101) Date: Tue, 23 Nov 2010 17:38:02 -0500 Subject: site is deployed.. extra '//' in url.. In-Reply-To: References: Message-ID: >> it SEEMS like resource base url should be >> "http://www.thoseoptimizeguys.com/resources' > > Yes. > yes, this works.. i just can't immediately see why we need to add .../resources. but at this point, it's working, and i don't want to rock the boat.. i need to start populating this thing.. thanks for all your help, lukas.. -- ---- peace, sergio photographer, journalist, visionary http://www.CodingForHire.com http://www.coffee-black.com http://www.painlessfrugality.com http://www.twitter.com/sergio_101 http://www.facebook.com/sergio101 From renggli at gmail.com Tue Nov 23 23:44:12 2010 From: renggli at gmail.com (Lukas Renggli) Date: Tue, 23 Nov 2010 19:44:12 -0300 Subject: site is deployed.. extra '//' in url.. In-Reply-To: References: Message-ID: > yes, this works.. i just can't immediately see why we need to add .../resources. > > but at this point, it's working, and i don't want to rock the boat.. i > need to start populating this thing.. > > thanks for all your help, lukas.. The problem is that the rewrite rule RewriteRule ^/pier(.*)$ http://www.thoseoptimizeguys.com/$1 [redirect,last] does a redirect if there is a /pier prefix. You can basically remove this line, this handled the legacy case of expired sessions in Seaside 2.8. In your case it hid the fact that the base path was set wrong and caused Apache to fix the URL with a redirect for each request. Of course that doesn't work for POST requests (the POST was then lost and the login didn't work). Lukas -- Lukas Renggli www.lukas-renggli.ch From sergiolist at village-buzz.com Tue Nov 23 23:57:18 2010 From: sergiolist at village-buzz.com (sergio_101) Date: Tue, 23 Nov 2010 17:57:18 -0500 Subject: site is deployed.. extra '//' in url.. In-Reply-To: References: Message-ID: > ? RewriteRule ^/pier(.*)$ http://www.thoseoptimizeguys.com/$1 [redirect,last] > > does a redirect if there is a /pier prefix. You can basically remove > this line, this handled the legacy case of expired sessions in Seaside okay, i removed this.. and everything seems to be working fine.. except favicon.. hmm... let me know if you want me to work on updating all the documentation.. thanks! -- ---- peace, sergio photographer, journalist, visionary http://www.CodingForHire.com http://www.coffee-black.com http://www.painlessfrugality.com http://www.twitter.com/sergio_101 http://www.facebook.com/sergio101 From renggli at gmail.com Wed Nov 24 00:04:48 2010 From: renggli at gmail.com (Lukas Renggli) Date: Tue, 23 Nov 2010 20:04:48 -0300 Subject: site is deployed.. extra '//' in url.. In-Reply-To: References: Message-ID: > okay, i removed this.. and everything seems to be working fine.. > except favicon.. hmm... I think DocumentRoot /home/optimizeguys/optimizeImage/files should refer to the same director (the one above)? > let me know if you want me to work on updating all the documentation.. Yes, that would be great! Can you post an improved version of to ? Lukas -- Lukas Renggli www.lukas-renggli.ch From sergiolist at village-buzz.com Wed Nov 24 00:06:27 2010 From: sergiolist at village-buzz.com (sergio_101) Date: Tue, 23 Nov 2010 18:06:27 -0500 Subject: deployed image is still in development mode Message-ID: ooops! i forgot to change this.. is there a way to change it programmatically? i can no longer get to /config (and even there, i can't find this setting..) any ideas? oops.. thanks! -- ---- peace, sergio photographer, journalist, visionary http://www.CodingForHire.com http://www.coffee-black.com http://www.painlessfrugality.com http://www.twitter.com/sergio_101 http://www.facebook.com/sergio101 From renggli at gmail.com Wed Nov 24 00:13:48 2010 From: renggli at gmail.com (Lukas Renggli) Date: Tue, 23 Nov 2010 20:13:48 -0300 Subject: deployed image is still in development mode In-Reply-To: References: Message-ID: You can go to the machine and access other applications at http://localhost:8085/config without going through Apache. If you have setup your firewall correctly (so that only port 80 is open), then you don't even need to secure the config application otherwise. Again, this is discussed in the Deployment chapter of the Seaside book. Lukas On 23 November 2010 20:06, sergio_101 wrote: > ooops! > > i forgot to change this.. > > is there a way to change it programmatically? > > i can no longer get to /config (and even there, i can't find this setting..) > > any ideas? > > oops.. > > thanks! > > -- > ---- > peace, > sergio > photographer, journalist, visionary > > http://www.CodingForHire.com > http://www.coffee-black.com > http://www.painlessfrugality.com > http://www.twitter.com/sergio_101 > http://www.facebook.com/sergio101 > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -- Lukas Renggli www.lukas-renggli.ch From sergiolist at village-buzz.com Wed Nov 24 00:39:26 2010 From: sergiolist at village-buzz.com (sergio_101) Date: Tue, 23 Nov 2010 18:39:26 -0500 Subject: deployed image is still in development mode In-Reply-To: References: Message-ID: > don't even need to secure the config application otherwise. Again, > this is discussed in the Deployment chapter of the Seaside book. > i think that was discussed in the past here: http://book.seaside.st/book/advanced/deployment/deployment-preparing but for whatever reason, i can't find it anywhere.. -- ---- peace, sergio photographer, journalist, visionary http://www.CodingForHire.com http://www.coffee-black.com http://www.painlessfrugality.com http://www.twitter.com/sergio_101 http://www.facebook.com/sergio101 From sergiolist at village-buzz.com Wed Nov 24 06:27:52 2010 From: sergiolist at village-buzz.com (sergio_101) Date: Wed, 24 Nov 2010 00:27:52 -0500 Subject: pier and google analytics Message-ID: i am running the latest version of pier, and want to make sure that i don't need to edit the filters section in my google analytics account.. i am referring to this: http://www.piercms.com/doc/google-analytics?_s=ngdTjtj6Kk9tYVyG&_k=KsuE5V7e&_n&20 am i in the clear? thanks! -- ---- peace, sergio photographer, journalist, visionary http://www.CodingForHire.com http://www.coffee-black.com http://www.painlessfrugality.com http://www.twitter.com/sergio_101 http://www.facebook.com/sergio101 From dtrussardi at tiscali.it Wed Nov 24 16:21:01 2010 From: dtrussardi at tiscali.it (dtrussardi at tiscali.it) Date: Wed, 24 Nov 2010 16:21:01 +0100 Subject: Save PRBook as PDF file Message-ID: <64998D47-8AA7-444E-A48B-1CD480EE2B05@tiscali.it> Hi, i create small book based on PRBookDistribution. Now i have 2 question: A) How i can save it in PDF format ? B) After create and update the pages with the Pier editor ( Login and edit the structures ) i can save the change to the original methods ? This for save and generate a new structure ( in other image ) update with the last change. The same question is relative to save the note add by user. Thank for any consideration, Dario From renggli at gmail.com Thu Nov 25 00:50:44 2010 From: renggli at gmail.com (Lukas Renggli) Date: Wed, 24 Nov 2010 20:50:44 -0300 Subject: Save PRBook as PDF file In-Reply-To: <64998D47-8AA7-444E-A48B-1CD480EE2B05@tiscali.it> References: <64998D47-8AA7-444E-A48B-1CD480EE2B05@tiscali.it> Message-ID: > ? ? ? ?A) ?How i can save it in PDF format ? There is a view for that, it requires that you have OSProcess, LaTeX, etc. properly setup on your machine though. For the Seaside book we have a cron-job that nightly downloads the LaTeX source and builds a fresh PDF. > ? ? ? ?B) After create and update the pages with the Pier editor ( Login and edit the structures ) ?i can save the change to the original methods ? No, this is not implemented. Lukas -- Lukas Renggli www.lukas-renggli.ch From dtrussardi at tiscali.it Thu Nov 25 16:12:37 2010 From: dtrussardi at tiscali.it (dtrussardi at tiscali.it) Date: Thu, 25 Nov 2010 16:12:37 +0100 Subject: Save PRBook as PDF file In-Reply-To: References: <64998D47-8AA7-444E-A48B-1CD480EE2B05@tiscali.it> Message-ID: Hi, >> A) How i can save it in PDF format ? > > There is a view for that, it requires that you have OSProcess, LaTeX, > etc. properly setup on your machine though. For the Seaside book we > have a cron-job that nightly downloads the LaTeX source and builds a > fresh PDF. Where i can found instructions to configuration it ? In the view i found the LaTex - PDF option but when select they erase error. I think to port my PRBook instances into Gemstone ( Its run on Ubuntu server) All works fine on this environment ? >> B) After create and update the pages with the Pier editor ( Login and edit the structures ) i can save the change to the original methods ? > > No, this is not implemented. If i need to port my PRKernel instance from one 'database - image ' to another ' database -image ' how i can do it ? How i can save my update data for export - import ? Thanks, Dario -------------- next part -------------- An HTML attachment was scrubbed... URL: From renggli at gmail.com Thu Nov 25 16:17:58 2010 From: renggli at gmail.com (Lukas Renggli) Date: Thu, 25 Nov 2010 12:17:58 -0300 Subject: Save PRBook as PDF file In-Reply-To: References: <64998D47-8AA7-444E-A48B-1CD480EE2B05@tiscali.it> Message-ID: > ? ? ? ?A) ?How i can save it in PDF format ? > > There is a view for that, it requires that you have OSProcess, LaTeX, > etc. properly setup on your machine though. For the Seaside book we > have a cron-job that nightly downloads the LaTeX source and builds a > fresh PDF. > > Where i can found instructions to configuration it ? > In the view i found ?the LaTex - PDF option ?but ?when select they erase > error. What kind of error? > I think to port my PRBook instances ?into Gemstone ( Its run on Ubuntu > server) > All works fine on this environment ? I don't know, but I think the Pharo book is hosted on GemStone. > ? ? ? ?B) After create and update the pages with the Pier editor ( Login and > edit the structures ) ?i can save the change to the original methods ? > > No, this is not implemented. > > If i need to port my PRKernel instance from one 'database - image ' ?to > another ' database -image ' how i can do it ? > How i can save my update data for export - import ? Between two Pharo images you can use: . Between Pharo and GemStone I don't know. Maybe with SIXX? Anybody has experience on this? Lukas -- Lukas Renggli www.lukas-renggli.ch From dtrussardi at tiscali.it Thu Nov 25 16:36:32 2010 From: dtrussardi at tiscali.it (dtrussardi at tiscali.it) Date: Thu, 25 Nov 2010 16:36:32 +0100 Subject: Save PRBook as PDF file In-Reply-To: References: <64998D47-8AA7-444E-A48B-1CD480EE2B05@tiscali.it> Message-ID: <95EDF352-F42E-4B68-A8AA-FBB5CC0910D7@tiscali.it> >> A) How i can save it in PDF format ? >> >> There is a view for that, it requires that you have OSProcess, LaTeX, >> etc. properly setup on your machine though. For the Seaside book we >> have a cron-job that nightly downloads the LaTeX source and builds a >> fresh PDF. >> >> Where i can found instructions to configuration it ? >> In the view i found the LaTex - PDF option but when select they erase >> error. > > What kind of error? When select PDF link i found the error: WriteStream(Object)>>doesNotUnderstand: #lf BOLatexStream>>comment: BOLatexWriter>>visitBook: BOBook>>accept: BOBook(Object)>>acceptDecorated: [] in BOBook(PRDecorated)>>acceptDecorated: BOBook(PRDecorated)>>decorationsDo:ownerDo: BOBook(PRDecorated)>>acceptDecorated: BOLatexWriter(PRVisitor)>>visit: BOLatexWriter>>visit: BOLatexWriter(PRVisitor)>>start: BOLatexWriter(PRDocumentWriter)>>start: BOLatexWriter(PRDocumentWriter)>>write:to: BOLatexWriter(PRDocumentWriter)>>write: BOLatexWriter class(PRDocumentWriter class)>>write: I the pharo image i found the OSProcess package and Pier-Book-Latex package. From renggli at gmail.com Thu Nov 25 18:20:11 2010 From: renggli at gmail.com (Lukas Renggli) Date: Thu, 25 Nov 2010 14:20:11 -0300 Subject: Save PRBook as PDF file In-Reply-To: <95EDF352-F42E-4B68-A8AA-FBB5CC0910D7@tiscali.it> References: <64998D47-8AA7-444E-A48B-1CD480EE2B05@tiscali.it> <95EDF352-F42E-4B68-A8AA-FBB5CC0910D7@tiscali.it> Message-ID: >> What kind of error? > > When select PDF link ?i found the error: > > WriteStream(Object)>>doesNotUnderstand: #lf > BOLatexStream>>comment: > BOLatexWriter>>visitBook: #lf is a method present in WriteStream of my Pharo image. Looks like this method is not present in pre 1.1 images, so you might need to add it or update your image. Lukas -- Lukas Renggli www.lukas-renggli.ch From dtrussardi at tiscali.it Fri Nov 26 17:00:24 2010 From: dtrussardi at tiscali.it (dtrussardi at tiscali.it) Date: Fri, 26 Nov 2010 17:00:24 +0100 Subject: Display Pier environment as Seaside component Message-ID: Hi, my goal is to display Pier environment as Seaside subcomponent. I have some problem .... First i create a class: WAComponent subclass: #TestMultiPier instanceVariableNames: 'pageA pageB tabs task' classVariableNames: '' poolDictionaries: '' category: 'DTR-TestPier' the initialize super initialize. tabs := OrderedCollection new. nomeKernel := 'pier'. pageA := PRPierFrame on: (PRContext kernel: (PRKernel instanceNamed: nomeKernel )). self initTopMenuFor the initTopMenuFor tabs add: 'PageA' -> pageA. the renderContentOn: html html text: 'Prova gestione multi Pier istance'. html paragraph: Time now. self renderTopMenuOn: html. task ifNotNil:[ html div id: 'divTabMst'; with:[ html render: task]] the renderTopMenuOn: html html unorderedList id: 'menu'; with: [ tabs do: [ :each | html listItem: [ html anchor class: (task = each value ifTrue: [ 'active' ]); callback: [ task := each value ]; with: each key ] ] ] Now when clic on the PageA link the system rendering the Pier page correctly. The error is erase when i click on sub link ( of the Pier main page ) Information or Environment. The system report the error: UndefinedObject(Object)>>doesNotUnderstand: #context: PRCurrentContext class>>value: [] in PRContext>>activationCallback BlockClosure>>valueWithPossibleArguments: WAActionCallback>>evaluateWithArgument: WAActionCallback(WACallback)>>evaluateWithFieldValues: [] in WACallbackRegistry>>handle: OrderedCollection>>do: WACallbackRegistry>>handle: [] in [] in WAActionPhaseContinuation>>runCallbacks BlockClosure>>on:do: WAActionPhaseContinuation(WARenderLoopContinuation)>>withNotificationHandlerDo: [] in WAActionPhaseContinuation>>runCallbacks BlockClosure>>ensure: WAActionPhaseContinuation>>runCallbacks WAActionPhaseContinuation>>handleRequest [] in WAActionPhaseContinuation(WASessionContinuation)>>basicValue BlockClosure>>on:do: WAActionPhaseContinuation(WASessionContinuation)>>withUnregisteredHandlerDo: WAActionPhaseContinuation(WASessionContinuation)>>basicValue Because this ? Thanks, Dario From renggli at gmail.com Fri Nov 26 20:34:38 2010 From: renggli at gmail.com (Lukas Renggli) Date: Fri, 26 Nov 2010 16:34:38 -0300 Subject: Display Pier environment as Seaside component In-Reply-To: References: Message-ID: I am not sure if I understand what you are trying to do, but did you see http://localhost:8080/examples/examplebrowser ? This embeds various Pier components in Seaside application. Lukas On 26 November 2010 13:00, dtrussardi at tiscali.it wrote: > Hi, > > > ? ? ? ?my goal is to display Pier environment as Seaside subcomponent. > > > ? ? ? ?I have some problem ?.... > > > ? ? ? ?First i create a class: > > ? ? ? ? ? ? ? ? ? ? ? ?WAComponent subclass: #TestMultiPier > ? ? ? ? ? ? ? ? ? ? ? ?instanceVariableNames: 'pageA pageB tabs task' > ? ? ? ? ? ? ? ? ? ? ? ?classVariableNames: '' > ? ? ? ? ? ? ? ? ? ? ? ?poolDictionaries: '' > ? ? ? ? ? ? ? ? ? ? ? ?category: 'DTR-TestPier' > > > > the > ? ? ? ? ? ? ? ?initialize > > ? ? ? ? ? ? ? ?super initialize. > > ? ? ? ? ? ? ? ?tabs := OrderedCollection new. > > ? ? ? ? ? ? ? ?nomeKernel := 'pier'. > ? ? ? ? ? ? ? ?pageA := PRPierFrame ?on: (PRContext kernel: (PRKernel instanceNamed: nomeKernel )). > > ? ? ? ? ? ? ? ?self initTopMenuFor > > > the > ? ? ? ? ? ? ? ?initTopMenuFor > > ? ? ? ? ? ? ? ?tabs add: 'PageA' -> pageA. > > the > > ? ? ? ? ? ? ? ?renderContentOn: html > > ? ? ? ? ? ? ? ?html text: 'Prova gestione multi Pier istance'. > ? ? ? ? ? ? ? ?html paragraph: Time now. > > ? ? ? ? ? ? ? ?self renderTopMenuOn: html. > > ? ? ? ? ? ? ? ?task ?ifNotNil:[ html div id: 'divTabMst'; > > ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?with:[ html render: task]] > > > the > > ? ? ? ?renderTopMenuOn: html > > ? ? ? ?html unorderedList id: 'menu'; with: [ > ? ? ? ? ? ? ? ?tabs do: [ :each | > ? ? ? ? ? ? ? ? ? ? ? ?html listItem: [ > ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?html anchor > ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?class: (task = each value > ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?ifTrue: [ 'active' ]); > ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?callback: [ task := each value ?]; > ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?with: each key ] ] ] > > > > > Now when clic on the PageA link the system rendering the Pier page correctly. > > The error is erase when i click on sub link ? ( of the Pier main page ? ?) ? ? ?Information or Environment. > > The system report the error: > > > UndefinedObject(Object)>>doesNotUnderstand: #context: > PRCurrentContext class>>value: > [] in PRContext>>activationCallback > BlockClosure>>valueWithPossibleArguments: > WAActionCallback>>evaluateWithArgument: > WAActionCallback(WACallback)>>evaluateWithFieldValues: > [] in WACallbackRegistry>>handle: > OrderedCollection>>do: > WACallbackRegistry>>handle: > [] in [] in WAActionPhaseContinuation>>runCallbacks > BlockClosure>>on:do: > WAActionPhaseContinuation(WARenderLoopContinuation)>>withNotificationHandlerDo: > [] in WAActionPhaseContinuation>>runCallbacks > BlockClosure>>ensure: > WAActionPhaseContinuation>>runCallbacks > WAActionPhaseContinuation>>handleRequest > [] in WAActionPhaseContinuation(WASessionContinuation)>>basicValue > BlockClosure>>on:do: > WAActionPhaseContinuation(WASessionContinuation)>>withUnregisteredHandlerDo: > WAActionPhaseContinuation(WASessionContinuation)>>basicValue > > > > Because this ? > > > Thanks, > > ? ? ? ?Dario > > > > > > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -- Lukas Renggli www.lukas-renggli.ch From sergiolist at village-buzz.com Sat Nov 27 07:54:33 2010 From: sergiolist at village-buzz.com (sergio_101) Date: Sat, 27 Nov 2010 01:54:33 -0500 Subject: image persistency - how often does it save? Message-ID: i set my image up for automatic persistence, and did a snapshot to test.. while checking the backup today, i realized that the backup hasn't happened for a few days.. do i need to do something else to fire this off? thanks! -- ---- peace, sergio photographer, journalist, visionary http://www.CodingForHire.com http://www.coffee-black.com http://www.painlessfrugality.com http://www.twitter.com/sergio_101 http://www.facebook.com/sergio101 From dtrussardi at tiscali.it Sat Nov 27 11:25:19 2010 From: dtrussardi at tiscali.it (dtrussardi at tiscali.it) Date: Sat, 27 Nov 2010 11:25:19 +0100 Subject: Display Pier environment as Seaside component In-Reply-To: References: Message-ID: <5E6E56ED-B23A-4F54-8588-5B715EFE1CD3@tiscali.it> Hi, > I am not sure if I understand what you are trying to do, but did you see > > http://localhost:8080/examples/examplebrowser > > ? This embeds various Pier components in Seaside application. I select from /examples/examplebrowser the PRPierFrame exampleDocumentation . When select PRObject or MAObject link i found the same error. In my test i found the error : I d'ont implement the children method children ^ Array with: pageA with it the example work fine. Now i have problem when i have the same seaside application but with reference to 2 different pier site i change the code to: >> >> my goal is to display Pier environment as Seaside subcomponent. >> >> >> I have some problem .... >> >> >> First i create a class: >> >> WAComponent subclass: #TestMultiPier >> instanceVariableNames: ' siteA siteB tabs task' >> classVariableNames: '' >> poolDictionaries: '' >> category: 'DTR-TestPier' >> >> >> >> the >> initialize >> >> super initialize. >> >> tabs := OrderedCollection new. >> >> nomeKernel := 'pier'. >> siteA := PRPierFrame on: (PRContext kernel: (PRKernel instanceNamed: nomeKernel )). nomeKernel := 'anowerpier'. siteB:= PRPierFrame on: (PRContext kernel: (PRKernel instanceNamed: nomeKernel )). >> >> self initTopMenuFor >> >> >> the >> initTopMenuFor >> >> tabs add: 'SiteA > siteA. tabs add: 'SiteB' -> siteB. >> >> the >> >> renderContentOn: html >> >> html text: 'Prova gestione multi Pier istance'. >> html paragraph: Time now. >> >> self renderTopMenuOn: html. >> >> task ifNotNil:[ html div id: 'divTabMst'; >> >> with:[ html render: task]] >> >> >> the >> >> renderTopMenuOn: html >> >> html unorderedList id: 'menu'; with: [ >> tabs do: [ :each | >> html listItem: [ >> html anchor >> class: (task = each value >> ifTrue: [ 'active' ]); >> callback: [ task := each value ]; >> with: each key ] ] ] >> >> With it i d'ont found any very debug problem. The first rendering of siteA and siteB work fine. But when click on link of siteA i have interference on siteB. The siteB is update to siteA. Any idea ? I can have more PRPierFrame instances in the same application. Thank, Dario From renggli at gmail.com Sat Nov 27 13:08:28 2010 From: renggli at gmail.com (Lukas Renggli) Date: Sat, 27 Nov 2010 09:08:28 -0300 Subject: image persistency - how often does it save? In-Reply-To: References: Message-ID: > i set my image up for automatic persistence, and did a snapshot to test.. > > while checking the backup today, i realized that the backup hasn't > happened for a few days.. > > do i need to do something else to fire this off? By default it only happens every hour, and only if you edit something in the model. See http://www.piercms.com/doc/faq#2818311 Lukas -- Lukas Renggli www.lukas-renggli.ch From renggli at gmail.com Sat Nov 27 13:11:43 2010 From: renggli at gmail.com (Lukas Renggli) Date: Sat, 27 Nov 2010 09:11:43 -0300 Subject: Display Pier environment as Seaside component In-Reply-To: <5E6E56ED-B23A-4F54-8588-5B715EFE1CD3@tiscali.it> References: <5E6E56ED-B23A-4F54-8588-5B715EFE1CD3@tiscali.it> Message-ID: I cannot reproduce this problem. Lukas On 27 November 2010 07:25, dtrussardi at tiscali.it wrote: > Hi, > >> I am not sure if I understand what you are trying to do, but did you see >> >> ? ?http://localhost:8080/examples/examplebrowser >> >> ? This embeds various Pier components in Seaside application. > > I select ? ? ? ?from ?/examples/examplebrowser ?the ? ? ?PRPierFrame exampleDocumentation . > > > ? ? ? ?When select ? ? ? ? ? ? ?PRObject ?or ? MAObject ? ? ? ?link ?i found the same error. > > > > > > In my test i found the error : ? I d'ont implement ?the children method > > ? ? ? ?children > ? ? ? ?^ Array with: pageA > > with it the example work fine. > > > > Now i have problem when i have the same seaside application but with reference to ?2 different pier site > > ? ? ? ?i change the code to: > >>> >>> ? ? ? ?my goal is to display Pier environment as Seaside subcomponent. >>> >>> >>> ? ? ? ?I have some problem ?.... >>> >>> >>> ? ? ? ?First i create a class: >>> >>> ? ? ? ? ? ? ? ? ? ? ? ?WAComponent subclass: #TestMultiPier >>> ? ? ? ? ? ? ? ? ? ? ? ?instanceVariableNames: ' siteA siteB tabs task' >>> ? ? ? ? ? ? ? ? ? ? ? ?classVariableNames: '' >>> ? ? ? ? ? ? ? ? ? ? ? ?poolDictionaries: '' >>> ? ? ? ? ? ? ? ? ? ? ? ?category: 'DTR-TestPier' >>> >>> >>> >>> the >>> ? ? ? ? ? ? ? ?initialize >>> >>> ? ? ? ? ? ? ? ?super initialize. >>> >>> ? ? ? ? ? ? ? ?tabs := OrderedCollection new. >>> >>> ? ? ? ? ? ? ? ?nomeKernel := 'pier'. >>> ? ? ? ? ? ? ? ?siteA := PRPierFrame ?on: (PRContext kernel: (PRKernel instanceNamed: nomeKernel )). > > ? ? ? ? ? ? ? ?nomeKernel := 'anowerpier'. > ? ? ? ? ? ? ? siteB:= PRPierFrame ?on: (PRContext kernel: (PRKernel instanceNamed: nomeKernel )). > > >>> >>> ? ? ? ? ? ? ? ?self initTopMenuFor >>> >>> >>> the >>> ? ? ? ? ? ? ? ?initTopMenuFor >>> >>> ? ? ? ? ? ? ? ?tabs add: 'SiteA ? ? ?> siteA. > ? ? ? ? ? ? ? ?tabs add: 'SiteB' -> siteB. > >>> >>> the >>> >>> ? ? ? ? ? ? ? ?renderContentOn: html >>> >>> ? ? ? ? ? ? ? ?html text: 'Prova gestione multi Pier istance'. >>> ? ? ? ? ? ? ? ?html paragraph: Time now. >>> >>> ? ? ? ? ? ? ? ?self renderTopMenuOn: html. >>> >>> ? ? ? ? ? ? ? ?task ?ifNotNil:[ html div id: 'divTabMst'; >>> >>> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?with:[ html render: task]] >>> >>> >>> the >>> >>> ? ? ? ?renderTopMenuOn: html >>> >>> ? ? ? ?html unorderedList id: 'menu'; with: [ >>> ? ? ? ? ? ? ? ?tabs do: [ :each | >>> ? ? ? ? ? ? ? ? ? ? ? ?html listItem: [ >>> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?html anchor >>> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?class: (task = each value >>> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?ifTrue: [ 'active' ]); >>> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?callback: [ task := each value ?]; >>> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?with: each key ] ] ] >>> >>> > > With it i d'ont found any very debug problem. > > The first rendering of siteA and siteB work fine. > > But when click on link of siteA ? ? ? ? i have interference on ? ? ? ? ? siteB. > > The siteB is update to siteA. > > > Any idea ? > > > I can have more PRPierFrame instances in the same application. > > > Thank, > ? ? ? ? ? ? ? ?Dario > > > > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -- Lukas Renggli www.lukas-renggli.ch From dtrussardi at tiscali.it Sat Nov 27 14:16:18 2010 From: dtrussardi at tiscali.it (dtrussardi at tiscali.it) Date: Sat, 27 Nov 2010 14:16:18 +0100 Subject: Display Pier environment as Seaside component In-Reply-To: References: <5E6E56ED-B23A-4F54-8588-5B715EFE1CD3@tiscali.it> Message-ID: <5D4AFBDC-A01B-46CC-B6B4-37EE38FE5C3B@tiscali.it> Lukas, about : I cannot reproduce this problem. i send you the *-mcz file about my test. -------------- next part -------------- A non-text attachment was scrubbed... Name: DTR-TestPier-DTR.2.mcz Type: application/octet-stream Size: 2092 bytes Desc: not available URL: -------------- next part -------------- You only need update the initialize method with the Pier name instance in your image. ( it's work with same name 'pier' ) nomeKernelA := 'pier'. nomeKernelB := 'pier'. After when you browser the example : 1 : click SiteA 2: click SiteB 2A) click on Information link 2B) click on Introduction link All is ok at this step. 3: click SiteA and after a sub link of it ( Information link for example in the default Pier ) 4: click SiteB NOW this page are update at point 3 selection NOT at the last 2B state. I hope this help you to reproduce the problem. I remain in every way on disposal for eventual explanations. Thank, Dario From sergiolist at village-buzz.com Sat Nov 27 23:05:34 2010 From: sergiolist at village-buzz.com (sergio_101) Date: Sat, 27 Nov 2010 17:05:34 -0500 Subject: embedding HTML in a page Message-ID: every now and then, you just need to plop a little HTML into your page.. if only just do just embed something in a div with styling or embed a youtube video.. can we do this, or do we have to use an HTML component every time? thanks! -- ---- peace, sergio photographer, journalist, visionary http://www.CodingForHire.com http://www.coffee-black.com http://www.painlessfrugality.com http://www.twitter.com/sergio_101 http://www.facebook.com/sergio101 From renggli at gmail.com Sun Nov 28 01:47:05 2010 From: renggli at gmail.com (Lukas Renggli) Date: Sat, 27 Nov 2010 21:47:05 -0300 Subject: embedding HTML in a page In-Reply-To: References: Message-ID: > every now and then, you just need to plop a little HTML into your page.. > > if only just do just embed something in a div with styling or embed a > youtube video.. > > can we do this, or do we have to use an HTML component every time? No, {{{some verbatim content}}} should do it. Lukas -- Lukas Renggli www.lukas-renggli.ch From sergiolist at village-buzz.com Sun Nov 28 17:13:26 2010 From: sergiolist at village-buzz.com (sergio_101) Date: Sun, 28 Nov 2010 11:13:26 -0500 Subject: embedding HTML in a page In-Reply-To: References: Message-ID: > No, {{{some verbatim content}}} should do it. > perfect.. thanks, lukas... working on some general use plugins that i think everyone might want.. will submit them soon.. -- ---- peace, sergio photographer, journalist, visionary http://www.CodingForHire.com http://www.coffee-black.com http://www.painlessfrugality.com http://www.twitter.com/sergio_101 http://www.facebook.com/sergio101 From sergiolist at village-buzz.com Sun Nov 28 22:31:46 2010 From: sergiolist at village-buzz.com (sergio_101) Date: Sun, 28 Nov 2010 16:31:46 -0500 Subject: publication date: what is this? Message-ID: my initial guess was that this is a date that i can choose in the future so that i can work on an article that won't be published for a few days.. but pier seems to publish the articles no matter what the date is.. ideas? thanks! -- ---- peace, sergio photographer, journalist, visionary http://www.CodingForHire.com http://www.coffee-black.com http://www.painlessfrugality.com http://www.twitter.com/sergio_101 http://www.facebook.com/sergio101 From renggli at gmail.com Mon Nov 29 00:15:48 2010 From: renggli at gmail.com (Lukas Renggli) Date: Sun, 28 Nov 2010 20:15:48 -0300 Subject: embedding HTML in a page In-Reply-To: References: Message-ID: Cool, sharing plugins is always welcome! Lukas On 28 November 2010 13:13, sergio_101 wrote: >> No, {{{some verbatim content}}} should do it. >> > > perfect.. thanks, lukas... > > working on some general use plugins that i think everyone might want.. > > will submit them soon.. > > -- > ---- > peace, > sergio > photographer, journalist, visionary > > http://www.CodingForHire.com > http://www.coffee-black.com > http://www.painlessfrugality.com > http://www.twitter.com/sergio_101 > http://www.facebook.com/sergio101 > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -- Lukas Renggli www.lukas-renggli.ch From renggli at gmail.com Mon Nov 29 00:18:21 2010 From: renggli at gmail.com (Lukas Renggli) Date: Sun, 28 Nov 2010 20:18:21 -0300 Subject: publication date: what is this? In-Reply-To: References: Message-ID: > my initial guess was that this is a date that i can choose in the > future so that i can work on an article that won't be published for a > few days.. Yes. > but pier seems to publish the articles no matter what the date is.. Strange, this does not happen on my blog. Lukas -- Lukas Renggli www.lukas-renggli.ch