From nicolas.roard at gmail.com Wed Jul 1 14:26:03 2009 From: nicolas.roard at gmail.com (Nicolas Roard) Date: Wed, 1 Jul 2009 13:26:03 +0100 Subject: "clean urls" in pier Message-ID: <25626500907010526m28397dbciaa6aba88c2aae534@mail.gmail.com> Hi, One of the thing I'm missing with Pier is "clean urls" -- without the session stuff. I played with the code a bit, followed advices from http://onsmalltalk.com/clean-urls-in-seaside to get rid of _s, and then modifyed the visitInternalLink in PRReferenceRenderer so that links do not include _k. I simply do something like that: anchor url: 'http://localhost:8080/seaside/pier', aLink reference which sets the url fully, and apparently everything seems to work as hoped -- links indicated in pier are now fully formed and without _s and _k, while dynamically generated links still work so for example I can still log in and edit pages as usual... but in "normal viewing mode" I get clean urls. My question is, am I breaking something I'm not seeing (as apparently things works as I want) by doing that ? is that the correct way to do it ? thanks, -- Nicolas Roard "I love deadlines. I like the whooshing sound they make as they fly by." -- Douglas Adams From renggli at gmail.com Wed Jul 1 14:47:26 2009 From: renggli at gmail.com (Lukas Renggli) Date: Wed, 1 Jul 2009 14:47:26 +0200 Subject: "clean urls" in pier In-Reply-To: <25626500907010526m28397dbciaa6aba88c2aae534@mail.gmail.com> References: <25626500907010526m28397dbciaa6aba88c2aae534@mail.gmail.com> Message-ID: <67628d690907010547w12a389a0v38b06e582a9bf0b0@mail.gmail.com> > My question is, am I breaking something I'm not seeing (as apparently > things works as I want) by doing that ? is that the correct way to do > it ? I don't know, but certainly sounds cool. If you commit the changes I am sure people will quickly find out ;-) Lukas -- Lukas Renggli http://www.lukas-renggli.ch From gdaniq at gmail.com Wed Jul 1 15:48:50 2009 From: gdaniq at gmail.com (Baskakov Daniel) Date: Wed, 1 Jul 2009 17:48:50 +0400 Subject: "clean urls" in pier In-Reply-To: <25626500907010526m28397dbciaa6aba88c2aae534@mail.gmail.com> References: <25626500907010526m28397dbciaa6aba88c2aae534@mail.gmail.com> Message-ID: <74d63d0907010648s248df168ocf7b6e6187570b6e@mail.gmail.com> And what about that: "Normally when a request comes in without a _k, the current session will be invoked to create a new render loop main, which will be invoked to create a new instance of your root component and render it. I want to avoid this--though this part isn't strictly necessary if you're OK with each request creating a new instance of your root--and keep the existing instance of the root component as well as parse the URL to decide what component should be loaded as the current body..."? >From the same Ramon's article. Daniel. 2009/7/1 Nicolas Roard : > Hi, > > One of the thing I'm missing with Pier is "clean urls" -- without the > session stuff. > > I played with the code a bit, followed advices from > http://onsmalltalk.com/clean-urls-in-seaside to get rid of _s, and > then modifyed the visitInternalLink in PRReferenceRenderer so that > links do not include _k. I simply do something like that: > > anchor url: 'http://localhost:8080/seaside/pier', aLink reference > > which sets the url fully, and apparently everything seems to work as > hoped -- links indicated in pier are now fully formed and without _s > and _k, while dynamically generated links still work so for example I > can still log in and edit pages as usual... but in "normal viewing > mode" I get clean urls. > > My question is, am I breaking something I'm not seeing (as apparently > things works as I want) by doing that ? is that the correct way to do > it ? > > thanks, > > -- > Nicolas Roard > "I love deadlines. I like the whooshing sound > they make as they fly by." -- Douglas Adams > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > From nicolas.roard at gmail.com Wed Jul 1 15:54:39 2009 From: nicolas.roard at gmail.com (Nicolas Roard) Date: Wed, 1 Jul 2009 14:54:39 +0100 Subject: "clean urls" in pier In-Reply-To: <67628d690907010547w12a389a0v38b06e582a9bf0b0@mail.gmail.com> References: <25626500907010526m28397dbciaa6aba88c2aae534@mail.gmail.com> <67628d690907010547w12a389a0v38b06e582a9bf0b0@mail.gmail.com> Message-ID: <25626500907010654r12b06833g19f2b39ca7f1d862@mail.gmail.com> On Wed, Jul 1, 2009 at 1:47 PM, Lukas Renggli wrote: >> My question is, am I breaking something I'm not seeing (as apparently >> things works as I want) by doing that ? is that the correct way to do >> it ? > > I don't know, but certainly sounds cool. If you commit the changes I > am sure people will quickly find out ;-) ah :) well, really this is all I'm doing... I followed ramon's blog explanations, and added a subclass of WASession with the following methods: returnResponse: aResponse (self currentRequest cookieAt: self application handlerCookieName) ifNil: [ aResponse addCookie: self sessionCookie ]. ^ super returnResponse: aResponse actionUrlForKey: aString | url | url := super actionUrlForKey: aString. (self currentRequest cookieAt: self application handlerCookieName) ifNotNil: [ url parameters removeKey: self application handlerField ]. ^ url Then I modified visitInternalInk in PRReferenceRender like this: visitInternalLink: aLink | anchor | anchor := self anchorFor: aLink. anchor class: 'internal'; goto: (self contextForLink: aLink). aLink anchor isNil ifFalse: [ anchor url fragment: (aLink anchor select: [ :each | each isAlphaNumeric ]) ]. anchor url: 'http://test.roard.com/seaside/pier', aLink reference. (aLink hasCounter and: [ html callbacks isKindOf: WACallbackRegistry ]) ifTrue: [ anchor url addParameter: (html callbacks registerCallback: [ aLink incrementCounter ]) ]. anchor with: [ self visitLink: aLink ] This can certainly be cleaned/simplified. -- Nicolas Roard "I love deadlines. I like the whooshing sound they make as they fly by." -- Douglas Adams From adi at netstyle.ch Wed Jul 1 17:17:32 2009 From: adi at netstyle.ch (Adrian Lienhard) Date: Wed, 1 Jul 2009 17:17:32 +0200 Subject: "clean urls" in pier In-Reply-To: <25626500907010654r12b06833g19f2b39ca7f1d862@mail.gmail.com> References: <25626500907010526m28397dbciaa6aba88c2aae534@mail.gmail.com> <67628d690907010547w12a389a0v38b06e582a9bf0b0@mail.gmail.com> <25626500907010654r12b06833g19f2b39ca7f1d862@mail.gmail.com> Message-ID: <89C3B29A-4DF6-4B03-A284-8B3FCAA50AB6@netstyle.ch> For what its worth, I described how we implemented clean URLs in cmsbox.com some time ago: http://lists.squeakfoundation.org/pipermail/seaside-dev/2008-August/001012.html Cheers, Adrian On Jul 1, 2009, at 15:54 , Nicolas Roard wrote: > On Wed, Jul 1, 2009 at 1:47 PM, Lukas Renggli > wrote: >>> My question is, am I breaking something I'm not seeing (as >>> apparently >>> things works as I want) by doing that ? is that the correct way to >>> do >>> it ? >> >> I don't know, but certainly sounds cool. If you commit the changes I >> am sure people will quickly find out ;-) > > ah :) > > well, really this is all I'm doing... I followed ramon's blog > explanations, and added a subclass of WASession with the following > methods: > > returnResponse: aResponse > (self currentRequest cookieAt: self application handlerCookieName) > ifNil: [ aResponse addCookie: self sessionCookie ]. > ^ super returnResponse: aResponse > > actionUrlForKey: aString > | url | > url := super actionUrlForKey: aString. > (self currentRequest cookieAt: self application handlerCookieName) > ifNotNil: [ url parameters removeKey: self application > handlerField ]. > ^ url > > Then I modified visitInternalInk in PRReferenceRender like this: > > visitInternalLink: aLink > | anchor | > anchor := self anchorFor: aLink. > anchor class: 'internal'; goto: (self contextForLink: aLink). > aLink anchor isNil ifFalse: [ > anchor url fragment: (aLink anchor > select: [ :each | each isAlphaNumeric ]) ]. > > anchor url: 'http://test.roard.com/seaside/pier', aLink reference. > > (aLink hasCounter and: [ html callbacks isKindOf: WACallbackRegistry > ]) ifTrue: [ > anchor url addParameter: (html callbacks > registerCallback: [ aLink incrementCounter ]) ]. > > anchor with: [ self visitLink: aLink ] > > > This can certainly be cleaned/simplified. > > -- > Nicolas Roard > "I love deadlines. I like the whooshing sound > they make as they fly by." -- Douglas Adams > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki From damien.cassou at gmail.com Thu Jul 2 15:39:20 2009 From: damien.cassou at gmail.com (Damien Cassou) Date: Thu, 2 Jul 2009 15:39:20 +0200 Subject: Embedding structures with parameters Message-ID: <6ac749c10907020639r29291082rbab8301e5b41c823@mail.gmail.com> Hi, I'm trying to embed an existing structure whose descriptions have some #parameterNames. For example, I would like to embed a Code Highlighter structure (http://www.piercms.com/doc/add-ons#28425338) inside another page with some parameters: +/Code|gutter=false|ruler=false+ This unfortunately does not disable the gutter and ruler that are enabled in the /Code structure. Can somebody help me? -- Damien Cassou http://damiencassou.seasidehosting.st "Lambdas are relegated to relative obscurity until Java makes them popular by not having them." James Iry From johnmci at smalltalkconsulting.com Thu Jul 2 18:01:36 2009 From: johnmci at smalltalkconsulting.com (John M McIntosh) Date: Thu, 2 Jul 2009 09:01:36 -0700 Subject: Fwd: [Mobilewiki-list] Creating dynamic page title References: <133244.62356.qm@web53301.mail.re2.yahoo.com> Message-ID: <4ACF54D9-401E-430C-9376-1EA4DB0A889A@smalltalkconsulting.com> Allow me to cross post this Begin forwarded message: > > Hi, > I just downloaded WikiServer for iPhone 3G today (running 3.0) > > I'm trying to create a Journal structure, similar to a blog but a > bit simpler: > > Main "journal" page is a Component listing all files in the > "Journal" folder > Parent of "journal" has link "Add journal entry for today" (would > love to have it on the Journal page itself, but it is a list > Component) > > The problem is that I'd like "today" to resolve to the actual date, > so that the created page title IS the date: > > I tried this: > Create journal entry for *Today>+value:date+* > > but of course the new page title is literally "+value:date+" > > Can anyone think of a creative way to evaluate the value so that it > resolves when following the link to create a new page? > > Thanks for any help, > -Rob > > rmg2768 at yahoo.com -- = = = ======================================================================== John M. McIntosh Twitter: squeaker68882 Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com = = = ======================================================================== From johnmci at smalltalkconsulting.com Thu Jul 2 18:20:05 2009 From: johnmci at smalltalkconsulting.com (John M McIntosh) Date: Thu, 2 Jul 2009 09:20:05 -0700 Subject: Fwd: tags References: <59067f3d0907011847v1692429fj1b14eb4874c14cdc@mail.gmail.com> Message-ID: <2077D640-BB6D-4E2B-9C27-E28D2769D43C@smalltalkconsulting.com> Begin forwarded message: > Re tags: I didn't realize Settings was per-page - usually that is > an app-wide collection of options. Would it be possible to add/move > the tags entry to the main Wiki "Edit" page? W2 wiki does this, > and it is very helpful to tag new WIki entries right upon creation. > But what I'm looking for might actually be handled better by a list > component listing all pages at the current level (e.g. Topics/ > Topic1,Topic2...) as long as I create them at the right level. Tree > view! That should be really useful too. > > +Batch:>Batcher+ Thanks for any help, -Rob rmg2768 at yahoo.com -- = = = ======================================================================== John M. McIntosh Twitter: squeaker68882 Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com = = = ======================================================================== -------------- next part -------------- An HTML attachment was scrubbed... URL: From renggli at gmail.com Thu Jul 2 18:45:39 2009 From: renggli at gmail.com (Lukas Renggli) Date: Thu, 2 Jul 2009 18:45:39 +0200 Subject: [Mobilewiki-list] Creating dynamic page title In-Reply-To: <4ACF54D9-401E-430C-9376-1EA4DB0A889A@smalltalkconsulting.com> References: <133244.62356.qm@web53301.mail.re2.yahoo.com> <4ACF54D9-401E-430C-9376-1EA4DB0A889A@smalltalkconsulting.com> Message-ID: <67628d690907020945t25d5302h501a6af20a7678ac@mail.gmail.com> That's currently not supported, but I think it is a good default name for a blog post. I fixed this in Name: Pier-Blog-lr.119 Author: lr Time: 2 July 2009, 6:44:22 pm UUID: 696ea398-e323-45ea-be6a-b81f81d362d5 Ancestors: Pier-Blog-lr.118 - name a new blog entry with current date by default Also make sure to have the latest Pier-Model. Lukas 2009/7/2 John M McIntosh : > Allow me to cross post this > > Begin forwarded message: > >> >> Hi, >> I just downloaded WikiServer for iPhone 3G today (running 3.0) >> >> I'm trying to create a Journal structure, similar to a blog but a bit >> simpler: >> >> Main "journal" page is a Component listing all files in the "Journal" >> folder >> Parent of "journal" has link "Add journal entry for today" ?(would love to >> have it on the Journal page itself, but it is a list Component) >> >> The problem is that I'd like "today" to resolve to the actual date, so >> that the created page title IS the date: >> >> I tried this: >> Create journal entry for *Today>+value:date+* >> >> but of course the new page title is literally "+value:date+" >> >> Can anyone think of a creative way to evaluate the value so that it >> resolves when following the link to create a new page? >> >> Thanks for any help, >> -Rob >> >> rmg2768 at yahoo.com > > -- > =========================================================================== > John M. McIntosh ? Twitter: ?squeaker68882 > Corporate Smalltalk Consulting Ltd. ?http://www.smalltalkconsulting.com > =========================================================================== > > > > > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -- Lukas Renggli http://www.lukas-renggli.ch From renggli at gmail.com Thu Jul 2 18:47:16 2009 From: renggli at gmail.com (Lukas Renggli) Date: Thu, 2 Jul 2009 18:47:16 +0200 Subject: tags In-Reply-To: <2077D640-BB6D-4E2B-9C27-E28D2769D43C@smalltalkconsulting.com> References: <59067f3d0907011847v1692429fj1b14eb4874c14cdc@mail.gmail.com> <2077D640-BB6D-4E2B-9C27-E28D2769D43C@smalltalkconsulting.com> Message-ID: <67628d690907020947q1f71ab6i1b2ca42f5f61c5f0@mail.gmail.com> Pier is a content management system, not a wiki. That said, it is easy to fix with an extension package that changes the description of PRStructure>>#descriptionTags to #beEditable. Cheers, Lukas 2009/7/2 John M McIntosh : > > > Begin forwarded message: > > Re tags:? I didn't realize Settings was per-page - usually that is an > app-wide collection of options.? Would it be possible to add/move the tags > entry to the main Wiki "Edit" page??? W2 wiki does this, and it is very > helpful to tag new WIki entries right upon creation.? But what I'm looking > for might actually be handled better by a list component listing all pages > at the current level (e.g. Topics/Topic1,Topic2...) as long as I create them > at the right level.? Tree view!? That should be really useful too. > +Batch:>Batcher+ > > Thanks for any help, > -Rob > > rmg2768 at yahoo.com > > -- > =========================================================================== > John M. McIntosh ? Twitter: ?squeaker68882 > Corporate Smalltalk Consulting Ltd.??http://www.smalltalkconsulting.com > =========================================================================== > > > > > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -- Lukas Renggli http://www.lukas-renggli.ch From johnmci at smalltalkconsulting.com Fri Jul 3 04:17:36 2009 From: johnmci at smalltalkconsulting.com (John M McIntosh) Date: Thu, 2 Jul 2009 19:17:36 -0700 Subject: taking wikipedia and dumping into pier Message-ID: Ok, I had someone ask if they could take enwiki-latest-pages- articles.xml.bz2 and dump into Pier. I should ask if anyone has ever done that? Or is this an exercise left to the reader... -- = = = ======================================================================== John M. McIntosh Twitter: squeaker68882 Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com = = = ======================================================================== From renggli at gmail.com Fri Jul 3 07:46:57 2009 From: renggli at gmail.com (Lukas Renggli) Date: Fri, 3 Jul 2009 07:46:57 +0200 Subject: taking wikipedia and dumping into pier In-Reply-To: References: Message-ID: <67628d690907022246t71a14c6ai5e6a38f6e85f6352@mail.gmail.com> Never done that. I've only migrated from WikiWorks, SWiki and SmallWiki. Lukas 2009/7/3 John M McIntosh : > Ok, I had someone ask if they could take > enwiki-latest-pages-articles.xml.bz2 and dump into Pier. > > I should ask if anyone has ever done that? Or is this an exercise left to > the reader... > > -- > =========================================================================== > John M. McIntosh ? Twitter: ?squeaker68882 > Corporate Smalltalk Consulting Ltd. ?http://www.smalltalkconsulting.com > =========================================================================== > > > > > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -- Lukas Renggli http://www.lukas-renggli.ch From keith_hodges at yahoo.co.uk Fri Jul 3 12:35:32 2009 From: keith_hodges at yahoo.co.uk (Keith Hodges) Date: Fri, 03 Jul 2009 11:35:32 +0100 Subject: taking wikipedia and dumping into pier In-Reply-To: <67628d690907022246t71a14c6ai5e6a38f6e85f6352@mail.gmail.com> References: <67628d690907022246t71a14c6ai5e6a38f6e85f6352@mail.gmail.com> Message-ID: <4A4DDEF4.3040604@yahoo.co.uk> John, we were working on adding wikimedia support to pier, but then Lucas removed the SmaCC based parser Keith From johnmci at smalltalkconsulting.com Fri Jul 3 17:28:31 2009 From: johnmci at smalltalkconsulting.com (John M McIntosh) Date: Fri, 3 Jul 2009 08:28:31 -0700 Subject: taking wikipedia and dumping into pier In-Reply-To: <4A4DDEF4.3040604@yahoo.co.uk> References: <67628d690907022246t71a14c6ai5e6a38f6e85f6352@mail.gmail.com> <4A4DDEF4.3040604@yahoo.co.uk> Message-ID: <66A065AD-86F6-4E49-8631-F1E0CC5D0E79@smalltalkconsulting.com> Well you could make it an addon extension? So how far along was the effort? On 3-Jul-09, at 3:35 AM, Keith Hodges wrote: > John, > > we were working on adding wikimedia support to pier, but then Lucas > removed the SmaCC based parser > > Keith > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki -- = = = ======================================================================== John M. McIntosh Twitter: squeaker68882 Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com = = = ======================================================================== From keith_hodges at yahoo.co.uk Fri Jul 3 17:53:44 2009 From: keith_hodges at yahoo.co.uk (Keith Hodges) Date: Fri, 03 Jul 2009 16:53:44 +0100 Subject: taking wikipedia and dumping into pier In-Reply-To: <66A065AD-86F6-4E49-8631-F1E0CC5D0E79@smalltalkconsulting.com> References: <67628d690907022246t71a14c6ai5e6a38f6e85f6352@mail.gmail.com> <4A4DDEF4.3040604@yahoo.co.uk> <66A065AD-86F6-4E49-8631-F1E0CC5D0E79@smalltalkconsulting.com> Message-ID: <4A4E2988.8040005@yahoo.co.uk> John M McIntosh wrote: > Well you could make it an addon extension? So how far along was the > effort? We switched to attempting to support the wiki "standard" instead. This resulted in a custom parser, but unfortunately not that relevant to wikimedia. Keith From johnmci at smalltalkconsulting.com Fri Jul 3 18:00:11 2009 From: johnmci at smalltalkconsulting.com (John M McIntosh) Date: Fri, 3 Jul 2009 09:00:11 -0700 Subject: taking wikipedia and dumping into pier In-Reply-To: <4A4E2988.8040005@yahoo.co.uk> References: <67628d690907022246t71a14c6ai5e6a38f6e85f6352@mail.gmail.com> <4A4DDEF4.3040604@yahoo.co.uk> <66A065AD-86F6-4E49-8631-F1E0CC5D0E79@smalltalkconsulting.com> <4A4E2988.8040005@yahoo.co.uk> Message-ID: <4EFD6EE6-857C-44E1-A774-08FD92D75940@smalltalkconsulting.com> Ok, well I think the data be referred to is http://en.wikipedia.org/wiki/Wikipedia:Persondata Er so how is that different from the wikimedia or the wiki 'standard' On 3-Jul-09, at 8:53 AM, Keith Hodges wrote: > John M McIntosh wrote: >> Well you could make it an addon extension? So how far along was the >> effort? > We switched to attempting to support the wiki "standard" instead. This > resulted in a custom parser, but unfortunately not that relevant to > wikimedia. > > Keith -- = = = ======================================================================== John M. McIntosh Twitter: squeaker68882 Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com = = = ======================================================================== From gwolfmann at gmail.com Sun Jul 5 17:51:59 2009 From: gwolfmann at gmail.com (Gustavo Wolfmann) Date: Sun, 5 Jul 2009 13:51:59 -0200 Subject: Magritte-RDB ussage / documentation Message-ID: <9cdf7ebe0907050851v4848d972w9a980a93078e7a4a@mail.gmail.com> we are new working with squeak-seaside-magritte in a project of a dental bureau. we want to do persistency with mysql and an object-relational mapping, and we see the existence of magritte-RDB. We see it superficially, but it will be better to read some documentation about it, but it is not easy to found in the web. So the question is if you know where is or can bring-us some documentation, or almost how to begin to use it. best regards -- Gustavo Wolfmann Lab. Computaci?n Fac. Cs. Ex.Fis y Nat. Univ.Nac.C?rdoba -------------- next part -------------- An HTML attachment was scrubbed... URL: From marianopeck at gmail.com Sun Jul 5 20:37:39 2009 From: marianopeck at gmail.com (Mariano Martinez Peck) Date: Sun, 5 Jul 2009 15:37:39 -0300 Subject: Magritte-RDB ussage / documentation In-Reply-To: <9cdf7ebe0907050851v4848d972w9a980a93078e7a4a@mail.gmail.com> References: <9cdf7ebe0907050851v4848d972w9a980a93078e7a4a@mail.gmail.com> Message-ID: Gustavo: que bueno ver m?s Argentinos usando Smalltalk!!! Y sobre todo Squeak :) Yo estudi? en la UTN de Buenos Aires y estamos desarrollando SqueakDBX y haciendo la integraci?n con Glorp! On Sun, Jul 5, 2009 at 12:51 PM, Gustavo Wolfmann wrote: > we are new working with squeak-seaside-magritte in a project of a dental > bureau. > > we want to do persistency with mysql and an object-relational mapping, and > we see the existence of magritte-RDB. Sorry for the offtopic, but there is also a real ORM called Glorp. I am not saying magritte-RDB is bad, I am just saying that perhaps you need a real ORM. Probably Glorp would be a better solution for a middle/big application. I don't know what is the dimension of your application. Unfortunately, Glorp is developed in VW and the port to squeak only works in PostgreSQL. We (SqueakDBX) are working on in and we hope to have Glorp working with most databases but this will be by the end of this year :( I know keithy has been playing with this stuff (magritte-RDB) and he would probably will help you more than me. You are lucky that you use mysql because that's the default database for magritte-RDB in squeak I think. > We see it superficially, but it will be better to read some documentation > about it, but it is not easy to found in the web. So the question is if you > know where is or can bring-us some documentation, or almost how to begin to > use it. Sorry. I don't know any documentation of it. > > > best regards > > -- > Gustavo Wolfmann > Lab. Computaci?n > Fac. Cs. Ex.Fis y Nat. > Univ.Nac.C?rdoba > > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -------------- next part -------------- An HTML attachment was scrubbed... URL: From nicolas.roard at gmail.com Mon Jul 6 02:40:30 2009 From: nicolas.roard at gmail.com (Nicolas Roard) Date: Mon, 6 Jul 2009 01:40:30 +0100 Subject: [ANN] New Pier Gallery Message-ID: <25626500907051740s51524643m6db3b5655ec42880@mail.gmail.com> Hi all, I have pushed a new version of Pier-Gallery that brings some new things: - create a gallery, and point to an existing directory on your server to fill it - files in a gallery directory that aren?t images are skipped - "square" rendering of thumbnails - thumbnail creation and image resize is automatic and modifiable any time, and done in the background - when you are logged, simply click on a thumbnail to go to a picture-specific page, where you can do small modifications (hide/show the image, rotate it) - a Gallery-Randomizer component ? create a page with such a component embedded, and it will pick an image randomly from your galleries - integration with Lightbox2 for a nice display You can grab it from the pier addons repository. More documentation here: http://www.roard.com/seaside/pier/projects/PierGallery Thanks to Damien Cassou for the original Pier-Gallery, and thanks to Damien Pollet for the occasional help :) -- Nicolas Roard "I love deadlines. I like the whooshing sound they make as they fly by." -- Douglas Adams From renggli at gmail.com Mon Jul 6 08:28:42 2009 From: renggli at gmail.com (Lukas Renggli) Date: Mon, 6 Jul 2009 08:28:42 +0200 Subject: [ANN] New Pier Gallery In-Reply-To: <25626500907051740s51524643m6db3b5655ec42880@mail.gmail.com> References: <25626500907051740s51524643m6db3b5655ec42880@mail.gmail.com> Message-ID: <67628d690907052328u1d00b249o8c769369c39277fd@mail.gmail.com> Hi Nicolas This looks really cool. Thank you for contributing your code. I want to integrate that into my Pier site too. Is it ok that I link your site from piercms.com? Cheers, Lukas 2009/7/6 Nicolas Roard : > Hi all, > > I have pushed a new version of Pier-Gallery that brings some new things: > - create a gallery, and point to an existing directory on your server to fill it > - files in a gallery directory that aren?t images are skipped > - "square" rendering of thumbnails > - thumbnail creation and image resize is automatic and modifiable any > time, and done in the background > - when you are logged, simply click on a thumbnail to go to a > picture-specific page, where you can do small modifications (hide/show > the image, rotate it) > - a Gallery-Randomizer component ? create a page with such a component > embedded, and it will pick an image randomly from your galleries > - integration with Lightbox2 for a nice display > > You can grab it from the pier addons repository. > > More documentation here: > http://www.roard.com/seaside/pier/projects/PierGallery > > Thanks to Damien Cassou for the original Pier-Gallery, and thanks to > Damien Pollet for the occasional help :) > > -- > Nicolas Roard > "I love deadlines. I like the whooshing sound > they make as they fly by." -- Douglas Adams > > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -- Lukas Renggli http://www.lukas-renggli.ch From nicolas.roard at gmail.com Mon Jul 6 09:17:47 2009 From: nicolas.roard at gmail.com (Nicolas Roard) Date: Mon, 6 Jul 2009 08:17:47 +0100 Subject: [ANN] New Pier Gallery In-Reply-To: <67628d690907052328u1d00b249o8c769369c39277fd@mail.gmail.com> References: <25626500907051740s51524643m6db3b5655ec42880@mail.gmail.com> <67628d690907052328u1d00b249o8c769369c39277fd@mail.gmail.com> Message-ID: <25626500907060017k5c933850h887b1cea0cb60834@mail.gmail.com> On Mon, Jul 6, 2009 at 7:28 AM, Lukas Renggli wrote: > Hi Nicolas > > This looks really cool. Thank you for contributing your code. I want > to integrate that into my Pier site too. cool :) > Is it ok that I link your site from piercms.com? sure. -- Nicolas Roard "I love deadlines. I like the whooshing sound they make as they fly by." -- Douglas Adams From damien.cassou at gmail.com Mon Jul 6 10:04:09 2009 From: damien.cassou at gmail.com (Damien Cassou) Date: Mon, 6 Jul 2009 10:04:09 +0200 Subject: [ANN] New Pier Gallery In-Reply-To: <25626500907051740s51524643m6db3b5655ec42880@mail.gmail.com> References: <25626500907051740s51524643m6db3b5655ec42880@mail.gmail.com> Message-ID: <6ac749c10907060104u967bfb2sda00bdd9a1af7555@mail.gmail.com> Hi Nicolas, On Mon, Jul 6, 2009 at 2:40 AM, Nicolas Roard wrote: > I have pushed a new version of Pier-Gallery that's very cool, thank you. I will update the documentation on piercms.com. -- Damien Cassou http://damiencassou.seasidehosting.st "Lambdas are relegated to relative obscurity until Java makes them popular by not having them." James Iry From ducasse at iam.unibe.ch Mon Jul 6 11:07:36 2009 From: ducasse at iam.unibe.ch (=?WINDOWS-1252?Q?st=E9phane_ducasse?=) Date: Mon, 6 Jul 2009 11:07:36 +0200 Subject: [ANN] New Pier Gallery In-Reply-To: <25626500907051740s51524643m6db3b5655ec42880@mail.gmail.com> References: <25626500907051740s51524643m6db3b5655ec42880@mail.gmail.com> Message-ID: <1B603AB2-7D17-43EA-9197-06BF051FD629@iam.unibe.ch> cool nicolas :) what is the license? On Jul 6, 2009, at 2:40 AM, Nicolas Roard wrote: > Hi all, > > I have pushed a new version of Pier-Gallery that brings some new > things: > - create a gallery, and point to an existing directory on your > server to fill it > - files in a gallery directory that aren?t images are skipped > - "square" rendering of thumbnails > - thumbnail creation and image resize is automatic and modifiable any > time, and done in the background > - when you are logged, simply click on a thumbnail to go to a > picture-specific page, where you can do small modifications (hide/show > the image, rotate it) > - a Gallery-Randomizer component ? create a page with such a component > embedded, and it will pick an image randomly from your galleries > - integration with Lightbox2 for a nice display > > You can grab it from the pier addons repository. > > More documentation here: > http://www.roard.com/seaside/pier/projects/PierGallery > > Thanks to Damien Cassou for the original Pier-Gallery, and thanks to > Damien Pollet for the occasional help :) > > -- > Nicolas Roard > "I love deadlines. I like the whooshing sound > they make as they fly by." -- Douglas Adams > > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > From nicolas.roard at gmail.com Mon Jul 6 11:21:21 2009 From: nicolas.roard at gmail.com (Nicolas Roard) Date: Mon, 6 Jul 2009 10:21:21 +0100 Subject: [ANN] New Pier Gallery In-Reply-To: <1B603AB2-7D17-43EA-9197-06BF051FD629@iam.unibe.ch> References: <25626500907051740s51524643m6db3b5655ec42880@mail.gmail.com> <1B603AB2-7D17-43EA-9197-06BF051FD629@iam.unibe.ch> Message-ID: <25626500907060221y2267711do4d93cf05b62de3b1@mail.gmail.com> On Mon, Jul 6, 2009 at 10:07 AM, st?phane ducasse wrote: > cool nicolas :) > what is the license? ah, good point, well whatever is more convenient :) (MIT licence ?) -- Nicolas Roard "I love deadlines. I like the whooshing sound they make as they fly by." -- Douglas Adams From damien.cassou at gmail.com Mon Jul 6 11:24:20 2009 From: damien.cassou at gmail.com (Damien Cassou) Date: Mon, 6 Jul 2009 11:24:20 +0200 Subject: [ANN] New Pier Gallery In-Reply-To: <25626500907060221y2267711do4d93cf05b62de3b1@mail.gmail.com> References: <25626500907051740s51524643m6db3b5655ec42880@mail.gmail.com> <1B603AB2-7D17-43EA-9197-06BF051FD629@iam.unibe.ch> <25626500907060221y2267711do4d93cf05b62de3b1@mail.gmail.com> Message-ID: <6ac749c10907060224q42bb89e2wca10143263054409@mail.gmail.com> On Mon, Jul 6, 2009 at 11:21 AM, Nicolas Roard wrote: >> cool nicolas :) >> what is the license? > > ah, good point, well whatever is more convenient :) > (MIT licence ?) My work is MIT. -- Damien Cassou http://damiencassou.seasidehosting.st "Lambdas are relegated to relative obscurity until Java makes them popular by not having them." James Iry From ducasse at iam.unibe.ch Mon Jul 6 11:43:54 2009 From: ducasse at iam.unibe.ch (=?ISO-8859-1?Q?st=E9phane_ducasse?=) Date: Mon, 6 Jul 2009 11:43:54 +0200 Subject: [ANN] New Pier Gallery In-Reply-To: <25626500907060221y2267711do4d93cf05b62de3b1@mail.gmail.com> References: <25626500907051740s51524643m6db3b5655ec42880@mail.gmail.com> <1B603AB2-7D17-43EA-9197-06BF051FD629@iam.unibe.ch> <25626500907060221y2267711do4d93cf05b62de3b1@mail.gmail.com> Message-ID: MIT would be perfect. did you change the squeaksource tag? Stef On Jul 6, 2009, at 11:21 AM, Nicolas Roard wrote: > On Mon, Jul 6, 2009 at 10:07 AM, st?phane > ducasse wrote: >> cool nicolas :) >> what is the license? > > ah, good point, well whatever is more convenient :) > (MIT licence ?) > > -- > Nicolas Roard > "I love deadlines. I like the whooshing sound > they make as they fly by." -- Douglas Adams > > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > From nicolas.roard at gmail.com Mon Jul 6 11:55:06 2009 From: nicolas.roard at gmail.com (Nicolas Roard) Date: Mon, 6 Jul 2009 10:55:06 +0100 Subject: [ANN] New Pier Gallery In-Reply-To: References: <25626500907051740s51524643m6db3b5655ec42880@mail.gmail.com> <1B603AB2-7D17-43EA-9197-06BF051FD629@iam.unibe.ch> <25626500907060221y2267711do4d93cf05b62de3b1@mail.gmail.com> Message-ID: <25626500907060255j943052du45c7fadf1e4d803f@mail.gmail.com> On Mon, Jul 6, 2009 at 10:43 AM, st?phane ducasse wrote: > MIT would be perfect. > did you change the squeaksource tag? didn't touch a thing, but by default code submitted to lukas' repo is MIT apparently. -- Nicolas Roard From damien.pollet at gmail.com Mon Jul 6 11:55:53 2009 From: damien.pollet at gmail.com (Damien Pollet) Date: Mon, 6 Jul 2009 11:55:53 +0200 Subject: [ANN] New Pier Gallery In-Reply-To: References: <25626500907051740s51524643m6db3b5655ec42880@mail.gmail.com> <1B603AB2-7D17-43EA-9197-06BF051FD629@iam.unibe.ch> <25626500907060221y2267711do4d93cf05b62de3b1@mail.gmail.com> Message-ID: <34b4844b0907060255v26f90a5yc5a2b6ee4ef9192f@mail.gmail.com> On Mon, Jul 6, 2009 at 11:43, st?phane ducasse wrote: > MIT would be perfect. > did you change the squeaksource tag? Everything committed to Lukas' repo is automatically MIT. -- Damien Pollet type less, do more [ | ] http://people.untyped.org/damien.pollet From ducasse at iam.unibe.ch Mon Jul 6 12:03:25 2009 From: ducasse at iam.unibe.ch (=?ISO-8859-1?Q?st=E9phane_ducasse?=) Date: Mon, 6 Jul 2009 12:03:25 +0200 Subject: [ANN] New Pier Gallery In-Reply-To: <34b4844b0907060255v26f90a5yc5a2b6ee4ef9192f@mail.gmail.com> References: <25626500907051740s51524643m6db3b5655ec42880@mail.gmail.com> <1B603AB2-7D17-43EA-9197-06BF051FD629@iam.unibe.ch> <25626500907060221y2267711do4d93cf05b62de3b1@mail.gmail.com> <34b4844b0907060255v26f90a5yc5a2b6ee4ef9192f@mail.gmail.com> Message-ID: <314C0C73-8B09-4418-B870-CA218B564042@iam.unibe.ch> coool I like that policy :) On Jul 6, 2009, at 11:55 AM, Damien Pollet wrote: > On Mon, Jul 6, 2009 at 11:43, st?phane ducasse > wrote: >> MIT would be perfect. >> did you change the squeaksource tag? > > Everything committed to Lukas' repo is automatically MIT. > > -- > Damien Pollet > type less, do more [ | ] http://people.untyped.org/damien.pollet > > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > From marianopeck at gmail.com Mon Jul 6 21:32:20 2009 From: marianopeck at gmail.com (Mariano Martinez Peck) Date: Mon, 6 Jul 2009 18:32:20 -0100 Subject: [ANN] New Pier Gallery In-Reply-To: <25626500907051740s51524643m6db3b5655ec42880@mail.gmail.com> References: <25626500907051740s51524643m6db3b5655ec42880@mail.gmail.com> Message-ID: Excellent news! I will use it for my project! Thanks for sharing this. One question: does this plugin depends on Rio? If so, which packages I must install of Rio? I guess kernel and base but I am not sure. Thanks! Mariano On Sun, Jul 5, 2009 at 11:40 PM, Nicolas Roard wrote: > Hi all, > > I have pushed a new version of Pier-Gallery that brings some new things: > - create a gallery, and point to an existing directory on your server to > fill it > - files in a gallery directory that aren?t images are skipped > - "square" rendering of thumbnails > - thumbnail creation and image resize is automatic and modifiable any > time, and done in the background > - when you are logged, simply click on a thumbnail to go to a > picture-specific page, where you can do small modifications (hide/show > the image, rotate it) > - a Gallery-Randomizer component ? create a page with such a component > embedded, and it will pick an image randomly from your galleries > - integration with Lightbox2 for a nice display > > You can grab it from the pier addons repository. > > More documentation here: > http://www.roard.com/seaside/pier/projects/PierGallery > > Thanks to Damien Cassou for the original Pier-Gallery, and thanks to > Damien Pollet for the occasional help :) > > -- > Nicolas Roard > "I love deadlines. I like the whooshing sound > they make as they fly by." -- Douglas Adams > > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -------------- next part -------------- An HTML attachment was scrubbed... URL: From marianopeck at gmail.com Mon Jul 6 21:35:38 2009 From: marianopeck at gmail.com (Mariano Martinez Peck) Date: Mon, 6 Jul 2009 18:35:38 -0100 Subject: [ANN] New Pier Gallery In-Reply-To: References: <25626500907051740s51524643m6db3b5655ec42880@mail.gmail.com> Message-ID: Sorry. I read in you webpage that yes, it depends in Rio, but which packages should I install and in which order? Thanks! Mariano On Mon, Jul 6, 2009 at 6:32 PM, Mariano Martinez Peck wrote: > Excellent news! I will use it for my project! Thanks for sharing this. > > One question: does this plugin depends on Rio? If so, which packages I must > install of Rio? I guess kernel and base but I am not sure. > > Thanks! > > Mariano > > > On Sun, Jul 5, 2009 at 11:40 PM, Nicolas Roard wrote: > >> Hi all, >> >> I have pushed a new version of Pier-Gallery that brings some new things: >> - create a gallery, and point to an existing directory on your server to >> fill it >> - files in a gallery directory that aren?t images are skipped >> - "square" rendering of thumbnails >> - thumbnail creation and image resize is automatic and modifiable any >> time, and done in the background >> - when you are logged, simply click on a thumbnail to go to a >> picture-specific page, where you can do small modifications (hide/show >> the image, rotate it) >> - a Gallery-Randomizer component ? create a page with such a component >> embedded, and it will pick an image randomly from your galleries >> - integration with Lightbox2 for a nice display >> >> You can grab it from the pier addons repository. >> >> More documentation here: >> http://www.roard.com/seaside/pier/projects/PierGallery >> >> Thanks to Damien Cassou for the original Pier-Gallery, and thanks to >> Damien Pollet for the occasional help :) >> >> -- >> Nicolas Roard >> "I love deadlines. I like the whooshing sound >> they make as they fly by." -- Douglas Adams >> >> _______________________________________________ >> Magritte, Pier and Related Tools ... >> https://www.iam.unibe.ch/mailman/listinfo/smallwiki >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From marianopeck at gmail.com Mon Jul 6 21:42:40 2009 From: marianopeck at gmail.com (Mariano Martinez Peck) Date: Mon, 6 Jul 2009 18:42:40 -0100 Subject: [ANN] New Pier Gallery In-Reply-To: References: <25626500907051740s51524643m6db3b5655ec42880@mail.gmail.com> Message-ID: I tried Installer mantis ensureFix: 7219. Installer ss project: 'Rio'; install: 'Rio-Kernel'; install: 'Rio-Grande'. But in RioLocalExecutive>>initialize when it does "Current initializeDefault" I get RioLocalDosExecutive DNU initializeDefault. Any idea? Thanks! Mariano On Mon, Jul 6, 2009 at 6:35 PM, Mariano Martinez Peck wrote: > Sorry. I read in you webpage that yes, it depends in Rio, but which > packages should I install and in which order? > > Thanks! > > Mariano > > > On Mon, Jul 6, 2009 at 6:32 PM, Mariano Martinez Peck < > marianopeck at gmail.com> wrote: > >> Excellent news! I will use it for my project! Thanks for sharing this. >> >> One question: does this plugin depends on Rio? If so, which packages I >> must install of Rio? I guess kernel and base but I am not sure. >> >> Thanks! >> >> Mariano >> >> >> On Sun, Jul 5, 2009 at 11:40 PM, Nicolas Roard wrote: >> >>> Hi all, >>> >>> I have pushed a new version of Pier-Gallery that brings some new things: >>> - create a gallery, and point to an existing directory on your server to >>> fill it >>> - files in a gallery directory that aren?t images are skipped >>> - "square" rendering of thumbnails >>> - thumbnail creation and image resize is automatic and modifiable any >>> time, and done in the background >>> - when you are logged, simply click on a thumbnail to go to a >>> picture-specific page, where you can do small modifications (hide/show >>> the image, rotate it) >>> - a Gallery-Randomizer component ? create a page with such a component >>> embedded, and it will pick an image randomly from your galleries >>> - integration with Lightbox2 for a nice display >>> >>> You can grab it from the pier addons repository. >>> >>> More documentation here: >>> http://www.roard.com/seaside/pier/projects/PierGallery >>> >>> Thanks to Damien Cassou for the original Pier-Gallery, and thanks to >>> Damien Pollet for the occasional help :) >>> >>> -- >>> Nicolas Roard >>> "I love deadlines. I like the whooshing sound >>> they make as they fly by." -- Douglas Adams >>> >>> _______________________________________________ >>> Magritte, Pier and Related Tools ... >>> https://www.iam.unibe.ch/mailman/listinfo/smallwiki >>> >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From marianopeck at gmail.com Mon Jul 6 21:53:29 2009 From: marianopeck at gmail.com (Mariano Martinez Peck) Date: Mon, 6 Jul 2009 18:53:29 -0100 Subject: [ANN] New Pier Gallery In-Reply-To: References: <25626500907051740s51524643m6db3b5655ec42880@mail.gmail.com> Message-ID: I found and fix the bug :) RioLocalExecutive>>newForWin32 ^ RioLocalDosExecutive Should be: RioLocalExecutive>>newForWin32 ^ RioLocalDosExecutive new Best, Mariano On Mon, Jul 6, 2009 at 6:42 PM, Mariano Martinez Peck wrote: > I tried > > Installer mantis ensureFix: 7219. > Installer ss project: 'Rio'; install: 'Rio-Kernel'; install: 'Rio-Grande'. > > But in RioLocalExecutive>>initialize > when it does "Current initializeDefault" > I get RioLocalDosExecutive DNU initializeDefault. > > Any idea? > > Thanks! > > Mariano > > > On Mon, Jul 6, 2009 at 6:35 PM, Mariano Martinez Peck < > marianopeck at gmail.com> wrote: > >> Sorry. I read in you webpage that yes, it depends in Rio, but which >> packages should I install and in which order? >> >> Thanks! >> >> Mariano >> >> >> On Mon, Jul 6, 2009 at 6:32 PM, Mariano Martinez Peck < >> marianopeck at gmail.com> wrote: >> >>> Excellent news! I will use it for my project! Thanks for sharing this. >>> >>> One question: does this plugin depends on Rio? If so, which packages I >>> must install of Rio? I guess kernel and base but I am not sure. >>> >>> Thanks! >>> >>> Mariano >>> >>> >>> On Sun, Jul 5, 2009 at 11:40 PM, Nicolas Roard wrote: >>> >>>> Hi all, >>>> >>>> I have pushed a new version of Pier-Gallery that brings some new things: >>>> - create a gallery, and point to an existing directory on your server to >>>> fill it >>>> - files in a gallery directory that aren?t images are skipped >>>> - "square" rendering of thumbnails >>>> - thumbnail creation and image resize is automatic and modifiable any >>>> time, and done in the background >>>> - when you are logged, simply click on a thumbnail to go to a >>>> picture-specific page, where you can do small modifications (hide/show >>>> the image, rotate it) >>>> - a Gallery-Randomizer component ? create a page with such a component >>>> embedded, and it will pick an image randomly from your galleries >>>> - integration with Lightbox2 for a nice display >>>> >>>> You can grab it from the pier addons repository. >>>> >>>> More documentation here: >>>> http://www.roard.com/seaside/pier/projects/PierGallery >>>> >>>> Thanks to Damien Cassou for the original Pier-Gallery, and thanks to >>>> Damien Pollet for the occasional help :) >>>> >>>> -- >>>> Nicolas Roard >>>> "I love deadlines. I like the whooshing sound >>>> they make as they fly by." -- Douglas Adams >>>> >>>> _______________________________________________ >>>> Magritte, Pier and Related Tools ... >>>> https://www.iam.unibe.ch/mailman/listinfo/smallwiki >>>> >>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From keith_hodges at yahoo.co.uk Mon Jul 6 22:11:12 2009 From: keith_hodges at yahoo.co.uk (Keith Hodges) Date: Mon, 06 Jul 2009 21:11:12 +0100 Subject: [ANN] New Pier Gallery In-Reply-To: References: <25626500907051740s51524643m6db3b5655ec42880@mail.gmail.com> Message-ID: <4A525A60.6070800@yahoo.co.uk> Mariano Martinez Peck wrote: > I tried > > |Installer mantis ensureFix: 7219. > Installer ss project: 'Rio'; install: 'Rio-Kernel'; install: 'Rio-Grande'. > > |But in RioLocalExecutive>>initialize > when it does "Current initializeDefault" > I get RioLocalDosExecutive DNU initializeDefault. > > Any idea? > > Thanks! > > Mariano| > | Check the Universe's entry for Rio, I am sorry that the packages you are loading are long obsolete. Keith From marianopeck at gmail.com Mon Jul 6 22:35:17 2009 From: marianopeck at gmail.com (Mariano Martinez Peck) Date: Mon, 6 Jul 2009 19:35:17 -0100 Subject: [ANN] New Pier Gallery In-Reply-To: <4A525A60.6070800@yahoo.co.uk> References: <25626500907051740s51524643m6db3b5655ec42880@mail.gmail.com> <4A525A60.6070800@yahoo.co.uk> Message-ID: On Mon, Jul 6, 2009 at 7:11 PM, Keith Hodges wrote: > Mariano Martinez Peck wrote: > > I tried > > > > |Installer mantis ensureFix: 7219. > > Installer ss project: 'Rio'; install: 'Rio-Kernel'; install: > 'Rio-Grande'. > > > > |But in RioLocalExecutive>>initialize > > when it does "Current initializeDefault" > > I get RioLocalDosExecutive DNU initializeDefault. > > > > Any idea? > > > > Thanks! > > > > Mariano| > > | > Check the Universe's entry for Rio, I am sorry that the packages you are > loading are long obsolete. Nicolas: which version are you using of Rio? how did you install it? I tried version 4 from Universe but I get an error in: PGGallery>>folder " Create the folder if necessary " folder ifNil: [ folder := PGGallery globalLocalPicturesPath asRio / self galleryPath. folder exists ifFalse: [ folder mkdir ]. representationWidth ifNotNil: [ self parseFolder ] ]. ^ folder Because ByteString DNU asRio. Thanks Mariano > > > Keith > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -------------- next part -------------- An HTML attachment was scrubbed... URL: From nicolas.roard at gmail.com Mon Jul 6 22:43:11 2009 From: nicolas.roard at gmail.com (Nicolas Roard) Date: Mon, 6 Jul 2009 21:43:11 +0100 Subject: [ANN] New Pier Gallery In-Reply-To: References: <25626500907051740s51524643m6db3b5655ec42880@mail.gmail.com> <4A525A60.6070800@yahoo.co.uk> Message-ID: <25626500907061343h75a14c1aw455f5108ec239310@mail.gmail.com> On Mon, Jul 6, 2009 at 9:35 PM, Mariano Martinez Peck wrote: > > > On Mon, Jul 6, 2009 at 7:11 PM, Keith Hodges > wrote: >> >> Mariano Martinez Peck wrote: >> > I tried >> > >> > |Installer mantis ensureFix: 7219. >> > Installer ss project: 'Rio'; install: 'Rio-Kernel'; install: >> > 'Rio-Grande'. >> > >> > |But in RioLocalExecutive>>initialize >> > when it does "Current initializeDefault" >> > I get RioLocalDosExecutive DNU initializeDefault. >> > >> > Any idea? >> > >> > Thanks! >> > >> > Mariano| >> > | >> Check the Universe's entry for Rio, I am sorry that the packages you are >> loading are long obsolete. > > Nicolas: which version are you using of Rio? how did you install it? looking at my running image, this is what I have: Rio-Core (Rio-Core-kph.37) Rio-Grande (Rio-Grande-kph.45) Rio-Kernel (Rio-Kernel-lr.88) not sure which order I installed them though (via monticello) -- Nicolas Roard "I love deadlines. I like the whooshing sound they make as they fly by." -- Douglas Adams From keith_hodges at yahoo.co.uk Mon Jul 6 22:59:48 2009 From: keith_hodges at yahoo.co.uk (Keith Hodges) Date: Mon, 06 Jul 2009 21:59:48 +0100 Subject: [ANN] New Pier Gallery In-Reply-To: <25626500907061343h75a14c1aw455f5108ec239310@mail.gmail.com> References: <25626500907051740s51524643m6db3b5655ec42880@mail.gmail.com> <4A525A60.6070800@yahoo.co.uk> <25626500907061343h75a14c1aw455f5108ec239310@mail.gmail.com> Message-ID: <4A5265C4.9090608@yahoo.co.uk> Try File-Kernel, File-Base, and File-Tests Keith From marianopeck at gmail.com Tue Jul 7 06:13:16 2009 From: marianopeck at gmail.com (Mariano Martinez Peck) Date: Tue, 7 Jul 2009 01:13:16 -0300 Subject: [ANN] New Pier Gallery In-Reply-To: <4A5265C4.9090608@yahoo.co.uk> References: <25626500907051740s51524643m6db3b5655ec42880@mail.gmail.com> <4A525A60.6070800@yahoo.co.uk> <25626500907061343h75a14c1aw455f5108ec239310@mail.gmail.com> <4A5265C4.9090608@yahoo.co.uk> Message-ID: Nicolas: Now I have more problems :( I create a folder in /tmp/galeria and then create a galery in that folder. There are 8 pictures. When I click on send, I have this problem: PGGallery>>parseFolder when it does: validImage := PGSqueakImageAssistant validFile: (PGGallery globalLocalPicturesPath), (dir / e name) In this case, (PGGallery globalLocalPicturesPath), (dir / e name) shows: '/tmpgaleria/panoramicaMonteFitzRoy-full.jpg'. This is wrong, and should be validImage := PGSqueakImageAssistant validFile: (PGGallery globalLocalPicturesPath), '/', (dir / e name) With that, it worked. Now, I have another problem. It seems it finds the images as they are all as children in the "galeria" component. However, they are not rendered. Instead of it, there is a text that says: "8 pictures left to process..." What does it mean? why they aren't rendered? In addition, I don't see "Import Local Pictures" command, only "Import Zip with pictures". Any idea? Thanks for the help. Cheers, Mariano On Mon, Jul 6, 2009 at 7:59 PM, Keith Hodges wrote: > Try File-Kernel, File-Base, and File-Tests > > Keith > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -------------- next part -------------- An HTML attachment was scrubbed... URL: From nicolas.roard at gmail.com Tue Jul 7 10:33:24 2009 From: nicolas.roard at gmail.com (Nicolas Roard) Date: Tue, 7 Jul 2009 09:33:24 +0100 Subject: [ANN] New Pier Gallery In-Reply-To: References: <25626500907051740s51524643m6db3b5655ec42880@mail.gmail.com> <4A525A60.6070800@yahoo.co.uk> <25626500907061343h75a14c1aw455f5108ec239310@mail.gmail.com> <4A5265C4.9090608@yahoo.co.uk> Message-ID: <25626500907070133n37d418f4uc58ecc634a933e74@mail.gmail.com> On Tue, Jul 7, 2009 at 5:13 AM, Mariano Martinez Peck wrote: > Nicolas: Now I have more problems :( > I create a folder in /tmp/galeria and then create a galery in that folder. > There are 8 pictures. > When I click on send, I have this problem: > > PGGallery>>parseFolder > > when it does: > > ??? ??? validImage := PGSqueakImageAssistant validFile: (PGGallery > globalLocalPicturesPath), (dir / e name) > > In this case, (PGGallery globalLocalPicturesPath), (dir / e name)?? shows: > '/tmpgaleria/panoramicaMonteFitzRoy-full.jpg'. > > This is wrong, and should be > > validImage := PGSqueakImageAssistant validFile: (PGGallery > globalLocalPicturesPath), '/', (dir / e name) yes, globalLocalPicturesPath and globalPicturesPath should end up with a '/' (I'll push an update to enforce that). > With that, it worked. > > Now, I have another problem. It seems it finds the images as they are all as > children in the "galeria" component. However, they are not rendered. Instead > of it, there is a text that says: "8 pictures left to process..."?? What > does it mean? why they aren't rendered? they are handed over to the image process object. The message simply means that it knows there is 8 pictures, but that the corresponding thumbnails and resized versions aren't found. This may have failed due to the paths, try again clicking on import local files ? > > In addition, I don't see? "Import Local Pictures" command, only "Import Zip > with pictures". Any idea? er... that's weird ! import local pictures should be here, look at the PGImportLocalFilesCommand class. -- Nicolas Roard "I love deadlines. I like the whooshing sound they make as they fly by." -- Douglas Adams From chaetal at gmail.com Tue Jul 7 19:25:47 2009 From: chaetal at gmail.com (Dennis Schetinin) Date: Tue, 7 Jul 2009 21:25:47 +0400 Subject: How to embed more than a document? Message-ID: <84f77e270907071025l621d8160q2fb1f3544b14fe4e@mail.gmail.com> It seems to be basics of Pier, but I still don't understand them. If I have my own PRCase child with custom viewComponentClass, can I embed (using ++) it in another page, rendered the same way as at it's original position? For instance, I have a Questionnaire and QuestionnaireView, which renders (it's children) Polls using Vote command. How can I show this at the main page of my site? Or how to do this some other (proper) way? -- Dennis Schetinin -------------- next part -------------- An HTML attachment was scrubbed... URL: From marianopeck at gmail.com Wed Jul 8 04:58:08 2009 From: marianopeck at gmail.com (Mariano Martinez Peck) Date: Tue, 7 Jul 2009 23:58:08 -0300 Subject: DeepCopy command ? Message-ID: Hi! I am playing with Google Gadget components and I have a problem. I have several "cities" that are pages and I want to embed in each of them a Weather Google Gadget for that city. I did one, with the custom height, size, and URL (for the gadget). As I need them for all cities I used the "copy" command and change only the name and the location code. But, the problem is that when I change the location code to one object, they are change to the others (to the others I copied). What I have to do, to make it work, is to make a new Google Component every time, put the URL, height and size (which are the same for all of them). So, I wonder if a DeepClone or DeepCopy command would help me here? Did someone ever have the same request? Cheers, Mariano -------------- next part -------------- An HTML attachment was scrubbed... URL: From marianopeck at gmail.com Wed Jul 8 05:08:03 2009 From: marianopeck at gmail.com (Mariano Martinez Peck) Date: Wed, 8 Jul 2009 00:08:03 -0300 Subject: http://source.lukas-renggli.ch/ seems to be down Message-ID: Thanks, Mariano -------------- next part -------------- An HTML attachment was scrubbed... URL: From marianopeck at gmail.com Wed Jul 8 04:58:08 2009 From: marianopeck at gmail.com (Mariano Martinez Peck) Date: Tue, 7 Jul 2009 23:58:08 -0300 Subject: DeepCopy command ? Message-ID: Hi! I am playing with Google Gadget components and I have a problem. I have several "cities" that are pages and I want to embed in each of them a Weather Google Gadget for that city. I did one, with the custom height, size, and URL (for the gadget). As I need them for all cities I used the "copy" command and change only the name and the location code. But, the problem is that when I change the location code to one object, they are change to the others (to the others I copied). What I have to do, to make it work, is to make a new Google Component every time, put the URL, height and size (which are the same for all of them). So, I wonder if a DeepClone or DeepCopy command would help me here? Did someone ever have the same request? Cheers, Mariano -------------- next part -------------- An HTML attachment was scrubbed... URL: From damien.cassou at gmail.com Wed Jul 8 10:17:46 2009 From: damien.cassou at gmail.com (Damien Cassou) Date: Wed, 8 Jul 2009 10:17:46 +0200 Subject: Linking a video Message-ID: <6ac749c10907080117l5c808533m6bcab160a68d0e83@mail.gmail.com> Hi, I've uploaded a video to my Pier installation. I would like a link to offer downloading this video. However, any link points to a page with the video embedded. How can I do that? Thank you -- Damien Cassou http://damiencassou.seasidehosting.st "Lambdas are relegated to relative obscurity until Java makes them popular by not having them." James Iry From renggli at gmail.com Wed Jul 8 10:21:25 2009 From: renggli at gmail.com (Lukas Renggli) Date: Wed, 8 Jul 2009 10:21:25 +0200 Subject: Linking a video In-Reply-To: <6ac749c10907080117l5c808533m6bcab160a68d0e83@mail.gmail.com> References: <6ac749c10907080117l5c808533m6bcab160a68d0e83@mail.gmail.com> Message-ID: <67628d690907080121g325b71d1ua7c926d75ccf5f42@mail.gmail.com> +/my-long-movie|download+ Cheers, Lukas 2009/7/8 Damien Cassou : > Hi, > > I've uploaded a video to my Pier installation. I would like a link to > offer downloading this video. However, any link points to a page with > the video embedded. How can I do that? > > Thank you > > -- > Damien Cassou > http://damiencassou.seasidehosting.st > > "Lambdas are relegated to relative obscurity until Java makes them > popular by not having them." James Iry > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -- Lukas Renggli http://www.lukas-renggli.ch From damien.cassou at gmail.com Wed Jul 8 13:33:54 2009 From: damien.cassou at gmail.com (Damien Cassou) Date: Wed, 8 Jul 2009 13:33:54 +0200 Subject: How to embed more than a document? In-Reply-To: <84f77e270907071025l621d8160q2fb1f3544b14fe4e@mail.gmail.com> References: <84f77e270907071025l621d8160q2fb1f3544b14fe4e@mail.gmail.com> Message-ID: <6ac749c10907080433ydd42310lc87f10c631a6daa9@mail.gmail.com> Hi Dennis, On Tue, Jul 7, 2009 at 7:25 PM, Dennis Schetinin wrote: > It seems to be basics of Pier, but I still don't understand them. If I have > my own PRCase child with custom viewComponentClass, can I embed (using ++) > it in another page, rendered the same way as at it's original position? > > For instance, I have a Questionnaire and QuestionnaireView, which renders > (it's children) Polls using Vote command. How can I show this at the main > page of my site? Or how to do this some other (proper) way? I'm not sure but I would try: 1) Implement a method #accept: in Questionnaire Questionnaire>>accept: aVisitor aVisitor visitQuestionnaire: self 2) Implement PRVisitor>>visitQuestionnaire: PRVisitor>>visitQuestionnaire: aQuestionnaire self visitCase: aQuestionnaire 3) Implement PREmbeddedRender>>visitQuestionnaire: PREmbeddedRender>>visitQuestionnaire: aQuestionnaire "do whatever you want with the 'html' instance variable and 'aQuestionnaire' questionnaire" ... -- Damien Cassou http://damiencassou.seasidehosting.st "Lambdas are relegated to relative obscurity until Java makes them popular by not having them." James Iry From chaetal at gmail.com Wed Jul 8 16:14:02 2009 From: chaetal at gmail.com (Dennis Schetinin) Date: Wed, 8 Jul 2009 18:14:02 +0400 Subject: How to embed more than a document? In-Reply-To: <6ac749c10907080433ydd42310lc87f10c631a6daa9@mail.gmail.com> References: <84f77e270907071025l621d8160q2fb1f3544b14fe4e@mail.gmail.com> <6ac749c10907080433ydd42310lc87f10c631a6daa9@mail.gmail.com> Message-ID: <84f77e270907080714r78d51a57y95c45f85d3af5a58@mail.gmail.com> > > For instance, I have a Questionnaire and QuestionnaireView, which renders > > (it's children) Polls using Vote command. How can I show this at the main > > page of my site? Or how to do this some other (proper) way? > > I'm not sure but I would try: > > 1) Implement a method #accept: in Questionnaire > > Questionnaire>>accept: aVisitor > aVisitor visitQuestionnaire: self > > 2) Implement PRVisitor>>visitQuestionnaire: > > PRVisitor>>visitQuestionnaire: aQuestionnaire > self visitCase: aQuestionnaire > > 3) Implement PREmbeddedRender>>visitQuestionnaire: > > PREmbeddedRender>>visitQuestionnaire: aQuestionnaire > "do whatever you want with the 'html' instance variable and > 'aQuestionnaire' questionnaire" > ... > Nice instructions, thank you. I'll try it this way -- Dennis Schetinin -------------- next part -------------- An HTML attachment was scrubbed... URL: From chaetal at gmail.com Thu Jul 9 04:46:37 2009 From: chaetal at gmail.com (Dennis Schetinin) Date: Thu, 9 Jul 2009 06:46:37 +0400 Subject: How to embed more than a document? In-Reply-To: <6ac749c10907080433ydd42310lc87f10c631a6daa9@mail.gmail.com> References: <84f77e270907071025l621d8160q2fb1f3544b14fe4e@mail.gmail.com> <6ac749c10907080433ydd42310lc87f10c631a6daa9@mail.gmail.com> Message-ID: <84f77e270907081946sa6f9c88rac7619acfa9b18d@mail.gmail.com> > For instance, I have a Questionnaire and QuestionnaireView, which renders > > (it's children) Polls using Vote command. How can I show this at the main > > page of my site? Or how to do this some other (proper) way? > > I'm not sure but I would try: > > 1) Implement a method #accept: in Questionnaire > > Questionnaire>>accept: aVisitor > aVisitor visitQuestionnaire: self > > 2) Implement PRVisitor>>visitQuestionnaire: > > PRVisitor>>visitQuestionnaire: aQuestionnaire > self visitCase: aQuestionnaire > > 3) Implement PREmbeddedRender>>visitQuestionnaire: > > PREmbeddedRender>>visitQuestionnaire: aQuestionnaire > "do whatever you want with the 'html' instance variable and > 'aQuestionnaire' questionnaire" > Wouldn't it be a hack to implement it this way? PREmbeddedRenderer >> visitQuestionnaire: aStructure (aStructure viewComponentClass on: self context) structure: aStructure; renderContentOn: html Specifically I'm not sure about #structure: setter for QuestionnaireView... I had to do the following there: QuestionnaireView >> renderContentOn: html self components do: [:each | html render: each] components | pollStructure pollCommand pollComponent | ^ self polls collect: [:each | pollStructure := self context structure: each command: POVoteCommand new. pollCommand := pollStructure command. pollComponent := pollCommand description asComponentOn: pollCommand. "..." pollComponent] polls ^ self structure childrenDecoration children structure ^ structure ifNil: [self context structure] It works so far but I doubt it's a correct away... Though I can't explain/understand why... -- Dennis Schetinin -------------- next part -------------- An HTML attachment was scrubbed... URL: From chaetal at gmail.com Thu Jul 9 05:06:46 2009 From: chaetal at gmail.com (Dennis Schetinin) Date: Thu, 9 Jul 2009 07:06:46 +0400 Subject: How to embed more than a document? In-Reply-To: <84f77e270907081946sa6f9c88rac7619acfa9b18d@mail.gmail.com> References: <84f77e270907071025l621d8160q2fb1f3544b14fe4e@mail.gmail.com> <6ac749c10907080433ydd42310lc87f10c631a6daa9@mail.gmail.com> <84f77e270907081946sa6f9c88rac7619acfa9b18d@mail.gmail.com> Message-ID: <84f77e270907082006h17be675i445adad04f433c5c@mail.gmail.com> > Wouldn't it be a hack to implement it this way? > > PREmbeddedRenderer >> visitQuestionnaire: aStructure > (aStructure viewComponentClass on: self context) > structure: aStructure; > renderContentOn: html > > Specifically I'm not sure about #structure: setter for QuestionnaireView... > I had to do the following there: > > QuestionnaireView >> > > renderContentOn: html > self components do: [:each | > html render: each] > > components > | pollStructure pollCommand pollComponent | > ^ self polls > collect: [:each | > pollStructure := self context structure: each command: > POVoteCommand new. > pollCommand := pollStructure command. > pollComponent := pollCommand description asComponentOn: > pollCommand. > "..." > pollComponent] > > polls > ^ self structure childrenDecoration children > > structure > ^ structure ifNil: [self context structure] > > It works so far but I doubt it's a correct away... Though I can't > explain/understand why... > One (not the only?) problem is "WAComponentsNotFoundError" while posting the form. It's because #children method of QuestionnaireView is not invoked at all... Any suggestions? Shouldn't I create a special PRWidget for this case? Or go some other way? -- Dennis Schetinin -------------- next part -------------- An HTML attachment was scrubbed... URL: From marianopeck at gmail.com Tue Jul 7 15:32:28 2009 From: marianopeck at gmail.com (Mariano Martinez Peck) Date: Tue, 7 Jul 2009 12:32:28 -0100 Subject: [ANN] New Pier Gallery In-Reply-To: <25626500907070133n37d418f4uc58ecc634a933e74@mail.gmail.com> References: <25626500907051740s51524643m6db3b5655ec42880@mail.gmail.com> <4A525A60.6070800@yahoo.co.uk> <25626500907061343h75a14c1aw455f5108ec239310@mail.gmail.com> <4A5265C4.9090608@yahoo.co.uk> <25626500907070133n37d418f4uc58ecc634a933e74@mail.gmail.com> Message-ID: On Tue, Jul 7, 2009 at 7:33 AM, Nicolas Roard wrote: > On Tue, Jul 7, 2009 at 5:13 AM, Mariano Martinez > Peck wrote: > > Nicolas: Now I have more problems :( > > I create a folder in /tmp/galeria and then create a galery in that > folder. > > There are 8 pictures. > > When I click on send, I have this problem: > > > > PGGallery>>parseFolder > > > > when it does: > > > > validImage := PGSqueakImageAssistant validFile: (PGGallery > > globalLocalPicturesPath), (dir / e name) > > > > In this case, (PGGallery globalLocalPicturesPath), (dir / e name) > shows: > > '/tmpgaleria/panoramicaMonteFitzRoy-full.jpg'. > > > > This is wrong, and should be > > > > validImage := PGSqueakImageAssistant validFile: (PGGallery > > globalLocalPicturesPath), '/', (dir / e name) > > yes, globalLocalPicturesPath and globalPicturesPath should end up with > a '/' (I'll push an update to enforce that). Ok, thanks! > > > > With that, it worked. > > > > Now, I have another problem. It seems it finds the images as they are all > as > > children in the "galeria" component. However, they are not rendered. > Instead > > of it, there is a text that says: "8 pictures left to process..." What > > does it mean? why they aren't rendered? > > they are handed over to the image process object. The message simply > means that it knows there is 8 pictures, but that the corresponding > thumbnails and resized versions aren't found. This may have failed due > to the paths, try again clicking on import local files ? It's weird because here at my windows image I see "Import local pictures". Anyway, I tried it (after adding the / ) and now it displays the "<< *1* 2 >>" but it doesn't display the pictures. I attach an screenshot. I have put lightbox2 as you explained. > > > > > In addition, I don't see "Import Local Pictures" command, only "Import > Zip > > with pictures". Any idea? > > er... that's weird ! import local pictures should be here, look at the > PGImportLocalFilesCommand class. Yes, this was weird. I will took a clean image and try again. > > > -- > Nicolas Roard > "I love deadlines. I like the whooshing sound > they make as they fly by." -- Douglas Adams > > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: pierGallery.JPG Type: image/jpeg Size: 90079 bytes Desc: not available URL: From marianopeck at gmail.com Thu Jul 9 23:34:16 2009 From: marianopeck at gmail.com (Mariano Martinez Peck) Date: Thu, 9 Jul 2009 18:34:16 -0300 Subject: [ANN] New Pier Gallery In-Reply-To: References: <25626500907051740s51524643m6db3b5655ec42880@mail.gmail.com> <4A525A60.6070800@yahoo.co.uk> <25626500907061343h75a14c1aw455f5108ec239310@mail.gmail.com> <4A5265C4.9090608@yahoo.co.uk> <25626500907070133n37d418f4uc58ecc634a933e74@mail.gmail.com> Message-ID: > > > >> >> > >> > In addition, I don't see "Import Local Pictures" command, only "Import >> Zip >> > with pictures". Any idea? >> >> er... that's weird ! import local pictures should be here, look at the >> PGImportLocalFilesCommand class. > > > Yes, this was weird. I will took a clean image and try again. > Nicolas: I really want and need to use your Gallery. I did everything again and have the same problem. There is the class "Import Local Pictures" but it is not showed. I attach and screenshot. Thanks Mariano > > > >> >> >> -- >> Nicolas Roard >> "I love deadlines. I like the whooshing sound >> they make as they fly by." -- Douglas Adams >> >> _______________________________________________ >> Magritte, Pier and Related Tools ... >> https://www.iam.unibe.ch/mailman/listinfo/smallwiki >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ImportLocalPictures.png Type: image/png Size: 241318 bytes Desc: not available URL: From nicolas.roard at gmail.com Fri Jul 10 02:29:56 2009 From: nicolas.roard at gmail.com (Nicolas Roard) Date: Fri, 10 Jul 2009 01:29:56 +0100 Subject: [ANN] New Pier Gallery In-Reply-To: References: <25626500907051740s51524643m6db3b5655ec42880@mail.gmail.com> <4A525A60.6070800@yahoo.co.uk> <25626500907061343h75a14c1aw455f5108ec239310@mail.gmail.com> <4A5265C4.9090608@yahoo.co.uk> <25626500907070133n37d418f4uc58ecc634a933e74@mail.gmail.com> Message-ID: <25626500907091729r23b68e21h24551fbdcd203509@mail.gmail.com> On Thu, Jul 9, 2009 at 10:34 PM, Mariano Martinez Peck wrote: > >> >> >>> >>> >>> > >>> > In addition, I don't see? "Import Local Pictures" command, only "Import >>> > Zip >>> > with pictures". Any idea? >>> >>> er... that's weird ! import local pictures should be here, look at the >>> PGImportLocalFilesCommand class. >> >> Yes, this was weird. I will took a clean image and try again. > > Nicolas: I really want and need to use your Gallery. > > I did everything again and have the same problem. There is the class "Import > Local Pictures" but it is not showed. > I attach and screenshot. This is very odd. If you start a Transcript in your image, do you see any error messages ? Also, check that PRStructure do contain a "isGallery" method (if somehow it doesn't, it would at least explain the "import local pictures" missing. One thing you can try is to execute the following in a workspace: PGImageRequest generator: nil Then edit your gallery (you did create a gallery and not a gallery list, right?), maybe change the size of the thumbnails, this will force a refresh (same as what "import local pictures" would do). Check on your server the directory that normally should have contained the pictures -- what there anything created ? e.g. you would have something like: Root Pictures Path: http://www.yoursite.com/photos/ Root Local Pictures Path: /var/www/photos/ Gallery Directory Name: MyGallery if you go look into /var/www/photos you should have something. Maybe do ls -al and see if anything was created. For what I can see on your screenshot, the pictures were found and each picture structure added. What happened if you click on one of these ? (e.g. in your first sshot, click on "100_2995.JPG"). This should show you a page with the image, or if not, with a list of command, one of them being "regenerate" which should try to recreate the image. If you want to debug what happens, try this: open a transcript in your image, open a workspace, reinit the image generator ("PGImageRequest generator: nil"), then put a breakpoint in the PGImageGenerator class' constructor to see what happens, and finally go onto one of the imported image page and click on regenerate. This should automatically recreate a PGImageGenerator instance that should receive the image request message -- from then you can trace to see what's happening. Maybe you can also try to manually test (using a workspace) if the PGSqueakImageAssistant class do work correctly on windows -- could be a problem with the jpeg writer class ?.. -- Nicolas Roard "I love deadlines. I like the whooshing sound they make as they fly by." -- Douglas Adams From marianopeck at gmail.com Fri Jul 10 05:59:31 2009 From: marianopeck at gmail.com (Mariano Martinez Peck) Date: Fri, 10 Jul 2009 00:59:31 -0300 Subject: [ANN] New Pier Gallery In-Reply-To: <25626500907091729r23b68e21h24551fbdcd203509@mail.gmail.com> References: <25626500907051740s51524643m6db3b5655ec42880@mail.gmail.com> <4A525A60.6070800@yahoo.co.uk> <25626500907061343h75a14c1aw455f5108ec239310@mail.gmail.com> <4A5265C4.9090608@yahoo.co.uk> <25626500907070133n37d418f4uc58ecc634a933e74@mail.gmail.com> <25626500907091729r23b68e21h24551fbdcd203509@mail.gmail.com> Message-ID: On Thu, Jul 9, 2009 at 9:29 PM, Nicolas Roard wrote: > On Thu, Jul 9, 2009 at 10:34 PM, Mariano Martinez > Peck wrote: > > > >> > >> > >>> > >>> > >>> > > >>> > In addition, I don't see "Import Local Pictures" command, only > "Import > >>> > Zip > >>> > with pictures". Any idea? > >>> > >>> er... that's weird ! import local pictures should be here, look at the > >>> PGImportLocalFilesCommand class. > >> > >> Yes, this was weird. I will took a clean image and try again. > > > > Nicolas: I really want and need to use your Gallery. > > > > I did everything again and have the same problem. There is the class > "Import > > Local Pictures" but it is not showed. > > I attach and screenshot. > > This is very odd. If you start a Transcript in your image, do you see > any error messages ? No. Just "generator thread started". > > Also, check that PRStructure do contain a "isGallery" method (if > somehow it doesn't, it would at least explain the "import local > pictures" missing. Yes. isGallery is implemented in PRStructure with ^ false and ^ true in PRGallery. > > One thing you can try is to execute the following in a workspace: > PGImageRequest generator: nil > Then edit your gallery (you did create a gallery and not a gallery > list, right?), Yes. I am creating a Gallery, not Gallery List. > maybe change the size of the thumbnails, this will > force a refresh (same as what "import local pictures" would do). Check > on your server the directory that normally should have contained the > pictures -- what there anything created ? Yes. That trick would generate all again. > > e.g. you would have something like: > Root Pictures Path: http://www.yoursite.com/photos/ > Root Local Pictures Path: /var/www/photos/ > Gallery Directory Name: MyGallery > > if you go look into /var/www/photos you should have something. Maybe > do ls -al and see if anything was created. > My website is here: http://localhost:8888/seaside/destinoMochila/ I craeted a Gallery with this: Root Pictures Path: http://localhost:8888/seaside/destinoMochila/ Root local pictures path: /home/mariano/galeria/ Gallery Directory Name: galeria mariano at mariano-ubuntu:~/galeria$ ls -la total 28 drwxr-xr-x 5 mariano mariano 4096 2009-07-10 00:07 . drwxr-xr-x 149 mariano mariano 12288 2009-07-09 23:55 .. drwxr-xr-x 2 mariano mariano 4096 2009-07-10 00:06 galeria drwxr-xr-x 3 mariano mariano 4096 2009-07-10 00:07 images drwxr-xr-x 3 mariano mariano 4096 2009-07-10 00:07 thumbnails mariano at mariano-ubuntu:~/galeria/galeria$ ls -la total 100 drwxr-xr-x 2 mariano mariano 4096 2009-07-10 00:06 . drwxr-xr-x 5 mariano mariano 4096 2009-07-10 00:07 .. -rwxrwxrwx 1 mariano mariano 88641 2009-03-23 01:29 S5002755_v3.JPG mariano at mariano-ubuntu:~/galeria/images$ ls -la total 12 drwxr-xr-x 3 mariano mariano 4096 2009-07-10 00:07 . drwxr-xr-x 5 mariano mariano 4096 2009-07-10 00:07 .. drwxr-xr-x 3 mariano mariano 4096 2009-07-10 00:07 600px-0 mariano at mariano-ubuntu:~/galeria/thumbnails$ ls -la total 12 drwxr-xr-x 3 mariano mariano 4096 2009-07-10 00:07 . drwxr-xr-x 5 mariano mariano 4096 2009-07-10 00:07 .. drwxr-xr-x 3 mariano mariano 4096 2009-07-10 00:07 80px-0 So, as you can see, all is being generated. I debug PGImageGenerator but nothing strange happens. The problem is that they are not displayed. If I put a breakpoint in PGPictureHtmlView>>renderContentOn: html if I print self picture representationImageURL i get: ' http://localhost/seaside/destinoMochila/images/500px-0/galeria/S5002755_v3.JPG ' which is wrong because I don't listen in 8080 but in 8888. So it should be ' http://localhost:8888/seaside/destinoMochila/images/500px-0/galeria/S5002755_v3.JPG' as I put when I create the gallery. In addition, 'http://localhost/seaside/destinoMochila/images/' or http://localhost:8888/seaside/destinoMochila/images/600px-0/galeria/ in the browser shows: "The requested object /seaside/destinoMochila/images was not found on this server." The problem is that PGPicture>>representationImageURL you do: remoteRepresentationFile url and that answers something like ' http://localhost/seaside/destinoMochila/images/550px-0/galeria/S5002755_v3.JPG ' I had to change RioRemoteExecutive>>host from host ^ url authority to host ^ url authority, ':', url port asString However....it doesn't show the pictures :( I don't know what else to test or debug... Thanks for the help Mariano > > For what I can see on your screenshot, the pictures were found and > each picture structure added. What happened if you click on one of > these ? (e.g. in your first sshot, click on "100_2995.JPG"). This > should show you a page with the image, or if not, with a list of > command, one of them being "regenerate" which should try to recreate > the image. > Yes. I saw that command but same results: the image is not displayed. > > If you want to debug what happens, try this: open a transcript in your > image, open a workspace, reinit the image generator ("PGImageRequest > generator: nil"), then put a breakpoint in the PGImageGenerator class' > constructor to see what happens, and finally go onto one of the > imported image page and click on regenerate. This should automatically > recreate a PGImageGenerator instance that should receive the image > request message -- from then you can trace to see what's happening. > > Maybe you can also try to manually test (using a workspace) if the > PGSqueakImageAssistant class do work correctly on windows -- could be > a problem with the jpeg writer class ?.. I am now in Linux :( > > > -- > Nicolas Roard > "I love deadlines. I like the whooshing sound > they make as they fly by." -- Douglas Adams > > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -------------- next part -------------- An HTML attachment was scrubbed... URL: From nicolas.roard at gmail.com Fri Jul 10 10:19:13 2009 From: nicolas.roard at gmail.com (Nicolas Roard) Date: Fri, 10 Jul 2009 09:19:13 +0100 Subject: [ANN] New Pier Gallery In-Reply-To: References: <25626500907051740s51524643m6db3b5655ec42880@mail.gmail.com> <25626500907061343h75a14c1aw455f5108ec239310@mail.gmail.com> <4A5265C4.9090608@yahoo.co.uk> <25626500907070133n37d418f4uc58ecc634a933e74@mail.gmail.com> <25626500907091729r23b68e21h24551fbdcd203509@mail.gmail.com> Message-ID: <25626500907100119i5b5427a4hdec31528ddae1153@mail.gmail.com> On Fri, Jul 10, 2009 at 4:59 AM, Mariano Martinez Peck wrote: > > > On Thu, Jul 9, 2009 at 9:29 PM, Nicolas Roard > wrote: >> >> On Thu, Jul 9, 2009 at 10:34 PM, Mariano Martinez >> Peck wrote: >> > >> >> >> >> >> >>> >> >>> >> >>> > >> >>> > In addition, I don't see? "Import Local Pictures" command, only >> >>> > "Import >> >>> > Zip >> >>> > with pictures". Any idea? >> >>> >> >>> er... that's weird ! import local pictures should be here, look at the >> >>> PGImportLocalFilesCommand class. >> >> >> >> Yes, this was weird. I will took a clean image and try again. >> > >> > Nicolas: I really want and need to use your Gallery. >> > >> > I did everything again and have the same problem. There is the class >> > "Import >> > Local Pictures" but it is not showed. >> > I attach and screenshot. >> >> This is very odd. If you start a Transcript in your image, do you see >> any error messages ? > > No. Just "generator thread started". > >> >> Also, check that PRStructure do contain a "isGallery" method (if >> somehow it doesn't, it would at least explain the "import local >> pictures" missing. > > Yes. isGallery is implemented in PRStructure with ^ false and ^ true in > PRGallery. > >> >> One thing you can try is to execute the following in a workspace: >> PGImageRequest generator: nil >> Then edit your gallery (you did create a gallery and not a gallery >> list, right?), > > Yes. I am creating a Gallery, not Gallery List. > >> >> maybe change the size of the thumbnails, this will >> force a refresh (same as what "import local pictures" would do). Check >> on your server the directory that normally should have contained the >> pictures -- what there anything created ? > > Yes. That trick would generate all again. > >> >> e.g. you would have something like: >> Root Pictures Path: http://www.yoursite.com/photos/ >> Root Local Pictures Path: /var/www/photos/ >> Gallery Directory Name: MyGallery >> >> if you go look into /var/www/photos you should have something. Maybe >> do ls -al and see if anything was created. > > My website is here: http://localhost:8888/seaside/destinoMochila/ > > I craeted a Gallery with this: > > Root Pictures Path: http://localhost:8888/seaside/destinoMochila/ > Root local pictures path:? /home/mariano/galeria/ > Gallery Directory Name: galeria > > mariano at mariano-ubuntu:~/galeria$ ls -la > total 28 > drwxr-xr-x?? 5 mariano mariano? 4096 2009-07-10 00:07 . > drwxr-xr-x 149 mariano mariano 12288 2009-07-09 23:55 .. > drwxr-xr-x?? 2 mariano mariano? 4096 2009-07-10 00:06 galeria > drwxr-xr-x?? 3 mariano mariano? 4096 2009-07-10 00:07 images > drwxr-xr-x?? 3 mariano mariano? 4096 2009-07-10 00:07 thumbnails > > mariano at mariano-ubuntu:~/galeria/galeria$ ls -la > total 100 > drwxr-xr-x 2 mariano mariano? 4096 2009-07-10 00:06 . > drwxr-xr-x 5 mariano mariano? 4096 2009-07-10 00:07 .. > -rwxrwxrwx 1 mariano mariano 88641 2009-03-23 01:29 S5002755_v3.JPG > > mariano at mariano-ubuntu:~/galeria/images$ ls -la > total 12 > drwxr-xr-x 3 mariano mariano 4096 2009-07-10 00:07 . > drwxr-xr-x 5 mariano mariano 4096 2009-07-10 00:07 .. > drwxr-xr-x 3 mariano mariano 4096 2009-07-10 00:07 600px-0 > > mariano at mariano-ubuntu:~/galeria/thumbnails$ ls -la > total 12 > drwxr-xr-x 3 mariano mariano 4096 2009-07-10 00:07 . > drwxr-xr-x 5 mariano mariano 4096 2009-07-10 00:07 .. > drwxr-xr-x 3 mariano mariano 4096 2009-07-10 00:07 80px-0 > > So, as you can see, all is being generated. ok, so that's good ... > > I debug PGImageGenerator but nothing strange happens. > > The problem is that they are not displayed. > > If I put a breakpoint in > > ?PGPictureHtmlView>>renderContentOn: html > if I print self picture representationImageURL?? i get: > 'http://localhost/seaside/destinoMochila/images/500px-0/galeria/S5002755_v3.JPG' > which is wrong because I don't listen in 8080 but in 8888. So it should be > 'http://localhost:8888/seaside/destinoMochila/images/500px-0/galeria/S5002755_v3.JPG' > as I put when I create the gallery. > > In addition, 'http://localhost/seaside/destinoMochila/images/' > or > ??? http://localhost:8888/seaside/destinoMochila/images/600px-0/galeria/ > > in the browser shows: > "The requested object /seaside/destinoMochila/images was not found on this > server." > > The problem is that PGPicture>>representationImageURL > you do: > remoteRepresentationFile url > and that answers something like > 'http://localhost/seaside/destinoMochila/images/550px-0/galeria/S5002755_v3.JPG' > > I had to change > > RioRemoteExecutive>>host from > host > ??? ^ url authority > > to > > host > ??? ^ url authority, ':', url port asString > yes, good catch, I'll update this. > > However....it doesn't show the pictures :( independantly of seaside, if you type this full url in your browser do you have it displayed ?.. because it seems that everything works correctly in seaside/pier, it's just that you don't server the files. Note that you _need_ a web server to serve this in addition to seaside -- you need either something like apache or lighttpd for example, that would serve your /home/mariano/galeria/ files. > I don't know what else to test or debug... well, everything do seem to work correctly -- all the images are generated, which is all we should need. So it's either the reported final url that is wrong (as for example the port wasn't included) or that you don't have a webserver set up to serve the images from those final url. -- Nicolas Roard "I love deadlines. I like the whooshing sound they make as they fly by." -- Douglas Adams From marianopeck at gmail.com Fri Jul 10 18:03:58 2009 From: marianopeck at gmail.com (Mariano Martinez Peck) Date: Fri, 10 Jul 2009 15:03:58 -0100 Subject: [ANN] New Pier Gallery In-Reply-To: <25626500907100119i5b5427a4hdec31528ddae1153@mail.gmail.com> References: <25626500907051740s51524643m6db3b5655ec42880@mail.gmail.com> <25626500907061343h75a14c1aw455f5108ec239310@mail.gmail.com> <4A5265C4.9090608@yahoo.co.uk> <25626500907070133n37d418f4uc58ecc634a933e74@mail.gmail.com> <25626500907091729r23b68e21h24551fbdcd203509@mail.gmail.com> <25626500907100119i5b5427a4hdec31528ddae1153@mail.gmail.com> Message-ID: > > I don't know what else to test or debug... > > well, everything do seem to work correctly -- all the images are > generated, which is all we should need. So it's either the reported > final url that is wrong (as for example the port wasn't included) or > that you don't have a webserver set up to serve the images from those > final url. > Nicolas: Thanks for the help. This is the problem: I don't have a web server catching those photos. I don't use seaside (as my app is in development yet) with an external web server like apache. I just use Kom. I didn't know I need a web server. Is there a workarround here or I must use a webserver? If the second...I must take a time and see how to do it as I have never do it before. Ok, this > > -- > Nicolas Roard > "I love deadlines. I like the whooshing sound > they make as they fly by." -- Douglas Adams > > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -------------- next part -------------- An HTML attachment was scrubbed... URL: From clover at pacbell.net Fri Jul 10 18:23:11 2009 From: clover at pacbell.net (Alex Roston) Date: Fri, 10 Jul 2009 09:23:11 -0700 Subject: But is it Linux??? In-Reply-To: References: Message-ID: <4A576AEF.8080505@pacbell.net> Doubtful. You can find a counterexample for everything the author suggests will cause a problem. For example, Flash. Just about everyone who uses Linux on the desktop downloads it an uses it. Same for codecs. Yes, there are a few fanatics who won't use proprietary programs/codecs to view web content, but it's essentially a non-issue. Every criticism the guy offers has already been made of some version of Linux out there, including some distributions that are very big and respected in the Linux community, like Red Hat. There is only one Linux distro which is considered a "bad actor" and that's Novell (SuSE) Linux, because Novell signed a non-aggression pact of some kind with Microsoft that's secret (and probably vary bad legally if MS can enforce it, which is doubtful.) The only criticism which might be appropriate is the issue of Google wanting your data. Maybe - it's not like they don't have it already. The author is looking to fill his quota of column inches. I'd suggest reading the comments below the article very carefully. I'm still working on my coffee, but the comments look pretty intelligent. Alex WRBoyer123 at aol.com wrote: > comments?? > > http://www.pcworld.com/businesscenter/article/168202/chrome_os_could_offend_the_open_source_community.html > > ------------------------------------------------------------------------ > Looking for love this summer? Find it now on AOL Personals > . From nicolas.roard at gmail.com Fri Jul 10 19:27:40 2009 From: nicolas.roard at gmail.com (Nicolas Roard) Date: Fri, 10 Jul 2009 18:27:40 +0100 Subject: [ANN] New Pier Gallery In-Reply-To: References: <25626500907051740s51524643m6db3b5655ec42880@mail.gmail.com> <4A5265C4.9090608@yahoo.co.uk> <25626500907070133n37d418f4uc58ecc634a933e74@mail.gmail.com> <25626500907091729r23b68e21h24551fbdcd203509@mail.gmail.com> <25626500907100119i5b5427a4hdec31528ddae1153@mail.gmail.com> Message-ID: <25626500907101027j6f9caabx800bd88157e3e446@mail.gmail.com> On Fri, Jul 10, 2009 at 5:03 PM, Mariano Martinez Peck wrote: > >> > I don't know what else to test or debug... >> >> well, everything do seem to work correctly -- all the images are >> generated, which is all we should need. So it's either the reported >> final url that is wrong (as for example the port wasn't included) or >> that you don't have a webserver set up to serve the images from those >> final url. > > Nicolas: Thanks for the help. > > This is the problem: I don't have a web server catching those photos. I > don't use seaside (as my app is in development yet) with an external web > server like apache. I just use Kom. I didn't know I need a web server. > > Is there a workarround here or I must use a webserver? If the second...I > must take a time and see how to do it as I have never do it before. Well, one of the point for me was to serve those pictures statically :) so yes, you do need a webserver. I would recommand lighttpd over apache. That being said, Kom _is_ a webserver, maybe you can set it up so that it serves local files. But I have no idea how to do so, and more importantly using e.g. lighttpd would be much more efficient... If you want to just have a workaround to prototype things, try replacing the external url (http:// ...) by a file:// url (you might have to modify the Rio -url method as well) -- depending on your browser it might work. -- Nicolas Roard "I love deadlines. I like the whooshing sound they make as they fly by." -- Douglas Adams From clover at pacbell.net Fri Jul 10 19:34:54 2009 From: clover at pacbell.net (Alex Roston) Date: Fri, 10 Jul 2009 10:34:54 -0700 Subject: But is it Linux??? In-Reply-To: <4A576AEF.8080505@pacbell.net> References: <4A576AEF.8080505@pacbell.net> Message-ID: <4A577BBE.4080307@pacbell.net> Sorry about the off-topic post. This was meant to be a reply to a friend on a question he asked about Chrome Linux. My apologies. Alex Alex Roston wrote: > Doubtful. You can find a counterexample for everything the author > suggests will cause a problem. For example, Flash. Just about everyone > who uses Linux on the desktop downloads it an uses it. Same for > codecs. Yes, there are a few fanatics who won't use proprietary > programs/codecs to view web content, but it's essentially a non-issue. > > Every criticism the guy offers has already been made of some version > of Linux out there, including some distributions that are very big and > respected in the Linux community, like Red Hat. > > There is only one Linux distro which is considered a "bad actor" and > that's Novell (SuSE) Linux, because Novell signed a non-aggression > pact of some kind with Microsoft that's secret (and probably vary bad > legally if MS can enforce it, which is doubtful.) > > The only criticism which might be appropriate is the issue of Google > wanting your data. Maybe - it's not like they don't have it already. > > The author is looking to fill his quota of column inches. I'd suggest > reading the comments below the article very carefully. I'm still > working on my coffee, but the comments look pretty intelligent. > > Alex > > > WRBoyer123 at aol.com wrote: >> comments?? >> >> http://www.pcworld.com/businesscenter/article/168202/chrome_os_could_offend_the_open_source_community.html >> >> >> ------------------------------------------------------------------------ >> Looking for love this summer? Find it now on AOL Personals >> . > > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > From girba at iam.unibe.ch Sat Jul 11 10:08:51 2009 From: girba at iam.unibe.ch (Tudor Girba) Date: Sat, 11 Jul 2009 10:08:51 +0200 Subject: pier 1.2 Message-ID: <1B1465BD-310C-4CF5-9858-FAC166C3504B@iam.unibe.ch> Hi, We are happy to announce the release of Pier 1.2: http://www.piercms.com/download What?s new: - Mature value links (see http://www.piercms.com/doc/syntax for more details) - No _s or _k cruft in the url - Remembered last login - Smaller javascript code for faster page loading - Better default CSS (including a style for events) - Halos for enhanced editing - Pharo 0.1-10374 inside Enjoy and let us know what you think. Cheers, Lukas and Doru From davorin.rusevljan at gmail.com Sat Jul 11 10:26:24 2009 From: davorin.rusevljan at gmail.com (Davorin Rusevljan) Date: Sat, 11 Jul 2009 10:26:24 +0200 Subject: pier 1.2 In-Reply-To: <1B1465BD-310C-4CF5-9858-FAC166C3504B@iam.unibe.ch> References: <1B1465BD-310C-4CF5-9858-FAC166C3504B@iam.unibe.ch> Message-ID: <45d84bd00907110126y52bbcecn3c1c1687764ae4bd@mail.gmail.com> On Sat, Jul 11, 2009 at 10:08 AM, Tudor Girba wrote: > Hi, > > We are happy to announce the release of Pier 1.2: > http://www.piercms.com/download > Hi and great news! Do you have any hints on migrating from previous release of pier? I hope that saving content and reloading it in new version works? List of changed css/image files would also be helpfull so that folks who have customized them could integrate their changes into new version. thanks! rush http://www.cloud208.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From keith_hodges at yahoo.co.uk Sat Jul 11 18:36:44 2009 From: keith_hodges at yahoo.co.uk (Keith Hodges) Date: Sat, 11 Jul 2009 17:36:44 +0100 Subject: pier 1.2 In-Reply-To: <1B1465BD-310C-4CF5-9858-FAC166C3504B@iam.unibe.ch> References: <1B1465BD-310C-4CF5-9858-FAC166C3504B@iam.unibe.ch> Message-ID: <4A58BF9C.1090907@yahoo.co.uk> > > - No _s or _k cruft in the url Where did it go? Keith From rbb at techgame.net Sat Jul 11 19:25:20 2009 From: rbb at techgame.net (Brian Brown) Date: Sat, 11 Jul 2009 11:25:20 -0600 Subject: [ANN] New Pier Gallery In-Reply-To: References: <25626500907051740s51524643m6db3b5655ec42880@mail.gmail.com> <25626500907061343h75a14c1aw455f5108ec239310@mail.gmail.com> <4A5265C4.9090608@yahoo.co.uk> <25626500907070133n37d418f4uc58ecc634a933e74@mail.gmail.com> <25626500907091729r23b68e21h24551fbdcd203509@mail.gmail.com> <25626500907100119i5b5427a4hdec31528ddae1153@mail.gmail.com> Message-ID: <4866C5B1-22FE-4333-9EB2-47F7EB111C2D@techgame.net> For development you can just set up Kom to serve a local directory - I don't remember off the top of my head, but you should be able to look at the class comment for Kom and I think it has some examples. You will find some if you google for it as well. If you are still having issues after that, drop me a note and I'll dig it up. - Brian On Jul 10, 2009, at 10:03 AM, Mariano Martinez Peck wrote: > > > I don't know what else to test or debug... > > well, everything do seem to work correctly -- all the images are > generated, which is all we should need. So it's either the reported > final url that is wrong (as for example the port wasn't included) or > that you don't have a webserver set up to serve the images from those > final url. > > Nicolas: Thanks for the help. > > This is the problem: I don't have a web server catching those > photos. I don't use seaside (as my app is in development yet) with > an external web server like apache. I just use Kom. I didn't know I > need a web server. > > Is there a workarround here or I must use a webserver? If the > second...I must take a time and see how to do it as I have never do > it before. > > Ok, this > > > > -- > Nicolas Roard > "I love deadlines. I like the whooshing sound > they make as they fly by." -- Douglas Adams > > _______________________________________________ > 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From marianopeck at gmail.com Sat Jul 11 21:01:05 2009 From: marianopeck at gmail.com (Mariano Martinez Peck) Date: Sat, 11 Jul 2009 16:01:05 -0300 Subject: [ANN] New Pier Gallery In-Reply-To: <4866C5B1-22FE-4333-9EB2-47F7EB111C2D@techgame.net> References: <25626500907051740s51524643m6db3b5655ec42880@mail.gmail.com> <25626500907070133n37d418f4uc58ecc634a933e74@mail.gmail.com> <25626500907091729r23b68e21h24551fbdcd203509@mail.gmail.com> <25626500907100119i5b5427a4hdec31528ddae1153@mail.gmail.com> <4866C5B1-22FE-4333-9EB2-47F7EB111C2D@techgame.net> Message-ID: On Sat, Jul 11, 2009 at 2:25 PM, Brian Brown wrote: > For development you can just set up Kom to serve a local directory - I > don't remember off the top of my head, but you should be able to look at the > class comment for Kom and I think it has some examples. You will find some > if you google for it as well. If you are still having issues after that, > drop me a note and I'll dig it up. > Brian: I didn't know that was possible. But it doesn't matter. I didn't know installing and configure lighttp were as simpler as 5 minutes :) Nicolas: I make it work!!!!! Almost perfect! It serves and shows the images. The little problem I have now is that the lightbox and all that nice javascript that you have in your webpage isn't in mine. They have no javascript at all. No lightbox. I have my personal library for my Pier website and I ovveride updateRoot to the code you said in your webpage: updateRoot: aHtmlRoot super updateRoot: aHtmlRoot. aHtmlRoot javascript url: 'http://www.roard.com/lightbox2/js/prototype.js'. aHtmlRoot javascript url: 'http://www.roard.com/lightbox2/js/scriptaculous.js?load=effects,builder'. aHtmlRoot javascript url: 'http://www.roard.com/lightbox2/js/lightbox.js'. aHtmlRoot stylesheet url: 'http://www.roard.com/lightbox2/css/lightbox.css' Any idea? Thanks, Mariano > > > > - Brian > > On Jul 10, 2009, at 10:03 AM, Mariano Martinez Peck > wrote: > > > > I don't know what else to test or debug... >> >> well, everything do seem to work correctly -- all the images are >> generated, which is all we should need. So it's either the reported >> final url that is wrong (as for example the port wasn't included) or >> that you don't have a webserver set up to serve the images from those >> final url. >> > > Nicolas: Thanks for the help. > > This is the problem: I don't have a web server catching those photos. I > don't use seaside (as my app is in development yet) with an external web > server like apache. I just use Kom. I didn't know I need a web server. > > Is there a workarround here or I must use a webserver? If the second...I > must take a time and see how to do it as I have never do it before. > > Ok, this > > > >> >> -- >> Nicolas Roard >> "I love deadlines. I like the whooshing sound >> they make as they fly by." -- Douglas Adams >> >> _______________________________________________ >> 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 > > > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -------------- next part -------------- An HTML attachment was scrubbed... URL: From marianopeck at gmail.com Sat Jul 11 21:27:28 2009 From: marianopeck at gmail.com (Mariano Martinez Peck) Date: Sat, 11 Jul 2009 16:27:28 -0300 Subject: [squeak-dev] pier 1.2 In-Reply-To: References: <1B1465BD-310C-4CF5-9858-FAC166C3504B@iam.unibe.ch> Message-ID: Excellent news!!! What I a afraid when updating to this type of projects is that perhaps there are a lot of external non-maintenance anymore packages like pier-addons that don't work any more. In this version of Pier, did you change important core things? I mean, pieraddons would probably work? Thanks! On Sat, Jul 11, 2009 at 2:18 PM, Milan Zimmermann < milan.zimmermann at sympatico.ca> wrote: > Hi, > > I just tried - pier.sh should probably refer to pier.image instead of > Seaside.image. > > Milan > > On July 11, 2009, Tudor Girba wrote: > > Hi, > > > > We are happy to announce the release of Pier 1.2: > > http://www.piercms.com/download > > > > What?s new: > > - Mature value links (see http://www.piercms.com/doc/syntax for more > > details) > > - No _s or _k cruft in the url > > - Remembered last login > > - Smaller javascript code for faster page loading > > - Better default CSS (including a style for events) > > - Halos for enhanced editing > > - Pharo 0.1-10374 inside > > > > Enjoy and let us know what you think. > > > > Cheers, > > Lukas and Doru > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From marianopeck at gmail.com Sun Jul 12 01:05:50 2009 From: marianopeck at gmail.com (Mariano Martinez Peck) Date: Sat, 11 Jul 2009 20:05:50 -0300 Subject: [ANN] New Pier Gallery In-Reply-To: References: <25626500907051740s51524643m6db3b5655ec42880@mail.gmail.com> <25626500907070133n37d418f4uc58ecc634a933e74@mail.gmail.com> <25626500907091729r23b68e21h24551fbdcd203509@mail.gmail.com> <25626500907100119i5b5427a4hdec31528ddae1153@mail.gmail.com> <4866C5B1-22FE-4333-9EB2-47F7EB111C2D@techgame.net> Message-ID: Nicolas: I am sorry to bother you a lot, but I have another problem. I could create the gallery, but I cannot embed it in a page. I do something like this: +/LugaresDestino/Provincia - Chubut/Rawson/RawsonGaleriaDeFotos+ But nothing is displayed. However, if I go directly to that component, the galery is OK. Any idea ? thanks!! Mariano On Sat, Jul 11, 2009 at 4:01 PM, Mariano Martinez Peck < marianopeck at gmail.com> wrote: > > > On Sat, Jul 11, 2009 at 2:25 PM, Brian Brown wrote: > >> For development you can just set up Kom to serve a local directory - I >> don't remember off the top of my head, but you should be able to look at the >> class comment for Kom and I think it has some examples. You will find some >> if you google for it as well. If you are still having issues after that, >> drop me a note and I'll dig it up. >> > > > Brian: I didn't know that was possible. But it doesn't matter. I didn't > know installing and configure lighttp were as simpler as 5 minutes :) > > Nicolas: I make it work!!!!! Almost perfect! It serves and shows the > images. The little problem I have now is that the lightbox and all that nice > javascript that you have in your webpage isn't in mine. They have no > javascript at all. No lightbox. I have my personal library for my Pier > website and I ovveride updateRoot to the code you said in your webpage: > > > updateRoot: aHtmlRoot > super updateRoot: aHtmlRoot. > aHtmlRoot javascript url: 'http://www.roard.com/lightbox2/js/prototype.js'. > aHtmlRoot javascript url: 'http://www.roard.com/lightbox2/js/scriptaculous.js?load=effects,builder'. > aHtmlRoot javascript url: 'http://www.roard.com/lightbox2/js/lightbox.js'. > aHtmlRoot stylesheet url: 'http://www.roard.com/lightbox2/css/lightbox.css' > > > > Any idea? > > Thanks, > > Mariano > > > > >> >> >> >> - Brian >> >> On Jul 10, 2009, at 10:03 AM, Mariano Martinez Peck < >> marianopeck at gmail.com> wrote: >> >> >> > I don't know what else to test or debug... >>> >>> well, everything do seem to work correctly -- all the images are >>> generated, which is all we should need. So it's either the reported >>> final url that is wrong (as for example the port wasn't included) or >>> that you don't have a webserver set up to serve the images from those >>> final url. >>> >> >> Nicolas: Thanks for the help. >> >> This is the problem: I don't have a web server catching those photos. I >> don't use seaside (as my app is in development yet) with an external web >> server like apache. I just use Kom. I didn't know I need a web server. >> >> Is there a workarround here or I must use a webserver? If the second...I >> must take a time and see how to do it as I have never do it before. >> >> Ok, this >> >> >> >>> >>> -- >>> Nicolas Roard >>> "I love deadlines. I like the whooshing sound >>> they make as they fly by." -- Douglas Adams >>> >>> _______________________________________________ >>> 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 >> >> >> _______________________________________________ >> Magritte, Pier and Related Tools ... >> https://www.iam.unibe.ch/mailman/listinfo/smallwiki >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From marianopeck at gmail.com Sun Jul 12 01:16:53 2009 From: marianopeck at gmail.com (Mariano Martinez Peck) Date: Sat, 11 Jul 2009 20:16:53 -0300 Subject: [ANN] New Pier Gallery In-Reply-To: References: <25626500907051740s51524643m6db3b5655ec42880@mail.gmail.com> <25626500907091729r23b68e21h24551fbdcd203509@mail.gmail.com> <25626500907100119i5b5427a4hdec31528ddae1153@mail.gmail.com> <4866C5B1-22FE-4333-9EB2-47F7EB111C2D@techgame.net> Message-ID: Nicolas: for a future release, perhaps a good feature would be that when you resize your images or thumnails and then evaluate MAExternalFileModel garbageCollect those "old" files should be removed. Thanks for this nice Gallery addon!!! Mariano On Sat, Jul 11, 2009 at 8:05 PM, Mariano Martinez Peck < marianopeck at gmail.com> wrote: > Nicolas: I am sorry to bother you a lot, but I have another problem. I > could create the gallery, but I cannot embed it in a page. I do something > like this: > > > +/LugaresDestino/Provincia - Chubut/Rawson/RawsonGaleriaDeFotos+ > > But nothing is displayed. However, if I go directly to that component, the > galery is OK. > > Any idea ? > > thanks!! > > Mariano > > > > On Sat, Jul 11, 2009 at 4:01 PM, Mariano Martinez Peck < > marianopeck at gmail.com> wrote: > >> >> >> On Sat, Jul 11, 2009 at 2:25 PM, Brian Brown wrote: >> >>> For development you can just set up Kom to serve a local directory - I >>> don't remember off the top of my head, but you should be able to look at the >>> class comment for Kom and I think it has some examples. You will find some >>> if you google for it as well. If you are still having issues after that, >>> drop me a note and I'll dig it up. >>> >> >> >> Brian: I didn't know that was possible. But it doesn't matter. I didn't >> know installing and configure lighttp were as simpler as 5 minutes :) >> >> Nicolas: I make it work!!!!! Almost perfect! It serves and shows the >> images. The little problem I have now is that the lightbox and all that nice >> javascript that you have in your webpage isn't in mine. They have no >> javascript at all. No lightbox. I have my personal library for my Pier >> website and I ovveride updateRoot to the code you said in your webpage: >> >> >> updateRoot: aHtmlRoot >> super updateRoot: aHtmlRoot. >> aHtmlRoot javascript url: 'http://www.roard.com/lightbox2/js/prototype.js'. >> aHtmlRoot javascript url: 'http://www.roard.com/lightbox2/js/scriptaculous.js?load=effects,builder'. >> aHtmlRoot javascript url: 'http://www.roard.com/lightbox2/js/lightbox.js'. >> aHtmlRoot stylesheet url: 'http://www.roard.com/lightbox2/css/lightbox.css' >> >> >> >> Any idea? >> >> Thanks, >> >> Mariano >> >> >> >> >>> >>> >>> >>> - Brian >>> >>> On Jul 10, 2009, at 10:03 AM, Mariano Martinez Peck < >>> marianopeck at gmail.com> wrote: >>> >>> >>> > I don't know what else to test or debug... >>>> >>>> well, everything do seem to work correctly -- all the images are >>>> generated, which is all we should need. So it's either the reported >>>> final url that is wrong (as for example the port wasn't included) or >>>> that you don't have a webserver set up to serve the images from those >>>> final url. >>>> >>> >>> Nicolas: Thanks for the help. >>> >>> This is the problem: I don't have a web server catching those photos. I >>> don't use seaside (as my app is in development yet) with an external web >>> server like apache. I just use Kom. I didn't know I need a web server. >>> >>> Is there a workarround here or I must use a webserver? If the second...I >>> must take a time and see how to do it as I have never do it before. >>> >>> Ok, this >>> >>> >>> >>>> >>>> -- >>>> Nicolas Roard >>>> "I love deadlines. I like the whooshing sound >>>> they make as they fly by." -- Douglas Adams >>>> >>>> _______________________________________________ >>>> 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 >>> >>> >>> _______________________________________________ >>> Magritte, Pier and Related Tools ... >>> https://www.iam.unibe.ch/mailman/listinfo/smallwiki >>> >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From nicolas.roard at gmail.com Sun Jul 12 01:27:31 2009 From: nicolas.roard at gmail.com (Nicolas Roard) Date: Sun, 12 Jul 2009 00:27:31 +0100 Subject: [ANN] New Pier Gallery In-Reply-To: References: <25626500907051740s51524643m6db3b5655ec42880@mail.gmail.com> <25626500907070133n37d418f4uc58ecc634a933e74@mail.gmail.com> <25626500907091729r23b68e21h24551fbdcd203509@mail.gmail.com> <25626500907100119i5b5427a4hdec31528ddae1153@mail.gmail.com> <4866C5B1-22FE-4333-9EB2-47F7EB111C2D@techgame.net> Message-ID: <25626500907111627w207791f2ka1e2647933a9a4b@mail.gmail.com> On Sat, Jul 11, 2009 at 8:01 PM, Mariano Martinez Peck wrote: > > > On Sat, Jul 11, 2009 at 2:25 PM, Brian Brown wrote: >> >> For development you can just set up Kom to serve a local directory - I >> don't remember off the top of my head, but you should be able to look at the >> class comment for Kom and I think it has some examples. You will find some >> if you google for it as well. If you are still having issues after that, >> drop me a note and I'll dig it up. > > > > Brian: I didn't know that was possible. But it doesn't matter.?I didn't know > installing and configure lighttp were as simpler as 5 minutes :) > > Nicolas: I make it work!!!!!? Almost perfect! It serves and shows the > images. Awesome, glad to hear this! > The little problem I have now is that the lightbox and all that nice > javascript that you have in your webpage isn't in mine. They have no > javascript at all. No lightbox. I have my personal library for my Pier > website and I ovveride updateRoot to the code you said in your webpage: > > > updateRoot: aHtmlRoot > super updateRoot: aHtmlRoot. > aHtmlRoot javascript url: 'http://www.roard.com/lightbox2/js/prototype.js'. > aHtmlRoot javascript url: > 'http://www.roard.com/lightbox2/js/scriptaculous.js?load=effects,builder'. > aHtmlRoot javascript url: 'http://www.roard.com/lightbox2/js/lightbox.js'. > aHtmlRoot stylesheet url: 'http://www.roard.com/lightbox2/css/lightbox.css' > Well if you did that, it should work. Check the html of the page showing the gallery, it should have those added javascript and stylesheet links. Note though that you probably should host the lightbox2 files yourself rather than hotlinking on my server :) (I did a couple of slight modifications in the files, mostly wrt the url of the images used by lightbox2). If the page does have those links, then I'm not sure why things aren't working -- maybe a conflict with some other js lib ? -- Nicolas Roard "I love deadlines. I like the whooshing sound they make as they fly by." -- Douglas Adams From nicolas.roard at gmail.com Sun Jul 12 01:28:55 2009 From: nicolas.roard at gmail.com (Nicolas Roard) Date: Sun, 12 Jul 2009 00:28:55 +0100 Subject: [ANN] New Pier Gallery In-Reply-To: References: <25626500907051740s51524643m6db3b5655ec42880@mail.gmail.com> <25626500907091729r23b68e21h24551fbdcd203509@mail.gmail.com> <25626500907100119i5b5427a4hdec31528ddae1153@mail.gmail.com> <4866C5B1-22FE-4333-9EB2-47F7EB111C2D@techgame.net> Message-ID: <25626500907111628s321cbb71u9ef4ec1dd4074b0@mail.gmail.com> On Sun, Jul 12, 2009 at 12:05 AM, Mariano Martinez Peck wrote: > Nicolas: I am sorry to bother you a lot, but I have another problem. I could > create the gallery, but I cannot embed it in a page. I do something like > this: > > > +/LugaresDestino/Provincia - Chubut/Rawson/RawsonGaleriaDeFotos+ > > But nothing is displayed. However, if I go directly to that component, the > galery is OK. > > Any idea ? yep, I haven't implemented this :) Probably for a future revision. -- Nicolas Roard "I love deadlines. I like the whooshing sound they make as they fly by." -- Douglas Adams From nicolas.roard at gmail.com Sun Jul 12 01:31:47 2009 From: nicolas.roard at gmail.com (Nicolas Roard) Date: Sun, 12 Jul 2009 00:31:47 +0100 Subject: [ANN] New Pier Gallery In-Reply-To: References: <25626500907051740s51524643m6db3b5655ec42880@mail.gmail.com> <25626500907091729r23b68e21h24551fbdcd203509@mail.gmail.com> <25626500907100119i5b5427a4hdec31528ddae1153@mail.gmail.com> <4866C5B1-22FE-4333-9EB2-47F7EB111C2D@techgame.net> Message-ID: <25626500907111631p49511c75if2861c06aa88485c@mail.gmail.com> On Sun, Jul 12, 2009 at 12:16 AM, Mariano Martinez Peck wrote: > Nicolas: for a future release, perhaps a good feature would be that when you > resize your images or thumnails and then evaluate MAExternalFileModel > garbageCollect? those "old" files should be removed. Actually that's intended. But I could maybe add another command that remove files not currently used. > > Thanks for this nice Gallery addon!!! thanks, happy that things are finally working for you :) -- Nicolas Roard "I love deadlines. I like the whooshing sound they make as they fly by." -- Douglas Adams From girba at iam.unibe.ch Sun Jul 12 04:02:02 2009 From: girba at iam.unibe.ch (Tudor Girba) Date: Sun, 12 Jul 2009 04:02:02 +0200 Subject: [squeak-dev] pier 1.2 In-Reply-To: References: <1B1465BD-310C-4CF5-9858-FAC166C3504B@iam.unibe.ch> Message-ID: <5CC30E1D-D793-447C-B922-565196D3D204@iam.unibe.ch> Indeed, thanks for reporting. We updated the download. Cheers, Doru On 11 Jul 2009, at 19:18, Milan Zimmermann wrote: > Hi, > > I just tried - pier.sh should probably refer to pier.image instead of > Seaside.image. > > Milan > > On July 11, 2009, Tudor Girba wrote: >> Hi, >> >> We are happy to announce the release of Pier 1.2: >> http://www.piercms.com/download >> >> What?s new: >> - Mature value links (see http://www.piercms.com/doc/syntax for more >> details) >> - No _s or _k cruft in the url >> - Remembered last login >> - Smaller javascript code for faster page loading >> - Better default CSS (including a style for events) >> - Halos for enhanced editing >> - Pharo 0.1-10374 inside >> >> Enjoy and let us know what you think. >> >> Cheers, >> Lukas and Doru > > -- www.tudorgirba.com "Next time you see your life passing by, say 'hi' and get to know her." From girba at iam.unibe.ch Sun Jul 12 04:03:59 2009 From: girba at iam.unibe.ch (Tudor Girba) Date: Sun, 12 Jul 2009 04:03:59 +0200 Subject: [squeak-dev] pier 1.2 In-Reply-To: References: <1B1465BD-310C-4CF5-9858-FAC166C3504B@iam.unibe.ch> Message-ID: <2AF03A29-C63A-4016-A053-AE4A859B73CC@iam.unibe.ch> Hi, On 11 Jul 2009, at 21:27, Mariano Martinez Peck wrote: > Excellent news!!! > > What I a afraid when updating to this type of projects is that > perhaps there are a lot of external non-maintenance anymore packages > like pier-addons that don't work any more. > > In this version of Pier, did you change important core things? I > mean, pieraddons would probably work? Some things have changed in the core, but most of these changes are transparent, and most plugins should continue to work as before. Cheers, Doru > On Sat, Jul 11, 2009 at 2:18 PM, Milan Zimmermann > wrote: > Hi, > > I just tried - pier.sh should probably refer to pier.image instead of > Seaside.image. > > Milan > > On July 11, 2009, Tudor Girba wrote: > > Hi, > > > > We are happy to announce the release of Pier 1.2: > > http://www.piercms.com/download > > > > What?s new: > > - Mature value links (see http://www.piercms.com/doc/syntax for more > > details) > > - No _s or _k cruft in the url > > - Remembered last login > > - Smaller javascript code for faster page loading > > - Better default CSS (including a style for events) > > - Halos for enhanced editing > > - Pharo 0.1-10374 inside > > > > Enjoy and let us know what you think. > > > > Cheers, > > Lukas and Doru > > > > > -- www.tudorgirba.com "Yesterday is a fact. Tomorrow is a possibility. Today is a challenge." From girba at iam.unibe.ch Sun Jul 12 04:07:06 2009 From: girba at iam.unibe.ch (Tudor Girba) Date: Sun, 12 Jul 2009 04:07:06 +0200 Subject: [squeak-dev] Re: pier 1.2 In-Reply-To: <45d84bd00907110126y52bbcecn3c1c1687764ae4bd@mail.gmail.com> References: <1B1465BD-310C-4CF5-9858-FAC166C3504B@iam.unibe.ch> <45d84bd00907110126y52bbcecn3c1c1687764ae4bd@mail.gmail.com> Message-ID: <49F81152-2756-48F0-9B27-00C521D90D48@iam.unibe.ch> Hi, You can migrate in two ways: 1. Load the latest code in your image by executing in a workspace: ScriptLoader loadLatestPackage: 'Pier-Setup' from: 'http://source.lukas-renggli.ch/pieraddons' . (Smalltalk at: #PRLoader) perform: #load 2. Use the export/import feature: http://www.piercms.com/blog/export-import Cheers, Doru On 11 Jul 2009, at 10:26, Davorin Rusevljan wrote: > On Sat, Jul 11, 2009 at 10:08 AM, Tudor Girba > wrote: > Hi, > > We are happy to announce the release of Pier 1.2: > http://www.piercms.com/download > > Hi and great news! > > Do you have any hints on migrating from previous release of pier? I > hope that saving content and reloading it in new version works? List > of changed css/image files would also be helpfull so that folks who > have customized them could integrate their changes into new version. > > thanks! > > rush > http://www.cloud208.com/ > > -- www.tudorgirba.com "Relationships are of two kinds: those we choose and those that happen. They both matter." From girba at iam.unibe.ch Sun Jul 12 04:07:52 2009 From: girba at iam.unibe.ch (Tudor Girba) Date: Sun, 12 Jul 2009 04:07:52 +0200 Subject: pier 1.2 In-Reply-To: <4A58BF9C.1090907@yahoo.co.uk> References: <1B1465BD-310C-4CF5-9858-FAC166C3504B@iam.unibe.ch> <4A58BF9C.1090907@yahoo.co.uk> Message-ID: Hi, >> - No _s or _k cruft in the url > Where did it go? In the cookies. Doru -- www.tudorgirba.com "Being happy is a matter of choice." From marianopeck at gmail.com Sun Jul 12 06:29:49 2009 From: marianopeck at gmail.com (Mariano Martinez Peck) Date: Sun, 12 Jul 2009 01:29:49 -0300 Subject: [ANN] New Pier Gallery In-Reply-To: <25626500907111628s321cbb71u9ef4ec1dd4074b0@mail.gmail.com> References: <25626500907051740s51524643m6db3b5655ec42880@mail.gmail.com> <25626500907091729r23b68e21h24551fbdcd203509@mail.gmail.com> <25626500907100119i5b5427a4hdec31528ddae1153@mail.gmail.com> <4866C5B1-22FE-4333-9EB2-47F7EB111C2D@techgame.net> <25626500907111628s321cbb71u9ef4ec1dd4074b0@mail.gmail.com> Message-ID: On Sat, Jul 11, 2009 at 8:28 PM, Nicolas Roard wrote: > On Sun, Jul 12, 2009 at 12:05 AM, Mariano Martinez > Peck wrote: > > Nicolas: I am sorry to bother you a lot, but I have another problem. I > could > > create the gallery, but I cannot embed it in a page. I do something like > > this: > > > > > > +/LugaresDestino/Provincia - Chubut/Rawson/RawsonGaleriaDeFotos+ > > > > But nothing is displayed. However, if I go directly to that component, > the > > galery is OK. > > > > Any idea ? > Ok. Then, right now the only way is to put a link. I am right ? > > > yep, I haven't implemented this :) > Probably for a future revision. No problem :) I thought I mas making something wrong. Thanks! Mariano > > > -- > Nicolas Roard > "I love deadlines. I like the whooshing sound > they make as they fly by." -- Douglas Adams > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -------------- next part -------------- An HTML attachment was scrubbed... URL: From marianopeck at gmail.com Sun Jul 12 06:31:22 2009 From: marianopeck at gmail.com (Mariano Martinez Peck) Date: Sun, 12 Jul 2009 01:31:22 -0300 Subject: [ANN] New Pier Gallery In-Reply-To: <25626500907111631p49511c75if2861c06aa88485c@mail.gmail.com> References: <25626500907051740s51524643m6db3b5655ec42880@mail.gmail.com> <25626500907091729r23b68e21h24551fbdcd203509@mail.gmail.com> <25626500907100119i5b5427a4hdec31528ddae1153@mail.gmail.com> <4866C5B1-22FE-4333-9EB2-47F7EB111C2D@techgame.net> <25626500907111631p49511c75if2861c06aa88485c@mail.gmail.com> Message-ID: On Sat, Jul 11, 2009 at 8:31 PM, Nicolas Roard wrote: > On Sun, Jul 12, 2009 at 12:16 AM, Mariano Martinez > Peck wrote: > > Nicolas: for a future release, perhaps a good feature would be that when > you > > resize your images or thumnails and then evaluate MAExternalFileModel > > garbageCollect those "old" files should be removed. > > Actually that's intended. But I could maybe add another command that > remove files not currently used. > This would be very useful at least for me. When you deploy on a VPS like slide host or whatever you don't have a lot of hdd space. I am making a tourism website so as you can imagine, I have a lot of pictures hahaha. Again, thanks for the nice and useful work! > > > > > Thanks for this nice Gallery addon!!! > > thanks, happy that things are finally working for you :) > > -- > Nicolas Roard > "I love deadlines. I like the whooshing sound > they make as they fly by." -- Douglas Adams > > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -------------- next part -------------- An HTML attachment was scrubbed... URL: From marianopeck at gmail.com Sun Jul 12 06:36:26 2009 From: marianopeck at gmail.com (Mariano Martinez Peck) Date: Sun, 12 Jul 2009 01:36:26 -0300 Subject: [ANN] New Pier Gallery In-Reply-To: <25626500907111627w207791f2ka1e2647933a9a4b@mail.gmail.com> References: <25626500907051740s51524643m6db3b5655ec42880@mail.gmail.com> <25626500907091729r23b68e21h24551fbdcd203509@mail.gmail.com> <25626500907100119i5b5427a4hdec31528ddae1153@mail.gmail.com> <4866C5B1-22FE-4333-9EB2-47F7EB111C2D@techgame.net> <25626500907111627w207791f2ka1e2647933a9a4b@mail.gmail.com> Message-ID: On Sat, Jul 11, 2009 at 8:27 PM, Nicolas Roard wrote: > On Sat, Jul 11, 2009 at 8:01 PM, Mariano Martinez > Peck wrote: > > > > > > On Sat, Jul 11, 2009 at 2:25 PM, Brian Brown wrote: > >> > >> For development you can just set up Kom to serve a local directory - I > >> don't remember off the top of my head, but you should be able to look at > the > >> class comment for Kom and I think it has some examples. You will find > some > >> if you google for it as well. If you are still having issues after that, > >> drop me a note and I'll dig it up. > > > > > > > > Brian: I didn't know that was possible. But it doesn't matter. I didn't > know > > installing and configure lighttp were as simpler as 5 minutes :) > > > > Nicolas: I make it work!!!!! Almost perfect! It serves and shows the > > images. > > Awesome, glad to hear this! > > > The little problem I have now is that the lightbox and all that nice > > javascript that you have in your webpage isn't in mine. They have no > > javascript at all. No lightbox. I have my personal library for my Pier > > website and I ovveride updateRoot to the code you said in your webpage: > > > > > > updateRoot: aHtmlRoot > > super updateRoot: aHtmlRoot. > > aHtmlRoot javascript url: ' > http://www.roard.com/lightbox2/js/prototype.js'. > > aHtmlRoot javascript url: > > 'http://www.roard.com/lightbox2/js/scriptaculous.js?load=effects,builder > '. > > aHtmlRoot javascript url: ' > http://www.roard.com/lightbox2/js/lightbox.js'. > > aHtmlRoot stylesheet url: ' > http://www.roard.com/lightbox2/css/lightbox.css' > > > > Well if you did that, it should work. Check the html of the page > showing the gallery, it should have those added javascript and > stylesheet links. Note though that you probably should host the > lightbox2 files yourself rather than hotlinking on my server :) (I did > a couple of slight modifications in the files, mostly wrt the url of > the images used by lightbox2). Let me say I am still newbie with seaside and Pier. Now I have to questions: 1) when does is the updateRoot: called? Because I put a breakpoint there but didn't stop :( I tried removing and adding the library again...but nothing. 2) How can I serve css and .js with lighttp so that seaside can see them? I mean, I know that I have to copy those files to /var/www/whatever but then...how can I tell seaside to get the styles for there? Right now what I have for my styles is my own library where I implemented the method selectorsToInclude and there I include the method that answers the css as a String. Thanks for the OT (it is not a gallery related) help!!! Mariano > > > If the page does have those links, then I'm not sure why things aren't > working -- maybe a conflict with some other js lib ? > > -- > Nicolas Roard > "I love deadlines. I like the whooshing sound > they make as they fly by." -- Douglas Adams > > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -------------- next part -------------- An HTML attachment was scrubbed... URL: From johnmci at smalltalkconsulting.com Sun Jul 12 07:03:20 2009 From: johnmci at smalltalkconsulting.com (John M McIntosh) Date: Sat, 11 Jul 2009 22:03:20 -0700 Subject: [squeak-dev] Re: pier 1.2 In-Reply-To: <49F81152-2756-48F0-9B27-00C521D90D48@iam.unibe.ch> References: <1B1465BD-310C-4CF5-9858-FAC166C3504B@iam.unibe.ch> <45d84bd00907110126y52bbcecn3c1c1687764ae4bd@mail.gmail.com> <49F81152-2756-48F0-9B27-00C521D90D48@iam.unibe.ch> Message-ID: On 11-Jul-09, at 7:07 PM, Tudor Girba wrote: > 2. Use the export/import feature: > http://www.piercms.com/blog/export-import > > Cheers, > Doru For WikiServer we actually export the files tree, then on import we delete the current files directory and drop in the replacement files and run the garbage collection on the files. If someone twists my arm I can post the changes that we used to enable the zip of a directory (from Sophie codebase) then unzip and GC work etc. I note on the iPhone we actually add files to the zip archive using no- compression otherwise too many seconds/minutes' are consumed by trying to compres PNG or TIFFs which could already be compressed. = = = ======================================================================== John M. McIntosh Twitter: squeaker68882 Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com = = = ======================================================================== From niko.schwarz at googlemail.com Sun Jul 12 11:30:55 2009 From: niko.schwarz at googlemail.com (Niko Schwarz) Date: Sun, 12 Jul 2009 11:30:55 +0200 Subject: Pier's Gallery add-on Message-ID: Hi everyone! Once I install the Gallery add-on, I cannot add pictures into a gallery (I import a zip-file with pictures inside), the error message I get is as cryptic as this: ? MessageNotUnderstood: UndefinedObject>>nextPutAll: ? MessageNotUnderstood: UndefinedObject>>close I do not know how to make a debugger appear to give me a chance to fix it. Furthermore, it seems that Pier 1.2 removed the Installer class. Thus, I recommend changing the documentation of how to install the Gallery add-on here: http://www.piercms.com/doc/add-ons#248154888, as it refers to the Installer class. Cheers, Niko From estebanlm at gmail.com Sun Jul 12 15:33:56 2009 From: estebanlm at gmail.com (Esteban Lorenzano) Date: Sun, 12 Jul 2009 10:33:56 -0300 Subject: any plans to migrate magritte-seaside to seaside 2.9? Message-ID: Hi Lukas, Is there any plan to make magritte work with seaside 2.9? most of my work is magritte-based, so I can't even think in a migration path without it :) Cheers, Esteban From renggli at gmail.com Sun Jul 12 16:52:33 2009 From: renggli at gmail.com (Lukas Renggli) Date: Sun, 12 Jul 2009 16:52:33 +0200 Subject: any plans to migrate magritte-seaside to seaside 2.9? In-Reply-To: References: Message-ID: <67628d690907120752u704fcec0y430a48e08af626c8@mail.gmail.com> Hi Esteban, > Is there any plan to make magritte work with seaside 2.9? most of my work is > magritte-based, so I can't even think in a migration path without it :) Magritte-Seaside works well in Seaside 2.8 and 2.9. I am using it since Seaside 2.9a1 in several industrial applications. Pier-Seaside is a completely different story. Since Pier depends on many internal things in Seaside, there will be some work required and it is unlikely that the same codebase runs on Seaside 2.8 and 2.9. Cheers, Lukas -- Lukas Renggli http://www.lukas-renggli.ch From marianopeck at gmail.com Sun Jul 12 19:41:06 2009 From: marianopeck at gmail.com (Mariano Martinez Peck) Date: Sun, 12 Jul 2009 14:41:06 -0300 Subject: Pier's Gallery add-on In-Reply-To: References: Message-ID: On Sun, Jul 12, 2009 at 6:30 AM, Niko Schwarz wrote: > Hi everyone! > > > Once I install the Gallery add-on, I cannot add pictures into a gallery (I > import a zip-file with pictures inside), the error message I get is as > cryptic as this: > > ? MessageNotUnderstood: UndefinedObject>>nextPutAll: > ? MessageNotUnderstood: UndefinedObject>>close > > I do not know how to make a debugger appear to give me a chance to fix it. > > Furthermore, it seems that Pier 1.2 removed the Installer class. Thus, I > recommend changing the documentation of how to install the Gallery add-on > here: http://www.piercms.com/doc/add-ons#248154888, as it refers to the > Installer class. > Niko: installing Installer in Pharo is as simpler as evaluating this: ScriptLoader new installingInstaller best, Mariano > > Cheers, > > Niko > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -------------- next part -------------- An HTML attachment was scrubbed... URL: From marianopeck at gmail.com Sun Jul 12 22:38:05 2009 From: marianopeck at gmail.com (Mariano Martinez Peck) Date: Sun, 12 Jul 2009 17:38:05 -0300 Subject: [ANN] New Pier Gallery In-Reply-To: <25626500907111627w207791f2ka1e2647933a9a4b@mail.gmail.com> References: <25626500907051740s51524643m6db3b5655ec42880@mail.gmail.com> <25626500907091729r23b68e21h24551fbdcd203509@mail.gmail.com> <25626500907100119i5b5427a4hdec31528ddae1153@mail.gmail.com> <4866C5B1-22FE-4333-9EB2-47F7EB111C2D@techgame.net> <25626500907111627w207791f2ka1e2647933a9a4b@mail.gmail.com> Message-ID: On Sat, Jul 11, 2009 at 8:27 PM, Nicolas Roard wrote: > On Sat, Jul 11, 2009 at 8:01 PM, Mariano Martinez > Peck wrote: > > > > > > On Sat, Jul 11, 2009 at 2:25 PM, Brian Brown wrote: > >> > >> For development you can just set up Kom to serve a local directory - I > >> don't remember off the top of my head, but you should be able to look at > the > >> class comment for Kom and I think it has some examples. You will find > some > >> if you google for it as well. If you are still having issues after that, > >> drop me a note and I'll dig it up. > > > > > > > > Brian: I didn't know that was possible. But it doesn't matter. I didn't > know > > installing and configure lighttp were as simpler as 5 minutes :) > > > > Nicolas: I make it work!!!!! Almost perfect! It serves and shows the > > images. > > Awesome, glad to hear this! > > > The little problem I have now is that the lightbox and all that nice > > javascript that you have in your webpage isn't in mine. They have no > > javascript at all. No lightbox. I have my personal library for my Pier > > website and I ovveride updateRoot to the code you said in your webpage: > > > > > > updateRoot: aHtmlRoot > > super updateRoot: aHtmlRoot. > > aHtmlRoot javascript url: ' > http://www.roard.com/lightbox2/js/prototype.js'. > > aHtmlRoot javascript url: > > 'http://www.roard.com/lightbox2/js/scriptaculous.js?load=effects,builder > '. > > aHtmlRoot javascript url: ' > http://www.roard.com/lightbox2/js/lightbox.js'. > > aHtmlRoot stylesheet url: ' > http://www.roard.com/lightbox2/css/lightbox.css' > > > > Well if you did that, it should work. Check the html of the page > showing the gallery, it should have those added javascript and > stylesheet links. Note though that you probably should host the > lightbox2 files yourself rather than hotlinking on my server :) (I did > a couple of slight modifications in the files, mostly wrt the url of > the images used by lightbox2). Yes. the javascript and stylesheet are being shown in my html. I attach the html and a screenshot when I click an image. > > > If the page does have those links, then I'm not sure why things aren't > working -- maybe a conflict with some other js lib ? > I don't know. The libraries I have in my app are (in order) WAStandardFiles PRBlueprintLibrary PRJavaScriptSupport DestinoMochilaLibrary (mine) yours? Thanks for the help! Mariano > > -- > Nicolas Roard > "I love deadlines. I like the whooshing sound > they make as they fly by." -- Douglas Adams > > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: galeria1.png Type: image/png Size: 680926 bytes Desc: not available URL: From marianopeck at gmail.com Mon Jul 13 02:56:05 2009 From: marianopeck at gmail.com (Mariano Martinez Peck) Date: Sun, 12 Jul 2009 21:56:05 -0300 Subject: [ANN] New Pier Gallery In-Reply-To: References: <25626500907051740s51524643m6db3b5655ec42880@mail.gmail.com> <25626500907091729r23b68e21h24551fbdcd203509@mail.gmail.com> <25626500907100119i5b5427a4hdec31528ddae1153@mail.gmail.com> <4866C5B1-22FE-4333-9EB2-47F7EB111C2D@techgame.net> <25626500907111627w207791f2ka1e2647933a9a4b@mail.gmail.com> Message-ID: wiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii!!! It worked!!! I feel stupid to explain the reason hahaha. It seems the nice javascript is for users that can only "view" the gallery or that are not logged in. I was always using an "admin" user with all of the permissions (rotate, regenerate, etc.). Which is the real distinction here ? Now I have a couple of questions...you will start hating me haha 1) When creating a Gallery you are asked for a description. But then, it is never displayed. I saw PGGalleryHtmlView>>renderContentOn: html "html heading: self gallery title level: 2." self renderPictures: self batcher batch on: html. self renderBatcherOn: html How can I modify that so that to display the description I entered? 2) I am trying to use the PGGalleryRandomizer but I am doing something wrong. I have a page with a child that is a Gallery. In that page I created the gallery Randomizer component (is like a brother of the gallery), but when creating it (when I click save button) I get a problem in: PGGalleryRandomizer>>renderContentOn: html in: cur parent title because parent is nil and cur is the "unnamed". What I can see when debugging is that candidates message returns an empy collection :( any idea? 3) It would be very nice to have an integration between this gallery and PRSlideshow. If I have a time, I will see it, but I am very complicated right now :( Too much stuff to do. Finally let me say that I love your work. It is excellent and very useful. I love Smalltalk, seaside, pier, pharo... Right now it is in development stage but when my website is in production I will send you a link :) I hope at least I could help you with my test. I also hope you continue with this addon. Thanks a lot. Mariano On Sun, Jul 12, 2009 at 5:38 PM, Mariano Martinez Peck < marianopeck at gmail.com> wrote: > > > On Sat, Jul 11, 2009 at 8:27 PM, Nicolas Roard wrote: > >> On Sat, Jul 11, 2009 at 8:01 PM, Mariano Martinez >> Peck wrote: >> > >> > >> > On Sat, Jul 11, 2009 at 2:25 PM, Brian Brown wrote: >> >> >> >> For development you can just set up Kom to serve a local directory - I >> >> don't remember off the top of my head, but you should be able to look >> at the >> >> class comment for Kom and I think it has some examples. You will find >> some >> >> if you google for it as well. If you are still having issues after >> that, >> >> drop me a note and I'll dig it up. >> > >> > >> > >> > Brian: I didn't know that was possible. But it doesn't matter. I didn't >> know >> > installing and configure lighttp were as simpler as 5 minutes :) >> > >> > Nicolas: I make it work!!!!! Almost perfect! It serves and shows the >> > images. >> >> Awesome, glad to hear this! >> >> > The little problem I have now is that the lightbox and all that nice >> > javascript that you have in your webpage isn't in mine. They have no >> > javascript at all. No lightbox. I have my personal library for my Pier >> > website and I ovveride updateRoot to the code you said in your webpage: >> > >> > >> > updateRoot: aHtmlRoot >> > super updateRoot: aHtmlRoot. >> > aHtmlRoot javascript url: ' >> http://www.roard.com/lightbox2/js/prototype.js'. >> > aHtmlRoot javascript url: >> > ' >> http://www.roard.com/lightbox2/js/scriptaculous.js?load=effects,builder'. >> > aHtmlRoot javascript url: ' >> http://www.roard.com/lightbox2/js/lightbox.js'. >> > aHtmlRoot stylesheet url: ' >> http://www.roard.com/lightbox2/css/lightbox.css' >> > >> >> Well if you did that, it should work. Check the html of the page >> showing the gallery, it should have those added javascript and >> stylesheet links. Note though that you probably should host the >> lightbox2 files yourself rather than hotlinking on my server :) (I did >> a couple of slight modifications in the files, mostly wrt the url of >> the images used by lightbox2). > > > Yes. the javascript and stylesheet are being shown in my html. > I attach the html and a screenshot when I click an image. > > >> >> >> If the page does have those links, then I'm not sure why things aren't >> working -- maybe a conflict with some other js lib ? >> > > I don't know. The libraries I have in my app are (in order) > > WAStandardFiles > PRBlueprintLibrary > PRJavaScriptSupport > DestinoMochilaLibrary (mine) > > yours? > > Thanks for the help! > > Mariano > > >> >> -- >> Nicolas Roard >> "I love deadlines. I like the whooshing sound >> they make as they fly by." -- Douglas Adams >> >> _______________________________________________ >> Magritte, Pier and Related Tools ... >> https://www.iam.unibe.ch/mailman/listinfo/smallwiki >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From chaetal at gmail.com Mon Jul 13 11:15:35 2009 From: chaetal at gmail.com (Dennis Schetinin) Date: Mon, 13 Jul 2009 13:15:35 +0400 Subject: Embedding view Message-ID: <84f77e270907130215lea8a5e5tbf5dec9a6f3a7a39@mail.gmail.com> I did ask this question before, but still don't know how to solve the problem. So, I have Questionnaire (subclass of PRCase) and it's view QuestionnaireView (PRDefaultView). The latter should render children Polls of Questionnaire using vote command. I need to embed a Questionnaire into another page. I tried to do it implementing #visitQuestionnaire: in #PREmbeddedRender visitQuestionnaire: aStructure (aStructure viewComponentClass on: self context) structure: aStructure; renderContentOn: html As far as QuestionnaireView renders polls as components, selecting an option in one of the Polls (posting the form) gives a "WAComponentsNotFoundError" exception (because #children method of QuestionnaireView is not invoked at all). What is the correct way to implement what I want? -- Dennis Schetinin -------------- next part -------------- An HTML attachment was scrubbed... URL: From renggli at gmail.com Mon Jul 13 13:23:10 2009 From: renggli at gmail.com (Lukas Renggli) Date: Mon, 13 Jul 2009 13:23:10 +0200 Subject: Embedding view In-Reply-To: <84f77e270907130215lea8a5e5tbf5dec9a6f3a7a39@mail.gmail.com> References: <84f77e270907130215lea8a5e5tbf5dec9a6f3a7a39@mail.gmail.com> Message-ID: <67628d690907130423p6404c38fpa392b7ce3a4b0562@mail.gmail.com> > I did ask this question before, but still don't know how to solve the > problem. Sorry, must have missed this one. > So, I have Questionnaire (subclass of PRCase) and it's view > QuestionnaireView (PRDefaultView). The latter should render children Polls > of Questionnaire using vote command. I need to embed a Questionnaire into > another page. In the current design of Pier there can only be one context active at a time. And the context consists either of a command or a single view on the current structure. > I tried to do it implementing #visitQuestionnaire: in? #PREmbeddedRender > > visitQuestionnaire: aStructure > ??? (aStructure viewComponentClass on: self context) structure: aStructure; > ??? ??? ?renderContentOn: html What the view itself does is up to you, however (as basic rule with Seaside) you should never instantiate components as a side-effect and you should never call #renderContentOn: manually. > What is the correct way to implement what I want? What are you trying to do? Lukas -- Lukas Renggli http://www.lukas-renggli.ch From chaetal at gmail.com Mon Jul 13 13:30:55 2009 From: chaetal at gmail.com (Dennis Schetinin) Date: Mon, 13 Jul 2009 15:30:55 +0400 Subject: Embedding view In-Reply-To: <67628d690907130423p6404c38fpa392b7ce3a4b0562@mail.gmail.com> References: <84f77e270907130215lea8a5e5tbf5dec9a6f3a7a39@mail.gmail.com> <67628d690907130423p6404c38fpa392b7ce3a4b0562@mail.gmail.com> Message-ID: <84f77e270907130430p6a729a89gb481ed7f9eba7177@mail.gmail.com> > What are you trying to do? > I want to ask users of my site several questions (using Polls). This Questionnaire form (consisting of Poll's forms and two buttons like "Ok" and "Cancel"... or just "Ok" maybe...) should be at the main page of the site. Those who already answered questions should see results instead of the form. But I hope I can do this feature myself (or will ask for help later, if you don't mind:). The main problem so far is embedding. Or whatever I should use instead of it... -- Dennis Schetinin -------------- next part -------------- An HTML attachment was scrubbed... URL: From p3anoman at gmail.com Mon Jul 13 15:31:38 2009 From: p3anoman at gmail.com (John McKeon) Date: Mon, 13 Jul 2009 09:31:38 -0400 Subject: Embedding view In-Reply-To: <84f77e270907130430p6a729a89gb481ed7f9eba7177@mail.gmail.com> References: <84f77e270907130215lea8a5e5tbf5dec9a6f3a7a39@mail.gmail.com> <67628d690907130423p6404c38fpa392b7ce3a4b0562@mail.gmail.com> <84f77e270907130430p6a729a89gb481ed7f9eba7177@mail.gmail.com> Message-ID: <40f637ec0907130631x7c0751a5p46e27f6f2c9fc8e0@mail.gmail.com> On Mon, Jul 13, 2009 at 7:30 AM, Dennis Schetinin wrote: > > What are you trying to do? >> > > I want to ask users of my site several questions (using Polls). This > Questionnaire form (consisting of Poll's forms and two buttons like "Ok" and > "Cancel"... or just "Ok" maybe...) should be at the main page of the site. > > Those who already answered questions should see results instead of the > form. But I hope I can do this feature myself (or will ask for help later, > if you don't mind:). The main problem so far is embedding. Or whatever I > should use instead of it... It sounds like you want functionality like that of the postticker wrt a blog. When i wrote a PRCase subclass, I referred extensively to the PBBlog and its associated classes for direction. John > > -- > Dennis Schetinin > > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -- http://jmck.seasidehosting.st -------------- next part -------------- An HTML attachment was scrubbed... URL: From chaetal at gmail.com Mon Jul 13 16:07:32 2009 From: chaetal at gmail.com (Dennis Schetinin) Date: Mon, 13 Jul 2009 18:07:32 +0400 Subject: Embedding view In-Reply-To: <40f637ec0907130631x7c0751a5p46e27f6f2c9fc8e0@mail.gmail.com> References: <84f77e270907130215lea8a5e5tbf5dec9a6f3a7a39@mail.gmail.com> <67628d690907130423p6404c38fpa392b7ce3a4b0562@mail.gmail.com> <84f77e270907130430p6a729a89gb481ed7f9eba7177@mail.gmail.com> <40f637ec0907130631x7c0751a5p46e27f6f2c9fc8e0@mail.gmail.com> Message-ID: <84f77e270907130707m52d917e8t3b3fd2a281d2b34b@mail.gmail.com> > I want to ask users of my site several questions (using Polls). This >> Questionnaire form (consisting of Poll's forms and two buttons like "Ok" and >> "Cancel"... or just "Ok" maybe...) should be at the main page of the site. >> >> Those who already answered questions should see results instead of the >> form. But I hope I can do this feature myself (or will ask for help later, >> if you don't mind:). The main problem so far is embedding. Or whatever I >> should use instead of it... > > > It sounds like you want functionality like that of the postticker wrt a > blog. > > When i wrote a PRCase subclass, I referred extensively to the PBBlog and > its associated classes for direction. > So, (Pier-)widget implementation is the correct way? -- Dennis Schetinin -------------- next part -------------- An HTML attachment was scrubbed... URL: From renggli at gmail.com Mon Jul 13 16:32:47 2009 From: renggli at gmail.com (Lukas Renggli) Date: Mon, 13 Jul 2009 16:32:47 +0200 Subject: Embedding view In-Reply-To: <84f77e270907130707m52d917e8t3b3fd2a281d2b34b@mail.gmail.com> References: <84f77e270907130215lea8a5e5tbf5dec9a6f3a7a39@mail.gmail.com> <67628d690907130423p6404c38fpa392b7ce3a4b0562@mail.gmail.com> <84f77e270907130430p6a729a89gb481ed7f9eba7177@mail.gmail.com> <40f637ec0907130631x7c0751a5p46e27f6f2c9fc8e0@mail.gmail.com> <84f77e270907130707m52d917e8t3b3fd2a281d2b34b@mail.gmail.com> Message-ID: <67628d690907130732n742cd722g12badb30d4333fa8@mail.gmail.com> >> When i wrote a PRCase subclass, I referred extensively to the PBBlog and >> its associated classes for direction. > > So, (Pier-)widget implementation is the correct way? There are different possibilities, but using a widget is probably the most strait forward. Have a look at the Blog plugin, it makes use of various views and widgets. Also the Citezen plugin uses the same approach: . Cheers, Lukas -- Lukas Renggli http://www.lukas-renggli.ch From marianopeck at gmail.com Mon Jul 13 16:46:59 2009 From: marianopeck at gmail.com (Mariano Martinez Peck) Date: Mon, 13 Jul 2009 13:46:59 -0100 Subject: [squeak-dev] pier 1.2 In-Reply-To: <1B1465BD-310C-4CF5-9858-FAC166C3504B@iam.unibe.ch> References: <1B1465BD-310C-4CF5-9858-FAC166C3504B@iam.unibe.ch> Message-ID: On Sat, Jul 11, 2009 at 7:08 AM, Tudor Girba wrote: > Hi, > > We are happy to announce the release of Pier 1.2: > http://www.piercms.com/download > > What?s new: > - Mature value links (see http://www.piercms.com/doc/syntax for more > details) > - No _s or _k cruft in the url I don't know if this clean urls are working for me. I just downloaded it and created a search component. I click on it an do a search and this is the link: http://localhost:8080/seaside/pier/search?_s=p7noU6JYJ9ICQT3v&_k=Mk0wyNH7 Now, the question is... _s and _k should NEVER should appear ? Thanks! Mariano > > - Remembered last login > - Smaller javascript code for faster page loading > - Better default CSS (including a style for events) > - Halos for enhanced editing > - Pharo 0.1-10374 inside > > Enjoy and let us know what you think. > > Cheers, > Lukas and Doru > -------------- next part -------------- An HTML attachment was scrubbed... URL: From marianopeck at gmail.com Mon Jul 13 19:46:30 2009 From: marianopeck at gmail.com (Mariano Martinez Peck) Date: Mon, 13 Jul 2009 16:46:30 -0100 Subject: "clean urls" in pier In-Reply-To: <89C3B29A-4DF6-4B03-A284-8B3FCAA50AB6@netstyle.ch> References: <25626500907010526m28397dbciaa6aba88c2aae534@mail.gmail.com> <67628d690907010547w12a389a0v38b06e582a9bf0b0@mail.gmail.com> <25626500907010654r12b06833g19f2b39ca7f1d862@mail.gmail.com> <89C3B29A-4DF6-4B03-A284-8B3FCAA50AB6@netstyle.ch> Message-ID: Hi! Is this stuff the same of the new Pier 1.2 ANN about clean URLs ? Thanks, Mariano On Wed, Jul 1, 2009 at 2:17 PM, Adrian Lienhard wrote: > For what its worth, I described how we implemented clean URLs in > cmsbox.com some time ago: > > > http://lists.squeakfoundation.org/pipermail/seaside-dev/2008-August/001012.html > > Cheers, > Adrian > > > On Jul 1, 2009, at 15:54 , Nicolas Roard wrote: > > On Wed, Jul 1, 2009 at 1:47 PM, Lukas Renggli wrote: >> >>> My question is, am I breaking something I'm not seeing (as apparently >>>> things works as I want) by doing that ? is that the correct way to do >>>> it ? >>>> >>> >>> I don't know, but certainly sounds cool. If you commit the changes I >>> am sure people will quickly find out ;-) >>> >> >> ah :) >> >> well, really this is all I'm doing... I followed ramon's blog >> explanations, and added a subclass of WASession with the following >> methods: >> >> returnResponse: aResponse >> (self currentRequest cookieAt: self application handlerCookieName) >> ifNil: [ aResponse addCookie: self sessionCookie ]. >> ^ super returnResponse: aResponse >> >> actionUrlForKey: aString >> | url | >> url := super actionUrlForKey: aString. >> (self currentRequest cookieAt: self application handlerCookieName) >> ifNotNil: [ url parameters removeKey: self application >> handlerField ]. >> ^ url >> >> Then I modified visitInternalInk in PRReferenceRender like this: >> >> visitInternalLink: aLink >> | anchor | >> anchor := self anchorFor: aLink. >> anchor class: 'internal'; goto: (self contextForLink: aLink). >> aLink anchor isNil ifFalse: [ >> anchor url fragment: (aLink anchor >> select: [ :each | each isAlphaNumeric ]) ]. >> >> anchor url: 'http://test.roard.com/seaside/pier', aLink reference. >> >> (aLink hasCounter and: [ html callbacks isKindOf: >> WACallbackRegistry >> ]) ifTrue: [ >> anchor url addParameter: (html callbacks >> registerCallback: [ aLink incrementCounter ]) ]. >> >> anchor with: [ self visitLink: aLink ] >> >> >> This can certainly be cleaned/simplified. >> >> -- >> Nicolas Roard >> "I love deadlines. I like the whooshing sound >> they make as they fly by." -- Douglas Adams >> _______________________________________________ >> 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From renggli at gmail.com Mon Jul 13 20:53:35 2009 From: renggli at gmail.com (Lukas Renggli) Date: Mon, 13 Jul 2009 20:53:35 +0200 Subject: "clean urls" in pier In-Reply-To: References: <25626500907010526m28397dbciaa6aba88c2aae534@mail.gmail.com> <67628d690907010547w12a389a0v38b06e582a9bf0b0@mail.gmail.com> <25626500907010654r12b06833g19f2b39ca7f1d862@mail.gmail.com> <89C3B29A-4DF6-4B03-A284-8B3FCAA50AB6@netstyle.ch> Message-ID: <67628d690907131153j5fa2f3c6g63ad9407f73f81ea@mail.gmail.com> Basically, yes. I integrated the code into a special session class, that you can use if you want (by default it is). Also I integrated the URL creation so that it properly handles *all* internal links, not just the ones within a page document. Furthermore the state of embedded components is preserved, this is something other solutions did not properly handle. You can study the exact changes by comparing Pier-Seaside-lr.420 and Pier-Seaside-lr.422. Cheers, Lukas 2009/7/13 Mariano Martinez Peck : > Hi! Is this stuff the same of the new Pier 1.2 ANN about clean URLs ? > > Thanks, > > Mariano > > On Wed, Jul 1, 2009 at 2:17 PM, Adrian Lienhard wrote: >> >> For what its worth, I described how we implemented clean URLs in >> cmsbox.com some time ago: >> >> >> http://lists.squeakfoundation.org/pipermail/seaside-dev/2008-August/001012.html >> >> Cheers, >> Adrian >> >> On Jul 1, 2009, at 15:54 , Nicolas Roard wrote: >> >>> On Wed, Jul 1, 2009 at 1:47 PM, Lukas Renggli wrote: >>>>> >>>>> My question is, am I breaking something I'm not seeing (as apparently >>>>> things works as I want) by doing that ? is that the correct way to do >>>>> it ? >>>> >>>> I don't know, but certainly sounds cool. If you commit the changes I >>>> am sure people will quickly find out ;-) >>> >>> ah :) >>> >>> well, really this is all I'm doing... I followed ramon's blog >>> explanations, and added a subclass of WASession with the following >>> methods: >>> >>> returnResponse: aResponse >>> ? (self currentRequest cookieAt: self application handlerCookieName) >>> ? ? ? ifNil: [ aResponse addCookie: self sessionCookie ]. >>> ? ^ super returnResponse: aResponse >>> >>> actionUrlForKey: aString >>> ? | url | >>> ? url := super actionUrlForKey: aString. >>> ? (self currentRequest cookieAt: self application handlerCookieName) >>> ? ? ? ? ? ifNotNil: [ url parameters removeKey: self application >>> handlerField ]. >>> ? ^ url >>> >>> Then I modified visitInternalInk in PRReferenceRender like this: >>> >>> visitInternalLink: aLink >>> ? ? ? ?| anchor | >>> ? ? ? ?anchor := self anchorFor: aLink. >>> ? ? ? ?anchor class: 'internal'; goto: (self contextForLink: aLink). >>> ? ? ? ?aLink anchor isNil ifFalse: [ >>> ? ? ? ? ? ? ? ?anchor url fragment: (aLink anchor >>> ? ? ? ? ? ? ? ? ? ? ? ?select: [ :each | each isAlphaNumeric ]) ]. >>> >>> ? ? ? ?anchor url: 'http://test.roard.com/seaside/pier', aLink reference. >>> >>> ? ? ? ?(aLink hasCounter and: [ html callbacks isKindOf: >>> WACallbackRegistry >>> ]) ifTrue: [ >>> ? ? ? ? ? ? ? ?anchor url addParameter: (html callbacks >>> ? ? ? ? ? ? ? ? ? ? ? ?registerCallback: [ aLink incrementCounter ]) ]. >>> >>> ? ? ? ?anchor with: [ self visitLink: aLink ] >>> >>> >>> This can certainly be cleaned/simplified. >>> >>> -- >>> Nicolas Roard >>> "I love deadlines. I like the whooshing sound >>> they make as they fly by." -- Douglas Adams >>> _______________________________________________ >>> 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 > > > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -- Lukas Renggli http://www.lukas-renggli.ch From marianopeck at gmail.com Tue Jul 14 05:31:33 2009 From: marianopeck at gmail.com (Mariano Martinez Peck) Date: Tue, 14 Jul 2009 00:31:33 -0300 Subject: Problem with encoding and double quotes Message-ID: Hi! I am having a problem with encoding and I am not sure if it is a bug or if it is correct. I copy Pier and Pharo mailing list. I am in Linux and when I write a double quote I write something like this: "Muelle Almirante Storni" If I write in OpenOffice, when I type the double quote key, OpenOffice writes something like this: ?Muelle Almirante Storni? Notice that the quotes are these last ones are twisted and the first were straight. If I copy paste "Muelle Almirante Storni" in a workspace of Pharo, it is perfectly understood. But if I paste I get: ?Muelle Almirante Storni? Now...I am developing a pier application my main problem is that my "functional information" is in .doc so they that the twisted ones. As they are put in the image trought Pier and a KomEncoded, there is not problem....until I try to search on the string. If I evaluate: ' ?Muelle Almirante Storni?' findString: 'esquel' startingAt: 1 caseSensitive: false This has a problem (index out of range) because internaly it tries to ask the asciiValue and this answers 2881 -> absurd Now, my solution is everytime I copy paste the text from a .doc to a Pier page I have to replace those twisted quotes for the straight ones. Is this a bug? or it is just like this ? thanks mariano -------------- next part -------------- An HTML attachment was scrubbed... URL: From merlyn at stonehenge.com Tue Jul 14 05:39:34 2009 From: merlyn at stonehenge.com (Randal L. Schwartz) Date: Mon, 13 Jul 2009 20:39:34 -0700 Subject: Problem with encoding and double quotes In-Reply-To: (Mariano Martinez Peck's message of "Tue, 14 Jul 2009 00:31:33 -0300") References: Message-ID: <86my78kk5l.fsf@blue.stonehenge.com> >>>>> "Mariano" == Mariano Martinez Peck writes: Mariano> If I write in OpenOffice, when I type the double quote key, OpenOffice Mariano> writes something like this: ?Muelle Almirante Storni? That's Windows-1252. http://en.wikipedia.org/wiki/Windows-1252 It's not going to be interpreted properly unless everything beyond that treats it as Windows-1252, and not ASCII or ISO-8859-1 or UTF-8, none of which would like \223 and \224 as open and close quote. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion From marianopeck at gmail.com Tue Jul 14 05:50:51 2009 From: marianopeck at gmail.com (Mariano Martinez Peck) Date: Tue, 14 Jul 2009 00:50:51 -0300 Subject: Problem with css and tables Message-ID: Hi people: I have a problem with css but probably it is because I know very little about them and I hate them ahaha. I have a Pier table with |s The thing is that I want to put a particular css to those tables (the one I create in a page with |s ) but not to ALL the html tables the Pier render. If I change in my css table for example, it will affect to all pier tables: when crating a component, when adding, editing, etc... I can create another css class (tableForMyTables for example), but then I should change Pier code so that it renders tables with my css class instead of the standardone. Does anyone know how can achieve this? Perhaps adding a div for my tables? but I don't know what do to then haha. Thanks for the help! Mariano -------------- next part -------------- An HTML attachment was scrubbed... URL: From chaetal at gmail.com Tue Jul 14 06:04:49 2009 From: chaetal at gmail.com (Dennis Schetinin) Date: Tue, 14 Jul 2009 08:04:49 +0400 Subject: Embedding view In-Reply-To: <67628d690907130732n742cd722g12badb30d4333fa8@mail.gmail.com> References: <84f77e270907130215lea8a5e5tbf5dec9a6f3a7a39@mail.gmail.com> <67628d690907130423p6404c38fpa392b7ce3a4b0562@mail.gmail.com> <84f77e270907130430p6a729a89gb481ed7f9eba7177@mail.gmail.com> <40f637ec0907130631x7c0751a5p46e27f6f2c9fc8e0@mail.gmail.com> <84f77e270907130707m52d917e8t3b3fd2a281d2b34b@mail.gmail.com> <67628d690907130732n742cd722g12badb30d4333fa8@mail.gmail.com> Message-ID: <84f77e270907132104y13820912s16a64e953b94fbb3@mail.gmail.com> > > >> When i wrote a PRCase subclass, I referred extensively to the PBBlog and > >> its associated classes for direction. > > > > So, (Pier-)widget implementation is the correct way? > > There are different possibilities, but using a widget is probably the > most strait forward. Have a look at the Blog plugin, it makes use of > various views and widgets. Also the Citezen plugin uses the same > approach: . Thank you, John and Lukas -- Dennis Schetinin -------------- next part -------------- An HTML attachment was scrubbed... URL: From marianopeck at gmail.com Tue Jul 14 06:17:08 2009 From: marianopeck at gmail.com (Mariano Martinez Peck) Date: Tue, 14 Jul 2009 01:17:08 -0300 Subject: Pier - Advanced Search In-Reply-To: References: <65F330CB-65CD-4E0E-B100-35CA910DC67D@mac.com> <67628d690902140134t71ccf152ub4114120af914016@mail.gmail.com> Message-ID: John Borden: I found a problem with this advanced search addon. Take a clean Pier image. (you can use 1.2 if you want). Add a simple search widget and test it (with results). It will work. Then download package Pier-SW2-Sw1Features and try to search again. You will see that it doesn't work anymore :( I debug it a bit and I found a problem because the package Pier-SW2-Sw1Features changes: PRSearchWidget>>findItems "Changed code to replace 'structure' in the below, it was originally root." ^ (self context root fullTextSearch subString: self searchText) contents to: PRSearchWidget>>findItems "Changed code to replace 'structure' in the below, it was originally root." ^ (self context structure fullTextSearch subString: self searchText) contents As you can see it change from self context root to self context structure. If i change my code by hand and put again root, simple search starts to work again. Is this correct? should I commit this fix ? how this affect to the advanced search ? Thanks! Mariano On Wed, Apr 15, 2009 at 11:48 PM, Mariano Martinez Peck < marianopeck at gmail.com> wrote: > > > On Wed, Apr 15, 2009 at 10:50 PM, John Borden wrote: > >> Mariano,There is a first draft of the Advanced Search in >> Pier-SW2-AdvancedSearch in the Pier Addons. A short description of it is >> at: >> >> http://smallwiki2.seasidehosting.st/seaside/pier/Changes+for+Pier/Advanced+Search >> > > Nice men!!! Very good job. Very useful. I could perfectly added to my > website. > > I have some ideas/notes/questions: > > 1) In your example: > http://smallwiki2.seasidehosting.st/seaside/pier/Changes+for+Pier/Advanced+Search > you have the word "search" as an example. When you do focus there, this is > removed. This doesn't happen to me with your widget. I have there what I > searched the last time. Wouldn't be better to put "search" as an example, > every time I render that component ? > > 2) In your example, the search is an ajax search. I think it is > PRAjaxSearchWidget. But, in your code, PRAdvancedSearchWidget is a subclass > of PRSearchWidget. I like more the ajax's one. > > 3) Suppose I want the final/normal user to customize the search: max items, > filters, and so on. Should the user have access to "edit" command of my > search component? or It would be better to let customize this in the > advanced search in the same way as "case sensitive" or "case insensitive" > ??? > > > >> >> The picture on that page shows how it could be used in a lightbox. It was >> really neat seeing the background page change as the links were clicked, >> however it crashed after 2 clicks with a Seaside Walkback >> (WAComponentsNotFoundError: Components not found while processing >> callbacks:). I implemented #children in all sorts of ways, but never got it >> to work right. >> >> > >> Let us know if you can get it to work. >> > > I could reproduce the error. I will try to find the problem. However, know > I am still very newbie with Pier and a a little newbie with Seaside haha. > > >> Thanks, >> > > No, thanks to you. Thanks for your work and for sharing this to us. > > Cheers, > > Mariano > > > >> John >> > > >> >> On Apr 2, 2009, at 10:18 AM, C?drick B?ler wrote: >> >> I just had a quick look... >> >> It seems they refer to an inst var "creation" in PRStructure... Does >> such a var existed before ? >> >> Thanks >> >> 2009/4/1 Mariano Martinez Peck : >> >> >> >> On Sat, Mar 28, 2009 at 10:13 PM, John Borden wrote: >> >> >> All, >> Is anyone aware of an advanced search for pier, such as case sensitive, >> boolean (this phrase and/or/but-not that phrase), date related, etc? If >> not, I'll start looking into adding it to the PRFullTextSearch class. >> Thanks, >> John >> >> >> Yes. Please do!!! This would be very useful for an application I am >> making >> now. So, consider me as a beta tester if you want :) >> >> Cheers, >> >> Mariano >> >> >> _______________________________________________ >> SmallWiki, Magritte, Pier and Related Tools ... >> https://www.iam.unibe.ch/mailman/listinfo/smallwiki >> >> >> >> >> _______________________________________________ >> SmallWiki, Magritte, Pier and Related Tools ... >> https://www.iam.unibe.ch/mailman/listinfo/smallwiki >> >> >> >> >> -- >> C?drick >> >> >> _______________________________________________ >> SmallWiki, 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 >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From marianopeck at gmail.com Tue Jul 14 14:43:48 2009 From: marianopeck at gmail.com (Mariano Martinez Peck) Date: Tue, 14 Jul 2009 11:43:48 -0100 Subject: Problem with encoding and double quotes In-Reply-To: <86my78kk5l.fsf@blue.stonehenge.com> References: <86my78kk5l.fsf@blue.stonehenge.com> Message-ID: On Tue, Jul 14, 2009 at 2:39 AM, Randal L. Schwartz wrote: > >>>>> "Mariano" == Mariano Martinez Peck writes: > > Mariano> If I write in OpenOffice, when I type the double quote key, > OpenOffice > Mariano> writes something like this: ?Muelle Almirante Storni? > > That's Windows-1252. > > http://en.wikipedia.org/wiki/Windows-1252 > > It's not going to be interpreted properly unless everything beyond > that treats it as Windows-1252, and not ASCII or ISO-8859-1 or UTF-8, > none of which would like \223 and \224 as open and close quote. Thanks Randal. I imagined it was some windows related encoding :( > > > -- > Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 > > Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. > See http://methodsandmessages.vox.com/ for Smalltalk and Seaside > discussion > -------------- next part -------------- An HTML attachment was scrubbed... URL: From marianopeck at gmail.com Tue Jul 14 17:08:19 2009 From: marianopeck at gmail.com (Mariano Martinez Peck) Date: Tue, 14 Jul 2009 14:08:19 -0100 Subject: Problem with css and tables In-Reply-To: References: Message-ID: On Tue, Jul 14, 2009 at 2:50 AM, Mariano Martinez Peck < marianopeck at gmail.com> wrote: > Hi people: I have a problem with css but probably it is because I know very > little about them and I hate them ahaha. > > I have a Pier table with |s The thing is that I want to put a particular > css to those tables (the one I create in a page with |s ) but not to ALL > the html tables the Pier render. > If I change in my css table for example, it will affect to all pier tables: > when crating a component, when adding, editing, etc... > I can create another css class (tableForMyTables for example), but then I > should change Pier code so that it renders tables with my css class instead > of the standardone. > > Does anyone know how can achieve this? Perhaps adding a div for my tables? > but I don't know what do to then haha. Ok. I had an idea: put all my table in a div with a particular css ID (using # in css). With this I don't affect all the others table. But now I see the html rendered for this tables (when using |s ) and it is like this:
XXX XXX
XXX XXX
And I would like something like this: ... ... ...
...
...
...
I tried to see in Pier code where the table of | is rendered, but I didn't find it. I just saw PRTable but there is no renderContentOn: or similar. Does someone know how can I do to obtain that output ? Thanks a lot in advance Mariano > > > Thanks for the help! > > Mariano > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From p3anoman at gmail.com Tue Jul 14 18:02:50 2009 From: p3anoman at gmail.com (John McKeon) Date: Tue, 14 Jul 2009 12:02:50 -0400 Subject: Problem with css and tables In-Reply-To: References: Message-ID: <40f637ec0907140902u2ba2880bm674ea7b27f374120@mail.gmail.com> Hi Mariano, On Tue, Jul 14, 2009 at 11:08 AM, Mariano Martinez Peck < marianopeck at gmail.com> wrote: > > > I tried to see in Pier code where the table of | is rendered, but I didn't > find it. I just saw PRTable but there is no renderContentOn: or similar. > Look at PRDocumentParser to do what you are suggesting. > > Does someone know how can I do to obtain that output ? > If your table does not reference any Pier structures you might want to consider writing it as a straight Seaside component and "plugging it into" the Pier page. > > > Thanks a lot in advance > > Mariano > > > > >> >> >> Thanks for the help! >> >> Mariano >> >> > > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -- http://jmck.seasidehosting.st -------------- next part -------------- An HTML attachment was scrubbed... URL: From marianopeck at gmail.com Tue Jul 14 20:45:19 2009 From: marianopeck at gmail.com (Mariano Martinez Peck) Date: Tue, 14 Jul 2009 17:45:19 -0100 Subject: Lightbox addon doesn't work any more :( Message-ID: Hi! I am using Pier 1.2 and lightbox doesn't seems to work. I created a simple search widget and embed it into a page like this: ++/seach++ The ligthbox is displayed. Then I type a word and give an enter. At that moment, I get the following walkback: Seaside WalkbackWAComponentsNotFoundError: Components not found while processing callbacks: an Array(a PRSearchWidget) Debug Full Stack Possible Causes - you do not implement #children correctly - you do not backtrack #children correctly - you do not implement #states correctly I am sorry my seaside skill is not yet to good so I don't know what the problem can be. I checked PRSearchWidget but I think they don't need a children or states method. I attach complete SqueakDebug.log Any help? Thanks in advance, Mariano -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: SqueakDebug.log Type: application/octet-stream Size: 14628 bytes Desc: not available URL: From renggli at gmail.com Tue Jul 14 21:02:45 2009 From: renggli at gmail.com (Lukas Renggli) Date: Tue, 14 Jul 2009 21:02:45 +0200 Subject: Lightbox addon doesn't work any more :( In-Reply-To: References: Message-ID: <67628d690907141202v56be73c7ne10d0c39794bb023@mail.gmail.com> Thank you for reporting. This is fixed in: Name: Pier-LightBox-lr.9 Author: lr Time: 14 July 2009, 9:02:14 pm UUID: 03824f61-22ce-4f49-905a-00a9dbed3267 Ancestors: Pier-LightBox-lr.8 - properly declare the #children Lukas 2009/7/14 Mariano Martinez Peck : > Hi! I am using Pier 1.2 and lightbox doesn't seems to work. I created a > simple search widget and embed it into a page like this: > > ++/seach++ > > The ligthbox is displayed. Then I type a word and give an enter. At that > moment, I get the following walkback: > > Seaside Walkback > > WAComponentsNotFoundError: Components not found while processing callbacks: > an Array(a PRSearchWidget) > > Debug?Full Stack > > Possible Causes > > you do not implement #children correctly > you do not backtrack #children correctly > you do not implement #states correctly > > I am sorry my seaside skill is not yet to good so I don't know what the > problem can be. I checked? PRSearchWidget but I think they don't need a > children or states method. > > I attach complete SqueakDebug.log > > Any help? > > Thanks in advance, > > Mariano > > > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -- Lukas Renggli http://www.lukas-renggli.ch From marianopeck at gmail.com Tue Jul 14 21:09:35 2009 From: marianopeck at gmail.com (Mariano Martinez Peck) Date: Tue, 14 Jul 2009 18:09:35 -0100 Subject: Lightbox addon doesn't work any more :( In-Reply-To: <67628d690907141202v56be73c7ne10d0c39794bb023@mail.gmail.com> References: <67628d690907141202v56be73c7ne10d0c39794bb023@mail.gmail.com> Message-ID: On Tue, Jul 14, 2009 at 6:02 PM, Lukas Renggli wrote: > Thank you for reporting. This is fixed in: > Wow! That's a quick answer and fix ehehe. I saw the changes. I was looking in PRSearchWidget isntead of PRLigthBoxView :( Thanks a lot! Mariano > > Name: Pier-LightBox-lr.9 > Author: lr > Time: 14 July 2009, 9:02:14 pm > UUID: 03824f61-22ce-4f49-905a-00a9dbed3267 > Ancestors: Pier-LightBox-lr.8 > > - properly declare the #children > > Lukas > > 2009/7/14 Mariano Martinez Peck : > > Hi! I am using Pier 1.2 and lightbox doesn't seems to work. I created a > > simple search widget and embed it into a page like this: > > > > ++/seach++ > > > > The ligthbox is displayed. Then I type a word and give an enter. At that > > moment, I get the following walkback: > > > > Seaside Walkback > > > > WAComponentsNotFoundError: Components not found while processing > callbacks: > > an Array(a PRSearchWidget) > > > > Debug Full Stack > > > > Possible Causes > > > > you do not implement #children correctly > > you do not backtrack #children correctly > > you do not implement #states correctly > > > > I am sorry my seaside skill is not yet to good so I don't know what the > > problem can be. I checked PRSearchWidget but I think they don't need a > > children or states method. > > > > I attach complete SqueakDebug.log > > > > Any help? > > > > Thanks in advance, > > > > Mariano > > > > > > _______________________________________________ > > Magritte, Pier and Related Tools ... > > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > > > > > > -- > Lukas Renggli > http://www.lukas-renggli.ch > > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ducasse at iam.unibe.ch Tue Jul 14 22:38:02 2009 From: ducasse at iam.unibe.ch (=?ISO-8859-1?Q?st=E9phane_ducasse?=) Date: Tue, 14 Jul 2009 22:38:02 +0200 Subject: Lightbox addon doesn't work any more :( In-Reply-To: References: <67628d690907141202v56be73c7ne10d0c39794bb023@mail.gmail.com> Message-ID: impressive :) this is lukas :) faster than light and we are all happy to have him hacking with us :) Stef On Jul 14, 2009, at 9:09 PM, Mariano Martinez Peck wrote: > > > On Tue, Jul 14, 2009 at 6:02 PM, Lukas Renggli > wrote: > Thank you for reporting. This is fixed in: > > Wow! That's a quick answer and fix ehehe. I saw the changes. I was > looking in PRSearchWidget isntead of PRLigthBoxView :( > > Thanks a lot! > > Mariano > > > Name: Pier-LightBox-lr.9 > Author: lr > Time: 14 July 2009, 9:02:14 pm > UUID: 03824f61-22ce-4f49-905a-00a9dbed3267 > Ancestors: Pier-LightBox-lr.8 > > - properly declare the #children > > Lukas > > 2009/7/14 Mariano Martinez Peck : > > Hi! I am using Pier 1.2 and lightbox doesn't seems to work. I > created a > > simple search widget and embed it into a page like this: > > > > ++/seach++ > > > > The ligthbox is displayed. Then I type a word and give an enter. > At that > > moment, I get the following walkback: > > > > Seaside Walkback > > > > WAComponentsNotFoundError: Components not found while processing > callbacks: > > an Array(a PRSearchWidget) > > > > Debug Full Stack > > > > Possible Causes > > > > you do not implement #children correctly > > you do not backtrack #children correctly > > you do not implement #states correctly > > > > I am sorry my seaside skill is not yet to good so I don't know > what the > > problem can be. I checked PRSearchWidget but I think they don't > need a > > children or states method. > > > > I attach complete SqueakDebug.log > > > > Any help? > > > > Thanks in advance, > > > > Mariano > > > > > > _______________________________________________ > > Magritte, Pier and Related Tools ... > > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > > > > > > -- > Lukas Renggli > http://www.lukas-renggli.ch > > _______________________________________________ > 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 jborden23 at mac.com Wed Jul 15 04:48:34 2009 From: jborden23 at mac.com (John Borden) Date: Tue, 14 Jul 2009 21:48:34 -0500 Subject: Pier - Advanced Search In-Reply-To: References: <65F330CB-65CD-4E0E-B100-35CA910DC67D@mac.com> <67628d690902140134t71ccf152ub4114120af914016@mail.gmail.com> Message-ID: Hi Mariano, Today, I tried to reproduce the problem with Pier 1.2, and it returned results without error. The advanced search is a child of PRSearchWidget, the idea was to have all of the searches work from the current structure, not from root. Can you send some detail on how the search is embedded or anything? Personally, I think the advanced search looks sharp combined with a lightbox - see http://smallwiki2.seasidehosting.st/seaside/pier/Changes%20for%20Pier/ Advanced%20Search Thanks, John On Jul 13, 2009, at 11:17 PM, Mariano Martinez Peck wrote: > John Borden: I found a problem with this advanced search addon. > Take a clean Pier image. (you can use 1.2 if you want). Add a > simple search widget and test it (with results). It will work. Then > download package Pier-SW2-Sw1Features and try to search again. You > will see that it doesn't work anymore :( > > I debug it a bit and I found a problem because the package Pier-SW2- > Sw1Features changes: > > PRSearchWidget>>findItems > "Changed code to replace 'structure' in the below, it was > originally root." > > ^ (self context root fullTextSearch subString: self searchText) > contents > > > to: > > PRSearchWidget>>findItems > "Changed code to replace 'structure' in the below, it was > originally root." > > ^ (self context structure fullTextSearch subString: self > searchText) contents > > > > As you can see it change from self context root to self context > structure. If i change my code by hand and put again root, simple > search starts to work again. > > Is this correct? should I commit this fix ? how this affect to the > advanced search ? > > Thanks! > > Mariano > > > > On Wed, Apr 15, 2009 at 11:48 PM, Mariano Martinez Peck > wrote: > > > On Wed, Apr 15, 2009 at 10:50 PM, John Borden > wrote: > Mariano, > There is a first draft of the Advanced Search in Pier-SW2- > AdvancedSearch in the Pier Addons. A short description of it is at: > http://smallwiki2.seasidehosting.st/seaside/pier/Changes+for+Pier/ > Advanced+Search > > Nice men!!! Very good job. Very useful. I could perfectly added to > my website. > > I have some ideas/notes/questions: > > 1) In your example: http://smallwiki2.seasidehosting.st/seaside/ > pier/Changes+for+Pier/Advanced+Search you have the word "search" > as an example. When you do focus there, this is removed. This > doesn't happen to me with your widget. I have there what I searched > the last time. Wouldn't be better to put "search" as an example, > every time I render that component ? > > 2) In your example, the search is an ajax search. I think it is > PRAjaxSearchWidget. But, in your code, PRAdvancedSearchWidget is a > subclass of PRSearchWidget. I like more the ajax's one. > > 3) Suppose I want the final/normal user to customize the search: > max items, filters, and so on. Should the user have access to > "edit" command of my search component? or It would be better to let > customize this in the advanced search in the same way as "case > sensitive" or "case insensitive" ??? > > > > The picture on that page shows how it could be used in a lightbox. > It was really neat seeing the background page change as the links > were clicked, however it crashed after 2 clicks with a Seaside > Walkback (WAComponentsNotFoundError: Components not found while > processing callbacks:). I implemented #children in all sorts of > ways, but never got it to work right. > > > Let us know if you can get it to work. > > I could reproduce the error. I will try to find the problem. > However, know I am still very newbie with Pier and a a little > newbie with Seaside haha. > > Thanks, > > No, thanks to you. Thanks for your work and for sharing this to us. > > Cheers, > > Mariano > > > John > > > On Apr 2, 2009, at 10:18 AM, C?drick B?ler wrote: > >> I just had a quick look... >> >> It seems they refer to an inst var "creation" in PRStructure... Does >> such a var existed before ? >> >> Thanks >> >> 2009/4/1 Mariano Martinez Peck : >>> >>> >>> On Sat, Mar 28, 2009 at 10:13 PM, John Borden >>> wrote: >>>> >>>> All, >>>> Is anyone aware of an advanced search for pier, such as case >>>> sensitive, >>>> boolean (this phrase and/or/but-not that phrase), date related, >>>> etc? If >>>> not, I'll start looking into adding it to the PRFullTextSearch >>>> class. >>>> Thanks, >>>> John >>> >>> Yes. Please do!!! This would be very useful for an application I >>> am making >>> now. So, consider me as a beta tester if you want :) >>> >>> Cheers, >>> >>> Mariano >>> >>>> >>>> _______________________________________________ >>>> SmallWiki, Magritte, Pier and Related Tools ... >>>> https://www.iam.unibe.ch/mailman/listinfo/smallwiki >>> >>> >>> >>> _______________________________________________ >>> SmallWiki, Magritte, Pier and Related Tools ... >>> https://www.iam.unibe.ch/mailman/listinfo/smallwiki >>> >> >> >> >> -- >> C?drick >> >> >> _______________________________________________ >> SmallWiki, 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 > > > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki -------------- next part -------------- An HTML attachment was scrubbed... URL: From chaetal at gmail.com Wed Jul 15 06:18:29 2009 From: chaetal at gmail.com (Dennis Schetinin) Date: Wed, 15 Jul 2009 08:18:29 +0400 Subject: Embedding view In-Reply-To: <84f77e270907132104y13820912s16a64e953b94fbb3@mail.gmail.com> References: <84f77e270907130215lea8a5e5tbf5dec9a6f3a7a39@mail.gmail.com> <67628d690907130423p6404c38fpa392b7ce3a4b0562@mail.gmail.com> <84f77e270907130430p6a729a89gb481ed7f9eba7177@mail.gmail.com> <40f637ec0907130631x7c0751a5p46e27f6f2c9fc8e0@mail.gmail.com> <84f77e270907130707m52d917e8t3b3fd2a281d2b34b@mail.gmail.com> <67628d690907130732n742cd722g12badb30d4333fa8@mail.gmail.com> <84f77e270907132104y13820912s16a64e953b94fbb3@mail.gmail.com> Message-ID: <84f77e270907142118x30ab2688gf6c5a60bd875faa3@mail.gmail.com> I found I was wrong with my plans. So I need more help, if you still don't mind. So, what I want. I want to join several Polls (from the respective package) in a Questionnaire. User should see several polls with options, select one answer in each of them, and submit his votes with one click on 'submit' button. I don't know how to implement it with the current design of Polls. I neither know how to use several Vote commands in one form nor see any other ways to do what I want (not reimplementing this in whole). What is (Pier+Magritte-)correct way to do that? -- Dennis Schetinin -------------- next part -------------- An HTML attachment was scrubbed... URL: From marianopeck at gmail.com Wed Jul 15 06:32:18 2009 From: marianopeck at gmail.com (Mariano Martinez Peck) Date: Wed, 15 Jul 2009 01:32:18 -0300 Subject: Configure Seaside + Pier + lighttpd Message-ID: Hi folks! I have a website which is in development with pier. As it is in development there was no lighttpd or apache and I wanted them to wait :) But...In another thread of this mail, thanks John, I just realised that I want to configure my lighttpd with Pier now. The problem is that I know very little about lighttpd neither apache. I want to use lighttpd. But I don't know how to configure. I saw Miguel (Miguel pens? mandarte un mail privado pero aprovecho que tal vez le sirve a otro) post here: http://miguel.leugim.com.mx/index.php/2008/09/27/gemstones-and-fastcgi-with-lighttpd/ and I wonder which is the difference between what configuration and the one I need for my pier site. I remove Gemstone and FastCGI from that post but I add Pier hahah. I also saw http://www.piercms.com/doc/deploy but I am using lighttpd :( I have lighttpd installed and listening. I am under Ubuntu 8.10. I want to statically serve: - My pictures -> I use the gallery plugins. I have those photos in /var/www/pictures - All css files. I have my own library for my website which has a stylesheet. But, what about the others css? should I serve ALL of them ? Would love to have them in /var/www/styles/ - All javascript files. The same as above. All js of all libraries ? Would love to have them in /var/www/javascripts/ - What about the files I upload in Pier and are stored in ~/files Would love to have them in /var/www/pierFiles Thanks a lot for the help! Mariano -------------- next part -------------- An HTML attachment was scrubbed... URL: From johnmci at smalltalkconsulting.com Wed Jul 15 07:55:53 2009 From: johnmci at smalltalkconsulting.com (John M McIntosh) Date: Tue, 14 Jul 2009 22:55:53 -0700 Subject: pier 1.2 In-Reply-To: References: <1B1465BD-310C-4CF5-9858-FAC166C3504B@iam.unibe.ch> <4A58BF9C.1090907@yahoo.co.uk> Message-ID: Ok, I was putting together WikiServer 1.5, so do I load all the latest Pier and Magritte to get the Pier 1.2 version? -- = = = ======================================================================== John M. McIntosh Twitter: squeaker68882 Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com = = = ======================================================================== From renggli at gmail.com Wed Jul 15 08:15:24 2009 From: renggli at gmail.com (Lukas Renggli) Date: Wed, 15 Jul 2009 08:15:24 +0200 Subject: pier 1.2 In-Reply-To: References: <1B1465BD-310C-4CF5-9858-FAC166C3504B@iam.unibe.ch> <4A58BF9C.1090907@yahoo.co.uk> Message-ID: <67628d690907142315j3fab5d4egce0e656f6d562602@mail.gmail.com> > Ok, I was putting together WikiServer 1.5, so do I load all the latest Pier > and Magritte to get the Pier 1.2 version? Yes. Simply load the latest Seaside 2.8.4, latest Magritte, latest Pier and latest Pier plugins (in that order). I already did that for a dozen of live pages and it worked without problems. Cheers, Lukas -- Lukas Renggli http://www.lukas-renggli.ch From girba at iam.unibe.ch Wed Jul 15 08:21:41 2009 From: girba at iam.unibe.ch (Tudor Girba) Date: Wed, 15 Jul 2009 08:21:41 +0200 Subject: pier 1.2 In-Reply-To: <67628d690907142315j3fab5d4egce0e656f6d562602@mail.gmail.com> References: <1B1465BD-310C-4CF5-9858-FAC166C3504B@iam.unibe.ch> <4A58BF9C.1090907@yahoo.co.uk> <67628d690907142315j3fab5d4egce0e656f6d562602@mail.gmail.com> Message-ID: <3B700400-7B72-4B55-B57C-37383ABF748A@iam.unibe.ch> To update, you can also just execute: ScriptLoader loadLatestPackage: 'Pier-Setup' from: 'http://source.lukas-renggli.ch/pieraddons' . (Smalltalk at: #PRLoader) perform: #load Cheers, Doru On 15 Jul 2009, at 08:15, Lukas Renggli wrote: >> Ok, I was putting together WikiServer 1.5, so do I load all the >> latest Pier >> and Magritte to get the Pier 1.2 version? > > Yes. Simply load the latest Seaside 2.8.4, latest Magritte, latest > Pier and latest Pier plugins (in that order). I already did that for a > dozen of live pages and it worked without problems. > > Cheers, > Lukas > > -- > Lukas Renggli > http://www.lukas-renggli.ch > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki -- www.tudorgirba.com "In a world where everything is moving ever faster, one might have better chances to win by moving slower." From p3anoman at gmail.com Wed Jul 15 10:19:34 2009 From: p3anoman at gmail.com (John McKeon) Date: Wed, 15 Jul 2009 04:19:34 -0400 Subject: Embedding view In-Reply-To: <84f77e270907142118x30ab2688gf6c5a60bd875faa3@mail.gmail.com> References: <84f77e270907130215lea8a5e5tbf5dec9a6f3a7a39@mail.gmail.com> <67628d690907130423p6404c38fpa392b7ce3a4b0562@mail.gmail.com> <84f77e270907130430p6a729a89gb481ed7f9eba7177@mail.gmail.com> <40f637ec0907130631x7c0751a5p46e27f6f2c9fc8e0@mail.gmail.com> <84f77e270907130707m52d917e8t3b3fd2a281d2b34b@mail.gmail.com> <67628d690907130732n742cd722g12badb30d4333fa8@mail.gmail.com> <84f77e270907132104y13820912s16a64e953b94fbb3@mail.gmail.com> <84f77e270907142118x30ab2688gf6c5a60bd875faa3@mail.gmail.com> Message-ID: <40f637ec0907150119ta38d319mf43adb03dd68882e@mail.gmail.com> Hi David, We here at the Pier-Magritte mailing list are always eager to help out =) You have an interesting plug-in in the works, so that makes it worth it too, On Wed, Jul 15, 2009 at 12:18 AM, Dennis Schetinin wrote: > I found I was wrong with my plans. So I need more help, if you still don't > mind. So, what I want. I want to join several Polls (from the respective > package) in a Questionnaire. This is what I had in mind when i suggested the postticker type of arrangement. I will lay out the steps for how I see the design. I have no idea how much you have accomplished, how astute you are with regards to Pier design. I am certainly no expert but have a good grasp of it, so I am giving the soup to nuts version and then hopefully it will help otheres as well. Maybe it will be good enough (and correct enough!) to be included in a tutorial somewhere. Keep in mind that you want to start as simple as possible. The Blog is a good example but appears daunting because it has some very complex view requirements. Most PRCases probably dont need that much in the way of view rendering. And for editing of the Pier structures, Pier does most of it automatically. My design would use a PollManager (PRCase) to manage the "package" of available Poll questions (akin to the blog as a manager of posts). You definitely want to look at its Model class for guidance. That is what I am referring to as i write this :) There really is not much more to PBBlog than: 1) It descends from PRCase 2) It implements a few choice methods: a) On the class side #canBeParentOf: aClass is implemented to tell Pier what the Add command can add to it (what will show up in the drop down box when the Add command is invoked) b) isAbstract is implemented to return false. c) On the instance side, #viewComponentClass d) As a general usage pattern, #allXxxxIn: aContext will enumerate all the children (Polls) e) #isValidView: aComponentClass in: aContext might be needed (though I have gotten away without this one...) 3) It implements Magritte descriptions of the various instance variables. Any setting or items that can be edited at runtime send #beSetting or #beEditable to the description (This is what makes these fields show up when you click Edit Settings or Edit respectively). I really do not see many settings for this piece of the design except maybe how many questions to feed to connected Questionnaire widgets, max life for a Poll question to be considered for the widget feed etc. You decide. Then give them setting descriptions. The view component will me minimal. This is what is used to render the manager when we click on a link to it, of which the only one should be in the Commands section when we the admin, log in to add a Poll or two or change a settting. This view is not for general consumption. So all it renders is itself and the Poll questions. Polls would also be a subclass of PRCase and do most of what PollManager does except it will also implement #canBeChildOf: aClass to return true only if aClass = PollManager. Again all of the settings and calculated fields get Magritte descriptions so they show up in the automatically generated editor. Some of these settings will be the fields on which our widget will filter which Polls it displays. The view component will render the question in some form, maybe just the question text and the total vote statistics. Also a link to itself for easy navigation (instead of making us go down into the Commands section and trying to find it in the tree of structures) . Again the main thing here is that it is just rendering for our view only. The widget will be the public renderer of the Poll. (If we would be happy with the one structure being the renderer of our poll, ie making our poll manager viewable by the public but only show some selection of questions we COULD buiild that functionality into the PollManager's view component class and be done with it. All that logic would be designed into the rendering code. But that would make it less flexible.) We want the more flexible Questionnaire widget set up. My design is going to be alot like the PBPostticker widget so lets take a closer look at what that does. Notice that almost all of its mehtods involve rendering as it is a Seaside component. It has a blog method that get the blog for which it 'ticks' via a description. It gets the posts that it will display from the blog. Out widget will do the same thing, It will have a description for the PollManager and a way to get all the Polls it will display. Again, any Magritte described fields will be editable by the site admin. #descriptionBlog is very instructive. It tells us how to describe the PollManager (we should implement a #isPollManager method to return true so our description can return the poll manager(s) available to be chosen as the Poll source. If we want to filter polls on some field of the polls then we need a description for that. It might be complex since we want a dynamic selection of what those field values are. This logic is up to you. The rest is the rendering code that displays the Poll question to whomever wanders into our site, the choices of answers and what happens when the user clicks one and when they click the submit button. This component definitely requires the most work. I hope you fiind this instructive. If anyone finds any glaring errors please feel free to correct me. John > User should see several polls with options, select one answer in each of > them, and submit his votes with one click on 'submit' button. > > I don't know how to implement it with the current design of Polls. I > neither know how to use several Vote commands in one form nor see any other > ways to do what I want (not reimplementing this in whole). What is > (Pier+Magritte-)correct way to do that? > > -- > Dennis Schetinin > > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -- http://jmck.seasidehosting.st -------------- next part -------------- An HTML attachment was scrubbed... URL: From marianopeck at gmail.com Wed Jul 15 15:16:20 2009 From: marianopeck at gmail.com (Mariano Martinez Peck) Date: Wed, 15 Jul 2009 12:16:20 -0100 Subject: Pier - Advanced Search In-Reply-To: References: <65F330CB-65CD-4E0E-B100-35CA910DC67D@mac.com> <67628d690902140134t71ccf152ub4114120af914016@mail.gmail.com> Message-ID: On Wed, Jul 15, 2009 at 1:48 AM, John Borden wrote: > Hi Mariano, > Today, I tried to reproduce the problem with Pier 1.2, and it returned > results without error. The advanced search is a child of PRSearchWidget, > the idea was to have all of the searches work from the current structure, > not from root. Can you send some detail on how the search is embedded or > anything? > Yes. I did this steps: 1) downloaded Pier 1.2 2) Go to http://localhost:8080/seaside/pier/ 3) add command and create a "Pier search" component 4) Go to component search, and search for "new" and you will get two results. I don't embed it anywhere. 5) Now. See PRSearchWidget>>findItems ^ (self context root fullTextSearch subString: self searchText) contents And change it to (as it is in your advanced search): findItems ^ (self context structure fullTextSearch subString: self searchText) contents 6) Try search again with "new" and you won't find anything. So, is this expected? It make more sense to be to search from root so that to search in all the site. Best, Mariano > Personally, I think the advanced search looks sharp combined with a > lightbox - see > > http://smallwiki2.seasidehosting.st/seaside/pier/Changes%20for%20Pier/Advanced%20Search > > Thanks, > John > > On Jul 13, 2009, at 11:17 PM, Mariano Martinez Peck wrote: > > John Borden: I found a problem with this advanced search addon. Take a > clean Pier image. (you can use 1.2 if you want). Add a simple search widget > and test it (with results). It will work. Then download package > Pier-SW2-Sw1Features and try to search again. You will see that it doesn't > work anymore :( > > I debug it a bit and I found a problem because the package > Pier-SW2-Sw1Features changes: > > PRSearchWidget>>findItems > "Changed code to replace 'structure' in the below, it was originally > root." > > ^ (self context root fullTextSearch subString: self searchText) > contents > > > to: > > PRSearchWidget>>findItems > "Changed code to replace 'structure' in the below, it was originally > root." > > ^ (self context structure fullTextSearch subString: self searchText) > contents > > > > As you can see it change from self context root to self context structure. > If i change my code by hand and put again root, simple search starts to work > again. > > Is this correct? should I commit this fix ? how this affect to the advanced > search ? > > Thanks! > > Mariano > > > > On Wed, Apr 15, 2009 at 11:48 PM, Mariano Martinez Peck < > marianopeck at gmail.com> wrote: > >> >> >> On Wed, Apr 15, 2009 at 10:50 PM, John Borden wrote: >> >>> Mariano,There is a first draft of the Advanced Search in >>> Pier-SW2-AdvancedSearch in the Pier Addons. A short description of it is >>> at: >>> >>> http://smallwiki2.seasidehosting.st/seaside/pier/Changes+for+Pier/Advanced+Search >>> >> >> Nice men!!! Very good job. Very useful. I could perfectly added to my >> website. >> >> I have some ideas/notes/questions: >> >> 1) In your example: >> http://smallwiki2.seasidehosting.st/seaside/pier/Changes+for+Pier/Advanced+Search >> you have the word "search" as an example. When you do focus there, this is >> removed. This doesn't happen to me with your widget. I have there what I >> searched the last time. Wouldn't be better to put "search" as an example, >> every time I render that component ? >> >> 2) In your example, the search is an ajax search. I think it is >> PRAjaxSearchWidget. But, in your code, PRAdvancedSearchWidget is a subclass >> of PRSearchWidget. I like more the ajax's one. >> >> 3) Suppose I want the final/normal user to customize the search: max >> items, filters, and so on. Should the user have access to "edit" command of >> my search component? or It would be better to let customize this in the >> advanced search in the same way as "case sensitive" or "case insensitive" >> ??? >> >> >> >>> >>> The picture on that page shows how it could be used in a lightbox. It >>> was really neat seeing the background page change as the links were clicked, >>> however it crashed after 2 clicks with a Seaside Walkback >>> (WAComponentsNotFoundError: Components not found while processing >>> callbacks:). I implemented #children in all sorts of ways, but never got it >>> to work right. >>> >>> >> >>> Let us know if you can get it to work. >>> >> >> I could reproduce the error. I will try to find the problem. However, know >> I am still very newbie with Pier and a a little newbie with Seaside haha. >> >> >>> Thanks, >>> >> >> No, thanks to you. Thanks for your work and for sharing this to us. >> >> Cheers, >> >> Mariano >> >> >> >>> John >>> >> >> >>> >>> On Apr 2, 2009, at 10:18 AM, C?drick B?ler wrote: >>> >>> I just had a quick look... >>> >>> It seems they refer to an inst var "creation" in PRStructure... Does >>> such a var existed before ? >>> >>> Thanks >>> >>> 2009/4/1 Mariano Martinez Peck : >>> >>> >>> >>> On Sat, Mar 28, 2009 at 10:13 PM, John Borden wrote: >>> >>> >>> All, >>> Is anyone aware of an advanced search for pier, such as case sensitive, >>> boolean (this phrase and/or/but-not that phrase), date related, etc? If >>> not, I'll start looking into adding it to the PRFullTextSearch class. >>> Thanks, >>> John >>> >>> >>> Yes. Please do!!! This would be very useful for an application I am >>> making >>> now. So, consider me as a beta tester if you want :) >>> >>> Cheers, >>> >>> Mariano >>> >>> >>> _______________________________________________ >>> SmallWiki, Magritte, Pier and Related Tools ... >>> https://www.iam.unibe.ch/mailman/listinfo/smallwiki >>> >>> >>> >>> >>> _______________________________________________ >>> SmallWiki, Magritte, Pier and Related Tools ... >>> https://www.iam.unibe.ch/mailman/listinfo/smallwiki >>> >>> >>> >>> >>> -- >>> C?drick >>> >>> >>> _______________________________________________ >>> SmallWiki, 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 >>> >> >> > _______________________________________________ > 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jborden23 at mac.com Wed Jul 15 15:46:19 2009 From: jborden23 at mac.com (John Borden) Date: Wed, 15 Jul 2009 08:46:19 -0500 Subject: Pier - Advanced Search In-Reply-To: References: <65F330CB-65CD-4E0E-B100-35CA910DC67D@mac.com> <67628d690902140134t71ccf152ub4114120af914016@mail.gmail.com> Message-ID: That's exactly what I want - when the wiki has several thousand pages, it takes several minutes to search from the root. As long as the search is embedded in the environment, it works great. Thanks, John On Jul 15, 2009, at 8:16 AM, Mariano Martinez Peck wrote: > > On Wed, Jul 15, 2009 at 1:48 AM, John Borden > wrote: > Hi Mariano, > Today, I tried to reproduce the problem with Pier 1.2, and it > returned results without error. The advanced search is a child of > PRSearchWidget, the idea was to have all of the searches work from > the current structure, not from root. Can you send some detail on > how the search is embedded or anything? > > Yes. I did this steps: > > 1) downloaded Pier 1.2 > 2) Go to http://localhost:8080/seaside/pier/ > 3) add command and create a "Pier search" component > 4) Go to component search, and search for "new" and you will get > two results. I don't embed it anywhere. > 5) > > Now. See PRSearchWidget>>findItems > ^ (self context root fullTextSearch subString: self searchText) > contents > > And change it to (as it is in your advanced search): > > findItems > ^ (self context structure fullTextSearch subString: self > searchText) contents > > 6) Try search again with "new" and you won't find anything. > > So, is this expected? It make more sense to be to search from root > so that to search in all the site. > > Best, > > Mariano > > Personally, I think the advanced search looks sharp combined with a > lightbox - see > http://smallwiki2.seasidehosting.st/seaside/pier/Changes%20for% > 20Pier/Advanced%20Search > > Thanks, > John > > On Jul 13, 2009, at 11:17 PM, Mariano Martinez Peck wrote: >> John Borden: I found a problem with this advanced search addon. >> Take a clean Pier image. (you can use 1.2 if you want). Add a >> simple search widget and test it (with results). It will work. >> Then download package Pier-SW2-Sw1Features and try to search >> again. You will see that it doesn't work anymore :( >> >> I debug it a bit and I found a problem because the package Pier- >> SW2-Sw1Features changes: >> >> PRSearchWidget>>findItems >> "Changed code to replace 'structure' in the below, it was >> originally root." >> >> ^ (self context root fullTextSearch subString: self >> searchText) contents >> >> >> to: >> >> PRSearchWidget>>findItems >> "Changed code to replace 'structure' in the below, it was >> originally root." >> >> ^ (self context structure fullTextSearch subString: self >> searchText) contents >> >> >> >> As you can see it change from self context root to self context >> structure. If i change my code by hand and put again root, simple >> search starts to work again. >> >> Is this correct? should I commit this fix ? how this affect to the >> advanced search ? >> >> Thanks! >> >> Mariano >> >> >> >> On Wed, Apr 15, 2009 at 11:48 PM, Mariano Martinez Peck >> wrote: >> >> >> On Wed, Apr 15, 2009 at 10:50 PM, John Borden >> wrote: >> Mariano, >> There is a first draft of the Advanced Search in Pier-SW2- >> AdvancedSearch in the Pier Addons. A short description of it is at: >> http://smallwiki2.seasidehosting.st/seaside/pier/Changes+for >> +Pier/Advanced+Search >> >> Nice men!!! Very good job. Very useful. I could perfectly added to >> my website. >> >> I have some ideas/notes/questions: >> >> 1) In your example: http://smallwiki2.seasidehosting.st/seaside/ >> pier/Changes+for+Pier/Advanced+Search you have the word "search" >> as an example. When you do focus there, this is removed. This >> doesn't happen to me with your widget. I have there what I >> searched the last time. Wouldn't be better to put "search" as an >> example, every time I render that component ? >> >> 2) In your example, the search is an ajax search. I think it is >> PRAjaxSearchWidget. But, in your code, PRAdvancedSearchWidget is a >> subclass of PRSearchWidget. I like more the ajax's one. >> >> 3) Suppose I want the final/normal user to customize the search: >> max items, filters, and so on. Should the user have access to >> "edit" command of my search component? or It would be better to >> let customize this in the advanced search in the same way as "case >> sensitive" or "case insensitive" ??? >> >> >> >> The picture on that page shows how it could be used in a >> lightbox. It was really neat seeing the background page change as >> the links were clicked, however it crashed after 2 clicks with a >> Seaside Walkback (WAComponentsNotFoundError: Components not found >> while processing callbacks:). I implemented #children in all >> sorts of ways, but never got it to work right. >> >> >> Let us know if you can get it to work. >> >> I could reproduce the error. I will try to find the problem. >> However, know I am still very newbie with Pier and a a little >> newbie with Seaside haha. >> >> Thanks, >> >> No, thanks to you. Thanks for your work and for sharing this to us. >> >> Cheers, >> >> Mariano >> >> >> John >> >> >> On Apr 2, 2009, at 10:18 AM, C?drick B?ler wrote: >> >>> I just had a quick look... >>> >>> It seems they refer to an inst var "creation" in PRStructure... Does >>> such a var existed before ? >>> >>> Thanks >>> >>> 2009/4/1 Mariano Martinez Peck : >>>> >>>> >>>> On Sat, Mar 28, 2009 at 10:13 PM, John Borden >>>> wrote: >>>>> >>>>> All, >>>>> Is anyone aware of an advanced search for pier, such as case >>>>> sensitive, >>>>> boolean (this phrase and/or/but-not that phrase), date related, >>>>> etc? If >>>>> not, I'll start looking into adding it to the PRFullTextSearch >>>>> class. >>>>> Thanks, >>>>> John >>>> >>>> Yes. Please do!!! This would be very useful for an application >>>> I am making >>>> now. So, consider me as a beta tester if you want :) >>>> >>>> Cheers, >>>> >>>> Mariano >>>> >>>>> >>>>> _______________________________________________ >>>>> SmallWiki, Magritte, Pier and Related Tools ... >>>>> https://www.iam.unibe.ch/mailman/listinfo/smallwiki >>>> >>>> >>>> >>>> _______________________________________________ >>>> SmallWiki, Magritte, Pier and Related Tools ... >>>> https://www.iam.unibe.ch/mailman/listinfo/smallwiki >>>> >>> >>> >>> >>> -- >>> C?drick >>> >>> >>> _______________________________________________ >>> SmallWiki, 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 >> >> >> _______________________________________________ >> 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 > > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki -------------- next part -------------- An HTML attachment was scrubbed... URL: From marianopeck at gmail.com Wed Jul 15 15:50:41 2009 From: marianopeck at gmail.com (Mariano Martinez Peck) Date: Wed, 15 Jul 2009 12:50:41 -0100 Subject: Pier - Advanced Search In-Reply-To: References: <65F330CB-65CD-4E0E-B100-35CA910DC67D@mac.com> Message-ID: On Wed, Jul 15, 2009 at 12:46 PM, John Borden wrote: > That's exactly what I want - when the wiki has several thousand pages, it > takes several minutes to search from the root. As long as the search is > embedded in the environment, it works great. > Ok. Suppose I want to search from root. How can I embed or create this component so that self context structure answers me the root? I create the component being in http://localhost:8080/seaside/pier. What more root can be than that ? thanks Mariano > Thanks, > John > > On Jul 15, 2009, at 8:16 AM, Mariano Martinez Peck wrote: > > > On Wed, Jul 15, 2009 at 1:48 AM, John Borden wrote: > >> Hi Mariano, >> Today, I tried to reproduce the problem with Pier 1.2, and it returned >> results without error. The advanced search is a child of PRSearchWidget, >> the idea was to have all of the searches work from the current structure, >> not from root. Can you send some detail on how the search is embedded or >> anything? >> > > Yes. I did this steps: > > 1) downloaded Pier 1.2 > 2) Go to http://localhost:8080/seaside/pier/ > 3) add command and create a "Pier search" component > 4) Go to component search, and search for "new" and you will get two > results. I don't embed it anywhere. > 5) > > Now. See PRSearchWidget>>findItems > ^ (self context root fullTextSearch subString: self searchText) > contents > > And change it to (as it is in your advanced search): > > findItems > ^ (self context structure fullTextSearch subString: self searchText) > contents > > 6) Try search again with "new" and you won't find anything. > > So, is this expected? It make more sense to be to search from root so that > to search in all the site. > > Best, > > Mariano > > >> Personally, I think the advanced search looks sharp combined with a >> lightbox - see >> >> http://smallwiki2.seasidehosting.st/seaside/pier/Changes%20for%20Pier/Advanced%20Search >> >> Thanks, >> John >> >> On Jul 13, 2009, at 11:17 PM, Mariano Martinez Peck wrote: >> >> John Borden: I found a problem with this advanced search addon. Take a >> clean Pier image. (you can use 1.2 if you want). Add a simple search widget >> and test it (with results). It will work. Then download package >> Pier-SW2-Sw1Features and try to search again. You will see that it doesn't >> work anymore :( >> >> I debug it a bit and I found a problem because the package >> Pier-SW2-Sw1Features changes: >> >> PRSearchWidget>>findItems >> "Changed code to replace 'structure' in the below, it was originally >> root." >> >> ^ (self context root fullTextSearch subString: self searchText) >> contents >> >> >> to: >> >> PRSearchWidget>>findItems >> "Changed code to replace 'structure' in the below, it was originally >> root." >> >> ^ (self context structure fullTextSearch subString: self searchText) >> contents >> >> >> >> As you can see it change from self context root to self context structure. >> If i change my code by hand and put again root, simple search starts to work >> again. >> >> Is this correct? should I commit this fix ? how this affect to the >> advanced search ? >> >> Thanks! >> >> Mariano >> >> >> >> On Wed, Apr 15, 2009 at 11:48 PM, Mariano Martinez Peck < >> marianopeck at gmail.com> wrote: >> >>> >>> >>> On Wed, Apr 15, 2009 at 10:50 PM, John Borden wrote: >>> >>>> Mariano,There is a first draft of the Advanced Search in >>>> Pier-SW2-AdvancedSearch in the Pier Addons. A short description of it is >>>> at: >>>> >>>> http://smallwiki2.seasidehosting.st/seaside/pier/Changes+for+Pier/Advanced+Search >>>> >>> >>> Nice men!!! Very good job. Very useful. I could perfectly added to my >>> website. >>> >>> I have some ideas/notes/questions: >>> >>> 1) In your example: >>> http://smallwiki2.seasidehosting.st/seaside/pier/Changes+for+Pier/Advanced+Search >>> you have the word "search" as an example. When you do focus there, this is >>> removed. This doesn't happen to me with your widget. I have there what I >>> searched the last time. Wouldn't be better to put "search" as an example, >>> every time I render that component ? >>> >>> 2) In your example, the search is an ajax search. I think it is >>> PRAjaxSearchWidget. But, in your code, PRAdvancedSearchWidget is a subclass >>> of PRSearchWidget. I like more the ajax's one. >>> >>> 3) Suppose I want the final/normal user to customize the search: max >>> items, filters, and so on. Should the user have access to "edit" command of >>> my search component? or It would be better to let customize this in the >>> advanced search in the same way as "case sensitive" or "case insensitive" >>> ??? >>> >>> >>> >>>> >>>> The picture on that page shows how it could be used in a lightbox. It >>>> was really neat seeing the background page change as the links were clicked, >>>> however it crashed after 2 clicks with a Seaside Walkback >>>> (WAComponentsNotFoundError: Components not found while processing >>>> callbacks:). I implemented #children in all sorts of ways, but never got it >>>> to work right. >>>> >>>> >>> >>>> Let us know if you can get it to work. >>>> >>> >>> I could reproduce the error. I will try to find the problem. However, >>> know I am still very newbie with Pier and a a little newbie with Seaside >>> haha. >>> >>> >>>> Thanks, >>>> >>> >>> No, thanks to you. Thanks for your work and for sharing this to us. >>> >>> Cheers, >>> >>> Mariano >>> >>> >>> >>>> John >>>> >>> >>> >>>> >>>> On Apr 2, 2009, at 10:18 AM, C?drick B?ler wrote: >>>> >>>> I just had a quick look... >>>> >>>> It seems they refer to an inst var "creation" in PRStructure... Does >>>> such a var existed before ? >>>> >>>> Thanks >>>> >>>> 2009/4/1 Mariano Martinez Peck : >>>> >>>> >>>> >>>> On Sat, Mar 28, 2009 at 10:13 PM, John Borden >>>> wrote: >>>> >>>> >>>> All, >>>> Is anyone aware of an advanced search for pier, such as case sensitive, >>>> boolean (this phrase and/or/but-not that phrase), date related, etc? If >>>> not, I'll start looking into adding it to the PRFullTextSearch class. >>>> Thanks, >>>> John >>>> >>>> >>>> Yes. Please do!!! This would be very useful for an application I am >>>> making >>>> now. So, consider me as a beta tester if you want :) >>>> >>>> Cheers, >>>> >>>> Mariano >>>> >>>> >>>> _______________________________________________ >>>> SmallWiki, Magritte, Pier and Related Tools ... >>>> https://www.iam.unibe.ch/mailman/listinfo/smallwiki >>>> >>>> >>>> >>>> >>>> _______________________________________________ >>>> SmallWiki, Magritte, Pier and Related Tools ... >>>> https://www.iam.unibe.ch/mailman/listinfo/smallwiki >>>> >>>> >>>> >>>> >>>> -- >>>> C?drick >>>> >>>> >>>> _______________________________________________ >>>> SmallWiki, 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 >>>> >>> >>> >> _______________________________________________ >> 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 >> > > _______________________________________________ > 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From chaetal at gmail.com Wed Jul 15 20:37:20 2009 From: chaetal at gmail.com (Dennis Schetinin) Date: Wed, 15 Jul 2009 22:37:20 +0400 Subject: Embedding view In-Reply-To: <40f637ec0907150119ta38d319mf43adb03dd68882e@mail.gmail.com> References: <84f77e270907130215lea8a5e5tbf5dec9a6f3a7a39@mail.gmail.com> <67628d690907130423p6404c38fpa392b7ce3a4b0562@mail.gmail.com> <84f77e270907130430p6a729a89gb481ed7f9eba7177@mail.gmail.com> <40f637ec0907130631x7c0751a5p46e27f6f2c9fc8e0@mail.gmail.com> <84f77e270907130707m52d917e8t3b3fd2a281d2b34b@mail.gmail.com> <67628d690907130732n742cd722g12badb30d4333fa8@mail.gmail.com> <84f77e270907132104y13820912s16a64e953b94fbb3@mail.gmail.com> <84f77e270907142118x30ab2688gf6c5a60bd875faa3@mail.gmail.com> <40f637ec0907150119ta38d319mf43adb03dd68882e@mail.gmail.com> Message-ID: <84f77e270907151137q48657510o7fce3d21598b427b@mail.gmail.com> > > I hope you fiind this instructive. If anyone finds any glaring errors > please feel free to correct me. > It's a nice manual. But unfortunately I didn't find solutions for the problems I met. Perhaps it's because I didn't explain what I want correctly. Let me try again... I would like to use existing Poll package, recently updated by Lukas to work properly in current versions of Pier. There's POPoll class containing options (as instances of POPollOptions and described by MAToManyRelationDescription) along with other attributes (like deadline, uuid --- unique ID used to identify already voted users, --- etc.). POPolls were supposed to be rendered with special kinds of PRViewComponents using charts but it's a bit off-topic right now. Voting itself is supported by POVoteCommand class, which is rendered as a form described by MASingleOptionDescription with POPollOptons as options. (I don't fully understand how it works but it obviously does:) *By the way, despite unvoted POPoll has POVoteCommand as default, it is still rendered as with View (it's a question for Lukas, maybe?).* So, the question (still) is: how to join several POPolls in one form providing choices several choices (of different polls) being posted back to server by click on one button. I'm not so good in web programming so I'm not sure if it is possible at all (should those be nested forms or what?). -- Dennis Schetinin -------------- next part -------------- An HTML attachment was scrubbed... URL: From p3anoman at gmail.com Wed Jul 15 23:14:17 2009 From: p3anoman at gmail.com (John McKeon) Date: Wed, 15 Jul 2009 17:14:17 -0400 Subject: Embedding view In-Reply-To: <84f77e270907151137q48657510o7fce3d21598b427b@mail.gmail.com> References: <84f77e270907130215lea8a5e5tbf5dec9a6f3a7a39@mail.gmail.com> <67628d690907130423p6404c38fpa392b7ce3a4b0562@mail.gmail.com> <84f77e270907130430p6a729a89gb481ed7f9eba7177@mail.gmail.com> <40f637ec0907130631x7c0751a5p46e27f6f2c9fc8e0@mail.gmail.com> <84f77e270907130707m52d917e8t3b3fd2a281d2b34b@mail.gmail.com> <67628d690907130732n742cd722g12badb30d4333fa8@mail.gmail.com> <84f77e270907132104y13820912s16a64e953b94fbb3@mail.gmail.com> <84f77e270907142118x30ab2688gf6c5a60bd875faa3@mail.gmail.com> <40f637ec0907150119ta38d319mf43adb03dd68882e@mail.gmail.com> <84f77e270907151137q48657510o7fce3d21598b427b@mail.gmail.com> Message-ID: <40f637ec0907151414q3c8ed036s39d9e0cc77254604@mail.gmail.com> On Wed, Jul 15, 2009 at 2:37 PM, Dennis Schetinin wrote: > I hope you fiind this instructive. If anyone finds any glaring errors >> please feel free to correct me. >> > > It's a nice manual. But unfortunately I didn't find solutions for the > problems I met. Perhaps it's because I didn't explain what I want correctly. > Let me try again... > > I would like to use existing Poll package, recently updated by Lukas to > work properly in current versions of Pier. Eep! I hadn't seen those 8) heheh ahem That you were using an existing package was a bit of info missing from your original post..... > > > There's POPoll class containing options (as instances of POPollOptions and > described by MAToManyRelationDescription) along with other attributes (like > deadline, uuid --- unique ID used to identify already voted users, --- > etc.). POPolls were supposed to be rendered with special kinds of > PRViewComponents using charts but it's a bit off-topic right now. > > Voting itself is supported by POVoteCommand class, which is rendered as a > form described by MASingleOptionDescription with POPollOptons as options. (I > don't fully understand how it works but it obviously does:) *By the way, > despite unvoted POPoll has POVoteCommand as default, it is still rendered as > with View (it's a question for Lukas, maybe?).* > > So, the question (still) is: how to join several POPolls in one form > providing choices several choices (of different polls) being posted back to > server by click on one button. I'm not so good in web programming so I'm not > sure if it is possible at all (should those be nested forms or what?). This is all Lukas and Phillipe's fault so I must defer to them :) I also notice that I cannot make the Vote command visible to non-logged in users by using the ChangeOther command. Can someone shed some light on that? > > > -- > Dennis Schetinin > > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -- http://jmck.seasidehosting.st -------------- next part -------------- An HTML attachment was scrubbed... URL: From miguel.coba at gmail.com Thu Jul 16 01:57:02 2009 From: miguel.coba at gmail.com (Miguel Enrique =?ISO-8859-1?Q?Cob=E1?= Martinez) Date: Wed, 15 Jul 2009 18:57:02 -0500 Subject: Configure Seaside + Pier + lighttpd In-Reply-To: References: Message-ID: <1247702222.5404.25.camel@laptop.localdomain> El mi?, 15-07-2009 a las 01:32 -0300, Mariano Martinez Peck escribi?: > Hi folks! I have a website which is in development with pier. As it > is in development there was no lighttpd or apache and I wanted them to > wait :) But...In another thread of this mail, thanks John, I just > realised that I want to configure my lighttpd with Pier now. The > problem is that I know very little about lighttpd neither apache. I > want to use lighttpd. But I don't know how to configure. > > I saw Miguel (Miguel pens? mandarte un mail privado pero aprovecho que > tal vez le sirve a otro) post here: > http://miguel.leugim.com.mx/index.php/2008/09/27/gemstones-and-fastcgi-with-lighttpd/ > and I wonder which is the difference between what configuration and > the one I need for my pier site. I remove Gemstone and FastCGI from > that post but I add Pier hahah. > > I also saw http://www.piercms.com/doc/deploy but I am using > lighttpd :( > > I have lighttpd installed and listening. I am under Ubuntu 8.10. > > I want to statically serve: > > - My pictures -> I use the gallery plugins. I have those photos > in /var/www/pictures > - All css files. I have my own library for my website which has a > stylesheet. But, what about the others css? should I serve ALL of > them ? > Would love to have them in /var/www/styles/ > - All javascript files. The same as above. All js of all libraries ? > Would love to have them in /var/www/javascripts/ > - What about the files I upload in Pier and are stored in ~/files > Would love to have them in /var/www/pierFiles > > Thanks a lot for the help! > Mariano Hola Mariano, this is what I have in a site in production right now (it is not complete): $HTTP["host"] == "mysite.com" { $HTTP["scheme"] == "http" { url.redirect = ( "^/(.*)" => "https://mysite.com/$1" ) } } $SERVER["socket"] == "123.123.123.123:443" { ssl.engine = "enable" ssl.pemfile = "/etc/lighttpd/ssl/mysite.com/mysite.com.pem" ssl.ca-file = "/etc/lighttpd/ssl/mysite.com/gd_bundle.crt" server.name = "mysite.com" server.document-root = "/srv/www/mysite.com/" # We'll use the resources directory to host static files: images, styles, etc # Rewrite the URL url.rewrite-once = ( "^/resources/(.*)" => "$0", # Unaltered "^/about/(.*)" => "$0", # Unaltered "^/(.*)" => "/seaside/myApp$1" # Rewritten ) # Anything with seaside/myApp pass to Seaside on port 8080 proxy.balance = "hash" proxy.server = ( "/seaside/myApp" => ( ( "host" => "127.0.0.1", "port" => 8080) ) ) } $HTTP["host"] == "blog.mysite.com" { server.document-root = "/srv/www/blog.mysite.com/" alias.url = ( "/wp-uploads/" => "/srv/www/wp-uploads/blog.mysite.com/" ) } For this I have everything on https and several folders are served direct from disk on the document root from the lighttpd. Also, you can have a lot more sites in the same server without problem, just like the wordpress blog section. For your case you need something like: server.document-root = ?/var/www/? $HTTP["host"] == "yoursite.com" { # We'll use the resources directory to host static files: images, styles, etc # Rewrite the URL url.rewrite-once = ( "^/pictures/(.*)" => "$0", # Unaltered "^/styles/(.*)" => "$0", # Unaltered "^/javascripts/(.*)" => "$0", # Unaltered "^/styles/(.*)" => "$0", # Unaltered "^/files/(.*)" => "$0", # Unaltered "^/(.*)" => "/seaside/myApp$1" # Rewritten ) # Anything with seaside/mySite pass to Seaside on port 8080 proxy.balance = "hash" proxy.server = ( "/seaside/myApp" => ( ( "host" => "127.0.0.1", "port" => 8080) ) ) } For the files/ folder I don't know. According to the pier instructions, the squeak files are stored on /srv/site/ (or /site/srv/, the instructions have a typo, but imagine that it is /srv/site/) So you have: /srv/site/ and /srv/site/files The apache config proxy everything that doesn't exist on seaside/files/ to seaside. That is the reason for the document root for apache in /srv/site/files/ But in the lighttpd example that I show the logic is, if it is a specific folder, serve it directly and if it has seaside on it proxy to seaside. Anyway, give a couple hours and I'll send the equivalent exact and complete config file for lighttpd and pier. Miguel Cob? From marianopeck at gmail.com Thu Jul 16 02:13:06 2009 From: marianopeck at gmail.com (Mariano Martinez Peck) Date: Wed, 15 Jul 2009 21:13:06 -0300 Subject: Problem with focus Message-ID: Hi! I think is Pier 1.2 since I am having a really annoying behaviour which is the following: Suppose these examples: 1) I edit a page. In this case the first input of the "form" is the Page title. In the second input, I have the text area where I can write my page. So, I click "edit" command and after the text area is rendered I immediately start editing the contents. But...the page totally loaded and after a couple of seconds (1, 2 or 3) the focus goes to the first input of the form (in this case the title). When I realize, I am writing in the title instead of the page!!!! Because the focus go there. 2) when adding a component the first input is the name and then the list to choose a particular component. I open the list, start to see the components and see what to choose, and after a couple of seconds (one or two) the focus goes again to the first input (the name in this case). I think this delays is because I have google analytics or stuff like that and takes a couple of seconds to completely load a page. It seems that setting the focus to the first input is done at the end. I wonder this can be done first of all. is just me? Thanks for the help, Mariano -------------- next part -------------- An HTML attachment was scrubbed... URL: From marianopeck at gmail.com Thu Jul 16 02:33:57 2009 From: marianopeck at gmail.com (Mariano Martinez Peck) Date: Wed, 15 Jul 2009 21:33:57 -0300 Subject: Minor problem with Pier +value:toc+ Message-ID: Hi! Me again :) Don't worry, I have like bursts of different works. A couple of weeks with a project, then another week with another project, and so on. I have this situation. I have a Pier page where I DON'T have big titles '!' but perhaps '!!' or '!!!'. Suppose this example of a complete page: +value:toc+ !!This is a little title because I don't want big titles here Blah balh balh !!This is another title This page, will generate me a index like this: 0.1 This is a little title because I don't want big titles here 0.2 This is another title Now, the behaviour I would love is: only if there is NO ! in the page, but !!, don't start with 0.1 but with 1 and get something like this: 1 This is a little title because I don't want big titles here 2 This is another title The same if I only have !!! Now...is this doable? any tip where I can look in? class? method? piece of code? Thanks!!! Mariano -------------- next part -------------- An HTML attachment was scrubbed... URL: From p3anoman at gmail.com Thu Jul 16 04:43:04 2009 From: p3anoman at gmail.com (John McKeon) Date: Wed, 15 Jul 2009 22:43:04 -0400 Subject: [ANN] Moe - a simple database persistency framework and a few other things Message-ID: <40f637ec0907151943q62700b3do4e8ee4c8d79d0291@mail.gmail.com> Moe is a databse persistency framework based which uses Magritte and Roe for persisting objects to PostgreSQL db's. The one novel thing about it (and I am sure I can't be the first person to have thought of it) is that, instead of serializing contained objects to the db column for that object, it stores the id of any embedded/persisted object in the db column for that object and rebuilds the object with its embeddded objects on reload. It works for embedded collections as well writing an integer array to the db column to represent the collection in the db. Its a relatively simple and somewhat naive framwork written by a newbie :) I like to think of it as an Inactive Record Pattern in that Active Record Pattern requires the objects to (somewhat) model the database, and requires you to implement the database features (like foreign keys) in the object model. The philosophy of Moe is to use the db as a mirror of the model objects. Where there is a collection in the model the db should also have a collection, etc. I don't use any kind of foreign key relations in my objects so I wht should I bother with them at all. Best of all, it is all implemented using Magritte meta descriptons. Along with this the Postgres package has been modified to include integer array support. I also needed to implement money columns so I added support for the money type in postgres and used Avi Bryants Money package from squeaksource to model money types. Support has been added for reading a string representation of money replete with Locale defined separators and decimals. The money implementation required that I write a new Magritte description so Magritte-Money is now available in the Magritte-Addons project. Again, to use this you will need to load the Money package. The following packages will be required to use Moe: PostgresV2 Roe Magritte-Roe and incidentally Money and Magritte-Money (you can get away with not using Money by using the previous version of PostgresV2) Lastly, I have always been dissappointed in the strictly vertical rendering of Magritte described objects and decided to implement a renderer that would give them a more horizontal feel. MARowRendererwill group your descriptions based on their priorities. Priorities 1-9 will render on one row, 10-19 on the next row, 20-29 on the next row and so on. Its a little kludgy, and the algorithm needs some work to make it more efficient, but it works well. Column spans are also calculated so rows do not have to have the same number of elements to look good. If you've ever wished you could get the person's Last Name, First Name and Middle Name to render on one row, and the address fields to render on their own row etc, this will do the trick. Simply implement descriptionContainer on your object to return MARowContainer and voila! I hope the community finds some of this stuff useful. John McKeon -- http://jmck.seasidehosting.st -------------- next part -------------- An HTML attachment was scrubbed... URL: From renggli at gmail.com Thu Jul 16 08:04:54 2009 From: renggli at gmail.com (Lukas Renggli) Date: Thu, 16 Jul 2009 08:04:54 +0200 Subject: Problem with focus In-Reply-To: References: Message-ID: <67628d690907152304w1f4396bcmca751507c41b8821@mail.gmail.com> > I think this delays is because I have google analytics or stuff like that > and takes a couple of seconds to completely load a page. Make sure that PRJavaScriptSupport is loaded before any other script. Lukas -- Lukas Renggli http://www.lukas-renggli.ch From renggli at gmail.com Thu Jul 16 08:07:34 2009 From: renggli at gmail.com (Lukas Renggli) Date: Thu, 16 Jul 2009 08:07:34 +0200 Subject: Minor problem with Pier +value:toc+ In-Reply-To: References: Message-ID: <67628d690907152307o64e5ccdbp383e35a4b5088910@mail.gmail.com> > I have this situation. I have a Pier page where I DON'T have big titles '!' > but perhaps '!!' or '!!!'. Suppose this example of a complete page: I would use CSS to make the '!' titles smaller and stick with '!' as primary title, '!!' as secondary title, etc. This also makes sure that you have semantically valid HTML. > Now...is this doable? any tip where I can look in?? class?? method? piece of > code? PRTocRenderer Lukas -- Lukas Renggli http://www.lukas-renggli.ch From chaetal at gmail.com Thu Jul 16 09:02:08 2009 From: chaetal at gmail.com (Dennis Schetinin) Date: Thu, 16 Jul 2009 11:02:08 +0400 Subject: another attempt for multiple Polls in one form Message-ID: <84f77e270907160002i9fc2535s7814a8b41fb1c5b4@mail.gmail.com> If I'm too annoying, just let me know. But I still don't know how solve my problem, so I'll try once again. I would like to use existing Poll package (recently updated by Lukas to work properly in current versions of Pier). There's POPoll class containing options (as instances of POPollOptions and described by MAToManyRelationDescription) along with other attributes (like deadline, uuid --- unique ID used to identify already voted users, --- etc.). POPolls were supposed to be rendered with special kinds of PRViewComponents using charts but it's a bit off-topic right now. Voting itself is supported by POVoteCommand class, which is rendered as a form described by MASingleOptionDescription with POPollOptons as options. (I don't fully understand how it works but it obviously does:) *By the way, despite unvoted POPoll has POVoteCommand as default, it is still rendered as with View (it's a question for Lukas, maybe?).* So, *the main question* (still) is: how to join several POPolls in one form providing choices several choices (of different polls) being posted back to server by click on one button. I tried to do it directly (by surrounding by form with submit button), but I have no information about what was selected by user in callback... And (better) how to do it by means of Magritte? -- Dennis Schetinin -------------- next part -------------- An HTML attachment was scrubbed... URL: From chaetal at gmail.com Thu Jul 16 11:25:14 2009 From: chaetal at gmail.com (Dennis Schetinin) Date: Thu, 16 Jul 2009 13:25:14 +0400 Subject: another attempt for multiple Polls in one form In-Reply-To: <84f77e270907160002i9fc2535s7814a8b41fb1c5b4@mail.gmail.com> References: <84f77e270907160002i9fc2535s7814a8b41fb1c5b4@mail.gmail.com> Message-ID: <84f77e270907160225l1048d207g976c9f32f6c8179d@mail.gmail.com> > > If I'm too annoying, just let me know. But I still don't know how solve my > problem, so I'll try once again. > > I would like to use existing Poll package (recently updated by Lukas to > work properly in current versions of Pier). > > There's POPoll class containing options (as instances of POPollOptions and > described by MAToManyRelationDescription) along with other attributes (like > deadline, uuid --- unique ID used to identify already voted users, --- > etc.). POPolls were supposed to be rendered with special kinds of > PRViewComponents using charts but it's a bit off-topic right now. > > Voting itself is supported by POVoteCommand class, which is rendered as a > form described by MASingleOptionDescription with POPollOptons as options. (I > don't fully understand how it works but it obviously does:) *By the way, > despite unvoted POPoll has POVoteCommand as default, it is still rendered as > with View (it's a question for Lukas, maybe?).* > > So, *the main question* (still) is: how to join several POPolls in one > form providing choices several choices (of different polls) being posted > back to server by click on one button. > I tried to do it directly (by surrounding by form with submit button), but > I have no information about what was selected by user in callback... And > (better) how to do it by means of Magritte? > As an option, how can I create a command for Questionnaire presenting it as a form containing several radio-groups (one for each Poll of Questionnaire)? -- Dennis Schetinin -------------- next part -------------- An HTML attachment was scrubbed... URL: From maarten.mostert at wanadoo.fr Thu Jul 16 13:22:21 2009 From: maarten.mostert at wanadoo.fr (Maarten MOSTERT) Date: Thu, 16 Jul 2009 13:22:21 +0200 (CEST) Subject: Pier Banners title Message-ID: <1299792.122984.1247743341398.JavaMail.www@wwinf2234> Hi, I am giving Pier a try, so here is my first question. How do I change the text: Event location in the main Banner of the web page ? Regards, @+Maarten, From ducasse at iam.unibe.ch Thu Jul 16 15:14:19 2009 From: ducasse at iam.unibe.ch (=?ISO-8859-1?Q?st=E9phane_ducasse?=) Date: Thu, 16 Jul 2009 15:14:19 +0200 Subject: [ANN] Moe - a simple database persistency framework and a few other things In-Reply-To: <40f637ec0907151943q62700b3do4e8ee4c8d79d0291@mail.gmail.com> References: <40f637ec0907151943q62700b3do4e8ee4c8d79d0291@mail.gmail.com> Message-ID: <9C786B4A-E4B4-4C80-8B7C-FF4C719F2C55@iam.unibe.ch> Hi john Thanks. I think that we should get more of these Magritte driven building blocks :) Stef On Jul 16, 2009, at 4:43 AM, John McKeon wrote: > Moe is a databse persistency framework based which uses Magritte and > Roe for persisting objects to PostgreSQL db's. The one novel thing > about it (and I am sure I can't be the first person to have thought > of it) is that, instead of serializing contained objects to the db > column for that object, it stores the id of any embedded/persisted > object in the db column for that object and rebuilds the object with > its embeddded objects on reload. It works for embedded collections > as well writing an integer array to the db column to represent the > collection in the db. Its a relatively simple and somewhat naive > framwork written by a newbie :) I like to think of it as an Inactive > Record Pattern in that Active Record Pattern requires the objects to > (somewhat) model the database, and requires you to implement the > database features (like foreign keys) in the object model. The > philosophy of Moe is to use the db as a mirror of the model objects. > Where there is a collection in the model the db should also have a > collection, etc. I don't use any kind of foreign key relations in my > objects so I wht should I bother with them at all. Best of all, it > is all implemented using Magritte meta descriptons. > > Along with this the Postgres package has been modified to include > integer array support. > > I also needed to implement money columns so I added support for the > money type in postgres and used Avi Bryants Money package from > squeaksource to model money types. Support has been added for > reading a string representation of money replete with Locale defined > separators and decimals. > > The money implementation required that I write a new Magritte > description so Magritte-Money is now available in the Magritte- > Addons project. Again, to use this you will need to load the Money > package. > > The following packages will be required to use Moe: > PostgresV2 > Roe > Magritte-Roe > and incidentally Money and Magritte-Money > (you can get away with not using Money by using the previous version > of PostgresV2) > > Lastly, I have always been dissappointed in the strictly vertical > rendering of Magritte described objects and decided to implement a > renderer that would give them a more horizontal feel. MARowRenderer > will group your descriptions based on their priorities. Priorities > 1-9 will render on one row, 10-19 on the next row, 20-29 on the next > row and so on. Its a little kludgy, and the algorithm needs some > work to make it more efficient, but it works well. Column spans are > also calculated so rows do not have to have the same number of > elements to look good. If you've ever wished you could get the > person's Last Name, First Name and Middle Name to render on one row, > and the address fields to render on their own row etc, this will do > the trick. Simply implement descriptionContainer on your object to > return MARowContainer and voila! > > I hope the community finds some of this stuff useful. > John McKeon > > > > -- > http://jmck.seasidehosting.st > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki From marianopeck at gmail.com Thu Jul 16 15:37:55 2009 From: marianopeck at gmail.com (Mariano Martinez Peck) Date: Thu, 16 Jul 2009 12:37:55 -0100 Subject: [ANN] Moe - a simple database persistency framework and a few other things In-Reply-To: <40f637ec0907151943q62700b3do4e8ee4c8d79d0291@mail.gmail.com> References: <40f637ec0907151943q62700b3do4e8ee4c8d79d0291@mail.gmail.com> Message-ID: John: excellent news!! I really like the different persistence alternatives we have in Squeak :) A couple of questions: 1) Which is the difference between Moe and Roe. I ask because here: http://www.seaside.st/documentation/persistence#185450097 I saw Roe. 2) Which are the advantages and disadvantages of Moe over other Magritte related stuff like Magritte-RDB for example ? 3) Is this project similar to SqueakSave? http://www.hpi.uni-potsdam.de/hirschfeld/projects/sqsave/index.html Thanks and congratulations for the work! ps: if you have to user another database instead of postgres, you know there is SqueakDBX ;) On Thu, Jul 16, 2009 at 1:43 AM, John McKeon wrote: > Moe is a > databse persistency framework based which uses Magritte and Roe for > persisting objects to PostgreSQL db's. The one novel thing about it (and I > am sure I can't be the first person to have thought of it) is that, instead > of serializing contained objects to the db column for that object, it > stores the id of any embedded/persisted object in the db column for that > object and rebuilds the object with its embeddded objects on reload. It > works for embedded collections as well writing an integer array to the db > column to represent the collection in the db. Its a relatively simple and > somewhat naive framwork written by a newbie :) I like to think of it as an > Inactive Record Pattern in that Active Record Pattern requires the objects > to (somewhat) model the database, and requires you to implement the database > features (like foreign keys) in the object model. The philosophy of Moe is > to use the db as a mirror of the model objects. Where there is a collection > in the model the db should also have a collection, etc. I don't use any kind > of foreign key relations in my objects so I wht should I bother with them at > all. Best of all, it is all implemented using Magritte meta descriptons. > > Along with this the Postgres package has been modified to include integer > array support. > > I also needed to implement money columns so I added support for the money > type in postgres and used Avi Bryants Money package from squeaksource to > model money types. Support has been added for reading a string > representation of money replete with Locale defined separators and decimals. > > The money implementation required that I write a new Magritte description > so Magritte-Money is now available in the Magritte-Addons project. Again, to > use this you will need to load the Money package. > > The following packages will be required to use Moe: > PostgresV2 > Roe > Magritte-Roe > and incidentally Money and > Magritte-Money > (you can get away with not using Money by using the previous version of > PostgresV2) > > Lastly, I have always been dissappointed in the strictly vertical rendering > of Magritte described objects and decided to implement a renderer that would > give them a more horizontal feel. MARowRendererwill group your descriptions based on their priorities. Priorities 1-9 will > render on one row, 10-19 on the next row, 20-29 on the next row and so on. > Its a little kludgy, and the algorithm needs some work to make it more > efficient, but it works well. Column spans are also calculated so rows do > not have to have the same number of elements to look good. If you've ever > wished you could get the person's Last Name, First Name and Middle Name to > render on one row, and the address fields to render on their own row etc, > this will do the trick. Simply implement descriptionContainer on your object > to return MARowContainer and voila! > > I hope the community finds some of this stuff useful. > John McKeon > > > > -- > http://jmck.seasidehosting.st > > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -------------- next part -------------- An HTML attachment was scrubbed... URL: From marianopeck at gmail.com Thu Jul 16 16:08:06 2009 From: marianopeck at gmail.com (Mariano Martinez Peck) Date: Thu, 16 Jul 2009 13:08:06 -0100 Subject: Pier Banners title In-Reply-To: <1299792.122984.1247743341398.JavaMail.www@wwinf2234> References: <1299792.122984.1247743341398.JavaMail.www@wwinf2234> Message-ID: On Thu, Jul 16, 2009 at 10:22 AM, Maarten MOSTERT < maarten.mostert at wanadoo.fr> wrote: > Hi, > > I am giving Pier a try, so here is my first question. Welcome! > > > How do I change the text: Event location in the main Banner of the web page > ? 1) Go to http://localhost:8080/seaside/pier 2) Log in with pier/admin 3) go down where thecommands are 4) Click in "+_Environment" 5) Click in Event Title 6) edit As you can see the rendered of that "Event Title" is in a Pier component called "Event Title" Best, Mariano > > > > Regards, > > @+Maarten, > > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -------------- next part -------------- An HTML attachment was scrubbed... URL: From marianopeck at gmail.com Thu Jul 16 16:32:24 2009 From: marianopeck at gmail.com (Mariano Martinez Peck) Date: Thu, 16 Jul 2009 13:32:24 -0100 Subject: Configure Seaside + Pier + lighttpd In-Reply-To: <1247702222.5404.25.camel@laptop.localdomain> References: <1247702222.5404.25.camel@laptop.localdomain> Message-ID: 2009/7/15 Miguel Enrique Cob? Martinez > El mi?, 15-07-2009 a las 01:32 -0300, Mariano Martinez Peck escribi?: > > Hi folks! I have a website which is in development with pier. As it > > is in development there was no lighttpd or apache and I wanted them to > > wait :) But...In another thread of this mail, thanks John, I just > > realised that I want to configure my lighttpd with Pier now. The > > problem is that I know very little about lighttpd neither apache. I > > want to use lighttpd. But I don't know how to configure. > > > > I saw Miguel (Miguel pens? mandarte un mail privado pero aprovecho que > > tal vez le sirve a otro) post here: > > > http://miguel.leugim.com.mx/index.php/2008/09/27/gemstones-and-fastcgi-with-lighttpd/ > > and I wonder which is the difference between what configuration and > > the one I need for my pier site. I remove Gemstone and FastCGI from > > that post but I add Pier hahah. > > > > I also saw http://www.piercms.com/doc/deploy but I am using > > lighttpd :( > > > > I have lighttpd installed and listening. I am under Ubuntu 8.10. > > > > I want to statically serve: > > > > - My pictures -> I use the gallery plugins. I have those photos > > in /var/www/pictures > > - All css files. I have my own library for my website which has a > > stylesheet. But, what about the others css? should I serve ALL of > > them ? > > Would love to have them in /var/www/styles/ > > - All javascript files. The same as above. All js of all libraries ? > > Would love to have them in /var/www/javascripts/ > > - What about the files I upload in Pier and are stored in ~/files > > Would love to have them in /var/www/pierFiles > > > > Thanks a lot for the help! > > > Mariano > Hola Mariano, > > this is what I have in a site in production right now (it is not > complete): > > $HTTP["host"] == "mysite.com" { > $HTTP["scheme"] == "http" { > url.redirect = ( "^/(.*)" => "https://mysite.com/$1" ) > } > } > $SERVER["socket"] == "123.123.123.123:443" { > ssl.engine = "enable" > ssl.pemfile = "/etc/lighttpd/ssl/mysite.com/mysite.com.pem" > ssl.ca-file = "/etc/lighttpd/ssl/mysite.com/gd_bundle.crt" > > server.name = "mysite.com" > server.document-root = "/srv/www/mysite.com/" > > # We'll use the resources directory to host static files: images, > styles, etc > > # Rewrite the URL > url.rewrite-once = ( > "^/resources/(.*)" => "$0", # Unaltered > "^/about/(.*)" => "$0", # Unaltered > "^/(.*)" => "/seaside/myApp$1" # Rewritten > ) > > # Anything with seaside/myApp pass to Seaside on port 8080 > proxy.balance = "hash" > proxy.server = ( > "/seaside/myApp" => ( > ( "host" => "127.0.0.1", "port" => 8080) > ) > ) > } > $HTTP["host"] == "blog.mysite.com" { > server.document-root = "/srv/www/blog.mysite.com/" > alias.url = ( "/wp-uploads/" => > "/srv/www/wp-uploads/blog.mysite.com/" ) > } > > For this I have everything on https and several folders are served > direct from disk on the document root from the lighttpd. > Also, you can have a lot more sites in the same server without problem, > just like the wordpress blog section. > > For your case you need something like: > > server.document-root = ?/var/www/? > > $HTTP["host"] == "yoursite.com" { > > # We'll use the resources directory to host static files: images, > styles, etc > > # Rewrite the URL > url.rewrite-once = ( > "^/pictures/(.*)" => "$0", # Unaltered > "^/styles/(.*)" => "$0", # Unaltered > "^/javascripts/(.*)" => "$0", # Unaltered > "^/styles/(.*)" => "$0", # Unaltered > "^/files/(.*)" => "$0", # Unaltered > "^/(.*)" => "/seaside/myApp$1" # Rewritten > ) > > # Anything with seaside/mySite pass to Seaside on port 8080 > proxy.balance = "hash" > proxy.server = ( > "/seaside/myApp" => ( > ( "host" => "127.0.0.1", "port" => 8080) > ) > ) > } > > > For the files/ folder I don't know. According to the pier instructions, > the squeak files are stored on /srv/site/ (or /site/srv/, the > instructions have a typo, but imagine that it is /srv/site/) > > So you have: > > /srv/site/ > > and > > /srv/site/files > > The apache config proxy everything that doesn't exist on seaside/files/ > to seaside. That is the reason for the document root for apache > in /srv/site/files/ > > But in the lighttpd example that I show the logic is, if it is a > specific folder, serve it directly and if it has seaside on it proxy to > seaside. > > Anyway, give a couple hours and I'll send the equivalent exact and > complete config file for lighttpd and pier. > Miguel: it seems you know a lot about this :) Nice explanation. I will start playing a bit with this and see what happens. Of course if you send me the example would be a dream, but I cannot give you a couple of hours but a couple of days even weeks if you want!!! Thanks a lot man. Mariano > > Miguel Cob? > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From p3anoman at gmail.com Thu Jul 16 18:51:29 2009 From: p3anoman at gmail.com (John McKeon) Date: Thu, 16 Jul 2009 12:51:29 -0400 Subject: [ANN] Moe - a simple database persistency framework and a few other things In-Reply-To: References: <40f637ec0907151943q62700b3do4e8ee4c8d79d0291@mail.gmail.com> Message-ID: <40f637ec0907160951i19fc7277l503f0d7035114cd3@mail.gmail.com> On Thu, Jul 16, 2009 at 9:37 AM, Mariano Martinez Peck < marianopeck at gmail.com> wrote: > John: excellent news!! I really like the different persistence alternatives > we have in Squeak :) > > A couple of questions: > > 1) Which is the difference between Moe and Roe. I ask because here: > http://www.seaside.st/documentation/persistence#185450097 I saw Roe. Its not different. It *uses* Roe. Roe is the the framework that talks to a postgres db (generates the SQL). MAMappedObject in Magritte-Roe connects Magritte to Roe. You implement #tableName on the class side of your model. and send #sqlColumnName: in the descriptions of the fields you want to store in the db. Then you store the object in the db by sending #save. Moe builds on these two building blocks. It lets you describe objects within objects that you want to persist to the db, and then persists them by storing integer ids only. Those embedded objects are expected to be stored in another table and can be loaded into the containing object using the contained object's id. > > > 2) Which are the advantages and disadvantages of Moe over other Magritte > related stuff like Magritte-RDB for example ? Disadvantages: The persisted objects must be subclasses of MOEmbeddedObject that is one downside. Also you cannot recursively embed objects. This kind of thing can be insidious so you have to be careful with what you describe as an embedded object/collection. Moe is only meant to make the db mirror your application data. Redundant storage only. It's very simple. Advantages: Its *very* simple :) > > > 3) Is this project similar to SqueakSave? > http://www.hpi.uni-potsdam.de/hirschfeld/projects/sqsave/index.html No way. That looks pretty awesome, though. I have to check it out.. > > Thanks and congratulations for the work! Thanks Mariano > > > > ps: if you have to user another database instead of postgres, you know > there is SqueakDBX ;) BTW it could use a few more tests :) > > > > >> -- >> http://jmck.seasidehosting.st >> >> _______________________________________________ >> 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 > -- http://jmck.seasidehosting.st -------------- next part -------------- An HTML attachment was scrubbed... URL: From ducasse at iam.unibe.ch Thu Jul 16 20:15:59 2009 From: ducasse at iam.unibe.ch (=?ISO-8859-1?Q?st=E9phane_ducasse?=) Date: Thu, 16 Jul 2009 20:15:59 +0200 Subject: [ANN] Moe - a simple database persistency framework and a few other things In-Reply-To: <40f637ec0907160951i19fc7277l503f0d7035114cd3@mail.gmail.com> References: <40f637ec0907151943q62700b3do4e8ee4c8d79d0291@mail.gmail.com> <40f637ec0907160951i19fc7277l503f0d7035114cd3@mail.gmail.com> Message-ID: > Disadvantages: > The persisted objects must be subclasses of MOEmbeddedObject that is > one downside. John why? May be just a trait would be nice since you could plug your layer in any domain objects. I was just planning to do a stupid traits to save magritte described object in XML. I was planning to do the same with SandStone: turning the root class in a trait and get free from framework tyranny. > Also you cannot recursively embed objects. This kind of thing can be > insidious so you have to be careful with what you describe as an > embedded object/collection. > Moe is only meant to make the db mirror your application data. > Redundant storage only. > It's very simple. > > Advantages: > Its *very* simple :) > > > 3) Is this project similar to SqueakSave? http://www.hpi.uni-potsdam.de/hirschfeld/projects/sqsave/index.html > > No way. That looks pretty awesome, though. I have to check it out.. > > ps: if you have to user another database instead of postgres, you > know there is SqueakDBX ;) > > BTW it could use a few more tests :) From marianopeck at gmail.com Thu Jul 16 21:01:44 2009 From: marianopeck at gmail.com (Mariano Martinez Peck) Date: Thu, 16 Jul 2009 18:01:44 -0100 Subject: Configure Seaside + Pier + lighttpd In-Reply-To: References: <1247702222.5404.25.camel@laptop.localdomain> Message-ID: Ok...I have been thinking a bit how my configuration should be and of course, I have a coupe of questions. How I enter my seaside application right now: http://localhost:8888/seaside/destinoMochila What is my seaside configuration in http://localhost:8080/seaside/config Resource Base Url: (unspecified) Server Hostname: (unspecified) Server Path: (unspecified) Server Port: 80 Server Protocol: #http How my saeside webapp get the css and javacript? because I am using a custom library. What I think I shoud do is: server.document-root = ?/var/www/? # If the site is destinoMochila $HTTP["host"] == "www.destinomochila.com.ar" { # The document root will be replaced by a new one. server.document-root = "/var/www/destinoMochila/" # We'll use the resources directory to host static files: images,styles, etc # Rewrite the URL url.rewrite-once = ( "^/pictures/(.*)" => "$0", # Unaltered "^/styles/(.*)" => "$0", # Unaltered "^/javascripts/(.*)" => "$0", # Unaltered "^/files/(.*)" => "$0", # Unaltered "^/(.*)" => "/seaside/destinoMochila$1" # Rewritten ) # Anything with seaside/destinoMochila pass to Seaside on port 8888 proxy.balance = "hash" proxy.server = ( "/seaside/destinoMochila" => ( ( "host" => "127.0.0.1", "port" => 8888) ) ) } Create the following folders and files: /var/www/destinoMochila/pictures/ /var/www/destinoMochila/styles/ /var/www/destinoMochila/javascripts/ /site/srv/destinoMochila/pier.image /site/srv/destinoMochila/pier.changes /site/srv/destinoMochila/files/* /site/srv/destinoMochila/SqueakV39.sources Now....questions: 1) Resource Base Url: should this be / ? 2) Server Hostname: should this be www.destinomochila.com.ar ? 3) Server Path: should this be / ? 4) I think my lighttpd conf file is wrong with the /files because it is not in /var/www/destinoMochila/ but in /site/srv/destinoMochila/ is this wrong? how should be correct? can I us ln ? 5) Once I have this working....what should I do with my DestinoMochilaLibrary? It shouldn't be used any more, isn't it ? I have to remove all the Libraries from http://localhost:8888/seaside/config/destinoMochila ??? Thanks a lor for the help!!!! Mariano 2009/7/16 Mariano Martinez Peck > > > 2009/7/15 Miguel Enrique Cob? Martinez > > El mi?, 15-07-2009 a las 01:32 -0300, Mariano Martinez Peck escribi?: >> > Hi folks! I have a website which is in development with pier. As it >> > is in development there was no lighttpd or apache and I wanted them to >> > wait :) But...In another thread of this mail, thanks John, I just >> > realised that I want to configure my lighttpd with Pier now. The >> > problem is that I know very little about lighttpd neither apache. I >> > want to use lighttpd. But I don't know how to configure. >> > >> > I saw Miguel (Miguel pens? mandarte un mail privado pero aprovecho que >> > tal vez le sirve a otro) post here: >> > >> http://miguel.leugim.com.mx/index.php/2008/09/27/gemstones-and-fastcgi-with-lighttpd/ >> > and I wonder which is the difference between what configuration and >> > the one I need for my pier site. I remove Gemstone and FastCGI from >> > that post but I add Pier hahah. >> > >> > I also saw http://www.piercms.com/doc/deploy but I am using >> > lighttpd :( >> > >> > I have lighttpd installed and listening. I am under Ubuntu 8.10. >> > >> > I want to statically serve: >> > >> > - My pictures -> I use the gallery plugins. I have those photos >> > in /var/www/pictures >> > - All css files. I have my own library for my website which has a >> > stylesheet. But, what about the others css? should I serve ALL of >> > them ? >> > Would love to have them in /var/www/styles/ >> > - All javascript files. The same as above. All js of all libraries ? >> > Would love to have them in /var/www/javascripts/ >> > - What about the files I upload in Pier and are stored in ~/files >> > Would love to have them in /var/www/pierFiles >> > >> > Thanks a lot for the help! >> >> > Mariano >> Hola Mariano, >> >> this is what I have in a site in production right now (it is not >> complete): >> >> $HTTP["host"] == "mysite.com" { >> $HTTP["scheme"] == "http" { >> url.redirect = ( "^/(.*)" => "https://mysite.com/$1" ) >> } >> } >> $SERVER["socket"] == "123.123.123.123:443" { >> ssl.engine = "enable" >> ssl.pemfile = "/etc/lighttpd/ssl/mysite.com/mysite.com.pem" >> ssl.ca-file = "/etc/lighttpd/ssl/mysite.com/gd_bundle.crt" >> >> server.name = "mysite.com" >> server.document-root = "/srv/www/mysite.com/" >> >> # We'll use the resources directory to host static files: images, >> styles, etc >> >> # Rewrite the URL >> url.rewrite-once = ( >> "^/resources/(.*)" => "$0", # Unaltered >> "^/about/(.*)" => "$0", # Unaltered >> "^/(.*)" => "/seaside/myApp$1" # Rewritten >> ) >> >> # Anything with seaside/myApp pass to Seaside on port 8080 >> proxy.balance = "hash" >> proxy.server = ( >> "/seaside/myApp" => ( >> ( "host" => "127.0.0.1", "port" => 8080) >> ) >> ) >> } >> $HTTP["host"] == "blog.mysite.com" { >> server.document-root = "/srv/www/blog.mysite.com/" >> alias.url = ( "/wp-uploads/" => >> "/srv/www/wp-uploads/blog.mysite.com/" ) >> } >> >> For this I have everything on https and several folders are served >> direct from disk on the document root from the lighttpd. >> Also, you can have a lot more sites in the same server without problem, >> just like the wordpress blog section. >> >> For your case you need something like: >> >> server.document-root = ?/var/www/? >> >> $HTTP["host"] == "yoursite.com" { >> >> # We'll use the resources directory to host static files: images, >> styles, etc >> >> # Rewrite the URL >> url.rewrite-once = ( >> "^/pictures/(.*)" => "$0", # Unaltered >> "^/styles/(.*)" => "$0", # Unaltered >> "^/javascripts/(.*)" => "$0", # Unaltered >> "^/styles/(.*)" => "$0", # Unaltered >> "^/files/(.*)" => "$0", # Unaltered >> "^/(.*)" => "/seaside/myApp$1" # Rewritten >> ) >> >> # Anything with seaside/mySite pass to Seaside on port 8080 >> proxy.balance = "hash" >> proxy.server = ( >> "/seaside/myApp" => ( >> ( "host" => "127.0.0.1", "port" => 8080) >> ) >> ) >> } >> >> >> For the files/ folder I don't know. According to the pier instructions, >> the squeak files are stored on /srv/site/ (or /site/srv/, the >> instructions have a typo, but imagine that it is /srv/site/) >> >> So you have: >> >> /srv/site/ >> >> and >> >> /srv/site/files >> >> The apache config proxy everything that doesn't exist on seaside/files/ >> to seaside. That is the reason for the document root for apache >> in /srv/site/files/ >> >> But in the lighttpd example that I show the logic is, if it is a >> specific folder, serve it directly and if it has seaside on it proxy to >> seaside. >> >> Anyway, give a couple hours and I'll send the equivalent exact and >> complete config file for lighttpd and pier. >> > > Miguel: it seems you know a lot about this :) Nice explanation. > I will start playing a bit with this and see what happens. > Of course if you send me the example would be a dream, but I cannot give > you a couple of hours but a couple of days even weeks if you want!!! > > Thanks a lot man. > > Mariano > > > >> >> Miguel Cob? >> >> >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From p3anoman at gmail.com Thu Jul 16 21:48:08 2009 From: p3anoman at gmail.com (John McKeon) Date: Thu, 16 Jul 2009 15:48:08 -0400 Subject: [ANN] Moe - a simple database persistency framework and a few other things In-Reply-To: References: <40f637ec0907151943q62700b3do4e8ee4c8d79d0291@mail.gmail.com> <40f637ec0907160951i19fc7277l503f0d7035114cd3@mail.gmail.com> Message-ID: <40f637ec0907161248q1ee8a495wd98957ac882f913b@mail.gmail.com> On Thu, Jul 16, 2009 at 2:15 PM, st?phane ducasse wrote: > Disadvantages: >> The persisted objects must be subclasses of MOEmbeddedObject that is one >> downside. >> > > John why? > May be just a trait would be nice since you could plug your layer in any > domain objects. > I was just planning to do a stupid traits to save magritte described object > in XML. > I was planning to do the same with SandStone: turning the root class in a > trait and get free > from framework tyranny. I have never looked into Traits I am still fairly new to Smalltalk. One can only digest so many frameworks in a day :) But really I was just working with Magritte to get a more intimate understanding of it. Saw that Magritte-Roe gives us very easy connectivity to PostgreSQL whilst keeping all that other Magritte meta-description goodness and I just extended it a little to suit what I saw as a need. I will put Traits on my "to look into" list. Cheers John > > Also you cannot recursively embed objects. This kind of thing can be >> insidious so you have to be careful with what you describe as an embedded >> object/collection. >> Moe is only meant to make the db mirror your application data. Redundant >> storage only. >> It's very simple. >> >> Advantages: >> Its *very* simple :) >> >> >> 3) Is this project similar to SqueakSave? >> http://www.hpi.uni-potsdam.de/hirschfeld/projects/sqsave/index.html >> >> No way. That looks pretty awesome, though. I have to check it out.. >> >> ps: if you have to user another database instead of postgres, you know >> there is SqueakDBX ;) >> >> BTW it could use a few more tests :) >> > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -- http://jmck.seasidehosting.st -------------- next part -------------- An HTML attachment was scrubbed... URL: From ducasse at iam.unibe.ch Thu Jul 16 22:44:34 2009 From: ducasse at iam.unibe.ch (=?ISO-8859-1?Q?st=E9phane_ducasse?=) Date: Thu, 16 Jul 2009 22:44:34 +0200 Subject: [ANN] Moe - a simple database persistency framework and a few other things In-Reply-To: <40f637ec0907161248q1ee8a495wd98957ac882f913b@mail.gmail.com> References: <40f637ec0907151943q62700b3do4e8ee4c8d79d0291@mail.gmail.com> <40f637ec0907160951i19fc7277l503f0d7035114cd3@mail.gmail.com> <40f637ec0907161248q1ee8a495wd98957ac882f913b@mail.gmail.com> Message-ID: On Jul 16, 2009, at 9:48 PM, John McKeon wrote: > > > On Thu, Jul 16, 2009 at 2:15 PM, st?phane ducasse > wrote: > Disadvantages: > The persisted objects must be subclasses of MOEmbeddedObject that is > one downside. > > John why? > May be just a trait would be nice since you could plug your layer in > any domain objects. > I was just planning to do a stupid traits to save magritte described > object in XML. > I was planning to do the same with SandStone: turning the root class > in a trait and get free > from framework tyranny. > > I have never looked into Traits I am still fairly new to Smalltalk. > One can only digest so many frameworks in a day :) Lol > But really I was just working with Magritte to get a more intimate > understanding of it. Saw that Magritte-Roe gives us very easy > connectivity to PostgreSQL whilst keeping all that other Magritte > meta-description goodness and I just extended it a little to suit > what I saw as a need. > > I will put Traits on my "to look into" list. > > Cheers > John > > > > Also you cannot recursively embed objects. This kind of thing can be > insidious so you have to be careful with what you describe as an > embedded object/collection. > Moe is only meant to make the db mirror your application data. > Redundant storage only. > It's very simple. > > Advantages: > Its *very* simple :) > > > 3) Is this project similar to SqueakSave? http://www.hpi.uni-potsdam.de/hirschfeld/projects/sqsave/index.html > > No way. That looks pretty awesome, though. I have to check it out.. > > ps: if you have to user another database instead of postgres, you > know there is SqueakDBX ;) > > BTW it could use a few more tests :) > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > > > > -- > http://jmck.seasidehosting.st > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki From marianopeck at gmail.com Thu Jul 16 22:52:48 2009 From: marianopeck at gmail.com (Mariano Martinez Peck) Date: Thu, 16 Jul 2009 19:52:48 -0100 Subject: [ANN] Moe - a simple database persistency framework and a few other things In-Reply-To: <40f637ec0907160951i19fc7277l503f0d7035114cd3@mail.gmail.com> References: <40f637ec0907151943q62700b3do4e8ee4c8d79d0291@mail.gmail.com> <40f637ec0907160951i19fc7277l503f0d7035114cd3@mail.gmail.com> Message-ID: On Thu, Jul 16, 2009 at 3:51 PM, John McKeon wrote: > > > On Thu, Jul 16, 2009 at 9:37 AM, Mariano Martinez Peck < > marianopeck at gmail.com> wrote: > >> John: excellent news!! I really like the different persistence >> alternatives we have in Squeak :) >> >> A couple of questions: >> >> 1) Which is the difference between Moe and Roe. I ask because here: >> http://www.seaside.st/documentation/persistence#185450097 I saw Roe. > > > Its not different. It *uses* Roe. > Roe is the the framework that talks to a postgres db (generates the SQL). > MAMappedObject in Magritte-Roe connects Magritte to Roe. You implement > #tableName on the class side of your model. and send #sqlColumnName: in the > descriptions of the fields you want to store in the db. Then you store the > object in the db by sending #save. > > Moe builds on these two building blocks. It lets you describe objects > within objects that you want to persist to the db, and then persists them by > storing integer ids only. Those embedded objects are expected to be stored > in another table and can be loaded into the containing object using the > contained object's id. > Ok, thanks for the explanation! Is there a webpage/documentation or something about this project? > > >> >> 2) Which are the advantages and disadvantages of Moe over other Magritte >> related stuff like Magritte-RDB for example ? > > > Disadvantages: > The persisted objects must be subclasses of MOEmbeddedObject that is one > downside. > It has been already discussed :) > > Also you cannot recursively embed objects. This kind of thing can be > insidious so you have to be careful with what you describe as an embedded > object/collection. > Moe is only meant to make the db mirror your application data. Redundant > storage only. > It's very simple. > > Advantages: > Its *very* simple :) > yes, it seems to be. > > >> >> 3) Is this project similar to SqueakSave? >> http://www.hpi.uni-potsdam.de/hirschfeld/projects/sqsave/index.html > > > No way. That looks pretty awesome, though. I have to check it out.. > Yes. I send a couple of email to them because I really find it very useful. At least for me it seems to be (I couldn't test it yet) an excellent situation when: - Small/middle applications. I don't believe big applications can have tables and all that stuff autogenerated. - If you want or need (the client makes you) a RDBMS (this is very common here) - You don't want to spend time doing mappings (as you need in Glorp for example) > >> >> >> ps: if you have to user another database instead of postgres, you know >> there is SqueakDBX ;) > > > BTW it could use a few more tests :) > I didn't understood what you wanted to say hahaha. > > >> >> >> >>> -- >>> http://jmck.seasidehosting.st >>> >>> _______________________________________________ >>> 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 >> > > > > -- > http://jmck.seasidehosting.st > > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -------------- next part -------------- An HTML attachment was scrubbed... URL: From p3anoman at gmail.com Fri Jul 17 00:16:37 2009 From: p3anoman at gmail.com (John McKeon) Date: Thu, 16 Jul 2009 18:16:37 -0400 Subject: [ANN] Moe - a simple database persistency framework and a few other things In-Reply-To: References: <40f637ec0907151943q62700b3do4e8ee4c8d79d0291@mail.gmail.com> <40f637ec0907160951i19fc7277l503f0d7035114cd3@mail.gmail.com> Message-ID: <40f637ec0907161516x4bf33feasf526dc13c0cdc7bb@mail.gmail.com> On Thu, Jul 16, 2009 at 4:52 PM, Mariano Martinez Peck < marianopeck at gmail.com> wrote: > > > On Thu, Jul 16, 2009 at 3:51 PM, John McKeon wrote: > >> >> >> On Thu, Jul 16, 2009 at 9:37 AM, Mariano Martinez Peck < >> marianopeck at gmail.com> wrote: >> >> Ok, thanks for the explanation! Is there a webpage/documentation or > something about this project? > No What do you want for nothin? lol I need to write more tests (i've already found some bugs with the changes I made to Money) once i am satisfied with that i will try to put together an example) > > > > ps: if you have to user another database instead of postgres, you know >>> there is SqueakDBX ;) >> >> >> BTW it could use a few more tests :) >> > > I didn't understood what you wanted to say hahaha. > I thought i heard yousay somewhere that you are writing all the tests for SqueakDBX., i could be mistaken > > > >> >> >>> >>> >>> >>>> -- >>>> http://jmck.seasidehosting.st >>>> >>>> _______________________________________________ >>>> 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 >>> >> >> >> >> -- >> http://jmck.seasidehosting.st >> >> _______________________________________________ >> 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 > -- http://jmck.seasidehosting.st -------------- next part -------------- An HTML attachment was scrubbed... URL: From marianopeck at gmail.com Fri Jul 17 05:33:54 2009 From: marianopeck at gmail.com (Mariano Martinez Peck) Date: Fri, 17 Jul 2009 00:33:54 -0300 Subject: Problem with focus In-Reply-To: <67628d690907152304w1f4396bcmca751507c41b8821@mail.gmail.com> References: <67628d690907152304w1f4396bcmca751507c41b8821@mail.gmail.com> Message-ID: On Thu, Jul 16, 2009 at 3:04 AM, Lukas Renggli wrote: > > I think this delays is because I have google analytics or stuff like that > > and takes a couple of seconds to completely load a page. > > Make sure that PRJavaScriptSupport is loaded before any other script. > Lukas: how can I do this ? In my site configuration, I have this libraries and with this order: WAStandardFiles PRBlueprintLibrary PRJavaScriptSupport DestinoMochilaLibrary SULibrary thanks! Mariano > Lukas > > -- > Lukas Renggli > http://www.lukas-renggli.ch > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -------------- next part -------------- An HTML attachment was scrubbed... URL: From marianopeck at gmail.com Fri Jul 17 06:48:15 2009 From: marianopeck at gmail.com (Mariano Martinez Peck) Date: Fri, 17 Jul 2009 01:48:15 -0300 Subject: Problem with css and tables In-Reply-To: <40f637ec0907140902u2ba2880bm674ea7b27f374120@mail.gmail.com> References: <40f637ec0907140902u2ba2880bm674ea7b27f374120@mail.gmail.com> Message-ID: On Tue, Jul 14, 2009 at 1:02 PM, John McKeon wrote: > Hi Mariano, > > On Tue, Jul 14, 2009 at 11:08 AM, Mariano Martinez Peck < > marianopeck at gmail.com> wrote: > >> >> >> I tried to see in Pier code where the table of | is rendered, but I didn't >> find it. I just saw PRTable but there is no renderContentOn: or similar. >> > > Look at PRDocumentParser to do what you are suggesting. > Sorry John but I didn't find it. I need to see the html rendered when I create tables using |aaa|bbb| and change it from the original one to the one I said in this mail. I am still newbie with Pier, would you mind explaining me again ? > > >> Does someone know how can I do to obtain that output ? >> > > If your table does not reference any Pier structures you might want to > consider writing it as a straight Seaside component and "plugging it into" > the Pier page. > Mmmm I don't know how to do this. But no, my table doesn't reference any Pier structure. It a normal and simple html table. Thanks for the help!!! Mariano > > >> >> Thanks a lot in advance >> >> Mariano >> >> >> >> >>> >>> >>> Thanks for the help! >>> >>> Mariano >>> >>> >> >> _______________________________________________ >> Magritte, Pier and Related Tools ... >> https://www.iam.unibe.ch/mailman/listinfo/smallwiki >> > > > > -- > http://jmck.seasidehosting.st > > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -------------- next part -------------- An HTML attachment was scrubbed... URL: From marianopeck at gmail.com Fri Jul 17 07:15:31 2009 From: marianopeck at gmail.com (Mariano Martinez Peck) Date: Fri, 17 Jul 2009 02:15:31 -0300 Subject: Problem with css and tables In-Reply-To: References: <40f637ec0907140902u2ba2880bm674ea7b27f374120@mail.gmail.com> Message-ID: My real problem is that the html rendered doesn't render and I need to apply diffent css to my table. I have a stylesheet like this: #box-table-a { font-family:"Lucida Sans Unicode", "Lucida Grande", Sans-Serif; font-size:12px; width:480px; text-align:left; border-collapse:collapse; margin:20px; } #box-table-a th { font-size:13px; font-weight:normal; background:#b9c9fe; border-top:4px solid #aabcfe; border-bottom:1px solid #fff; color:#039; padding:8px; } #box-table-a td { background:#e8edff; border-bottom:1px solid #fff; color:#669; border-top:1px solid transparent; padding:8px; } #box-table-a tr:hover td { background:#d0dafd; color:#339; } But as the html output is this:
XXX XXX
XXX XXX
I don't know what to do :( best, Mariano On Fri, Jul 17, 2009 at 1:48 AM, Mariano Martinez Peck < marianopeck at gmail.com> wrote: > > > On Tue, Jul 14, 2009 at 1:02 PM, John McKeon wrote: > >> Hi Mariano, >> >> On Tue, Jul 14, 2009 at 11:08 AM, Mariano Martinez Peck < >> marianopeck at gmail.com> wrote: >> >>> >>> >>> I tried to see in Pier code where the table of | is rendered, but I >>> didn't find it. I just saw PRTable but there is no renderContentOn: or >>> similar. >>> >> >> Look at PRDocumentParser to do what you are suggesting. >> > > Sorry John but I didn't find it. I need to see the html rendered when I > create tables using |aaa|bbb| and change it from the original one to the one > I said in this mail. I am still newbie with Pier, would you mind explaining > me again ? > > > >> >> >>> Does someone know how can I do to obtain that output ? >>> >> >> If your table does not reference any Pier structures you might want to >> consider writing it as a straight Seaside component and "plugging it into" >> the Pier page. >> > > Mmmm I don't know how to do this. But no, my table doesn't reference any > Pier structure. It a normal and simple html table. > > Thanks for the help!!! > > Mariano > > >> >> >>> >>> Thanks a lot in advance >>> >>> Mariano >>> >>> >>> >>> >>>> >>>> >>>> Thanks for the help! >>>> >>>> Mariano >>>> >>>> >>> >>> _______________________________________________ >>> Magritte, Pier and Related Tools ... >>> https://www.iam.unibe.ch/mailman/listinfo/smallwiki >>> >> >> >> >> -- >> http://jmck.seasidehosting.st >> >> _______________________________________________ >> 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 Fri Jul 17 08:12:02 2009 From: renggli at gmail.com (Lukas Renggli) Date: Fri, 17 Jul 2009 08:12:02 +0200 Subject: Problem with focus In-Reply-To: References: <67628d690907152304w1f4396bcmca751507c41b8821@mail.gmail.com> Message-ID: <67628d690907162312l385282fdpcdef1bdb8fdd63d3@mail.gmail.com> >> Make sure that PRJavaScriptSupport is loaded before any other script. > > Lukas: how can I do this ? Unfortunately there is no easy way. You can either do it in the inspector by exploring WADispatcher default and navigating to your application, or by re-registring the application and adding the libraries in the right order using #addLibrary:. Cheers, Lukas -- Lukas Renggli http://www.lukas-renggli.ch From girba at iam.unibe.ch Fri Jul 17 08:31:37 2009 From: girba at iam.unibe.ch (Tudor Girba) Date: Fri, 17 Jul 2009 08:31:37 +0200 Subject: Problem with css and tables In-Reply-To: References: <40f637ec0907140902u2ba2880bm674ea7b27f374120@mail.gmail.com> Message-ID: <985E3EFF-4B82-4E85-A419-562D04A8EF0A@iam.unibe.ch> Hi, I am not sure I understood the problem correctly. Do you want to do generate the output programatically or using the Pier syntax? If it is the latter, then you can use |! to generate Cheers, Doru On 17 Jul 2009, at 07:15, Mariano Martinez Peck wrote: > My real problem is that the html rendered doesn't render > and I need to apply diffent css to my table. I have a stylesheet > like this: > > #box-table-a { > font-family:"Lucida Sans Unicode", "Lucida Grande", Sans-Serif; > font-size:12px; > width:480px; > text-align:left; > border-collapse:collapse; > margin:20px; > } > > #box-table-a th { > font-size:13px; > font-weight:normal; > background:#b9c9fe; > border-top:4px solid #aabcfe; > border-bottom:1px solid #fff; > color:#039; > padding:8px; > } > > #box-table-a td { > background:#e8edff; > border-bottom:1px solid #fff; > color:#669; > border-top:1px solid transparent; > padding:8px; > } > > #box-table-a tr:hover td { > background:#d0dafd; > color:#339; > } > > > > But as the html output is this: > > > > > > > > > > > >
XXXXXX
XXXXXX
> > I don't know what to do :( > > > > best, > > Mariano > > > > > On Fri, Jul 17, 2009 at 1:48 AM, Mariano Martinez Peck > wrote: > > > On Tue, Jul 14, 2009 at 1:02 PM, John McKeon > wrote: > Hi Mariano, > > On Tue, Jul 14, 2009 at 11:08 AM, Mariano Martinez Peck > wrote: > > > I tried to see in Pier code where the table of | is rendered, but I > didn't find it. I just saw PRTable but there is no renderContentOn: > or similar. > > Look at PRDocumentParser to do what you are suggesting. > > Sorry John but I didn't find it. I need to see the html rendered > when I create tables using |aaa|bbb| and change it from the original > one to the one I said in this mail. I am still newbie with Pier, > would you mind explaining me again ? > > > > > Does someone know how can I do to obtain that output ? > > If your table does not reference any Pier structures you might want > to consider writing it as a straight Seaside component and "plugging > it into" the Pier page. > > Mmmm I don't know how to do this. But no, my table doesn't reference > any Pier structure. It a normal and simple html table. > > > Thanks for the help!!! > > Mariano > > > > > Thanks a lot in advance > > Mariano > > > > > > Thanks for the help! > > Mariano > > > > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > > > > -- > http://jmck.seasidehosting.st > > _______________________________________________ > 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 -- www.tudorgirba.com "Presenting is storytelling." From maarten.mostert at wanadoo.fr Fri Jul 17 10:11:39 2009 From: maarten.mostert at wanadoo.fr (Maarten MOSTERT) Date: Fri, 17 Jul 2009 10:11:39 +0200 (CEST) Subject: Was Pier Banners title Message-ID: <30133016.43647.1247818299194.JavaMail.www@wwinf1611> Hi, Thanks this worked. I have some other questions: 1) I would like to use addons, video namely. How do I load this in my image ? 2) I try to use a simple image, documentations says to this with: +s: +reference+ but something like +s: +http://stakepoint.com/files/MyFileLibrary/screenevents.png\+ does not work ? 3) I would like to use different type of character sizes on the same line is there a way how to do this ? Regards, @+Maarten, From marianopeck at gmail.com Fri Jul 17 14:33:59 2009 From: marianopeck at gmail.com (Mariano Martinez Peck) Date: Fri, 17 Jul 2009 11:33:59 -0100 Subject: Problem with css and tables In-Reply-To: <985E3EFF-4B82-4E85-A419-562D04A8EF0A@iam.unibe.ch> References: <40f637ec0907140902u2ba2880bm674ea7b27f374120@mail.gmail.com> <985E3EFF-4B82-4E85-A419-562D04A8EF0A@iam.unibe.ch> Message-ID: On Fri, Jul 17, 2009 at 5:31 AM, Tudor Girba wrote: > Hi, > > I am not sure I understood the problem correctly. Do you want to do > generate the output programatically or using the Pier syntax? > > If it is the latter, then you can use |! to generate wiiiiiiiiiiiiiiiiiiiiiiiiii!!! That's was exactly what I was needing :) I didn't find this information in http://www.piercms.com/doc/syntax should this be added? Thanks a lot. Its a nice a simple solution! > > > Cheers, > Doru > > > > On 17 Jul 2009, at 07:15, Mariano Martinez Peck wrote: > > My real problem is that the html rendered doesn't render and I >> need to apply diffent css to my table. I have a stylesheet like this: >> >> #box-table-a { >> font-family:"Lucida Sans Unicode", "Lucida Grande", Sans-Serif; >> font-size:12px; >> width:480px; >> text-align:left; >> border-collapse:collapse; >> margin:20px; >> } >> >> #box-table-a th { >> font-size:13px; >> font-weight:normal; >> background:#b9c9fe; >> border-top:4px solid #aabcfe; >> border-bottom:1px solid #fff; >> color:#039; >> padding:8px; >> } >> >> #box-table-a td { >> background:#e8edff; >> border-bottom:1px solid #fff; >> color:#669; >> border-top:1px solid transparent; >> padding:8px; >> } >> >> #box-table-a tr:hover td { >> background:#d0dafd; >> color:#339; >> } >> >> >> >> But as the html output is this: >> >> >> >> >> >> >> >> >> >> >> >>
XXXXXX
XXXXXX
>> >> I don't know what to do :( >> >> >> >> best, >> >> Mariano >> >> >> >> >> On Fri, Jul 17, 2009 at 1:48 AM, Mariano Martinez Peck < >> marianopeck at gmail.com> wrote: >> >> >> On Tue, Jul 14, 2009 at 1:02 PM, John McKeon wrote: >> Hi Mariano, >> >> On Tue, Jul 14, 2009 at 11:08 AM, Mariano Martinez Peck < >> marianopeck at gmail.com> wrote: >> >> >> I tried to see in Pier code where the table of | is rendered, but I didn't >> find it. I just saw PRTable but there is no renderContentOn: or similar. >> >> Look at PRDocumentParser to do what you are suggesting. >> >> Sorry John but I didn't find it. I need to see the html rendered when I >> create tables using |aaa|bbb| and change it from the original one to the one >> I said in this mail. I am still newbie with Pier, would you mind explaining >> me again ? >> >> >> >> >> Does someone know how can I do to obtain that output ? >> >> If your table does not reference any Pier structures you might want to >> consider writing it as a straight Seaside component and "plugging it into" >> the Pier page. >> >> Mmmm I don't know how to do this. But no, my table doesn't reference any >> Pier structure. It a normal and simple html table. >> >> >> Thanks for the help!!! >> >> Mariano >> >> >> >> >> Thanks a lot in advance >> >> Mariano >> >> >> >> >> >> Thanks for the help! >> >> Mariano >> >> >> >> _______________________________________________ >> Magritte, Pier and Related Tools ... >> https://www.iam.unibe.ch/mailman/listinfo/smallwiki >> >> >> >> -- >> http://jmck.seasidehosting.st >> >> _______________________________________________ >> 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 >> > > -- > www.tudorgirba.com > > "Presenting is storytelling." > > > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -------------- next part -------------- An HTML attachment was scrubbed... URL: From marianopeck at gmail.com Fri Jul 17 14:35:23 2009 From: marianopeck at gmail.com (Mariano Martinez Peck) Date: Fri, 17 Jul 2009 11:35:23 -0100 Subject: Minor problem with Pier +value:toc+ In-Reply-To: <67628d690907152307o64e5ccdbp383e35a4b5088910@mail.gmail.com> References: <67628d690907152307o64e5ccdbp383e35a4b5088910@mail.gmail.com> Message-ID: On Thu, Jul 16, 2009 at 5:07 AM, Lukas Renggli wrote: > > I have this situation. I have a Pier page where I DON'T have big titles > '!' > > but perhaps '!!' or '!!!'. Suppose this example of a complete page: > > I would use CSS to make the '!' titles smaller and stick with '!' as > primary title, '!!' as secondary title, etc. This also makes sure that > you have semantically valid HTML. > Mmm I think you are right. > > > Now...is this doable? any tip where I can look in? class? method? piece > of > > code? > > PRTocRenderer > Thanks! > > Lukas > > -- > Lukas Renggli > http://www.lukas-renggli.ch > > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -------------- next part -------------- An HTML attachment was scrubbed... URL: From marianopeck at gmail.com Fri Jul 17 14:39:43 2009 From: marianopeck at gmail.com (Mariano Martinez Peck) Date: Fri, 17 Jul 2009 11:39:43 -0100 Subject: [ANN] Moe - a simple database persistency framework and a few other things In-Reply-To: <40f637ec0907161516x4bf33feasf526dc13c0cdc7bb@mail.gmail.com> References: <40f637ec0907151943q62700b3do4e8ee4c8d79d0291@mail.gmail.com> <40f637ec0907160951i19fc7277l503f0d7035114cd3@mail.gmail.com> <40f637ec0907161516x4bf33feasf526dc13c0cdc7bb@mail.gmail.com> Message-ID: On Thu, Jul 16, 2009 at 9:16 PM, John McKeon wrote: > > > On Thu, Jul 16, 2009 at 4:52 PM, Mariano Martinez Peck < > marianopeck at gmail.com> wrote: > >> >> >> On Thu, Jul 16, 2009 at 3:51 PM, John McKeon wrote: >> >>> >>> >>> On Thu, Jul 16, 2009 at 9:37 AM, Mariano Martinez Peck < >>> marianopeck at gmail.com> wrote: >>> >>> Ok, thanks for the explanation! Is there a webpage/documentation or >> something about this project? >> > > No > What do you want for nothin? lol > I need to write more tests (i've already found some bugs with the changes I > made to Money) once i am satisfied with that i will try to put together an > example) > hehehehee > > >> >> >> ps: if you have to user another database instead of postgres, you know >>>> there is SqueakDBX ;) >>> >>> >>> BTW it could use a few more tests :) >>> >> >> I didn't understood what you wanted to say hahaha. >> > > I thought i heard yousay somewhere that you are writing all the tests for > SqueakDBX., i could be mistaken > Maybe you are talking about a IRC talk we have in IRC with another guy who was telling me to do some Squeak tests. I told him that I do tests for my projects and give an example of SqueakDBX. Actually these tests are from the beginning, I am not doing right now. Furthermore, some of them were doing TDD :) > > > >> >> >> >>> >>> >>>> >>>> >>>> >>>>> -- >>>>> http://jmck.seasidehosting.st >>>>> >>>>> _______________________________________________ >>>>> 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 >>>> >>> >>> >>> >>> -- >>> http://jmck.seasidehosting.st >>> >>> _______________________________________________ >>> 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 >> > > > > -- > http://jmck.seasidehosting.st > > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -------------- next part -------------- An HTML attachment was scrubbed... URL: From marianopeck at gmail.com Fri Jul 17 15:11:53 2009 From: marianopeck at gmail.com (Mariano Martinez Peck) Date: Fri, 17 Jul 2009 12:11:53 -0100 Subject: Was Pier Banners title In-Reply-To: <30133016.43647.1247818299194.JavaMail.www@wwinf1611> References: <30133016.43647.1247818299194.JavaMail.www@wwinf1611> Message-ID: On Fri, Jul 17, 2009 at 7:11 AM, Maarten MOSTERT wrote: > Hi, > > Thanks this worked. > > > I have some other questions: > > 1) I would like to use addons, video namely. How do I load this in my image > ? Just open the monticello browser -> + repository -> and put MCHttpRepository location: 'http://source.lukas-renggli.ch/pieraddons' user: '' password: '' Then open. Then find the plugin you want. Select the packages and load for each package. > > 2) I try to use a simple image, documentations says to this with: +s: > +reference+ but something like > +s: +http://stakepoint.com/files/MyFileLibrary/screenevents.png\+ does not > work ? I don't think if this work. I think you should upload your image first ( add -> file ) and then reference to your image > > > 3) I would like to use different type of character sizes on the same line > is there a way how to do this ? I don't know, but I think doing some css? > > > Regards, > > @+Maarten, > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From marianopeck at gmail.com Fri Jul 17 20:20:18 2009 From: marianopeck at gmail.com (Mariano Martinez Peck) Date: Fri, 17 Jul 2009 17:20:18 -0100 Subject: little bug? Message-ID: Hi: I think I found a little Pier bug. To reproduce: 1) Go to edit a big page (with vertical scroll) 2) Go the middle (vertically) of the page 3) select a world and with the enhanced editor click on an option (underline, bold, or any of them). For example I select the word 'mariano' and then select the bold. So, I obtain *mariano* but... 4) After this, the cursor go to the beginning of the page. So...I have to scroll again and go to mariano to continue editing the page. is this a bug or the expected behaviour ? thanks mariano -------------- next part -------------- An HTML attachment was scrubbed... URL: From renggli at gmail.com Fri Jul 17 20:24:18 2009 From: renggli at gmail.com (Lukas Renggli) Date: Fri, 17 Jul 2009 20:24:18 +0200 Subject: little bug? In-Reply-To: References: Message-ID: <67628d690907171124o6fc39f94m5e651dbe6d7c9d32@mail.gmail.com> > is this a bug or the expected behaviour ? What browser are you using? Lukas -- Lukas Renggli http://www.lukas-renggli.ch From marianopeck at gmail.com Fri Jul 17 20:26:34 2009 From: marianopeck at gmail.com (Mariano Martinez Peck) Date: Fri, 17 Jul 2009 17:26:34 -0100 Subject: little bug? In-Reply-To: <67628d690907171124o6fc39f94m5e651dbe6d7c9d32@mail.gmail.com> References: <67628d690907171124o6fc39f94m5e651dbe6d7c9d32@mail.gmail.com> Message-ID: On Fri, Jul 17, 2009 at 5:24 PM, Lukas Renggli wrote: > > is this a bug or the expected behaviour ? > > What browser are you using? > Firefox 3.5 > > Lukas > > -- > Lukas Renggli > http://www.lukas-renggli.ch > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -------------- next part -------------- An HTML attachment was scrubbed... URL: From marianopeck at gmail.com Fri Jul 17 20:27:15 2009 From: marianopeck at gmail.com (Mariano Martinez Peck) Date: Fri, 17 Jul 2009 17:27:15 -0100 Subject: little bug? In-Reply-To: References: <67628d690907171124o6fc39f94m5e651dbe6d7c9d32@mail.gmail.com> Message-ID: Firefox 3.5 in windows and 3.0 in Ubuntu. Now I am in Windows but I think I have the same problem in Linux. On Fri, Jul 17, 2009 at 5:26 PM, Mariano Martinez Peck < marianopeck at gmail.com> wrote: > > > On Fri, Jul 17, 2009 at 5:24 PM, Lukas Renggli wrote: > >> > is this a bug or the expected behaviour ? >> >> What browser are you using? >> > > Firefox 3.5 > > >> >> Lukas >> >> -- >> Lukas Renggli >> http://www.lukas-renggli.ch >> _______________________________________________ >> 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 Fri Jul 17 20:56:21 2009 From: renggli at gmail.com (Lukas Renggli) Date: Fri, 17 Jul 2009 20:56:21 +0200 Subject: little bug? In-Reply-To: References: <67628d690907171124o6fc39f94m5e651dbe6d7c9d32@mail.gmail.com> Message-ID: <67628d690907171156r3bff7356nad99bfb806fb208c@mail.gmail.com> Yeah, I can reproduce the problem in FireFox. It works in WebKit based browsers though. Try Pier-EditorEnh-lr.49, that probably fixes the problem: Name: Pier-EditorEnh-lr.49 Author: lr Time: 17 July 2009, 8:55:45 pm UUID: 70386783-ba9b-4b0f-a31c-2064a758951e Ancestors: Pier-EditorEnh-lr.48 - try to preserve scroll offset -- Lukas Renggli http://www.lukas-renggli.ch From marianopeck at gmail.com Fri Jul 17 21:11:41 2009 From: marianopeck at gmail.com (Mariano Martinez Peck) Date: Fri, 17 Jul 2009 18:11:41 -0100 Subject: little bug? In-Reply-To: <67628d690907171156r3bff7356nad99bfb806fb208c@mail.gmail.com> References: <67628d690907171124o6fc39f94m5e651dbe6d7c9d32@mail.gmail.com> <67628d690907171156r3bff7356nad99bfb806fb208c@mail.gmail.com> Message-ID: On Fri, Jul 17, 2009 at 5:56 PM, Lukas Renggli wrote: > Yeah, I can reproduce the problem in FireFox. It works in WebKit based > browsers though. Thanks for the fast answer Lukas. However, I didn't work :( In addition, I test in in IE and it's strange that the focus go to the bottom (at the oposite that what happens in FF hahahaha). This happens with .49 and .48 Let me now if I can test something else. mariano > > > Try Pier-EditorEnh-lr.49, that probably fixes the problem: > > Name: Pier-EditorEnh-lr.49 > Author: lr > Time: 17 July 2009, 8:55:45 pm > UUID: 70386783-ba9b-4b0f-a31c-2064a758951e > Ancestors: Pier-EditorEnh-lr.48 > > - try to preserve scroll offset > > -- > Lukas Renggli > http://www.lukas-renggli.ch > _______________________________________________ > 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 Fri Jul 17 21:16:06 2009 From: renggli at gmail.com (Lukas Renggli) Date: Fri, 17 Jul 2009 21:16:06 +0200 Subject: little bug? In-Reply-To: References: <67628d690907171124o6fc39f94m5e651dbe6d7c9d32@mail.gmail.com> <67628d690907171156r3bff7356nad99bfb806fb208c@mail.gmail.com> Message-ID: <67628d690907171216l5a595f92u6824398331d6756a@mail.gmail.com> > Thanks for the fast answer Lukas. However, I didn't work :( Did you clear the caches? Lukas -- Lukas Renggli http://www.lukas-renggli.ch From marianopeck at gmail.com Fri Jul 17 21:25:51 2009 From: marianopeck at gmail.com (Mariano Martinez Peck) Date: Fri, 17 Jul 2009 18:25:51 -0100 Subject: little bug? In-Reply-To: <67628d690907171216l5a595f92u6824398331d6756a@mail.gmail.com> References: <67628d690907171124o6fc39f94m5e651dbe6d7c9d32@mail.gmail.com> <67628d690907171156r3bff7356nad99bfb806fb208c@mail.gmail.com> <67628d690907171216l5a595f92u6824398331d6756a@mail.gmail.com> Message-ID: On Fri, Jul 17, 2009 at 6:16 PM, Lukas Renggli wrote: > > Thanks for the fast answer Lukas. However, I didn't work :( > > Did you clear the caches? > This was a good shot :) It worked perfect now in FF!!! In IE however I still have the problem described in the above mail. The scroll goes to the bottom. Thanks for the FF fix! > > Lukas > > -- > Lukas Renggli > http://www.lukas-renggli.ch > _______________________________________________ > 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 Fri Jul 17 22:18:43 2009 From: renggli at gmail.com (Lukas Renggli) Date: Fri, 17 Jul 2009 22:18:43 +0200 Subject: little bug? In-Reply-To: References: <67628d690907171124o6fc39f94m5e651dbe6d7c9d32@mail.gmail.com> <67628d690907171156r3bff7356nad99bfb806fb208c@mail.gmail.com> <67628d690907171216l5a595f92u6824398331d6756a@mail.gmail.com> Message-ID: <67628d690907171318t49033655jb799499f5eac7244@mail.gmail.com> >> > Thanks for the fast answer Lukas. However, I didn't work :( >> >> Did you clear the caches? > > This was a good shot :)?? It worked perfect now in FF!!!?? In IE however I > still have the problem described in the above mail. The scroll goes to the > bottom. Yeah, IE sucks. I created a bug: http://code.google.com/p/pier/issues/detail?id=101 Lukas -- Lukas Renggli http://www.lukas-renggli.ch From marianopeck at gmail.com Fri Jul 17 22:37:27 2009 From: marianopeck at gmail.com (Mariano Martinez Peck) Date: Fri, 17 Jul 2009 19:37:27 -0100 Subject: little bug? In-Reply-To: <67628d690907171318t49033655jb799499f5eac7244@mail.gmail.com> References: <67628d690907171124o6fc39f94m5e651dbe6d7c9d32@mail.gmail.com> <67628d690907171156r3bff7356nad99bfb806fb208c@mail.gmail.com> <67628d690907171216l5a595f92u6824398331d6756a@mail.gmail.com> <67628d690907171318t49033655jb799499f5eac7244@mail.gmail.com> Message-ID: On Fri, Jul 17, 2009 at 7:18 PM, Lukas Renggli wrote: > >> > Thanks for the fast answer Lukas. However, I didn't work :( > >> > >> Did you clear the caches? > > > > This was a good shot :) It worked perfect now in FF!!! In IE however > I > > still have the problem described in the above mail. The scroll goes to > the > > bottom. > > Yeah, IE sucks. Totally agree (I can extend IE to M$ hahaha). This is why I add endie6 js to my website :) Unfortunately this bug also happens in IE 7 :( > > > I created a bug: http://code.google.com/p/pier/issues/detail?id=101 > Thanks!!! Mariano > > Lukas > > -- > Lukas Renggli > http://www.lukas-renggli.ch > > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -------------- next part -------------- An HTML attachment was scrubbed... URL: From marianopeck at gmail.com Sat Jul 18 22:36:38 2009 From: marianopeck at gmail.com (Mariano Martinez Peck) Date: Sat, 18 Jul 2009 17:36:38 -0300 Subject: Problem with focus In-Reply-To: <67628d690907162312l385282fdpcdef1bdb8fdd63d3@mail.gmail.com> References: <67628d690907152304w1f4396bcmca751507c41b8821@mail.gmail.com> <67628d690907162312l385282fdpcdef1bdb8fdd63d3@mail.gmail.com> Message-ID: On Fri, Jul 17, 2009 at 3:12 AM, Lukas Renggli wrote: > >> Make sure that PRJavaScriptSupport is loaded before any other script. > > > > Lukas: how can I do this ? > > Unfortunately there is no easy way. You can either do it in the > inspector by exploring > > WADispatcher default > > and navigating to your application, or by re-registring the > application and adding the libraries in the right order using > #addLibrary:. > Ok, I inspect it and this is what I have: an OrderedCollection(WAStandardFiles PRBlueprintLibrary PRJavaScriptSupport DestinoMochilaLibrary SULibrary) Is this order correct? If not, how should it be? In addition, what about this be a SortedCollection instead of OrderedCollection? Thanks, Mariano > > Cheers, > Lukas > > -- > Lukas Renggli > http://www.lukas-renggli.ch > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -------------- next part -------------- An HTML attachment was scrubbed... URL: From marianopeck at gmail.com Sun Jul 19 00:10:18 2009 From: marianopeck at gmail.com (Mariano Martinez Peck) Date: Sat, 18 Jul 2009 19:10:18 -0300 Subject: Problems with external links Message-ID: Hi! External links stop working for me. I am using Pier 1.2. In components like "footer" for example they work perfect. But when writing in a Page, they doesn't work and they are interpreted as internal links and when I click Pier ask me to create a component with that name. Example: I write *www.ole.com.ar* in a Page, and it is interpreted as internal like but I understand it should be an external want. Any tip? thanks, Mariano -------------- next part -------------- An HTML attachment was scrubbed... URL: From renggli at gmail.com Sun Jul 19 01:49:31 2009 From: renggli at gmail.com (Lukas Renggli) Date: Sun, 19 Jul 2009 01:49:31 +0200 Subject: Problems with external links In-Reply-To: References: Message-ID: <67628d690907181649v5cbdfbf9g337b67eb6382e0dd@mail.gmail.com> > Example: I write *www.ole.com.ar* in a Page, and it is interpreted as internal like but I understand it should be an external want. That never worked, you always had to use a full URL for external links: *http://www.ole.com*. Check the help text about the syntax or use the editor toolbar. Cheers, Lukas > > Any tip? > > thanks, > > Mariano > -- Lukas Renggli http://www.lukas-renggli.ch From marianopeck at gmail.com Sun Jul 19 02:02:01 2009 From: marianopeck at gmail.com (Mariano Martinez Peck) Date: Sat, 18 Jul 2009 21:02:01 -0300 Subject: Problems with external links In-Reply-To: <67628d690907181649v5cbdfbf9g337b67eb6382e0dd@mail.gmail.com> References: <67628d690907181649v5cbdfbf9g337b67eb6382e0dd@mail.gmail.com> Message-ID: On Sat, Jul 18, 2009 at 8:49 PM, Lukas Renggli wrote: > > Example: I write *www.ole.com.ar* in a Page, and it is interpreted as > internal like but I understand it should be an external want. > > That never worked, you always had to use a full URL for external > links: *http://www.ole.com*. Check the help text about the syntax or I checked in the website but there is a simple link to * http://www.lukas-renggli.ch*. But I didn't understand that the http was necessary as it is not when using the browser. Perhaps adding a little text in the webpage that tells this is a good idea :) > > use the editor toolbar. Which is the editor button to create an external link? I didn't find it. Thanks for the help, Mariano > > > Cheers, > Lukas > > > > > > Any tip? > > > > thanks, > > > > Mariano > > > > -- > Lukas Renggli > http://www.lukas-renggli.ch > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -------------- next part -------------- An HTML attachment was scrubbed... URL: From marianopeck at gmail.com Mon Jul 20 01:59:24 2009 From: marianopeck at gmail.com (Mariano Martinez Peck) Date: Sun, 19 Jul 2009 20:59:24 -0300 Subject: Minor problem with Pier +value:toc+ In-Reply-To: References: <67628d690907152307o64e5ccdbp383e35a4b5088910@mail.gmail.com> Message-ID: Now I wonder if there is a way to send a parameter to this +value:toc+ so that to limit the automated index. For example, do something like this: +value:toc|limit=1+ and this only render a index with ! +value:toc|limit=2+ only renders titles with ! and !! and so on... would this be useful ? thanks! Mariano On Fri, Jul 17, 2009 at 9:35 AM, Mariano Martinez Peck < marianopeck at gmail.com> wrote: > > > On Thu, Jul 16, 2009 at 5:07 AM, Lukas Renggli wrote: > >> > I have this situation. I have a Pier page where I DON'T have big titles >> '!' >> > but perhaps '!!' or '!!!'. Suppose this example of a complete page: >> >> I would use CSS to make the '!' titles smaller and stick with '!' as >> primary title, '!!' as secondary title, etc. This also makes sure that >> you have semantically valid HTML. >> > > Mmm I think you are right. > > >> >> > Now...is this doable? any tip where I can look in? class? method? >> piece of >> > code? >> >> PRTocRenderer >> > > Thanks! > > >> >> Lukas >> >> -- >> Lukas Renggli >> http://www.lukas-renggli.ch >> >> _______________________________________________ >> Magritte, Pier and Related Tools ... >> https://www.iam.unibe.ch/mailman/listinfo/smallwiki >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From emaringolo at gmail.com Mon Jul 20 02:24:51 2009 From: emaringolo at gmail.com (Esteban A. Maringolo) Date: Sun, 19 Jul 2009 21:24:51 -0300 Subject: Flatten dictionary description Message-ID: <4eca49da0907191724n59dd5978ye19a0c3684b7d7f5@mail.gmail.com> Hi, I'm trying to flatten an accessor, but I can't find how. What I have is ClassA which has a dictionary with ClassB as its association values, and each ClassB has a value too. What I want to accomplish, is to flatten all this structure, so everytime I want to edit an instance of ClassA, I have direct access to ClassB's value. ClassA has a dictionary, but its access is encapsulated trough ClassA>>atXXX: and ClassA>>atXXX:put:, I could change it to standard #at:put: pair, in order to user MADictionaryAccesor or use a MAPlugabbleAccessor, but I'm doing something wrong, because I don't know how to flatten ClassA descriptions. Any pointer or example to look at? Thanks in advance, -- Esteban A. Maringolo From p3anoman at gmail.com Mon Jul 20 03:25:59 2009 From: p3anoman at gmail.com (John McKeon) Date: Sun, 19 Jul 2009 21:25:59 -0400 Subject: Flatten dictionary description In-Reply-To: <4eca49da0907191724n59dd5978ye19a0c3684b7d7f5@mail.gmail.com> References: <4eca49da0907191724n59dd5978ye19a0c3684b7d7f5@mail.gmail.com> Message-ID: <40f637ec0907191825g32400668kabc7786b1e6f9361@mail.gmail.com> Hello Esteban, On Sun, Jul 19, 2009 at 8:24 PM, Esteban A. Maringolo wrote: > Hi, > > I'm trying to flatten an accessor, but I can't find how. > > What I have is ClassA which has a dictionary with ClassB as its > association values, and each ClassB has a value too. > > What I want to accomplish, is to flatten all this structure, so > everytime I want to edit an instance of ClassA, I have direct access > to ClassB's value. > > ClassA has a dictionary, but its access is encapsulated trough > ClassA>>atXXX: and ClassA>>atXXX:put:, I could change it to standard > #at:put: pair, in order to user MADictionaryAccesor or use a > MAPlugabbleAccessor, but I'm doing something wrong, because I don't > know how to flatten ClassA descriptions. > > Any pointer or example to look at? MADescription>>propertyAccessor: is a good example of chaining accessors. It sounds like that is what you need to do. > Thanks in advance, If it helps then you are welcome in advance ;) John > > -- > Esteban A. Maringolo > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -- http://jmck.seasidehosting.st -------------- next part -------------- An HTML attachment was scrubbed... URL: From keith_hodges at yahoo.co.uk Mon Jul 20 08:33:07 2009 From: keith_hodges at yahoo.co.uk (Keith Hodges) Date: Mon, 20 Jul 2009 07:33:07 +0100 Subject: Flatten dictionary description In-Reply-To: <40f637ec0907191825g32400668kabc7786b1e6f9361@mail.gmail.com> References: <4eca49da0907191724n59dd5978ye19a0c3684b7d7f5@mail.gmail.com> <40f637ec0907191825g32400668kabc7786b1e6f9361@mail.gmail.com> Message-ID: <4A640FA3.9090406@yahoo.co.uk> In Magritte-RDB there is an MAFlatteningVisitor which traverses a nested structure and returns a flatted version using chained accessors. This in turn is used for mapping a single flat table returned from a database into a real object structure. Keith From alexandre at bergel.eu Mon Jul 20 17:07:41 2009 From: alexandre at bergel.eu (Alexandre Bergel) Date: Mon, 20 Jul 2009 11:07:41 -0400 Subject: Questions on Pier Message-ID: <9C41174B-21CA-483A-9D9A-9C2E78196970@bergel.eu> Dear List, I just downloaded the last version of Pier. I immediately bumped into a number of issues: - how to remove the developer bar ("new session, configure, ...")? I tried to click on configure and then set Deployment Mode to true, but the bar still remains - is there a way to change http://localhost:8080/seaside/pier into http://localhost:8080/ (i.e., removing 'seaside/pier'? - there is 'pier:' in the title. How to remove it? I tried Edit Design and edit on different environment and pages, but I could not find it. Maybe it should be removed by default. Cheers, Alexandre NB: The description given in the 'about' tab is useful. By the way, is _Environment acts as templates, why not having _Template instead? -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. From marianopeck at gmail.com Mon Jul 20 17:14:20 2009 From: marianopeck at gmail.com (Mariano Martinez Peck) Date: Mon, 20 Jul 2009 14:14:20 -0100 Subject: Configure Seaside + Pier + lighttpd In-Reply-To: <1247702222.5404.25.camel@laptop.localdomain> References: <1247702222.5404.25.camel@laptop.localdomain> Message-ID: 2009/7/15 Miguel Enrique Cob? Martinez > El mi?, 15-07-2009 a las 01:32 -0300, Mariano Martinez Peck escribi?: > > Hi folks! I have a website which is in development with pier. As it > > is in development there was no lighttpd or apache and I wanted them to > > wait :) But...In another thread of this mail, thanks John, I just > > realised that I want to configure my lighttpd with Pier now. The > > problem is that I know very little about lighttpd neither apache. I > > want to use lighttpd. But I don't know how to configure. > > > > I saw Miguel (Miguel pens? mandarte un mail privado pero aprovecho que > > tal vez le sirve a otro) post here: > > > http://miguel.leugim.com.mx/index.php/2008/09/27/gemstones-and-fastcgi-with-lighttpd/ > > and I wonder which is the difference between what configuration and > > the one I need for my pier site. I remove Gemstone and FastCGI from > > that post but I add Pier hahah. > > > > I also saw http://www.piercms.com/doc/deploy but I am using > > lighttpd :( > > > > I have lighttpd installed and listening. I am under Ubuntu 8.10. > > > > I want to statically serve: > > > > - My pictures -> I use the gallery plugins. I have those photos > > in /var/www/pictures > > - All css files. I have my own library for my website which has a > > stylesheet. But, what about the others css? should I serve ALL of > > them ? > > Would love to have them in /var/www/styles/ > > - All javascript files. The same as above. All js of all libraries ? > > Would love to have them in /var/www/javascripts/ > > - What about the files I upload in Pier and are stored in ~/files > > Would love to have them in /var/www/pierFiles > > > > Thanks a lot for the help! > > > Mariano > Hola Mariano, > > this is what I have in a site in production right now (it is not > complete): > > $HTTP["host"] == "mysite.com" { > $HTTP["scheme"] == "http" { > url.redirect = ( "^/(.*)" => "https://mysite.com/$1" ) > } > } > $SERVER["socket"] == "123.123.123.123:443" { > ssl.engine = "enable" > ssl.pemfile = "/etc/lighttpd/ssl/mysite.com/mysite.com.pem" > ssl.ca-file = "/etc/lighttpd/ssl/mysite.com/gd_bundle.crt" > > server.name = "mysite.com" > server.document-root = "/srv/www/mysite.com/" > > # We'll use the resources directory to host static files: images, > styles, etc > > # Rewrite the URL > url.rewrite-once = ( > "^/resources/(.*)" => "$0", # Unaltered > "^/about/(.*)" => "$0", # Unaltered > "^/(.*)" => "/seaside/myApp$1" # Rewritten > ) > > # Anything with seaside/myApp pass to Seaside on port 8080 > proxy.balance = "hash" > proxy.server = ( > "/seaside/myApp" => ( > ( "host" => "127.0.0.1", "port" => 8080) > ) > ) > } > $HTTP["host"] == "blog.mysite.com" { > server.document-root = "/srv/www/blog.mysite.com/" > alias.url = ( "/wp-uploads/" => > "/srv/www/wp-uploads/blog.mysite.com/" ) > } > > For this I have everything on https and several folders are served > direct from disk on the document root from the lighttpd. > Also, you can have a lot more sites in the same server without problem, > just like the wordpress blog section. > > For your case you need something like: > > server.document-root = ?/var/www/? > > $HTTP["host"] == "yoursite.com" { > > # We'll use the resources directory to host static files: images, > styles, etc > > # Rewrite the URL > url.rewrite-once = ( > "^/pictures/(.*)" => "$0", # Unaltered > "^/styles/(.*)" => "$0", # Unaltered > "^/javascripts/(.*)" => "$0", # Unaltered > "^/styles/(.*)" => "$0", # Unaltered > "^/files/(.*)" => "$0", # Unaltered > "^/(.*)" => "/seaside/myApp$1" # Rewritten > ) Miguel: I am trying to see how to make it work but then I read in the documentation of *mod_rewrite *this: "*NOTE: url rewriting does not work within a $HTTP["url"] conditional.* " In this case, the rewrite is within that conditional. I am right? thanks! Mariano > > > # Anything with seaside/mySite pass to Seaside on port 8080 > proxy.balance = "hash" > proxy.server = ( > "/seaside/myApp" => ( > ( "host" => "127.0.0.1", "port" => 8080) > ) > ) > } > > > For the files/ folder I don't know. According to the pier instructions, > the squeak files are stored on /srv/site/ (or /site/srv/, the > instructions have a typo, but imagine that it is /srv/site/) > > So you have: > > /srv/site/ > > and > > /srv/site/files > > The apache config proxy everything that doesn't exist on seaside/files/ > to seaside. That is the reason for the document root for apache > in /srv/site/files/ > > But in the lighttpd example that I show the logic is, if it is a > specific folder, serve it directly and if it has seaside on it proxy to > seaside. > > Anyway, give a couple hours and I'll send the equivalent exact and > complete config file for lighttpd and pier. > > Miguel Cob? > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From damien.cassou at gmail.com Mon Jul 20 17:39:41 2009 From: damien.cassou at gmail.com (Damien Cassou) Date: Mon, 20 Jul 2009 16:39:41 +0100 Subject: Questions on Pier In-Reply-To: <9C41174B-21CA-483A-9D9A-9C2E78196970@bergel.eu> References: <9C41174B-21CA-483A-9D9A-9C2E78196970@bergel.eu> Message-ID: <6ac749c10907200839t399fdaf3h8bff68d92b9b99fe@mail.gmail.com> On Mon, Jul 20, 2009 at 4:07 PM, Alexandre Bergel wrote: > ? ? ? ?- there is 'pier:' in the title. How to remove it? I tried Edit > Design and edit on different environment and pages, but I could not find it. > Maybe it should be removed by default. http://www.piercms.com/doc/faq#197706197 -- Damien Cassou http://damiencassou.seasidehosting.st "Lambdas are relegated to relative obscurity until Java makes them popular by not having them." James Iry From marianopeck at gmail.com Mon Jul 20 17:44:14 2009 From: marianopeck at gmail.com (Mariano Martinez Peck) Date: Mon, 20 Jul 2009 14:44:14 -0100 Subject: Questions on Pier In-Reply-To: <9C41174B-21CA-483A-9D9A-9C2E78196970@bergel.eu> References: <9C41174B-21CA-483A-9D9A-9C2E78196970@bergel.eu> Message-ID: On Mon, Jul 20, 2009 at 2:07 PM, Alexandre Bergel wrote: > Dear List, > > I just downloaded the last version of Pier. I immediately bumped into a > number of issues: > - how to remove the developer bar ("new session, configure, ...")? I > tried to click on configure and then set Deployment Mode to true, but the > bar still remains mmmm I tried and it's true: halos are not removed. Perhaps a bug? > > - is there a way to change http://localhost:8080/seaside/pier into > http://localhost:8080/ (i.e., removing 'seaside/pier'? > - there is 'pier:' in the title. How to remove it? I tried Edit > Design and edit on different environment and pages, but I could not find it. > Maybe it should be removed by default. > > Cheers, > Alexandre > > NB: The description given in the 'about' tab is useful. By the way, is > _Environment acts as templates, why not having _Template instead? > -- > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: > Alexandre Bergel http://www.bergel.eu > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. > > > > > > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -------------- next part -------------- An HTML attachment was scrubbed... URL: From p3anoman at gmail.com Mon Jul 20 17:46:04 2009 From: p3anoman at gmail.com (John McKeon) Date: Mon, 20 Jul 2009 11:46:04 -0400 Subject: Questions on Pier In-Reply-To: <9C41174B-21CA-483A-9D9A-9C2E78196970@bergel.eu> References: <9C41174B-21CA-483A-9D9A-9C2E78196970@bergel.eu> Message-ID: <40f637ec0907200846p4e66fd12j899c991d13843bbb@mail.gmail.com> On Mon, Jul 20, 2009 at 11:07 AM, Alexandre Bergel wrote: > Dear List, > > I just downloaded the last version of Pier. I immediately bumped into a > number of issues: > - how to remove the developer bar ("new session, configure, ...")? I > tried to click on configure and then set Deployment Mode to true, but the > bar still remains remove the WAStandardFilesLibrary via the seaside config page > > - is there a way to change http://localhost:8080/seaside/pier into > http://localhost:8080/ (i.e., removing 'seaside/pier'? Set the default entry point on the main seaside page. > > - there is 'pier:' in the title. How to remove it? I tried Edit > Design and edit on different environment and pages, but I could not find it. > Maybe it should be removed by default. > > Cheers, > Alexandre > > NB: The description given in the 'about' tab is useful. By the way, is > _Environment acts as templates, why not having _Template instead? > -- > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: > Alexandre Bergel http://www.bergel.eu > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. > > > > > > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -- http://jmck.seasidehosting.st -------------- next part -------------- An HTML attachment was scrubbed... URL: From renggli at gmail.com Mon Jul 20 18:19:50 2009 From: renggli at gmail.com (Lukas Renggli) Date: Mon, 20 Jul 2009 18:19:50 +0200 Subject: Questions on Pier In-Reply-To: <9C41174B-21CA-483A-9D9A-9C2E78196970@bergel.eu> References: <9C41174B-21CA-483A-9D9A-9C2E78196970@bergel.eu> Message-ID: <67628d690907200919yd6081ddq63eb2ef0eadf0a19@mail.gmail.com> > ? ? ? ?- how to remove the developer bar ("new session, configure, ...")? I > tried to click on configure and then set Deployment Mode to true, but the > bar still remains Click on "New Session", it only disappears in new sessions. Lukas -- Lukas Renggli http://www.lukas-renggli.ch From ducasse at iam.unibe.ch Mon Jul 20 18:51:02 2009 From: ducasse at iam.unibe.ch (=?ISO-8859-1?Q?st=E9phane_ducasse?=) Date: Mon, 20 Jul 2009 18:51:02 +0200 Subject: Questions on Pier In-Reply-To: <9C41174B-21CA-483A-9D9A-9C2E78196970@bergel.eu> References: <9C41174B-21CA-483A-9D9A-9C2E78196970@bergel.eu> Message-ID: <84C88391-F839-48FB-B481-1BBA7150BC75@iam.unibe.ch> dont forget to update the faq :) On Jul 20, 2009, at 5:07 PM, Alexandre Bergel wrote: > Dear List, > > I just downloaded the last version of Pier. I immediately bumped > into a number of issues: > - how to remove the developer bar ("new session, configure, ...")? > I tried to click on configure and then set Deployment Mode to true, > but the bar still remains > - is there a way to change http://localhost:8080/seaside/pier into http://localhost:8080/ > (i.e., removing 'seaside/pier'? > - there is 'pier:' in the title. How to remove it? I tried Edit > Design and edit on different environment and pages, but I could not > find it. Maybe it should be removed by default. > > Cheers, > Alexandre > > NB: The description given in the 'about' tab is useful. By the way, > is _Environment acts as templates, why not having _Template instead? > -- > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: > Alexandre Bergel http://www.bergel.eu > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. > > > > > > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki From miguel.coba at gmail.com Mon Jul 20 20:34:41 2009 From: miguel.coba at gmail.com (Miguel Enrique =?ISO-8859-1?Q?Cob=E1?= Martinez) Date: Mon, 20 Jul 2009 13:34:41 -0500 Subject: Configure Seaside + Pier + lighttpd In-Reply-To: References: <1247702222.5404.25.camel@laptop.localdomain> Message-ID: <1248114881.4650.0.camel@laptop.localdomain> El lun, 20-07-2009 a las 14:14 -0100, Mariano Martinez Peck escribi?: > > > 2009/7/15 Miguel Enrique Cob? Martinez > El mi?, 15-07-2009 a las 01:32 -0300, Mariano Martinez Peck > escribi?: > > > Hi folks! I have a website which is in development with > pier. As it > > is in development there was no lighttpd or apache and I > wanted them to > > wait :) But...In another thread of this mail, thanks John, > I just > > realised that I want to configure my lighttpd with Pier now. > The > > problem is that I know very little about lighttpd neither > apache. I > > want to use lighttpd. But I don't know how to configure. > > > > I saw Miguel (Miguel pens? mandarte un mail privado pero > aprovecho que > > tal vez le sirve a otro) post here: > > > http://miguel.leugim.com.mx/index.php/2008/09/27/gemstones-and-fastcgi-with-lighttpd/ > > and I wonder which is the difference between what > configuration and > > the one I need for my pier site. I remove Gemstone and > FastCGI from > > that post but I add Pier hahah. > > > > I also saw http://www.piercms.com/doc/deploy but I am using > > lighttpd :( > > > > I have lighttpd installed and listening. I am under Ubuntu > 8.10. > > > > I want to statically serve: > > > > - My pictures -> I use the gallery plugins. I have those > photos > > in /var/www/pictures > > - All css files. I have my own library for my website which > has a > > stylesheet. But, what about the others css? should I serve > ALL of > > them ? > > Would love to have them in /var/www/styles/ > > - All javascript files. The same as above. All js of all > libraries ? > > Would love to have them in /var/www/javascripts/ > > - What about the files I upload in Pier and are stored in > ~/files > > Would love to have them in /var/www/pierFiles > > > > Thanks a lot for the help! > > > Mariano > > Hola Mariano, > > this is what I have in a site in production right now (it is > not > complete): > > $HTTP["host"] == "mysite.com" { > $HTTP["scheme"] == "http" { > url.redirect = ( "^/(.*)" => "https://mysite.com/$1" ) > } > } > $SERVER["socket"] == "123.123.123.123:443" { > ssl.engine = "enable" > ssl.pemfile = "/etc/lighttpd/ssl/mysite.com/mysite.com.pem" > ssl.ca-file = "/etc/lighttpd/ssl/mysite.com/gd_bundle.crt" > > server.name = "mysite.com" > server.document-root = "/srv/www/mysite.com/" > > # We'll use the resources directory to host static files: > images, > styles, etc > > # Rewrite the URL > url.rewrite-once = ( > "^/resources/(.*)" => "$0", # Unaltered > "^/about/(.*)" => "$0", # Unaltered > "^/(.*)" => "/seaside/myApp$1" # Rewritten > ) > > # Anything with seaside/myApp pass to Seaside on port 8080 > proxy.balance = "hash" > proxy.server = ( > "/seaside/myApp" => ( > ( "host" => "127.0.0.1", "port" => 8080) > ) > ) > } > $HTTP["host"] == "blog.mysite.com" { > server.document-root = "/srv/www/blog.mysite.com/" > alias.url = ( "/wp-uploads/" => > "/srv/www/wp-uploads/blog.mysite.com/" ) > } > > For this I have everything on https and several folders are > served > direct from disk on the document root from the lighttpd. > Also, you can have a lot more sites in the same server without > problem, > just like the wordpress blog section. > > For your case you need something like: > > server.document-root = ?/var/www/? > > $HTTP["host"] == "yoursite.com" { > > # We'll use the resources directory to host static files: > images, > styles, etc > > # Rewrite the URL > url.rewrite-once = ( > "^/pictures/(.*)" => "$0", # Unaltered > "^/styles/(.*)" => "$0", # Unaltered > "^/javascripts/(.*)" => "$0", # Unaltered > "^/styles/(.*)" => "$0", # Unaltered > "^/files/(.*)" => "$0", # Unaltered > "^/(.*)" => "/seaside/myApp$1" # Rewritten > ) > > > Miguel: I am trying to see how to make it work but then I read in the > documentation of mod_rewrite this: "NOTE: url rewriting does not work > within a $HTTP["url"] conditional. " > It is within a conditional but not a "url" conditional, with a "socket", "host" and others, the rewrite works without problem. Miguel Cob? > In this case, the rewrite is within that conditional. I am right? > > thanks! > > Mariano > > > > # Anything with seaside/mySite pass to Seaside on port 8080 > proxy.balance = "hash" > proxy.server = ( > "/seaside/myApp" => ( > ( "host" => "127.0.0.1", "port" => 8080) > ) > ) > } > > > For the files/ folder I don't know. According to the pier > instructions, > the squeak files are stored on /srv/site/ (or /site/srv/, the > instructions have a typo, but imagine that it is /srv/site/) > > So you have: > > /srv/site/ > > and > > /srv/site/files > > The apache config proxy everything that doesn't exist on > seaside/files/ > to seaside. That is the reason for the document root for > apache > in /srv/site/files/ > > But in the lighttpd example that I show the logic is, if it is > a > specific folder, serve it directly and if it has seaside on it > proxy to > seaside. > > Anyway, give a couple hours and I'll send the equivalent exact > and > complete config file for lighttpd and pier. > > Miguel Cob? > > > > From maarten.mostert at wanadoo.fr Mon Jul 20 23:26:04 2009 From: maarten.mostert at wanadoo.fr (Maarten Mostert) Date: Mon, 20 Jul 2009 23:26:04 +0200 Subject: CCS in Deployement In-Reply-To: <84C88391-F839-48FB-B481-1BBA7150BC75@iam.unibe.ch> References: <9C41174B-21CA-483A-9D9A-9C2E78196970@bergel.eu> <84C88391-F839-48FB-B481-1BBA7150BC75@iam.unibe.ch> Message-ID: <4A64E0EC.4010105@wanadoo.fr> Hi, I got quite ? lot of things running, so I am sort of ready for deployement. I got Apache 2.2 up, and all seems to work fine except for the CCS files who don't come true. Anyone idears ? @+Maarten, From damien.cassou at gmail.com Tue Jul 21 10:35:57 2009 From: damien.cassou at gmail.com (Damien Cassou) Date: Tue, 21 Jul 2009 09:35:57 +0100 Subject: CCS in Deployement In-Reply-To: <4A64E0EC.4010105@wanadoo.fr> References: <9C41174B-21CA-483A-9D9A-9C2E78196970@bergel.eu> <84C88391-F839-48FB-B481-1BBA7150BC75@iam.unibe.ch> <4A64E0EC.4010105@wanadoo.fr> Message-ID: <6ac749c10907210135o196cf0b3ja7235034c769e373@mail.gmail.com> On Mon, Jul 20, 2009 at 10:26 PM, Maarten Mostert wrote: > I got Apache 2.2 up, and all seems to work fine except for the CCS files who > don't come true. What is CCS? -- Damien Cassou http://damiencassou.seasidehosting.st "Lambdas are relegated to relative obscurity until Java makes them popular by not having them." James Iry From maarten.mostert at wanadoo.fr Tue Jul 21 11:26:00 2009 From: maarten.mostert at wanadoo.fr (Maarten MOSTERT) Date: Tue, 21 Jul 2009 11:26:00 +0200 (CEST) Subject: CCS in Deployement In-Reply-To: <6ac749c10907210135o196cf0b3ja7235034c769e373@mail.gmail.com> References: <9C41174B-21CA-483A-9D9A-9C2E78196970@bergel.eu> <84C88391-F839-48FB-B481-1BBA7150BC75@iam.unibe.ch> <4A64E0EC.4010105@wanadoo.fr> <6ac749c10907210135o196cf0b3ja7235034c769e373@mail.gmail.com> Message-ID: <33245897.54337.1248168360048.JavaMail.www@wwinf2605> By CCS I meant all the style sheets. For the moment I only see non formatted text. Regards, @+Maarten, > Message du 21/07/09 10:36 > De : "Damien Cassou" > A : maarten.mostert at wanadoo.fr, "Magritte, Pier and Related Tools ..." > Copie ? : > Objet : Re: CCS in Deployement > > > On Mon, Jul 20, 2009 at 10:26 PM, Maarten > Mostert wrote: > > I got Apache 2.2 up, and all seems to work fine except for the CCS files who > > don't come true. > > What is CCS? > > -- > Damien Cassou > http://damiencassou.seasidehosting.st > > "Lambdas are relegated to relative obscurity until Java makes them > popular by not having them." James Iry > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From damien.cassou at gmail.com Tue Jul 21 11:30:04 2009 From: damien.cassou at gmail.com (Damien Cassou) Date: Tue, 21 Jul 2009 10:30:04 +0100 Subject: CCS in Deployement In-Reply-To: <33245897.54337.1248168360048.JavaMail.www@wwinf2605> References: <9C41174B-21CA-483A-9D9A-9C2E78196970@bergel.eu> <84C88391-F839-48FB-B481-1BBA7150BC75@iam.unibe.ch> <4A64E0EC.4010105@wanadoo.fr> <6ac749c10907210135o196cf0b3ja7235034c769e373@mail.gmail.com> <33245897.54337.1248168360048.JavaMail.www@wwinf2605> Message-ID: <6ac749c10907210230l7050c236x3330c5f8d21f02c6@mail.gmail.com> On Tue, Jul 21, 2009 at 10:26 AM, Maarten MOSTERT wrote: > By CCS I meant all the style sheets. CSS then I guess :-) -- Damien Cassou http://damiencassou.seasidehosting.st "Lambdas are relegated to relative obscurity until Java makes them popular by not having them." James Iry From alexandre at bergel.eu Tue Jul 21 20:21:20 2009 From: alexandre at bergel.eu (Alexandre Bergel) Date: Tue, 21 Jul 2009 14:21:20 -0400 Subject: Questions on Pier In-Reply-To: <40f637ec0907200846p4e66fd12j899c991d13843bbb@mail.gmail.com> References: <9C41174B-21CA-483A-9D9A-9C2E78196970@bergel.eu> <40f637ec0907200846p4e66fd12j899c991d13843bbb@mail.gmail.com> Message-ID: <2800745A-E4D3-4B9A-822F-5DC887DB3856@bergel.eu> > - is there a way to change http://localhost:8080/seaside/pier > into http://localhost:8080/ (i.e., removing 'seaside/pier'? > > Set the default entry point on the main seaside page. No idea how to do this. I removed the Seaside tool bar already, is it already too late? Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. From alexandre at bergel.eu Tue Jul 21 20:20:44 2009 From: alexandre at bergel.eu (Alexandre Bergel) Date: Tue, 21 Jul 2009 14:20:44 -0400 Subject: Questions on Pier In-Reply-To: <84C88391-F839-48FB-B481-1BBA7150BC75@iam.unibe.ch> References: <9C41174B-21CA-483A-9D9A-9C2E78196970@bergel.eu> <84C88391-F839-48FB-B481-1BBA7150BC75@iam.unibe.ch> Message-ID: <152FE331-28CA-48DC-8F30-BCF6A786C356@bergel.eu> > dont forget to update the faq :) How can I do this ? Alexandre > > On Jul 20, 2009, at 5:07 PM, Alexandre Bergel wrote: > >> Dear List, >> >> I just downloaded the last version of Pier. I immediately bumped >> into a number of issues: >> - how to remove the developer bar ("new session, configure, ...")? >> I tried to click on configure and then set Deployment Mode to true, >> but the bar still remains >> - is there a way to change http://localhost:8080/seaside/pier into http://localhost:8080/ >> (i.e., removing 'seaside/pier'? >> - there is 'pier:' in the title. How to remove it? I tried Edit >> Design and edit on different environment and pages, but I could not >> find it. Maybe it should be removed by default. >> >> Cheers, >> Alexandre >> >> NB: The description given in the 'about' tab is useful. By the way, >> is _Environment acts as templates, why not having _Template instead? >> -- >> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: >> Alexandre Bergel http://www.bergel.eu >> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. >> >> >> >> >> >> _______________________________________________ >> 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 > -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. From miguel.coba at gmail.com Tue Jul 21 20:26:06 2009 From: miguel.coba at gmail.com (Miguel Enrique =?ISO-8859-1?Q?Cob=E1?= Martinez) Date: Tue, 21 Jul 2009 13:26:06 -0500 Subject: Questions on Pier In-Reply-To: <2800745A-E4D3-4B9A-822F-5DC887DB3856@bergel.eu> References: <9C41174B-21CA-483A-9D9A-9C2E78196970@bergel.eu> <40f637ec0907200846p4e66fd12j899c991d13843bbb@mail.gmail.com> <2800745A-E4D3-4B9A-822F-5DC887DB3856@bergel.eu> Message-ID: <1248200766.4412.23.camel@laptop.localdomain> El mar, 21-07-2009 a las 14:21 -0400, Alexandre Bergel escribi?: > > - is there a way to change http://localhost:8080/seaside/pier > > into http://localhost:8080/ (i.e., removing 'seaside/pier'? > > > > Set the default entry point on the main seaside page. > > > No idea how to do this. I removed the Seaside tool bar already, is it > already too late? > > Alexandre You can use: "Para cambiar el prefijo /seaside/" WADispatcher default setName: 'seaside'. "El nombre de la aplicacion que respondera por default" WADispatcher default defaultName: ''. But I think that is better to let the webserver to handle the proxy to port 8080 and path seaside (first configuration). The second configuration it is ok if you only have an app in your image. Miguel Cob? From p3anoman at gmail.com Tue Jul 21 20:30:19 2009 From: p3anoman at gmail.com (John McKeon) Date: Tue, 21 Jul 2009 14:30:19 -0400 Subject: Questions on Pier In-Reply-To: <2800745A-E4D3-4B9A-822F-5DC887DB3856@bergel.eu> References: <9C41174B-21CA-483A-9D9A-9C2E78196970@bergel.eu> <40f637ec0907200846p4e66fd12j899c991d13843bbb@mail.gmail.com> <2800745A-E4D3-4B9A-822F-5DC887DB3856@bergel.eu> Message-ID: <40f637ec0907211130l359111a0m7acfd655edef9213@mail.gmail.com> On Tue, Jul 21, 2009 at 2:21 PM, Alexandre Bergel wrote: > - is there a way to change http://localhost:8080/seaside/pier into >> http://localhost:8080/ (i.e., removing 'seaside/pier'? >> >> Set the default entry point on the main seaside page. >> > > > No idea how to do this. My bad. This is available on the config page /seaside/config > I removed the Seaside tool bar already, is it already too late? No John > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -- http://jmck.seasidehosting.st -------------- next part -------------- An HTML attachment was scrubbed... URL: From alexandre at bergel.eu Tue Jul 21 21:15:55 2009 From: alexandre at bergel.eu (Alexandre Bergel) Date: Tue, 21 Jul 2009 15:15:55 -0400 Subject: Questions on Pier In-Reply-To: <40f637ec0907211130l359111a0m7acfd655edef9213@mail.gmail.com> References: <9C41174B-21CA-483A-9D9A-9C2E78196970@bergel.eu> <40f637ec0907200846p4e66fd12j899c991d13843bbb@mail.gmail.com> <2800745A-E4D3-4B9A-822F-5DC887DB3856@bergel.eu> <40f637ec0907211130l359111a0m7acfd655edef9213@mail.gmail.com> Message-ID: <7F8EF61F-6458-4657-BBF5-91D95FD136DC@bergel.eu> > - is there a way to change http://localhost:8080/seaside/pier > into http://localhost:8080/ (i.e., removing 'seaside/pier'? > > Set the default entry point on the main seaside page. >> No idea how to do this. > > My bad. This is available on the config page /seaside/config I do not see where and how to do this. I go to http://localhost:8080/seaside/config then I click on configure 'pier'. In the server part, there are three field input: 1 - Resource Base Url 2 - Server Hostname 3 - Server Path I am struggling to make the website accessible from http://localhost:8080 simply (in order to have it on seasidehosting.st) Is this possible? Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. From p3anoman at gmail.com Tue Jul 21 22:02:55 2009 From: p3anoman at gmail.com (John McKeon) Date: Tue, 21 Jul 2009 16:02:55 -0400 Subject: Questions on Pier In-Reply-To: <7F8EF61F-6458-4657-BBF5-91D95FD136DC@bergel.eu> References: <9C41174B-21CA-483A-9D9A-9C2E78196970@bergel.eu> <40f637ec0907200846p4e66fd12j899c991d13843bbb@mail.gmail.com> <2800745A-E4D3-4B9A-822F-5DC887DB3856@bergel.eu> <40f637ec0907211130l359111a0m7acfd655edef9213@mail.gmail.com> <7F8EF61F-6458-4657-BBF5-91D95FD136DC@bergel.eu> Message-ID: <40f637ec0907211302n2ab23950lca9cf61c56ba124a@mail.gmail.com> On Tue, Jul 21, 2009 at 3:15 PM, Alexandre Bergel wrote: > - is there a way to change http://localhost:8080/seaside/pier into >> http://localhost:8080/ (i.e., removing 'seaside/pier'? >> >> Set the default entry point on the main seaside page. >> >>> No idea how to do this. >>> >> >> My bad. This is available on the config page /seaside/config >> > > I do not see where and how to do this. > I go to http://localhost:8080/seaside/config > then I click on configure 'pier'. No, on the main config page (NOT pier's config page) below the list of available entry points is the settings section. Use the drop down box labelled "Default Entry Point" to select the default entry point :) > > In the server part, there are three field input: > 1 - Resource Base Url > 2 - Server Hostname > 3 - Server Path > > I am struggling to make the website accessible from http://localhost:8080 simply > (in order to have it on seasidehosting.st) > Is this possible? Absolutely. See the FAQ I dont want to be the bearer of bad news but IF you are using a Pharo image it will not run on seasidehosting.st John > > > Alexandre > -- > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: > Alexandre Bergel http://www.bergel.eu" > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. > > > > > > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -- http://jmck.seasidehosting.st -------------- next part -------------- An HTML attachment was scrubbed... URL: From alexandre at bergel.eu Tue Jul 21 22:32:21 2009 From: alexandre at bergel.eu (Alexandre Bergel) Date: Tue, 21 Jul 2009 16:32:21 -0400 Subject: http://pl2009.seasidehosting.st/ Message-ID: <4F9FA05F-7E00-4911-8D55-1FC39F4B1D61@bergel.eu> Dear List, I just uploaded my pier.{image,changes} into the pl2009 account on seasidehosting, but I get an error 503, "Service Temporarily Unavailable". I tried to stop and restart the image, but the error persists. Any idea what went wrong? Cheers, Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. From marianopeck at gmail.com Tue Jul 21 22:38:48 2009 From: marianopeck at gmail.com (Mariano Martinez Peck) Date: Tue, 21 Jul 2009 19:38:48 -0100 Subject: http://pl2009.seasidehosting.st/ In-Reply-To: <4F9FA05F-7E00-4911-8D55-1FC39F4B1D61@bergel.eu> References: <4F9FA05F-7E00-4911-8D55-1FC39F4B1D61@bergel.eu> Message-ID: On Tue, Jul 21, 2009 at 7:32 PM, Alexandre Bergel wrote: > Dear List, > > I just uploaded my pier.{image,changes} into the pl2009 account on > seasidehosting, but I get an error 503, "Service Temporarily Unavailable". I > tried to stop and restart the image, but the error persists. > Any idea what went wrong? Yes. As John told you, you cannot use Pharo. Are you using it? If so, I would suggest that you take a Squeak 3.9.1 image and load Pier from Package Universes (or SqueakMap). Best, Mariano > > > Cheers, > Alexandre > -- > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: > Alexandre Bergel http://www.bergel.eu > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. > > > > > > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -------------- next part -------------- An HTML attachment was scrubbed... URL: From marianopeck at gmail.com Wed Jul 22 01:31:11 2009 From: marianopeck at gmail.com (Mariano Martinez Peck) Date: Tue, 21 Jul 2009 20:31:11 -0300 Subject: Pier - Advanced Search In-Reply-To: References: <65F330CB-65CD-4E0E-B100-35CA910DC67D@mac.com> Message-ID: John: I was just seeing http://smallwiki2.seasidehosting.st/seaside/pier/Changes%20for%20Pier/Advanced%20Search and I wonder if you could possibly send me two things: 1) the css you use for the lightbox 2) how you declare the advanced search in the header. I imagine is something like this ++/advancedSearch++ Do I need to have Pier LightBox addon to do exactly what you have there? and I guess I must add SULibrary to my app. anything more? Thanks a lot, Mariano On Wed, Jul 15, 2009 at 10:50 AM, Mariano Martinez Peck < marianopeck at gmail.com> wrote: > > > On Wed, Jul 15, 2009 at 12:46 PM, John Borden wrote: > >> That's exactly what I want - when the wiki has several thousand pages, >> it takes several minutes to search from the root. As long as the search is >> embedded in the environment, it works great. >> > > Ok. Suppose I want to search from root. How can I embed or create this > component so that self context structure answers me the root? I create the > component being in http://localhost:8080/seaside/pier. What more root can > be than that ? > > thanks > > Mariano > > > >> Thanks, >> John >> >> On Jul 15, 2009, at 8:16 AM, Mariano Martinez Peck wrote: >> >> >> On Wed, Jul 15, 2009 at 1:48 AM, John Borden wrote: >> >>> Hi Mariano, >>> Today, I tried to reproduce the problem with Pier 1.2, and it returned >>> results without error. The advanced search is a child of PRSearchWidget, >>> the idea was to have all of the searches work from the current structure, >>> not from root. Can you send some detail on how the search is embedded or >>> anything? >>> >> >> Yes. I did this steps: >> >> 1) downloaded Pier 1.2 >> 2) Go to http://localhost:8080/seaside/pier/ >> 3) add command and create a "Pier search" component >> 4) Go to component search, and search for "new" and you will get two >> results. I don't embed it anywhere. >> 5) >> >> Now. See PRSearchWidget>>findItems >> ^ (self context root fullTextSearch subString: self searchText) >> contents >> >> And change it to (as it is in your advanced search): >> >> findItems >> ^ (self context structure fullTextSearch subString: self searchText) >> contents >> >> 6) Try search again with "new" and you won't find anything. >> >> So, is this expected? It make more sense to be to search from root so that >> to search in all the site. >> >> Best, >> >> Mariano >> >> >>> Personally, I think the advanced search looks sharp combined with a >>> lightbox - see >>> >>> http://smallwiki2.seasidehosting.st/seaside/pier/Changes%20for%20Pier/Advanced%20Search >>> >>> Thanks, >>> John >>> >>> On Jul 13, 2009, at 11:17 PM, Mariano Martinez Peck wrote: >>> >>> John Borden: I found a problem with this advanced search addon. Take a >>> clean Pier image. (you can use 1.2 if you want). Add a simple search widget >>> and test it (with results). It will work. Then download package >>> Pier-SW2-Sw1Features and try to search again. You will see that it doesn't >>> work anymore :( >>> >>> I debug it a bit and I found a problem because the package >>> Pier-SW2-Sw1Features changes: >>> >>> PRSearchWidget>>findItems >>> "Changed code to replace 'structure' in the below, it was originally >>> root." >>> >>> ^ (self context root fullTextSearch subString: self searchText) >>> contents >>> >>> >>> to: >>> >>> PRSearchWidget>>findItems >>> "Changed code to replace 'structure' in the below, it was originally >>> root." >>> >>> ^ (self context structure fullTextSearch subString: self searchText) >>> contents >>> >>> >>> >>> As you can see it change from self context root to self context >>> structure. If i change my code by hand and put again root, simple search >>> starts to work again. >>> >>> Is this correct? should I commit this fix ? how this affect to the >>> advanced search ? >>> >>> Thanks! >>> >>> Mariano >>> >>> >>> >>> On Wed, Apr 15, 2009 at 11:48 PM, Mariano Martinez Peck < >>> marianopeck at gmail.com> wrote: >>> >>>> >>>> >>>> On Wed, Apr 15, 2009 at 10:50 PM, John Borden wrote: >>>> >>>>> Mariano,There is a first draft of the Advanced Search in >>>>> Pier-SW2-AdvancedSearch in the Pier Addons. A short description of it is >>>>> at: >>>>> >>>>> http://smallwiki2.seasidehosting.st/seaside/pier/Changes+for+Pier/Advanced+Search >>>>> >>>> >>>> Nice men!!! Very good job. Very useful. I could perfectly added to my >>>> website. >>>> >>>> I have some ideas/notes/questions: >>>> >>>> 1) In your example: >>>> http://smallwiki2.seasidehosting.st/seaside/pier/Changes+for+Pier/Advanced+Search >>>> you have the word "search" as an example. When you do focus there, this is >>>> removed. This doesn't happen to me with your widget. I have there what I >>>> searched the last time. Wouldn't be better to put "search" as an example, >>>> every time I render that component ? >>>> >>>> 2) In your example, the search is an ajax search. I think it is >>>> PRAjaxSearchWidget. But, in your code, PRAdvancedSearchWidget is a subclass >>>> of PRSearchWidget. I like more the ajax's one. >>>> >>>> 3) Suppose I want the final/normal user to customize the search: max >>>> items, filters, and so on. Should the user have access to "edit" command of >>>> my search component? or It would be better to let customize this in the >>>> advanced search in the same way as "case sensitive" or "case insensitive" >>>> ??? >>>> >>>> >>>> >>>>> >>>>> The picture on that page shows how it could be used in a lightbox. It >>>>> was really neat seeing the background page change as the links were clicked, >>>>> however it crashed after 2 clicks with a Seaside Walkback >>>>> (WAComponentsNotFoundError: Components not found while processing >>>>> callbacks:). I implemented #children in all sorts of ways, but never got it >>>>> to work right. >>>>> >>>>> >>>> >>>>> Let us know if you can get it to work. >>>>> >>>> >>>> I could reproduce the error. I will try to find the problem. However, >>>> know I am still very newbie with Pier and a a little newbie with Seaside >>>> haha. >>>> >>>> >>>>> Thanks, >>>>> >>>> >>>> No, thanks to you. Thanks for your work and for sharing this to us. >>>> >>>> Cheers, >>>> >>>> Mariano >>>> >>>> >>>> >>>>> John >>>>> >>>> >>>> >>>>> >>>>> On Apr 2, 2009, at 10:18 AM, C?drick B?ler wrote: >>>>> >>>>> I just had a quick look... >>>>> >>>>> It seems they refer to an inst var "creation" in PRStructure... Does >>>>> such a var existed before ? >>>>> >>>>> Thanks >>>>> >>>>> 2009/4/1 Mariano Martinez Peck : >>>>> >>>>> >>>>> >>>>> On Sat, Mar 28, 2009 at 10:13 PM, John Borden >>>>> wrote: >>>>> >>>>> >>>>> All, >>>>> Is anyone aware of an advanced search for pier, such as case sensitive, >>>>> boolean (this phrase and/or/but-not that phrase), date related, etc? >>>>> If >>>>> not, I'll start looking into adding it to the PRFullTextSearch class. >>>>> Thanks, >>>>> John >>>>> >>>>> >>>>> Yes. Please do!!! This would be very useful for an application I am >>>>> making >>>>> now. So, consider me as a beta tester if you want :) >>>>> >>>>> Cheers, >>>>> >>>>> Mariano >>>>> >>>>> >>>>> _______________________________________________ >>>>> SmallWiki, Magritte, Pier and Related Tools ... >>>>> https://www.iam.unibe.ch/mailman/listinfo/smallwiki >>>>> >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> SmallWiki, Magritte, Pier and Related Tools ... >>>>> https://www.iam.unibe.ch/mailman/listinfo/smallwiki >>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> C?drick >>>>> >>>>> >>>>> _______________________________________________ >>>>> SmallWiki, 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 >>>>> >>>> >>>> >>> _______________________________________________ >>> 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 >>> >> >> _______________________________________________ >> 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 >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jborden23 at mac.com Wed Jul 22 02:37:26 2009 From: jborden23 at mac.com (John Borden) Date: Tue, 21 Jul 2009 19:37:26 -0500 Subject: Pier - Advanced Search In-Reply-To: References: <65F330CB-65CD-4E0E-B100-35CA910DC67D@mac.com> Message-ID: <0BE29B7F-C789-4FDA-AA1F-65519BE1FAD4@mac.com> Hi Mariano, The CSS is at: http://smallwiki2.seasidehosting.st/seaside/pier/environment/style.5.css The part that is probably interesting is: div#lightbox { background: white; border: 1px solid #0000e8; padding: 2em;} Environment is setup as: The search is a standard PRSearch component, Advanced Search is a page: Click on the 'x' to close this. Search will start searching from the current structure, evaluating each criteria in order. Click *here>/* to go to the root, and *here>..* to go to the parent. +search+ Search is a PRAdvancedSearch component. Thanks, John On Jul 21, 2009, at 6:31 PM, Mariano Martinez Peck wrote: > John: I was just seeing > http://smallwiki2.seasidehosting.st/seaside/pier/Changes%20for% > 20Pier/Advanced%20Search > > and I wonder if you could possibly send me two things: > > 1) the css you use for the lightbox > 2) how you declare the advanced search in the header. I imagine is > something like this ++/advancedSearch++ > > Do I need to have Pier LightBox addon to do exactly what you have > there? and I guess I must add SULibrary to my app. > > anything more? > > Thanks a lot, > > Mariano > > On Wed, Jul 15, 2009 at 10:50 AM, Mariano Martinez Peck > wrote: > > > On Wed, Jul 15, 2009 at 12:46 PM, John Borden > wrote: > That's exactly what I want - when the wiki has several thousand > pages, it takes several minutes to search from the root. As long > as the search is embedded in the environment, it works great. > > Ok. Suppose I want to search from root. How can I embed or create > this component so that self context structure answers me the root? > I create the component being in http://localhost:8080/seaside/pier. > What more root can be than that ? > > thanks > > Mariano > > > Thanks, > John > > On Jul 15, 2009, at 8:16 AM, Mariano Martinez Peck wrote: > >> >> On Wed, Jul 15, 2009 at 1:48 AM, John Borden >> wrote: >> Hi Mariano, >> Today, I tried to reproduce the problem with Pier 1.2, and it >> returned results without error. The advanced search is a child of >> PRSearchWidget, the idea was to have all of the searches work from >> the current structure, not from root. Can you send some detail on >> how the search is embedded or anything? >> >> Yes. I did this steps: >> >> 1) downloaded Pier 1.2 >> 2) Go to http://localhost:8080/seaside/pier/ >> 3) add command and create a "Pier search" component >> 4) Go to component search, and search for "new" and you will get >> two results. I don't embed it anywhere. >> 5) >> >> Now. See PRSearchWidget>>findItems >> ^ (self context root fullTextSearch subString: self >> searchText) contents >> >> And change it to (as it is in your advanced search): >> >> findItems >> ^ (self context structure fullTextSearch subString: self >> searchText) contents >> >> 6) Try search again with "new" and you won't find anything. >> >> So, is this expected? It make more sense to be to search from root >> so that to search in all the site. >> >> Best, >> >> Mariano >> >> Personally, I think the advanced search looks sharp combined with >> a lightbox - see >> http://smallwiki2.seasidehosting.st/seaside/pier/Changes%20for% >> 20Pier/Advanced%20Search >> >> Thanks, >> John >> >> On Jul 13, 2009, at 11:17 PM, Mariano Martinez Peck wrote: >>> John Borden: I found a problem with this advanced search addon. >>> Take a clean Pier image. (you can use 1.2 if you want). Add a >>> simple search widget and test it (with results). It will work. >>> Then download package Pier-SW2-Sw1Features and try to search >>> again. You will see that it doesn't work anymore :( >>> >>> I debug it a bit and I found a problem because the package Pier- >>> SW2-Sw1Features changes: >>> >>> PRSearchWidget>>findItems >>> "Changed code to replace 'structure' in the below, it was >>> originally root." >>> >>> ^ (self context root fullTextSearch subString: self >>> searchText) contents >>> >>> >>> to: >>> >>> PRSearchWidget>>findItems >>> "Changed code to replace 'structure' in the below, it was >>> originally root." >>> >>> ^ (self context structure fullTextSearch subString: self >>> searchText) contents >>> >>> >>> >>> As you can see it change from self context root to self context >>> structure. If i change my code by hand and put again root, simple >>> search starts to work again. >>> >>> Is this correct? should I commit this fix ? how this affect to >>> the advanced search ? >>> >>> Thanks! >>> >>> Mariano >>> >>> >>> >>> On Wed, Apr 15, 2009 at 11:48 PM, Mariano Martinez Peck >>> wrote: >>> >>> >>> On Wed, Apr 15, 2009 at 10:50 PM, John Borden >>> wrote: >>> Mariano, >>> There is a first draft of the Advanced Search in Pier-SW2- >>> AdvancedSearch in the Pier Addons. A short description of it is at: >>> http://smallwiki2.seasidehosting.st/seaside/pier/Changes+for >>> +Pier/Advanced+Search >>> >>> Nice men!!! Very good job. Very useful. I could perfectly added >>> to my website. >>> >>> I have some ideas/notes/questions: >>> >>> 1) In your example: http://smallwiki2.seasidehosting.st/seaside/ >>> pier/Changes+for+Pier/Advanced+Search you have the word >>> "search" as an example. When you do focus there, this is removed. >>> This doesn't happen to me with your widget. I have there what I >>> searched the last time. Wouldn't be better to put "search" as an >>> example, every time I render that component ? >>> >>> 2) In your example, the search is an ajax search. I think it is >>> PRAjaxSearchWidget. But, in your code, PRAdvancedSearchWidget is >>> a subclass of PRSearchWidget. I like more the ajax's one. >>> >>> 3) Suppose I want the final/normal user to customize the search: >>> max items, filters, and so on. Should the user have access to >>> "edit" command of my search component? or It would be better to >>> let customize this in the advanced search in the same way as >>> "case sensitive" or "case insensitive" ??? >>> >>> >>> >>> The picture on that page shows how it could be used in a >>> lightbox. It was really neat seeing the background page change >>> as the links were clicked, however it crashed after 2 clicks with >>> a Seaside Walkback (WAComponentsNotFoundError: Components not >>> found while processing callbacks:). I implemented #children in >>> all sorts of ways, but never got it to work right. >>> >>> >>> Let us know if you can get it to work. >>> >>> I could reproduce the error. I will try to find the problem. >>> However, know I am still very newbie with Pier and a a little >>> newbie with Seaside haha. >>> >>> Thanks, >>> >>> No, thanks to you. Thanks for your work and for sharing this to us. >>> >>> Cheers, >>> >>> Mariano >>> >>> >>> John >>> >>> >>> On Apr 2, 2009, at 10:18 AM, C?drick B?ler wrote: >>> >>>> I just had a quick look... >>>> >>>> It seems they refer to an inst var "creation" in PRStructure... >>>> Does >>>> such a var existed before ? >>>> >>>> Thanks >>>> >>>> 2009/4/1 Mariano Martinez Peck : >>>>> >>>>> >>>>> On Sat, Mar 28, 2009 at 10:13 PM, John Borden >>>>> wrote: >>>>>> >>>>>> All, >>>>>> Is anyone aware of an advanced search for pier, such as case >>>>>> sensitive, >>>>>> boolean (this phrase and/or/but-not that phrase), date >>>>>> related, etc? If >>>>>> not, I'll start looking into adding it to the PRFullTextSearch >>>>>> class. >>>>>> Thanks, >>>>>> John >>>>> >>>>> Yes. Please do!!! This would be very useful for an application >>>>> I am making >>>>> now. So, consider me as a beta tester if you want :) >>>>> >>>>> Cheers, >>>>> >>>>> Mariano >>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> SmallWiki, Magritte, Pier and Related Tools ... >>>>>> https://www.iam.unibe.ch/mailman/listinfo/smallwiki >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> SmallWiki, Magritte, Pier and Related Tools ... >>>>> https://www.iam.unibe.ch/mailman/listinfo/smallwiki >>>>> >>>> >>>> >>>> >>>> -- >>>> C?drick >>>> >>>> >>>> _______________________________________________ >>>> SmallWiki, 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 >>> >>> >>> _______________________________________________ >>> 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 >> >> _______________________________________________ >> 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 > > > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki -------------- next part -------------- An HTML attachment was scrubbed... URL: From marianopeck at gmail.com Wed Jul 22 04:02:55 2009 From: marianopeck at gmail.com (Mariano Martinez Peck) Date: Tue, 21 Jul 2009 23:02:55 -0300 Subject: [ANN] New Pier Gallery In-Reply-To: References: <25626500907051740s51524643m6db3b5655ec42880@mail.gmail.com> <25626500907091729r23b68e21h24551fbdcd203509@mail.gmail.com> <25626500907100119i5b5427a4hdec31528ddae1153@mail.gmail.com> <4866C5B1-22FE-4333-9EB2-47F7EB111C2D@techgame.net> <25626500907111627w207791f2ka1e2647933a9a4b@mail.gmail.com> Message-ID: Nicolas Roard: I am having conflicts with Pier lightbox css. Actually, the problem is with the css class #lightbox and #overlay. Pier lightbox uses also those classes, but they are different. In lightbox for gallery they are: #lightbox{ position: absolute; left: 0; width: 100%; z-index: 100; text-align: center; line-height: 0;} #overlay{ position: absolute; top: 0; left: 0; z-index: 90; width: 100%; height: 500px; background-color: #000; } For Pier ligthbox: div#lightbox {background: white;border: 1px solid #0000e8;padding: 2em;} #overlay{ position: absolute; top: 0; left: 0; z-index: 90; width: 100%; height: 100%; background-color: #000; } Now, the question is, how easy could be to change the references to those css classes in lightbox.js ??? I did a quick search and replace for 'lightbox' to 'lightbox2' and from 'overlay' to 'overlay2' and then I changed the lightbox.css to use those classes but it didn't work. John Borden: the same question to you...do you how easy is to change lightbox css clases? I don't know what to do :( Thanks a lot, Mariano On Sun, Jul 12, 2009 at 9:56 PM, Mariano Martinez Peck < marianopeck at gmail.com> wrote: > wiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii!!! It worked!!! > > I feel stupid to explain the reason hahaha. It seems the nice javascript is > for users that can only "view" the gallery or that are not logged in. > I was always using an "admin" user with all of the permissions (rotate, > regenerate, etc.). > > Which is the real distinction here ? > > Now I have a couple of questions...you will start hating me haha > > 1) When creating a Gallery you are asked for a description. But then, it is > never displayed. > I saw PGGalleryHtmlView>>renderContentOn: html > "html heading: self gallery title level: 2." > self renderPictures: self batcher batch on: html. > self renderBatcherOn: html > > How can I modify that so that to display the description I entered? > > 2) I am trying to use the PGGalleryRandomizer but I am doing something > wrong. I have a page with a child that is a Gallery. > In that page I created the gallery Randomizer component (is like a brother > of the gallery), but when creating it (when I click save button) I get a > problem in: > PGGalleryRandomizer>>renderContentOn: html > > in: cur parent title > > because parent is nil and cur is the "unnamed". > What I can see when debugging is that candidates message returns an empy > collection :( > any idea? > > 3) It would be very nice to have an integration between this gallery and > PRSlideshow. If I have a time, I will see it, but I am very complicated > right now :( > Too much stuff to do. > > Finally let me say that I love your work. It is excellent and very useful. > I love Smalltalk, seaside, pier, pharo... > Right now it is in development stage but when my website is in production I > will send you a link :) > I hope at least I could help you with my test. I also hope you continue > with this addon. > > Thanks a lot. > > Mariano > > > > > On Sun, Jul 12, 2009 at 5:38 PM, Mariano Martinez Peck < > marianopeck at gmail.com> wrote: > >> >> >> On Sat, Jul 11, 2009 at 8:27 PM, Nicolas Roard wrote: >> >>> On Sat, Jul 11, 2009 at 8:01 PM, Mariano Martinez >>> Peck wrote: >>> > >>> > >>> > On Sat, Jul 11, 2009 at 2:25 PM, Brian Brown wrote: >>> >> >>> >> For development you can just set up Kom to serve a local directory - I >>> >> don't remember off the top of my head, but you should be able to look >>> at the >>> >> class comment for Kom and I think it has some examples. You will find >>> some >>> >> if you google for it as well. If you are still having issues after >>> that, >>> >> drop me a note and I'll dig it up. >>> > >>> > >>> > >>> > Brian: I didn't know that was possible. But it doesn't matter. I didn't >>> know >>> > installing and configure lighttp were as simpler as 5 minutes :) >>> > >>> > Nicolas: I make it work!!!!! Almost perfect! It serves and shows the >>> > images. >>> >>> Awesome, glad to hear this! >>> >>> > The little problem I have now is that the lightbox and all that nice >>> > javascript that you have in your webpage isn't in mine. They have no >>> > javascript at all. No lightbox. I have my personal library for my Pier >>> > website and I ovveride updateRoot to the code you said in your webpage: >>> > >>> > >>> > updateRoot: aHtmlRoot >>> > super updateRoot: aHtmlRoot. >>> > aHtmlRoot javascript url: ' >>> http://www.roard.com/lightbox2/js/prototype.js'. >>> > aHtmlRoot javascript url: >>> > ' >>> http://www.roard.com/lightbox2/js/scriptaculous.js?load=effects,builder >>> '. >>> > aHtmlRoot javascript url: ' >>> http://www.roard.com/lightbox2/js/lightbox.js'. >>> > aHtmlRoot stylesheet url: ' >>> http://www.roard.com/lightbox2/css/lightbox.css' >>> > >>> >>> Well if you did that, it should work. Check the html of the page >>> showing the gallery, it should have those added javascript and >>> stylesheet links. Note though that you probably should host the >>> lightbox2 files yourself rather than hotlinking on my server :) (I did >>> a couple of slight modifications in the files, mostly wrt the url of >>> the images used by lightbox2). >> >> >> Yes. the javascript and stylesheet are being shown in my html. >> I attach the html and a screenshot when I click an image. >> >> >>> >>> >>> If the page does have those links, then I'm not sure why things aren't >>> working -- maybe a conflict with some other js lib ? >>> >> >> I don't know. The libraries I have in my app are (in order) >> >> WAStandardFiles >> PRBlueprintLibrary >> PRJavaScriptSupport >> DestinoMochilaLibrary (mine) >> >> yours? >> >> Thanks for the help! >> >> Mariano >> >> >>> >>> -- >>> Nicolas Roard >>> "I love deadlines. I like the whooshing sound >>> they make as they fly by." -- Douglas Adams >>> >>> _______________________________________________ >>> Magritte, Pier and Related Tools ... >>> https://www.iam.unibe.ch/mailman/listinfo/smallwiki >>> >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From marianopeck at gmail.com Wed Jul 22 04:05:07 2009 From: marianopeck at gmail.com (Mariano Martinez Peck) Date: Tue, 21 Jul 2009 23:05:07 -0300 Subject: Pier - Advanced Search In-Reply-To: <0BE29B7F-C789-4FDA-AA1F-65519BE1FAD4@mac.com> References: <65F330CB-65CD-4E0E-B100-35CA910DC67D@mac.com> <0BE29B7F-C789-4FDA-AA1F-65519BE1FAD4@mac.com> Message-ID: On Tue, Jul 21, 2009 at 9:37 PM, John Borden wrote: > Hi Mariano, > The CSS is at: > http://smallwiki2.seasidehosting.st/seaside/pier/environment/style.5.css > > The part that is probably interesting is: > div#lightbox { > background: white; > border: 1px solid #0000e8; > padding: 2em;} > > > Environment is setup as: > > > > > The search is a standard PRSearch component, Advanced Search is a page: > Click on the 'x' to close this. Search will start searching from the > current structure, evaluating each criteria in order. Click *here>/* to go > to the root, and *here>..* to go to the parent. > > > +search+ > > Search is a PRAdvancedSearch component. > Thanks a lot John. It worked. The problem is that now I have conflics with the gallery addone that has another lightbox and overlay classes and I don't know how to have them at the same time without problems. I replied to this in the mail with subject "[ANN] New Pier Gallery" thanks again Mariano > Thanks, > John > > > > On Jul 21, 2009, at 6:31 PM, Mariano Martinez Peck wrote: > > John: I was just seeing > > http://smallwiki2.seasidehosting.st/seaside/pier/Changes%20for%20Pier/Advanced%20Search > > and I wonder if you could possibly send me two things: > > 1) the css you use for the lightbox > 2) how you declare the advanced search in the header. I imagine is > something like this ++/advancedSearch++ > > Do I need to have Pier LightBox addon to do exactly what you have there? > and I guess I must add SULibrary to my app. > > anything more? > > Thanks a lot, > > Mariano > > On Wed, Jul 15, 2009 at 10:50 AM, Mariano Martinez Peck < > marianopeck at gmail.com> wrote: > >> >> >> On Wed, Jul 15, 2009 at 12:46 PM, John Borden wrote: >> >>> That's exactly what I want - when the wiki has several thousand pages, >>> it takes several minutes to search from the root. As long as the search is >>> embedded in the environment, it works great. >>> >> >> Ok. Suppose I want to search from root. How can I embed or create this >> component so that self context structure answers me the root? I create the >> component being in http://localhost:8080/seaside/pier. What more root can >> be than that ? >> >> thanks >> >> Mariano >> >> >> >>> Thanks, >>> John >>> >>> On Jul 15, 2009, at 8:16 AM, Mariano Martinez Peck wrote: >>> >>> >>> On Wed, Jul 15, 2009 at 1:48 AM, John Borden wrote: >>> >>>> Hi Mariano, >>>> Today, I tried to reproduce the problem with Pier 1.2, and it returned >>>> results without error. The advanced search is a child of PRSearchWidget, >>>> the idea was to have all of the searches work from the current structure, >>>> not from root. Can you send some detail on how the search is embedded or >>>> anything? >>>> >>> >>> Yes. I did this steps: >>> >>> 1) downloaded Pier 1.2 >>> 2) Go to http://localhost:8080/seaside/pier/ >>> 3) add command and create a "Pier search" component >>> 4) Go to component search, and search for "new" and you will get two >>> results. I don't embed it anywhere. >>> 5) >>> >>> Now. See PRSearchWidget>>findItems >>> ^ (self context root fullTextSearch subString: self searchText) >>> contents >>> >>> And change it to (as it is in your advanced search): >>> >>> findItems >>> ^ (self context structure fullTextSearch subString: self searchText) >>> contents >>> >>> 6) Try search again with "new" and you won't find anything. >>> >>> So, is this expected? It make more sense to be to search from root so >>> that to search in all the site. >>> >>> Best, >>> >>> Mariano >>> >>> >>>> Personally, I think the advanced search looks sharp combined with a >>>> lightbox - see >>>> >>>> http://smallwiki2.seasidehosting.st/seaside/pier/Changes%20for%20Pier/Advanced%20Search >>>> >>>> Thanks, >>>> John >>>> >>>> On Jul 13, 2009, at 11:17 PM, Mariano Martinez Peck wrote: >>>> >>>> John Borden: I found a problem with this advanced search addon. Take a >>>> clean Pier image. (you can use 1.2 if you want). Add a simple search widget >>>> and test it (with results). It will work. Then download package >>>> Pier-SW2-Sw1Features and try to search again. You will see that it doesn't >>>> work anymore :( >>>> >>>> I debug it a bit and I found a problem because the package >>>> Pier-SW2-Sw1Features changes: >>>> >>>> PRSearchWidget>>findItems >>>> "Changed code to replace 'structure' in the below, it was originally >>>> root." >>>> >>>> ^ (self context root fullTextSearch subString: self searchText) >>>> contents >>>> >>>> >>>> to: >>>> >>>> PRSearchWidget>>findItems >>>> "Changed code to replace 'structure' in the below, it was originally >>>> root." >>>> >>>> ^ (self context structure fullTextSearch subString: self searchText) >>>> contents >>>> >>>> >>>> >>>> As you can see it change from self context root to self context >>>> structure. If i change my code by hand and put again root, simple search >>>> starts to work again. >>>> >>>> Is this correct? should I commit this fix ? how this affect to the >>>> advanced search ? >>>> >>>> Thanks! >>>> >>>> Mariano >>>> >>>> >>>> >>>> On Wed, Apr 15, 2009 at 11:48 PM, Mariano Martinez Peck < >>>> marianopeck at gmail.com> wrote: >>>> >>>>> >>>>> >>>>> On Wed, Apr 15, 2009 at 10:50 PM, John Borden wrote: >>>>> >>>>>> Mariano,There is a first draft of the Advanced Search in >>>>>> Pier-SW2-AdvancedSearch in the Pier Addons. A short description of it is >>>>>> at: >>>>>> >>>>>> http://smallwiki2.seasidehosting.st/seaside/pier/Changes+for+Pier/Advanced+Search >>>>>> >>>>> >>>>> Nice men!!! Very good job. Very useful. I could perfectly added to my >>>>> website. >>>>> >>>>> I have some ideas/notes/questions: >>>>> >>>>> 1) In your example: >>>>> http://smallwiki2.seasidehosting.st/seaside/pier/Changes+for+Pier/Advanced+Search >>>>> you have the word "search" as an example. When you do focus there, this is >>>>> removed. This doesn't happen to me with your widget. I have there what I >>>>> searched the last time. Wouldn't be better to put "search" as an example, >>>>> every time I render that component ? >>>>> >>>>> 2) In your example, the search is an ajax search. I think it is >>>>> PRAjaxSearchWidget. But, in your code, PRAdvancedSearchWidget is a subclass >>>>> of PRSearchWidget. I like more the ajax's one. >>>>> >>>>> 3) Suppose I want the final/normal user to customize the search: max >>>>> items, filters, and so on. Should the user have access to "edit" command of >>>>> my search component? or It would be better to let customize this in the >>>>> advanced search in the same way as "case sensitive" or "case insensitive" >>>>> ??? >>>>> >>>>> >>>>> >>>>>> >>>>>> The picture on that page shows how it could be used in a lightbox. It >>>>>> was really neat seeing the background page change as the links were clicked, >>>>>> however it crashed after 2 clicks with a Seaside Walkback >>>>>> (WAComponentsNotFoundError: Components not found while processing >>>>>> callbacks:). I implemented #children in all sorts of ways, but never got it >>>>>> to work right. >>>>>> >>>>>> >>>>> >>>>>> Let us know if you can get it to work. >>>>>> >>>>> >>>>> I could reproduce the error. I will try to find the problem. However, >>>>> know I am still very newbie with Pier and a a little newbie with Seaside >>>>> haha. >>>>> >>>>> >>>>>> Thanks, >>>>>> >>>>> >>>>> No, thanks to you. Thanks for your work and for sharing this to us. >>>>> >>>>> Cheers, >>>>> >>>>> Mariano >>>>> >>>>> >>>>> >>>>>> John >>>>>> >>>>> >>>>> >>>>>> >>>>>> On Apr 2, 2009, at 10:18 AM, C?drick B?ler wrote: >>>>>> >>>>>> I just had a quick look... >>>>>> >>>>>> It seems they refer to an inst var "creation" in PRStructure... Does >>>>>> such a var existed before ? >>>>>> >>>>>> Thanks >>>>>> >>>>>> 2009/4/1 Mariano Martinez Peck : >>>>>> >>>>>> >>>>>> >>>>>> On Sat, Mar 28, 2009 at 10:13 PM, John Borden >>>>>> wrote: >>>>>> >>>>>> >>>>>> All, >>>>>> Is anyone aware of an advanced search for pier, such as case >>>>>> sensitive, >>>>>> boolean (this phrase and/or/but-not that phrase), date related, etc? >>>>>> If >>>>>> not, I'll start looking into adding it to the PRFullTextSearch class. >>>>>> Thanks, >>>>>> John >>>>>> >>>>>> >>>>>> Yes. Please do!!! This would be very useful for an application I am >>>>>> making >>>>>> now. So, consider me as a beta tester if you want :) >>>>>> >>>>>> Cheers, >>>>>> >>>>>> Mariano >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> SmallWiki, Magritte, Pier and Related Tools ... >>>>>> https://www.iam.unibe.ch/mailman/listinfo/smallwiki >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> SmallWiki, Magritte, Pier and Related Tools ... >>>>>> https://www.iam.unibe.ch/mailman/listinfo/smallwiki >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> C?drick >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> SmallWiki, 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 >>>>>> >>>>> >>>>> >>>> _______________________________________________ >>>> 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 >>>> >>> >>> _______________________________________________ >>> 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 >>> >> >> > _______________________________________________ > 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From damien.cassou at gmail.com Wed Jul 22 07:51:11 2009 From: damien.cassou at gmail.com (Damien Cassou) Date: Wed, 22 Jul 2009 07:51:11 +0200 Subject: http://pl2009.seasidehosting.st/ In-Reply-To: References: <4F9FA05F-7E00-4911-8D55-1FC39F4B1D61@bergel.eu> Message-ID: <6ac749c10907212251m31bead00n6872854e711c0f84@mail.gmail.com> On Tue, Jul 21, 2009 at 10:38 PM, Mariano Martinez Peck wrote: > Yes. As John told you, you cannot use Pharo. Are you using it? If so, I > would suggest that you take a Squeak 3.9.1 image and load Pier from Package > Universes (or SqueakMap). I confirm, SeasideHosting does not support Pharo. Adrian knows I complain about that for quite a long time :-). -- Damien Cassou http://damiencassou.seasidehosting.st "Lambdas are relegated to relative obscurity until Java makes them popular by not having them." James Iry From marianopeck at gmail.com Wed Jul 22 14:44:20 2009 From: marianopeck at gmail.com (Mariano Martinez Peck) Date: Wed, 22 Jul 2009 11:44:20 -0100 Subject: http://pl2009.seasidehosting.st/ In-Reply-To: <6ac749c10907212251m31bead00n6872854e711c0f84@mail.gmail.com> References: <4F9FA05F-7E00-4911-8D55-1FC39F4B1D61@bergel.eu> <6ac749c10907212251m31bead00n6872854e711c0f84@mail.gmail.com> Message-ID: On Wed, Jul 22, 2009 at 4:51 AM, Damien Cassou wrote: > On Tue, Jul 21, 2009 at 10:38 PM, Mariano Martinez > Peck wrote: > > Yes. As John told you, you cannot use Pharo. Are you using it? If so, I > > would suggest that you take a Squeak 3.9.1 image and load Pier from > Package > > Universes (or SqueakMap). > > I confirm, SeasideHosting does not support Pharo. Adrian knows I > complain about that for quite a long time :-). > I remember someone told me, and I think it is correct, they were waiting for Pharo first stable release. When this is done, I think seasidehosting should support Pharo. > > -- > Damien Cassou > http://damiencassou.seasidehosting.st > > "Lambdas are relegated to relative obscurity until Java makes them > popular by not having them." James Iry > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ducasse at iam.unibe.ch Wed Jul 22 15:44:42 2009 From: ducasse at iam.unibe.ch (=?ISO-8859-1?Q?st=E9phane_ducasse?=) Date: Wed, 22 Jul 2009 15:44:42 +0200 Subject: http://pl2009.seasidehosting.st/ In-Reply-To: References: <4F9FA05F-7E00-4911-8D55-1FC39F4B1D61@bergel.eu> <6ac749c10907212251m31bead00n6872854e711c0f84@mail.gmail.com> Message-ID: It will but they should change the vm so .... Stef On Jul 22, 2009, at 2:44 PM, Mariano Martinez Peck wrote: > > > On Wed, Jul 22, 2009 at 4:51 AM, Damien Cassou > wrote: > On Tue, Jul 21, 2009 at 10:38 PM, Mariano Martinez > Peck wrote: > > Yes. As John told you, you cannot use Pharo. Are you using it? If > so, I > > would suggest that you take a Squeak 3.9.1 image and load Pier > from Package > > Universes (or SqueakMap). > > I confirm, SeasideHosting does not support Pharo. Adrian knows I > complain about that for quite a long time :-). > > I remember someone told me, and I think it is correct, they were > waiting for Pharo first stable release. When this is done, I think > seasidehosting should support Pharo. > > > > -- > Damien Cassou > http://damiencassou.seasidehosting.st > > "Lambdas are relegated to relative obscurity until Java makes them > popular by not having them." James Iry > _______________________________________________ > 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 alexandre at bergel.eu Wed Jul 22 16:50:49 2009 From: alexandre at bergel.eu (Alexandre Bergel) Date: Wed, 22 Jul 2009 10:50:49 -0400 Subject: http://pl2009.seasidehosting.st/ In-Reply-To: References: <4F9FA05F-7E00-4911-8D55-1FC39F4B1D61@bergel.eu> Message-ID: <1ADC5698-687C-485B-BBEB-B0B815873EBE@bergel.eu> Arg!! I was trapped! Thanks! Alexandre On 21 Jul 2009, at 16:38, Mariano Martinez Peck wrote: > > > On Tue, Jul 21, 2009 at 7:32 PM, Alexandre Bergel > wrote: > Dear List, > > I just uploaded my pier.{image,changes} into the pl2009 account on > seasidehosting, but I get an error 503, "Service Temporarily > Unavailable". I tried to stop and restart the image, but the error > persists. > Any idea what went wrong? > > Yes. As John told you, you cannot use Pharo. Are you using it? If > so, I would suggest that you take a Squeak 3.9.1 image and load Pier > from Package Universes (or SqueakMap). > > Best, > > Mariano > > > > Cheers, > Alexandre > -- > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: > Alexandre Bergel http://www.bergel.eu > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. > > > > > > _______________________________________________ > 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 -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. From alexandre at bergel.eu Wed Jul 22 16:56:35 2009 From: alexandre at bergel.eu (Alexandre Bergel) Date: Wed, 22 Jul 2009 10:56:35 -0400 Subject: Questions on Pier In-Reply-To: <40f637ec0907211302n2ab23950lca9cf61c56ba124a@mail.gmail.com> References: <9C41174B-21CA-483A-9D9A-9C2E78196970@bergel.eu> <40f637ec0907200846p4e66fd12j899c991d13843bbb@mail.gmail.com> <2800745A-E4D3-4B9A-822F-5DC887DB3856@bergel.eu> <40f637ec0907211130l359111a0m7acfd655edef9213@mail.gmail.com> <7F8EF61F-6458-4657-BBF5-91D95FD136DC@bergel.eu> <40f637ec0907211302n2ab23950lca9cf61c56ba124a@mail.gmail.com> Message-ID: <8493D81A-6A97-48CD-BF09-0ED894BCA483@bergel.eu> > No, on the main config page (NOT pier's config page) below the list > of available entry points is the settings section. Use the drop down > box labelled "Default Entry Point" to select the default entry > point :) Good start, I can now access pier from http://localhost:8080/seaside A bit better would be to remove 'seaside'. Again, no idea how. I read the FAQ and so on. > In the server part, there are three field input: > 1 - Resource Base Url > 2 - Server Hostname > 3 - Server Path > > I am struggling to make the website accessible from http://localhost:8080 > simply (in order to have it on seasidehosting.st) > Is this possible? > > Absolutely. See the FAQ I lost the habit of reading manual and faq. > I dont want to be the bearer of bad news but IF you are using a > Pharo image it will not run on seasidehosting.st Waaaaaa!!! How to loose hours to configuring hoping to make it work... Thanks, Cheers, Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. From p3anoman at gmail.com Wed Jul 22 17:04:03 2009 From: p3anoman at gmail.com (John McKeon) Date: Wed, 22 Jul 2009 11:04:03 -0400 Subject: Questions on Pier In-Reply-To: <8493D81A-6A97-48CD-BF09-0ED894BCA483@bergel.eu> References: <9C41174B-21CA-483A-9D9A-9C2E78196970@bergel.eu> <40f637ec0907200846p4e66fd12j899c991d13843bbb@mail.gmail.com> <2800745A-E4D3-4B9A-822F-5DC887DB3856@bergel.eu> <40f637ec0907211130l359111a0m7acfd655edef9213@mail.gmail.com> <7F8EF61F-6458-4657-BBF5-91D95FD136DC@bergel.eu> <40f637ec0907211302n2ab23950lca9cf61c56ba124a@mail.gmail.com> <8493D81A-6A97-48CD-BF09-0ED894BCA483@bergel.eu> Message-ID: <40f637ec0907220804g4e3bce22r2240c1a4a7c9c488@mail.gmail.com> On Wed, Jul 22, 2009 at 10:56 AM, Alexandre Bergel wrote: > No, on the main config page (NOT pier's config page) below the list of >> available entry points is the settings section. Use the drop down box >> labelled "Default Entry Point" to select the default entry point :) >> > > Good start, I can now access pier from http://localhost:8080/seaside > A bit better would be to remove 'seaside'. Again, no idea how. I read the > FAQ and so on. > > In the server part, there are three field input: >> 1 - Resource Base Url >> 2 - Server Hostname >> 3 - Server Path >> >> I am struggling to make the website accessible from http://localhost:8080 simply >> (in order to have it on seasidehosting.st) >> Is this possible? >> >> Absolutely. See the FAQ >> > > I lost the habit of reading manual and faq. > > I dont want to be the bearer of bad news but IF you are using a Pharo >> image it will not run on seasidehosting.st >> > > Waaaaaa!!! How to loose hours to configuring hoping to make it work... > Thanks, > > Cheers, > > Alexandre > Use Miguel's excellent advice WADispatcher default setName: '' I have no idea if setting the default entry point to '' is dangerous/has side effects but it seemed to work OK Cheers John > > -- > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: > Alexandre Bergel http://www.bergel.eu > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. > > > > > > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -- http://jmck.seasidehosting.st -------------- next part -------------- An HTML attachment was scrubbed... URL: From ducasse at iam.unibe.ch Wed Jul 22 17:07:06 2009 From: ducasse at iam.unibe.ch (=?ISO-8859-1?Q?st=E9phane_ducasse?=) Date: Wed, 22 Jul 2009 17:07:06 +0200 Subject: Questions on Pier In-Reply-To: <8493D81A-6A97-48CD-BF09-0ED894BCA483@bergel.eu> References: <9C41174B-21CA-483A-9D9A-9C2E78196970@bergel.eu> <40f637ec0907200846p4e66fd12j899c991d13843bbb@mail.gmail.com> <2800745A-E4D3-4B9A-822F-5DC887DB3856@bergel.eu> <40f637ec0907211130l359111a0m7acfd655edef9213@mail.gmail.com> <7F8EF61F-6458-4657-BBF5-91D95FD136DC@bergel.eu> <40f637ec0907211302n2ab23950lca9cf61c56ba124a@mail.gmail.com> <8493D81A-6A97-48CD-BF09-0ED894BCA483@bergel.eu> Message-ID: <2C1FA878-23D5-40F2-9AD0-D94D9402D777@iam.unibe.ch> but alex this is a well-known fact :) >> No, on the main config page (NOT pier's config page) below the list >> of available entry points is the settings section. Use the drop >> down box labelled "Default Entry Point" to select the default entry >> point :) > > Good start, I can now access pier from http://localhost:8080/seaside > A bit better would be to remove 'seaside'. Again, no idea how. I > read the FAQ and so on. > >> In the server part, there are three field input: >> 1 - Resource Base Url >> 2 - Server Hostname >> 3 - Server Path >> >> I am struggling to make the website accessible from http://localhost:8080 >> simply (in order to have it on seasidehosting.st) >> Is this possible? >> >> Absolutely. See the FAQ > > I lost the habit of reading manual and faq. > >> I dont want to be the bearer of bad news but IF you are using a >> Pharo image it will not run on seasidehosting.st > > Waaaaaa!!! How to loose hours to configuring hoping to make it work... > Thanks, > > Cheers, > Alexandre > -- > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: > Alexandre Bergel http://www.bergel.eu > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. > > > > > > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki From miguel.coba at gmail.com Wed Jul 22 19:54:18 2009 From: miguel.coba at gmail.com (=?ISO-8859-1?Q?Miguel_Cob=E1?=) Date: Wed, 22 Jul 2009 12:54:18 -0500 Subject: Questions on Pier In-Reply-To: <40f637ec0907220804g4e3bce22r2240c1a4a7c9c488@mail.gmail.com> References: <9C41174B-21CA-483A-9D9A-9C2E78196970@bergel.eu> <40f637ec0907200846p4e66fd12j899c991d13843bbb@mail.gmail.com> <2800745A-E4D3-4B9A-822F-5DC887DB3856@bergel.eu> <40f637ec0907211130l359111a0m7acfd655edef9213@mail.gmail.com> <7F8EF61F-6458-4657-BBF5-91D95FD136DC@bergel.eu> <40f637ec0907211302n2ab23950lca9cf61c56ba124a@mail.gmail.com> <8493D81A-6A97-48CD-BF09-0ED894BCA483@bergel.eu> <40f637ec0907220804g4e3bce22r2240c1a4a7c9c488@mail.gmail.com> Message-ID: On Wed, Jul 22, 2009 at 10:04 AM, John McKeon wrote: > > > On Wed, Jul 22, 2009 at 10:56 AM, Alexandre Bergel > wrote: >>> >>> No, on the main config page (NOT pier's config page) below the list of >>> available entry points is the settings section. Use the drop down box >>> labelled "Default Entry Point" to select the default entry point :) >> >> Good start, I can now access pier from http://localhost:8080/seaside >> A bit better would be to remove 'seaside'. Again, no idea how. I read the >> FAQ and so on. >> >>> In the server part, there are three field input: >>> ? ? ? 1 - Resource Base Url >>> ? ? ? 2 - Server Hostname >>> ? ? ? 3 - Server Path >>> >>> I am struggling to make the website accessible from >>> http://localhost:8080?simply (in order to have it on seasidehosting.st) >>> Is this possible? >>> >>> Absolutely. See the FAQ >> >> I lost the habit of reading manual and faq. >> >>> I dont want to be the bearer of bad news but IF you are using a Pharo >>> image it will not run on seasidehosting.st >> >> Waaaaaa!!! How to loose hours to configuring hoping to make it work... >> Thanks, >> >> Cheers, >> Alexandre > > Use Miguel's excellent advice > > WADispatcher default setName: '' > I have no idea if setting the default entry point to '' is dangerous/has > side effects but it seemed to work OK > It is not dangerous but it limits you. For example, you can't use apache/lighttpd to do a proxy/rewrite by relying on a prefix on the url and have static content at the same time. This means that the images manages *everything* dynamic code and static content that is not optimal. By using /seaside/something and letting the webserver to proxy everything that begins with /seaside to the squeak/pharo image and every else (css files, images, pdf, etc) to be served directly by the web server it is a better architecture. But if your app handles everything in the image, this configuration doesn't harm. Miguel Cob? > Cheers > John >> >> -- >> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: >> Alexandre Bergel ?http://www.bergel.eu >> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. >> >> >> >> >> >> _______________________________________________ >> Magritte, Pier and Related Tools ... >> https://www.iam.unibe.ch/mailman/listinfo/smallwiki > > > > -- > http://jmck.seasidehosting.st > > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > From cdrick65 at gmail.com Thu Jul 23 09:05:28 2009 From: cdrick65 at gmail.com (=?UTF-8?B?Q8OpZHJpY2sgQsOpbGVy?=) Date: Thu, 23 Jul 2009 09:05:28 +0200 Subject: Questions on Pier In-Reply-To: <40f637ec0907220804g4e3bce22r2240c1a4a7c9c488@mail.gmail.com> References: <9C41174B-21CA-483A-9D9A-9C2E78196970@bergel.eu> <40f637ec0907200846p4e66fd12j899c991d13843bbb@mail.gmail.com> <2800745A-E4D3-4B9A-822F-5DC887DB3856@bergel.eu> <40f637ec0907211130l359111a0m7acfd655edef9213@mail.gmail.com> <7F8EF61F-6458-4657-BBF5-91D95FD136DC@bergel.eu> <40f637ec0907211302n2ab23950lca9cf61c56ba124a@mail.gmail.com> <8493D81A-6A97-48CD-BF09-0ED894BCA483@bergel.eu> <40f637ec0907220804g4e3bce22r2240c1a4a7c9c488@mail.gmail.com> Message-ID: > Use Miguel's excellent advice > > WADispatcher default setName: '' > I have no idea if setting the default entry point to '' is dangerous/has > side effects but it seemed to work OK Another option is simply define the server parameters in the pier config interface as in the joined pic. You also have to set the default entrey point to the pier app in the main config page. Hth, C?drick > Cheers > John >> >> -- >> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: >> Alexandre Bergel ?http://www.bergel.eu >> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. >> >> >> >> >> >> _______________________________________________ >> Magritte, Pier and Related Tools ... >> https://www.iam.unibe.ch/mailman/listinfo/smallwiki > > > > -- > http://jmck.seasidehosting.st > -------------- next part -------------- A non-text attachment was scrubbed... Name: configPier.png Type: image/png Size: 10711 bytes Desc: not available URL: From damien.cassou at gmail.com Thu Jul 23 15:17:20 2009 From: damien.cassou at gmail.com (Damien Cassou) Date: Thu, 23 Jul 2009 14:17:20 +0100 Subject: Passing parameters to external links in the Pier-Links package Message-ID: <6ac749c10907230617v36030b5bhcdcc9189909006b2@mail.gmail.com> Name: Pier-Links-damiencassou.5 Author: damiencassou Time: 23 July 2009, 3:07:55 pm UUID: ef7aab23-fe3f-4cb0-9ee5-b85d531aaeeb Ancestors: Pier-Links-lr.4 - Use a common superclass for all links (they all had the same #urlEntry method) - Write a #urlParameters method inside this class to extract the parameters passed to the link - Use that to allow people to use Youtube parameters defined in http://code.google.com/apis/youtube/player_parameters.html -- Damien Cassou http://damiencassou.seasidehosting.st "Lambdas are relegated to relative obscurity until Java makes them popular by not having them." James Iry From garduino at gmail.com Thu Jul 23 20:21:10 2009 From: garduino at gmail.com (=?ISO-8859-1?Q?Germ=E1n_Arduino?=) Date: Thu, 23 Jul 2009 15:21:10 -0300 Subject: CCS in Deployement In-Reply-To: <6ac749c10907210230l7050c236x3330c5f8d21f02c6@mail.gmail.com> References: <9C41174B-21CA-483A-9D9A-9C2E78196970@bergel.eu> <84C88391-F839-48FB-B481-1BBA7150BC75@iam.unibe.ch> <4A64E0EC.4010105@wanadoo.fr> <6ac749c10907210135o196cf0b3ja7235034c769e373@mail.gmail.com> <33245897.54337.1248168360048.JavaMail.www@wwinf2605> <6ac749c10907210230l7050c236x3330c5f8d21f02c6@mail.gmail.com> Message-ID: I've the same problem, also in a Linux box without Apache. The css don't works. As far as I saw all the files are on place, but the css don't works. Cheers. 2009/7/21 Damien Cassou : > On Tue, Jul 21, 2009 at 10:26 AM, Maarten > MOSTERT wrote: >> By CCS I meant all the style sheets. > > CSS then I guess :-) > > -- > Damien Cassou > http://damiencassou.seasidehosting.st > > "Lambdas are relegated to relative obscurity until Java makes them > popular by not having them." James Iry > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > From marianopeck at gmail.com Thu Jul 23 20:25:52 2009 From: marianopeck at gmail.com (Mariano Martinez Peck) Date: Thu, 23 Jul 2009 17:25:52 -0100 Subject: CCS in Deployement In-Reply-To: References: <9C41174B-21CA-483A-9D9A-9C2E78196970@bergel.eu> <84C88391-F839-48FB-B481-1BBA7150BC75@iam.unibe.ch> <4A64E0EC.4010105@wanadoo.fr> <6ac749c10907210135o196cf0b3ja7235034c769e373@mail.gmail.com> <33245897.54337.1248168360048.JavaMail.www@wwinf2605> <6ac749c10907210230l7050c236x3330c5f8d21f02c6@mail.gmail.com> Message-ID: Maarten Mostert: Perhaps yuo can post your VirtualHost file configuration of Apache, what you have set in /seaside/config (the parameters baseURL, hostname and path), and an ls -la to the DocumentRoot Best, Mariano On Thu, Jul 23, 2009 at 5:21 PM, Germ?n Arduino wrote: > I've the same problem, also in a Linux box without Apache. > > The css don't works. As far as I saw all the files are on place, but the > css > don't works. > > Cheers. > > > 2009/7/21 Damien Cassou : > > On Tue, Jul 21, 2009 at 10:26 AM, Maarten > > MOSTERT wrote: > >> By CCS I meant all the style sheets. > > > > CSS then I guess :-) > > > > -- > > Damien Cassou > > http://damiencassou.seasidehosting.st > > > > "Lambdas are relegated to relative obscurity until Java makes them > > popular by not having them." James Iry > > _______________________________________________ > > 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From marianopeck at gmail.com Fri Jul 24 23:38:01 2009 From: marianopeck at gmail.com (Mariano Martinez Peck) Date: Fri, 24 Jul 2009 20:38:01 -0100 Subject: How to know how many users are connected to my site? Message-ID: Hi folks! I don't know if this is more Pier related or Seaside related...I just want to render something in my Pier website that says "there are XXX people viewing the site" (in spanish hahaha). Now, the question is, is there a component for that? Value Links ? Suppose there isn't and I will do it, how can I know from Seaside/Pier how many people is "connected" to my website? Thanks a lot and good weekend! Mariano -------------- next part -------------- An HTML attachment was scrubbed... URL: From daniel at zepeda.ws Sun Jul 26 07:44:25 2009 From: daniel at zepeda.ws (Daniel P Zepeda) Date: Sun, 26 Jul 2009 00:44:25 -0500 Subject: Textile instead of 'Pier Syntax' Message-ID: Hi Folks, I was fairly excited to stumble across Pier as this is a system that I was actually intending to write for a client. There are a ton of CMS's out there, but none of them as far as I know allow one to edit in place the entire system, other than say CMSbox, which is out of reach where I live. I envisioned a little more Ajax+Scriptaculous goodness in the update process, and also a preview-accept transaction in the editing process. Since I use Ruby on Rails in my day job, I was intending to use that as well, since I know it well, and I'm only getting started using Seaside for toy projects. Pier seems to be pretty much what I need out of 'out of the box', excepting the points I made above. However, I'm curious why 'Pier Syntax' was developed instead of using an already popular markup like Textile? Are there any plans to use other markups besides 'Pier Syntax' ? I haven't looked at the code yet, but if there are no plans for any other Markup, how hard do you think it would be to implement a different markup besides Pier Syntax for a professional programmer that knows some Smalltalk, say like, oh, I don't know, Textile? :) Thanks! DZ From renggli at gmail.com Sun Jul 26 09:11:35 2009 From: renggli at gmail.com (Lukas Renggli) Date: Sun, 26 Jul 2009 09:11:35 +0200 Subject: Textile instead of 'Pier Syntax' In-Reply-To: References: Message-ID: <67628d690907260011o78f9927fpe872356563a3d02f@mail.gmail.com> > Pier seems to be pretty much what I need out of 'out of the box', excepting the points I made above. However, I'm curious why 'Pier Syntax' was developed instead of using an already popular markup like Textile? Are there any plans to use other markups besides 'Pier Syntax' ? I haven't looked at the code yet, but if there are no plans for any other Markup, how hard do you think it would be to implement a different markup besides Pier Syntax for a professional programmer that knows some Smalltalk, say like, oh, I don't know, Textile? :) The Pier Syntax dates back to SmallWiki (2002) and SWiki (even much older). I don't think there was Textile at that time. Pier theoretically supports different parsers. Currently you need to patch 2 methods to make a different one work, not nice but that could be improved. I have an working but unfinished parser for Creole lying around already for years. Cheers, Lukas -- Lukas Renggli http://www.lukas-renggli.ch From girba at iam.unibe.ch Sun Jul 26 10:16:25 2009 From: girba at iam.unibe.ch (Tudor Girba) Date: Sun, 26 Jul 2009 10:16:25 +0200 Subject: Textile instead of 'Pier Syntax' In-Reply-To: <67628d690907260011o78f9927fpe872356563a3d02f@mail.gmail.com> References: <67628d690907260011o78f9927fpe872356563a3d02f@mail.gmail.com> Message-ID: <74A72DA7-48B9-4D2E-9CF1-6EBA1F0649A8@iam.unibe.ch> Hi Daniel, Welcome to Pier. Can I ask how did you hear of it? Cheers, Doru On 26 Jul 2009, at 09:11, Lukas Renggli wrote: >> Pier seems to be pretty much what I need out of 'out of the box', >> excepting the points I made above. However, I'm curious why 'Pier >> Syntax' was developed instead of using an already popular markup >> like Textile? Are there any plans to use other markups besides >> 'Pier Syntax' ? I haven't looked at the code yet, but if there are >> no plans for any other Markup, how hard do you think it would be to >> implement a different markup besides Pier Syntax for a professional >> programmer that knows some Smalltalk, say like, oh, I don't know, >> Textile? :) > > The Pier Syntax dates back to SmallWiki (2002) and SWiki (even much > older). I don't think there was Textile at that time. > > Pier theoretically supports different parsers. Currently you need to > patch 2 methods to make a different one work, not nice but that could > be improved. I have an working but unfinished parser for Creole lying > around already for years. > > Cheers, > Lukas > > -- > Lukas Renggli > http://www.lukas-renggli.ch > > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki -- www.tudorgirba.com "Beauty is where we see it." From keith_hodges at yahoo.co.uk Sun Jul 26 22:03:45 2009 From: keith_hodges at yahoo.co.uk (Keith Hodges) Date: Sun, 26 Jul 2009 21:03:45 +0100 Subject: Textile instead of 'Pier Syntax' In-Reply-To: <67628d690907260011o78f9927fpe872356563a3d02f@mail.gmail.com> References: <67628d690907260011o78f9927fpe872356563a3d02f@mail.gmail.com> Message-ID: <4A6CB6A1.3020901@yahoo.co.uk> Lukas Renggli wrote: >> Pier seems to be pretty much what I need out of 'out of the box', excepting the points I made above. However, I'm curious why 'Pier Syntax' was developed instead of using an already popular markup like Textile? Are there any plans to use other markups besides 'Pier Syntax' ? I haven't looked at the code yet, but if there are no plans for any other Markup, how hard do you think it would be to implement a different markup besides Pier Syntax for a professional programmer that knows some Smalltalk, say like, oh, I don't know, Textile? :) >> > > The Pier Syntax dates back to SmallWiki (2002) and SWiki (even much > older). I don't think there was Textile at that time. > > Pier theoretically supports different parsers. Currently you need to > patch 2 methods to make a different one work, not nice but that could > be improved. I have an working but unfinished parser for Creole lying > around already for years. > > Cheers, > Lukas > Is this the GSOC project which implemented creole? Keith From daniel at zepeda.ws Sun Jul 26 22:03:54 2009 From: daniel at zepeda.ws (Daniel P Zepeda) Date: Sun, 26 Jul 2009 15:03:54 -0500 Subject: Textile instead of 'Pier Syntax' In-Reply-To: <74A72DA7-48B9-4D2E-9CF1-6EBA1F0649A8@iam.unibe.ch> References: <67628d690907260011o78f9927fpe872356563a3d02f@mail.gmail.com> <74A72DA7-48B9-4D2E-9CF1-6EBA1F0649A8@iam.unibe.ch> Message-ID: On Jul 26, 2009, at 3:16 AM, Tudor Girba wrote: > Hi Daniel, > > Welcome to Pier. Thank you! > Can I ask how did you hear of it? Hi, I believe I first "heard" about it on the "Weekly Squeak" I have an on-again-off-again relationship with Squeak/Smalltalk. I've been teaching my kids programming with Squeak for awhile now, and I've known about Squeak/SmallTalk for, it seems like forever. I have this weird situation where I'm familiar with some things in Squeak, but am a rank newbie with other things. DZ > > > Cheers, > Doru > > From daniel at zepeda.ws Sun Jul 26 22:25:03 2009 From: daniel at zepeda.ws (Daniel P Zepeda) Date: Sun, 26 Jul 2009 15:25:03 -0500 Subject: Textile instead of 'Pier Syntax' In-Reply-To: <67628d690907260011o78f9927fpe872356563a3d02f@mail.gmail.com> References: <67628d690907260011o78f9927fpe872356563a3d02f@mail.gmail.com> Message-ID: <5BC8499E-1474-461A-B386-49D22CDB8414@zepeda.ws> On Jul 26, 2009, at 2:11 AM, Lukas Renggli wrote: >> Pier seems to be pretty much what I need out of 'out of the box', >> excepting the points I made above. However, I'm curious why 'Pier >> Syntax' was developed instead of using an already popular markup >> like Textile? Are there any plans to use other markups besides >> 'Pier Syntax' ? I haven't looked at the code yet, but if there are >> no plans for any other Markup, how hard do you think it would be to >> implement a different markup besides Pier Syntax for a professional >> programmer that knows some Smalltalk, say like, oh, I don't know, >> Textile? :) > > The Pier Syntax dates back to SmallWiki (2002) and SWiki (even much > older). I don't think there was Textile at that time. Ah, I see. I didn't know it was based on something much older. IIRC Textile was around about 2002-2004, but probably not as popular as it is now. > > > Pier theoretically supports different parsers. Currently you need to > patch 2 methods to make a different one work, not nice but that could > be improved. I have an working but unfinished parser for Creole lying > around already for years. What I want is a CMS that uses in-place editing, but without using a crappy WYSIWYG javascript editor, like TinyMCE or OpenWYSIWYG. Not to insult those implementations, but I always seem to run into problems using them, and so I prefer using a Wiki editing approach like using Textile. Pier is almost perfect, except that it uses Pier Syntax instead of Textile. I personally don't have a problem with that, but using Pier without a Textile parser means teaching my users yet another Markup. Getting them to accept Textile was painful enough, I'd rather code a Textile parser for Pier rather than teach them Pier Syntax :) I'm not sure my Smalltalk skills are up to that task or not. I'm certainly willing to try though. DZ > > > Cheers, > Lukas > > -- > Lukas Renggli > http://www.lukas-renggli.ch > > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki From estebanlm at gmail.com Mon Jul 27 13:48:21 2009 From: estebanlm at gmail.com (Esteban Lorenzano) Date: Mon, 27 Jul 2009 08:48:21 -0300 Subject: dependences of Pier-Importer? Message-ID: Hi, I'm trying to load pier into a new pharo image. When I try to load Pier-Importer it ask me for some dependencies (SmaCC), but if I try to load SmaCC from SqueakSource, it ask me for other dependence, and I'm lost there, I don't know which package is needed. Anybody knows what's the full list of dependences? Thanks in advance, Esteban From damien.cassou at gmail.com Mon Jul 27 14:26:11 2009 From: damien.cassou at gmail.com (Damien Cassou) Date: Mon, 27 Jul 2009 13:26:11 +0100 Subject: dependences of Pier-Importer? In-Reply-To: References: Message-ID: <6ac749c10907270526h485a36b5x5e983512b81f42c0@mail.gmail.com> Hi Esteban, On Mon, Jul 27, 2009 at 12:48 PM, Esteban Lorenzano wrote: > I'm trying to load pier into a new pharo image. When I try to load > Pier-Importer it ask me for some dependencies (SmaCC), but if I try to load > SmaCC from SqueakSource, it ask me for other dependence, and I'm lost there, > I don't know which package is needed. > Anybody knows what's the full list of dependences? you might want to have a look at the following process to export/import Pier kernels. It does not require Pier-Importer: http://www.lukas-renggli.ch/blog/export-import -- Damien Cassou http://damiencassou.seasidehosting.st "Lambdas are relegated to relative obscurity until Java makes them popular by not having them." James Iry From estebanlm at gmail.com Mon Jul 27 14:49:29 2009 From: estebanlm at gmail.com (Esteban Lorenzano) Date: Mon, 27 Jul 2009 09:49:29 -0300 Subject: dependences of Pier-Importer? References: <6ac749c10907270526h485a36b5x5e983512b81f42c0@mail.gmail.com> Message-ID: On 2009-07-27 09:26:11 -0300, Damien Cassou said: > Hi Esteban, > > On Mon, Jul 27, 2009 at 12:48 PM, Esteban Lorenzano wrote: >> I'm trying to load pier into a new pharo image. When I try to load >> Pier-Importer it ask me for some dependencies (SmaCC), but if I try to load >> SmaCC from SqueakSource, it ask me for other dependence, and I'm lost there, >> I don't know which package is needed. >> Anybody knows what's the full list of dependences? > > you might want to have a look at the following process to > export/import Pier kernels. It does not require Pier-Importer: > > http://www.lukas-renggli.ch/blog/export-import Thanks, that's what I was looking for... I just thought Pier-Importer was required :) Cheers, Esteban From johnmci at smalltalkconsulting.com Tue Jul 28 01:38:21 2009 From: johnmci at smalltalkconsulting.com (John M McIntosh) Date: Mon, 27 Jul 2009 16:38:21 -0700 Subject: wikiserver 1.4.3 ships Message-ID: Apple told me today that WikiServer for the iPhone version 1.4.3 is now in the store. This version is not yet based on Pier 1.2 I am working on that, anyone who wants to beta-test WikiServer 1.5 should email me. However we have add a macintosh, windows, and linux client so you can import/export wiki content to/from desktop machines and iphone devices. See http://www.mobilewikiserver.com/1.4.html for links to the desktop clients. -- = = = ======================================================================== John M. McIntosh Twitter: squeaker68882 Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com = = = ======================================================================== From andreas.raab at gmx.de Tue Jul 28 01:57:31 2009 From: andreas.raab at gmx.de (Andreas Raab) Date: Mon, 27 Jul 2009 16:57:31 -0700 Subject: wikiserver 1.4.3 ships In-Reply-To: References: Message-ID: <4A6E3EEB.5050801@gmx.de> Hi John - Nice job. Small deployment note from your website: ---------------------------------------------------------------------- Windows - Download Installer EXE *Note* Windows users should not click the close window box that will put up a dialog asking to save the image and close. This is an incorrect prompt, you MUST use the RED button to save and quit the server. ---------------------------------------------------------------------- You can fix this issue easily by adding the following to your .ini file: [General] EnableAltF4Quit=0 This will cause the VM to generate a window close event instead which you can handle in the image. See also deployment settings options here: http://squeakvm.org/win32/settings.html Cheers, - Andreas John M McIntosh wrote: > Apple told me today that WikiServer for the iPhone version 1.4.3 is now > in the store. > > This version is not yet based on Pier 1.2 I am working on that, anyone > who wants to beta-test WikiServer 1.5 should email me. > > However we have add a macintosh, windows, and linux client so you can > import/export wiki content to/from desktop machines and iphone devices. > See http://www.mobilewikiserver.com/1.4.html for links to the desktop > clients. > > -- > =========================================================================== > John M. McIntosh Twitter: > squeaker68882 > Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com > =========================================================================== From ducasse at iam.unibe.ch Tue Jul 28 21:18:08 2009 From: ducasse at iam.unibe.ch (=?ISO-8859-1?Q?st=E9phane_ducasse?=) Date: Tue, 28 Jul 2009 21:18:08 +0200 Subject: Textile instead of 'Pier Syntax' In-Reply-To: <4A6CB6A1.3020901@yahoo.co.uk> References: <67628d690907260011o78f9927fpe872356563a3d02f@mail.gmail.com> <4A6CB6A1.3020901@yahoo.co.uk> Message-ID: no lukas implemented creole and helvetia Stef On Jul 26, 2009, at 10:03 PM, Keith Hodges wrote: > Lukas Renggli wrote: >>> Pier seems to be pretty much what I need out of 'out of the box', >>> excepting the points I made above. However, I'm curious why 'Pier >>> Syntax' was developed instead of using an already popular markup >>> like Textile? Are there any plans to use other markups besides >>> 'Pier Syntax' ? I haven't looked at the code yet, but if there are >>> no plans for any other Markup, how hard do you think it would be >>> to implement a different markup besides Pier Syntax for a >>> professional programmer that knows some Smalltalk, say like, oh, I >>> don't know, Textile? :) >>> >> >> The Pier Syntax dates back to SmallWiki (2002) and SWiki (even much >> older). I don't think there was Textile at that time. >> >> Pier theoretically supports different parsers. Currently you need to >> patch 2 methods to make a different one work, not nice but that could >> be improved. I have an working but unfinished parser for Creole lying >> around already for years. >> >> Cheers, >> Lukas >> > Is this the GSOC project which implemented creole? > > Keith > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki From johnmci at smalltalkconsulting.com Wed Jul 29 03:58:38 2009 From: johnmci at smalltalkconsulting.com (John M McIntosh) Date: Tue, 28 Jul 2009 18:58:38 -0700 Subject: exporting all the PRPages in wiki text format Message-ID: I was going to tackle making a component or method on the import/ export component to export all the pages in Pier in Wiki format. I"m wondering if anyone has done this before? -- = = = ======================================================================== John M. McIntosh Twitter: squeaker68882 Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com = = = ======================================================================== From maarten.mostert at wanadoo.fr Wed Jul 29 08:30:03 2009 From: maarten.mostert at wanadoo.fr (Maarten Mostert) Date: Wed, 29 Jul 2009 08:30:03 +0200 Subject: CSS in Deployement // Documentation In-Reply-To: References: <9C41174B-21CA-483A-9D9A-9C2E78196970@bergel.eu> <84C88391-F839-48FB-B481-1BBA7150BC75@iam.unibe.ch> <4A64E0EC.4010105@wanadoo.fr> <6ac749c10907210135o196cf0b3ja7235034c769e373@mail.gmail.com> <33245897.54337.1248168360048.JavaMail.www@wwinf2605> <6ac749c10907210230l7050c236x3330c5f8d21f02c6@mail.gmail.com> Message-ID: <4A6FEC6B.1000609@wanadoo.fr> An HTML attachment was scrubbed... URL: From renggli at gmail.com Wed Jul 29 09:15:50 2009 From: renggli at gmail.com (Lukas Renggli) Date: Wed, 29 Jul 2009 09:15:50 +0200 Subject: exporting all the PRPages in wiki text format In-Reply-To: References: Message-ID: <67628d690907290015w62ca7f48k1cd173c616c56b17@mail.gmail.com> > I was going to tackle making a component or method on the import/export > component to export > all the pages in Pier in Wiki format. I"m wondering if anyone has done this > before? There isn't anything out of the box, but it is rather simple to do. Try something along the following lines: aKernel root enumerator all do: [ :each | PRWikiWriter write: each document to: aStream ] Lukas -- Lukas Renggli http://www.lukas-renggli.ch From johnmci at smalltalkconsulting.com Wed Jul 29 09:36:25 2009 From: johnmci at smalltalkconsulting.com (John M McIntosh) Date: Wed, 29 Jul 2009 00:36:25 -0700 Subject: exporting all the PRPages in wiki text format In-Reply-To: <67628d690907290015w62ca7f48k1cd173c616c56b17@mail.gmail.com> References: <67628d690907290015w62ca7f48k1cd173c616c56b17@mail.gmail.com> Message-ID: <3A35EFF1-43A2-4CD5-B989-8B2BDCC115E9@smalltalkconsulting.com> Ok, well I had done | a | a := OrderedCollection new. IPhoneWikiServerUI kernel root enumerator with; all; do: [ :each | each class = PRPage ifTrue: [a add: each]]. stream := StandardFileStream forceNewFileNamed: 'exportedWikiData.txt'. [a do: [:e | stream nextPutAll: '**********##########';cr. stream nextPutAll: e name;cr. stream nextPutAll: '##########**********';cr. stream nextPutAll: e contents;cr.]] ensure: [stream close]. I'm not sure if the "e contents" does the same thing as the "PRWikiWriter write: each document to: " On 29-Jul-09, at 12:15 AM, Lukas Renggli wrote: >> I was going to tackle making a component or method on the import/ >> export >> component to exportt >> all the pages in Pier in Wiki format. I"m wondering if anyone has >> done this >> before? > > There isn't anything out of the box, but it is rather simple to do. > Try something along the following lines: > > aKernel root enumerator all > do: [ :each | PRWikiWriter write: each document to: aStream ] > > Lukas > > -- > Lukas Renggli > http://www.lukas-renggli.ch -- = = = ======================================================================== John M. McIntosh Twitter: squeaker68882 Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com = = = ======================================================================== From renggli at gmail.com Wed Jul 29 09:49:05 2009 From: renggli at gmail.com (Lukas Renggli) Date: Wed, 29 Jul 2009 09:49:05 +0200 Subject: exporting all the PRPages in wiki text format In-Reply-To: <3A35EFF1-43A2-4CD5-B989-8B2BDCC115E9@smalltalkconsulting.com> References: <67628d690907290015w62ca7f48k1cd173c616c56b17@mail.gmail.com> <3A35EFF1-43A2-4CD5-B989-8B2BDCC115E9@smalltalkconsulting.com> Message-ID: <67628d690907290049o21f10d7crb7ef609eb4496adf@mail.gmail.com> > I'm not sure if the "e contents" does the same thing as the "PRWikiWriter > write: each document to: " Yes, that should be the same. Lukas > > On 29-Jul-09, at 12:15 AM, Lukas Renggli wrote: > >>> I was going to tackle making a component or method on the import/export >>> component to exportt >>> all the pages in Pier in Wiki format. I"m wondering if anyone has done >>> this >>> before? >> >> There isn't anything out of the box, but it is rather simple to do. >> Try something along the following lines: >> >> aKernel root enumerator all >> ? do: [ :each | PRWikiWriter write: each document to: aStream ] >> >> Lukas >> >> -- >> Lukas Renggli >> http://www.lukas-renggli.ch > > -- > =========================================================================== > John M. McIntosh ? Twitter: ?squeaker68882 > Corporate Smalltalk Consulting Ltd. ?http://www.smalltalkconsulting.com > =========================================================================== > > > > > -- Lukas Renggli http://www.lukas-renggli.ch From marianopeck at gmail.com Wed Jul 29 22:33:47 2009 From: marianopeck at gmail.com (Mariano Martinez Peck) Date: Wed, 29 Jul 2009 19:33:47 -0100 Subject: CSS in Deployement // Documentation In-Reply-To: <4A6FEC6B.1000609@wanadoo.fr> References: <9C41174B-21CA-483A-9D9A-9C2E78196970@bergel.eu> <84C88391-F839-48FB-B481-1BBA7150BC75@iam.unibe.ch> <4A64E0EC.4010105@wanadoo.fr> <6ac749c10907210135o196cf0b3ja7235034c769e373@mail.gmail.com> <33245897.54337.1248168360048.JavaMail.www@wwinf2605> <6ac749c10907210230l7050c236x3330c5f8d21f02c6@mail.gmail.com> <4A6FEC6B.1000609@wanadoo.fr> Message-ID: On Wed, Jul 29, 2009 at 5:30 AM, Maarten Mostert wrote: > Hi, > > I finally got things sort of working but really there are a number of small > issues with the documentation. > > First of all I am running on Slicehost with Ubuntu 9.04 and Apache 2.2 > > > A) If I start up my image according to the docuentation I have to options: > > The install script delivered with Pier 1.2 > This is a script that just let you open a Pier image. Not more. This is useful while you are developing in your PC. > or the Scirpt instructions given here: http://www.piercms.com/doc/deploy > > This script is better when deploying to a production environment. For example, you can set the memory with mmap, the encoding, to be headless, etc... However, neither of these scripts are unique. The idea is you make your own script that suite your requirements. For example, this is a script from Miguel Cob? #!/bin/sh NOHUP="/usr/bin/nohup" SQUEAK_VM="/usr/bin/squeakvm" SQUEAK_OPTS="-mmap 100m -vm-sound-null -vm-display-X11 -headless" SQUEAK="$SQUEAK_VM $SQUEAK_OPTS" IMAGES_HOME="/home/miguel/squeak/images/azteca" SCRIPTS_HOME="/home/miguel/squeak/scripts/azteca" LOGS_HOME="/home/miguel/squeak/logs/azteca" START_PORT=8080 END_PORT=8093 # Start the Magma image echo "Starting Magma image" $NOHUP $SQUEAK $IMAGES_HOME/magma.image $SCRIPTS_HOME/magma.st >> $LOGS_HOME/magma.nohup & # Start the Seaside images for PORT in `seq $START_PORT $END_PORT`; do echo "Starting Seaside image on port: $port" $NOHUP $SQUEAK $IMAGES_HOME/seaside.image $SCRIPTS_HOME/seaside.st port $PORT >> $LOGS_HOME/seaside.nohup & done This is the one I use: #!/bin/bash #settings NOHUP="/usr/bin/nohup" VM="/home/mariano/squeak/expury/build/squeak" VM_PARAMS="-mmap 200m -vm-sound-null -vm-display-null" IMAGE="destinoMochila.image" #start the vm $NOHUP "$VM" $VM_PARAMS "$IMAGE" & # store in a file the PID of squeakVM echo $! > evince.pid > > Without being an expert they do not do the same thing. > As I am in bash I used the one of the documetation but maybe here > things allready went wrong ? > > > B) According to the documentation I should do the following: > > Set the Server Hostname to: http://www.YOURDOMAIN.com > Set the Server Path to: / > Set the Base Path to: / > > This seemed not to be ok? If I do so my pages are inacessable or show > up in a strange format like this. > > http://http%3A%2F%2Fstakepoint.com/multiuser > > Fianlly you have to leave th http:// of the servername to state: > www.YOURDOMAIN.com > I think I also noticed this sometime but I don't remember when neither if I fix it. Perhaps this is a bug? > > > > C) I spent a lot of time trying to figure ot which combination of > virtualhost file works. > Fianlly the next one seems to be ok? but still is different in the > Document root sections. from the one given in the documntation. > Me too. But this was "my fault" for being apache newbie. Luckely a friend help me with this. This is my virtualhost (in case it is useful for you) ServerName www.destinomochila.com.ar ServerAdmin marianopeck at gmail.com #Seteo de parametros ProxyPreserveHost On ProxyPreserveHost on ProxyRequests Off UseCanonicalName Off #Mapeo los directorios DocumentRoot /var/www/destinomochila.com.ar Options FollowSymLinks AllowOverride None Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all #Log ErrorLog /var/www/destinomochila.com.ar/logs/destinoMochila-error.log # Tal vez para desarrollo no es necesario, pero para produccion, puedo cachear las cosas asi (tengo que agregar el mod tambien): CacheEnable mem /seaside/files # estos son segundos y son el tiempo que espera el apache para ir a buscar nuevamente el archivo original y actualizar la cache CacheMaxExpire 604800 MCacheMaxObjectCount 10000 MCacheMaxObjectSize 64000000 MCacheMinObjectSize 10000 MCacheRemovalAlgorithm LRU MCacheSize 70000000 # Habilito compresion, pero solo para html, js, css plain text y demas, pero no para fotos, pdfs, etc DeflateCompressionLevel 9 SetOutputFilter DEFLATE #Seteo para que comprima los siguientes mimetypes AddOutputFilterByType DEFLATE text/html text/plain text/xml application/xml application/xhtml+xml text/javascript text/css #Estas 3 lineas son para que ande en exploradores viejos BrowserMatch ^Mozilla/4 gzip-only-text/html BrowserMatch ^Mozilla/4.0[678] no-gzip BrowserMatch \bMSIE !no-gzip !gzip-only-text/html #Exluyo los siguientes mimetypes SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip dont-vary SetEnvIfNoCase Request_URI \.(?:exe|t?gz|zip|bz2|sit|rar)$ no-gzip dont-vary SetEnvIfNoCase Request_URI \.pdf$ no-gzip dont-vary #Seteo logs para ver cuanto comprimo #DeflateFilterNote Input input_info #DeflateFilterNote Output output_info #DeflateFilterNote Ratio ratio_info #LogFormat '"%r" %{output_info}n/%{input_info}n (%{ratio_info}n%%)' deflate #CustomLog /var/www/destinomochila.com.ar/logs/destinoMochila-deflate.log deflate # rewrite incoming requests RewriteEngine On Order allow,deny Allow from all Order allow,deny Deny from all Satisfy All RewriteCond %{HTTP_HOST} ^www\.destinomochila\.com\.ar [NC] RewriteCond %{REQUEST_URI} ^/(.*) [NC] RewriteCond %{REQUEST_URI} !^/seaside/files/(.*) [NC] RewriteRule ^(.+) %{HTTP_HOST}$1 [C] RewriteRule www\.destinomochila\.com\.ar(.*) http://127.0.0.1:8888/seaside/destinoMochila$1 [P,L] Best, Mariano > > Regards, > > @+Maarten, > > > > > > > ServerName stakepoint.com > > ServerAlias www.stakepoint.com > > > # rewrite incoming requests > RewriteEngine On > # This is not ok? the next line is DocumentRoot > /home/maarten/public_html/files > DocumentRoot /home/maarten/public_html > RewriteRule ^/seaside/files/(.*)$ http://localhost:8080/seaside/files/$1[proxy,last] > # next line seems ok? but don't put /files behind public_html > RewriteCond /home/maarten/public_html/%{REQUEST_FILENAME} !-f > # next line seems ok? to > RewriteRule ^/(.*)$ http://localhost:8080/seaside/pier/$1 [proxy,last] > > > > # Set up general proxy properties > > ProxyRequests Off > ProxyPreserveHost On > > Order deny,allow > Allow from none > > > > > # Additional aliases to serve files normally served by Seaside; > # this is a simple optimization to reduce load on the app server > # by letting Apache do what it does best, serve static files; > # normally in development these directories are served by Seaside > # to keep development environment simpler > > > > Alias /files /home/maarten/public_html/files > Alias /support /home/maarten/public_html/files/support > > > > Order allow,deny > Allow from all > > > > ServerAdmin webmaster at stakepoint.com > > UseCanonicalName Off > > > > > > Mariano Martinez Peck a ?crit : > > Maarten Mostert: Perhaps yuo can post your VirtualHost file configuration > of Apache, what you have set in /seaside/config (the parameters baseURL, > hostname and path), and an ls -la to the DocumentRoot > > Best, > > Mariano > > On Thu, Jul 23, 2009 at 5:21 PM, Germ?n Arduino wrote: > > I've the same problem, also in a Linux box without Apache. > > The css don't works. As far as I saw all the files are on place, but the > css > don't works. > > Cheers. > > > 2009/7/21 Damien Cassou : > > On Tue, Jul 21, 2009 at 10:26 AM, Maarten > > MOSTERT wrote: > >> By CCS I meant all the style sheets. > > > > CSS then I guess :-) > > > > -- > > Damien Cassou > > http://damiencassou.seasidehosting.st > > > > "Lambdas are relegated to relative obscurity until Java makes them > > popular by not having them." James Iry > > _______________________________________________ > > 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 > > > ------------------------------ > > _______________________________________________ > 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From miguel.coba at gmail.com Wed Jul 29 22:56:51 2009 From: miguel.coba at gmail.com (Miguel Enrique =?ISO-8859-1?Q?Cob=E1?= Martinez) Date: Wed, 29 Jul 2009 15:56:51 -0500 Subject: CSS in Deployement // Documentation In-Reply-To: References: <9C41174B-21CA-483A-9D9A-9C2E78196970@bergel.eu> <84C88391-F839-48FB-B481-1BBA7150BC75@iam.unibe.ch> <4A64E0EC.4010105@wanadoo.fr> <6ac749c10907210135o196cf0b3ja7235034c769e373@mail.gmail.com> <33245897.54337.1248168360048.JavaMail.www@wwinf2605> <6ac749c10907210230l7050c236x3330c5f8d21f02c6@mail.gmail.com> <4A6FEC6B.1000609@wanadoo.fr> Message-ID: <1248901011.4185.4.camel@laptop.localdomain> El mi?, 29-07-2009 a las 19:33 -0100, Mariano Martinez Peck escribi?: > > > On Wed, Jul 29, 2009 at 5:30 AM, Maarten Mostert > wrote: > Hi, > > I finally got things sort of working but really there are a > number of small issues with the documentation. > > First of all I am running on Slicehost with Ubuntu 9.04 and > Apache 2.2 > > > A) If I start up my image according to the docuentation I > have to options: > > The install script delivered with Pier 1.2 > > This is a script that just let you open a Pier image. Not more. This > is useful while you are developing in your PC. > > or the Scirpt instructions given > here: http://www.piercms.com/doc/deploy > > This script is better when deploying to a production environment. For > example, you can set the memory with mmap, the encoding, to be > headless, etc... > However, neither of these scripts are unique. The idea is you make > your own script that suite your requirements. > > For example, this is a script from Miguel Cob? > > > #!/bin/sh > > NOHUP="/usr/bin/nohup" > SQUEAK_VM="/usr/bin/squeakvm" > SQUEAK_OPTS="-mmap 100m -vm-sound-null -vm-display-X11 -headless" > SQUEAK="$SQUEAK_VM $SQUEAK_OPTS" > IMAGES_HOME="/home/miguel/squeak/images/azteca" > SCRIPTS_HOME="/home/miguel/squeak/scripts/azteca" > LOGS_HOME="/home/miguel/squeak/logs/azteca" > START_PORT=8080 > END_PORT=8093 > > > # Start the Magma image > echo "Starting Magma image" > $NOHUP $SQUEAK $IMAGES_HOME/magma.image $SCRIPTS_HOME/magma.st >> > $LOGS_HOME/magma.nohup & > > # Start the Seaside images > for PORT in `seq $START_PORT $END_PORT`; do > echo "Starting Seaside image on port: $port" > $NOHUP $SQUEAK $IMAGES_HOME/seaside.image $SCRIPTS_HOME/seaside.st > port $PORT >> $LOGS_HOME/seaside.nohup & > done > > > This is the one I use: > > #!/bin/bash > #settings > NOHUP="/usr/bin/nohup" > VM="/home/mariano/squeak/expury/build/squeak" > VM_PARAMS="-mmap 200m -vm-sound-null -vm-display-null" > IMAGE="destinoMochila.image" > > #start the vm > $NOHUP "$VM" $VM_PARAMS "$IMAGE" & > # store in a file the PID of squeakVM > echo $! > evince.pid > Off thread, the evince.pid name I put in the example in the original thread was because I was storing the pid of the evince app (a pdf reader) in it. Just for maniatic correction, you could be use maybe: echo $! > squeak.pid Even better, add to the declaration section: PID_FILE="/home/mariano/squeak/or/other/path/you/want/for/squeak.pid" and then: echo $! > $PID_FILE Cheers, Miguel Cob? > > > > > Without being an expert they do not do the same thing. > As I am in bash I used the one of the documetation but > maybe here things allready went wrong ? > > > B) According to the documentation I should do the following: > > Set the Server Hostname to: http://www.YOURDOMAIN.com > Set the Server Path to: / > Set the Base Path to: / > > This seemed not to be ok? If I do so my pages are > inacessable or show up in a strange format like this. > > http://http%3A%2F%2Fstakepoint.com/multiuser > > Fianlly you have to leave th http:// of the servername to > state: www.YOURDOMAIN.com > > I think I also noticed this sometime but I don't remember when neither > if I fix it. > Perhaps this is a bug? > > > > > C) I spent a lot of time trying to figure ot which combination > of virtualhost file works. > Fianlly the next one seems to be ok? but still is > different in the Document root sections. from the one given in > the documntation. > > > > Me too. But this was "my fault" for being apache newbie. Luckely a > friend help me with this. > > This is my virtualhost (in case it is useful for you) > > > > > > ServerName www.destinomochila.com.ar > ServerAdmin marianopeck at gmail.com > > #Seteo de parametros > ProxyPreserveHost On > > ProxyPreserveHost on > ProxyRequests Off > UseCanonicalName Off > > > #Mapeo los directorios > DocumentRoot /var/www/destinomochila.com.ar > > Options FollowSymLinks > > AllowOverride None > > > > Options Indexes FollowSymLinks MultiViews > AllowOverride None > Order allow,deny > allow from all > > > #Log > > ErrorLog /var/www/destinomochila.com.ar/logs/destinoMochila-error.log > > # Tal vez para desarrollo no es necesario, pero para produccion, puedo cachear las cosas asi (tengo que agregar el mod tambien): > > CacheEnable mem /seaside/files > # estos son segundos y son el tiempo que espera el apache para ir a buscar nuevamente el archivo original y actualizar la cache > CacheMaxExpire 604800 > MCacheMaxObjectCount 10000 > MCacheMaxObjectSize 64000000 > > MCacheMinObjectSize 10000 > MCacheRemovalAlgorithm LRU > MCacheSize 70000000 > > # Habilito compresion, pero solo para html, js, css plain text y demas, pero no para fotos, pdfs, etc > DeflateCompressionLevel 9 > > SetOutputFilter DEFLATE > #Seteo para que comprima los siguientes mimetypes > AddOutputFilterByType DEFLATE text/html text/plain text/xml application/xml application/xhtml+xml text/javascript text/css > #Estas 3 lineas son para que ande en exploradores viejos > > BrowserMatch ^Mozilla/4 gzip-only-text/html > BrowserMatch ^Mozilla/4.0[678] no-gzip > BrowserMatch \bMSIE !no-gzip !gzip-only-text/html > #Exluyo los siguientes mimetypes > SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip dont-vary > > SetEnvIfNoCase Request_URI \.(?:exe|t?gz|zip|bz2|sit|rar)$ no-gzip dont-vary > SetEnvIfNoCase Request_URI \.pdf$ no-gzip dont-vary > #Seteo logs para ver cuanto comprimo > #DeflateFilterNote Input input_info > #DeflateFilterNote Output output_info > > #DeflateFilterNote Ratio ratio_info > #LogFormat '"%r" %{output_info}n/%{input_info}n (%{ratio_info}n%%)' deflate > #CustomLog /var/www/destinomochila.com.ar/logs/destinoMochila-deflate.log deflate > > > > # rewrite incoming requests > RewriteEngine On > > > Order allow,deny > Allow from all > > > Order allow,deny > Deny from all > Satisfy All > > > > RewriteCond %{HTTP_HOST} ^www\.destinomochila\.com\.ar [NC] > RewriteCond %{REQUEST_URI} ^/(.*) [NC] > RewriteCond %{REQUEST_URI} !^/seaside/files/(.*) [NC] > RewriteRule ^(.+) %{HTTP_HOST}$1 [C] > > RewriteRule www\.destinomochila\.com\.ar(.*) http://127.0.0.1:8888/seaside/destinoMochila$1 [P,L] > > > > Best, > > Mariano > > > > > > Regards, > > @+Maarten, > > > > > > > ServerName stakepoint.com > > ServerAlias www.stakepoint.com > > > # rewrite incoming requests > RewriteEngine On > # This is not ok? the next line is > DocumentRoot /home/maarten/public_html/files > DocumentRoot /home/maarten/public_html > RewriteRule ^/seaside/files/(.*)$ > http://localhost:8080/seaside/files/$1 [proxy,last] > # next line seems ok? but don't put /files behind public_html > > RewriteCond /home/maarten/public_html/%{REQUEST_FILENAME} !-f > # next line seems ok? to > RewriteRule ^/(.*)$ http://localhost:8080/seaside/pier/$1 > [proxy,last] > > > > # Set up general proxy properties > > ProxyRequests Off > ProxyPreserveHost On > > Order deny,allow > Allow from none > > > > > # Additional aliases to serve files normally served by > Seaside; > # this is a simple optimization to reduce load on the app > server > # by letting Apache do what it does best, serve static files; > # normally in development these directories are served by > Seaside > # to keep development environment simpler > > > > Alias /files /home/maarten/public_html/files > Alias /support /home/maarten/public_html/files/support > > > > Order allow,deny > Allow from all > > > > ServerAdmin webmaster at stakepoint.com > > UseCanonicalName Off > > > > > > Mariano Martinez Peck a ?crit : > > Maarten Mostert: Perhaps yuo can post your VirtualHost file > > configuration of Apache, what you have set > > in /seaside/config (the parameters baseURL, hostname and > > path), and an ls -la to the DocumentRoot > > > > Best, > > > > Mariano > > > > On Thu, Jul 23, 2009 at 5:21 PM, Germ?n Arduino > > wrote: > > I've the same problem, also in a Linux box without > > Apache. > > > > The css don't works. As far as I saw all the files > > are on place, but the css > > don't works. > > > > Cheers. > > > > > > 2009/7/21 Damien Cassou : > > > On Tue, Jul 21, 2009 at 10:26 AM, Maarten > > > MOSTERT wrote: > > >> By CCS I meant all the style sheets. > > > > > > CSS then I guess :-) > > > > > > -- > > > Damien Cassou > > > http://damiencassou.seasidehosting.st > > > > > > "Lambdas are relegated to relative obscurity until > > Java makes them > > > popular by not having them." James Iry > > > _______________________________________________ > > > 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 > > > > > > > > ____________________________________________________________ > > > > _______________________________________________ > > 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 > > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki From marianopeck at gmail.com Wed Jul 29 23:03:36 2009 From: marianopeck at gmail.com (Mariano Martinez Peck) Date: Wed, 29 Jul 2009 20:03:36 -0100 Subject: CSS in Deployement // Documentation In-Reply-To: <1248901011.4185.4.camel@laptop.localdomain> References: <9C41174B-21CA-483A-9D9A-9C2E78196970@bergel.eu> <4A64E0EC.4010105@wanadoo.fr> <6ac749c10907210135o196cf0b3ja7235034c769e373@mail.gmail.com> <33245897.54337.1248168360048.JavaMail.www@wwinf2605> <6ac749c10907210230l7050c236x3330c5f8d21f02c6@mail.gmail.com> <4A6FEC6B.1000609@wanadoo.fr> <1248901011.4185.4.camel@laptop.localdomain> Message-ID: Thanks for your correction Miguel ;) 2009/7/29 Miguel Enrique Cob? Martinez > El mi?, 29-07-2009 a las 19:33 -0100, Mariano Martinez Peck escribi?: > > > > > > On Wed, Jul 29, 2009 at 5:30 AM, Maarten Mostert > > wrote: > > Hi, > > > > I finally got things sort of working but really there are a > > number of small issues with the documentation. > > > > First of all I am running on Slicehost with Ubuntu 9.04 and > > Apache 2.2 > > > > > > A) If I start up my image according to the docuentation I > > have to options: > > > > The install script delivered with Pier 1.2 > > > > This is a script that just let you open a Pier image. Not more. This > > is useful while you are developing in your PC. > > > > or the Scirpt instructions given > > here: http://www.piercms.com/doc/deploy > > > > This script is better when deploying to a production environment. For > > example, you can set the memory with mmap, the encoding, to be > > headless, etc... > > However, neither of these scripts are unique. The idea is you make > > your own script that suite your requirements. > > > > For example, this is a script from Miguel Cob? > > > > > > #!/bin/sh > > > > NOHUP="/usr/bin/nohup" > > SQUEAK_VM="/usr/bin/squeakvm" > > SQUEAK_OPTS="-mmap 100m -vm-sound-null -vm-display-X11 -headless" > > SQUEAK="$SQUEAK_VM $SQUEAK_OPTS" > > IMAGES_HOME="/home/miguel/squeak/images/azteca" > > SCRIPTS_HOME="/home/miguel/squeak/scripts/azteca" > > LOGS_HOME="/home/miguel/squeak/logs/azteca" > > START_PORT=8080 > > END_PORT=8093 > > > > > > # Start the Magma image > > echo "Starting Magma image" > > $NOHUP $SQUEAK $IMAGES_HOME/magma.image $SCRIPTS_HOME/magma.st >> > > $LOGS_HOME/magma.nohup & > > > > # Start the Seaside images > > for PORT in `seq $START_PORT $END_PORT`; do > > echo "Starting Seaside image on port: $port" > > $NOHUP $SQUEAK $IMAGES_HOME/seaside.image $SCRIPTS_HOME/seaside.st > > port $PORT >> $LOGS_HOME/seaside.nohup & > > done > > > > > > This is the one I use: > > > > #!/bin/bash > > #settings > > NOHUP="/usr/bin/nohup" > > VM="/home/mariano/squeak/expury/build/squeak" > > VM_PARAMS="-mmap 200m -vm-sound-null -vm-display-null" > > IMAGE="destinoMochila.image" > > > > #start the vm > > $NOHUP "$VM" $VM_PARAMS "$IMAGE" & > > # store in a file the PID of squeakVM > > echo $! > evince.pid > > > > Off thread, the evince.pid name I put in the example in the original > thread was because I was storing the pid of the evince app (a pdf > reader) in it. Just for maniatic correction, you could be use maybe: > > echo $! > squeak.pid > > Even better, add to the declaration section: > > PID_FILE="/home/mariano/squeak/or/other/path/you/want/for/squeak.pid" > > and then: > > echo $! > $PID_FILE > > Cheers, > Miguel Cob? > > > > > > > > > > Without being an expert they do not do the same thing. > > As I am in bash I used the one of the documetation but > > maybe here things allready went wrong ? > > > > > > B) According to the documentation I should do the following: > > > > Set the Server Hostname to: http://www.YOURDOMAIN.com > > Set the Server Path to: / > > Set the Base Path to: / > > > > This seemed not to be ok? If I do so my pages are > > inacessable or show up in a strange format like this. > > > > http://http%3A%2F%2Fstakepoint.com/multiuser > > > > Fianlly you have to leave th http:// of the servername to > > state: www.YOURDOMAIN.com > > > > I think I also noticed this sometime but I don't remember when neither > > if I fix it. > > Perhaps this is a bug? > > > > > > > > > > C) I spent a lot of time trying to figure ot which combination > > of virtualhost file works. > > Fianlly the next one seems to be ok? but still is > > different in the Document root sections. from the one given in > > the documntation. > > > > > > > > Me too. But this was "my fault" for being apache newbie. Luckely a > > friend help me with this. > > > > This is my virtualhost (in case it is useful for you) > > > > > > > > > > > > ServerName www.destinomochila.com.ar > > ServerAdmin marianopeck at gmail.com > > > > #Seteo de parametros > > ProxyPreserveHost On > > > > ProxyPreserveHost on > > ProxyRequests Off > > UseCanonicalName Off > > > > > > #Mapeo los directorios > > DocumentRoot /var/www/destinomochila.com.ar > > > > Options FollowSymLinks > > > > AllowOverride None > > > > > > > > Options Indexes FollowSymLinks MultiViews > > AllowOverride None > > Order allow,deny > > allow from all > > > > > > #Log > > > > ErrorLog /var/www/destinomochila.com.ar/logs/destinoMochila-error.log > > > > # Tal vez para desarrollo no es necesario, pero para produccion, puedo > cachear las cosas asi (tengo que agregar el mod tambien): > > > > CacheEnable mem /seaside/files > > # estos son segundos y son el tiempo que espera el apache para ir a > buscar nuevamente el archivo original y actualizar la cache > > CacheMaxExpire 604800 > > MCacheMaxObjectCount 10000 > > MCacheMaxObjectSize 64000000 > > > > MCacheMinObjectSize 10000 > > MCacheRemovalAlgorithm LRU > > MCacheSize 70000000 > > > > # Habilito compresion, pero solo para html, js, css plain text y demas, > pero no para fotos, pdfs, etc > > DeflateCompressionLevel 9 > > > > SetOutputFilter DEFLATE > > #Seteo para que comprima los siguientes mimetypes > > AddOutputFilterByType DEFLATE text/html text/plain text/xml > application/xml application/xhtml+xml text/javascript text/css > > #Estas 3 lineas son para que ande en exploradores viejos > > > > BrowserMatch ^Mozilla/4 gzip-only-text/html > > BrowserMatch ^Mozilla/4.0[678] no-gzip > > BrowserMatch \bMSIE !no-gzip !gzip-only-text/html > > #Exluyo los siguientes mimetypes > > SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip dont-vary > > > > SetEnvIfNoCase Request_URI \.(?:exe|t?gz|zip|bz2|sit|rar)$ no-gzip > dont-vary > > SetEnvIfNoCase Request_URI \.pdf$ no-gzip dont-vary > > #Seteo logs para ver cuanto comprimo > > #DeflateFilterNote Input input_info > > #DeflateFilterNote Output output_info > > > > #DeflateFilterNote Ratio ratio_info > > #LogFormat '"%r" %{output_info}n/%{input_info}n (%{ratio_info}n%%)' > deflate > > #CustomLog /var/www/ > destinomochila.com.ar/logs/destinoMochila-deflate.log deflate > > > > > > > > # rewrite incoming requests > > RewriteEngine On > > > > > > Order allow,deny > > Allow from all > > > > > > Order allow,deny > > Deny from all > > Satisfy All > > > > > > > > RewriteCond %{HTTP_HOST} ^www\.destinomochila\.com\.ar [NC] > > RewriteCond %{REQUEST_URI} ^/(.*) [NC] > > RewriteCond %{REQUEST_URI} !^/seaside/files/(.*) [NC] > > RewriteRule ^(.+) %{HTTP_HOST}$1 [C] > > > > RewriteRule www\.destinomochila\.com\.ar(.*) > http://127.0.0.1:8888/seaside/destinoMochila$1 [P,L] > > > > > > > > Best, > > > > Mariano > > > > > > > > > > > > Regards, > > > > @+Maarten, > > > > > > > > > > > > > > ServerName stakepoint.com > > > > ServerAlias www.stakepoint.com > > > > > > # rewrite incoming requests > > RewriteEngine On > > # This is not ok? the next line is > > DocumentRoot /home/maarten/public_html/files > > DocumentRoot /home/maarten/public_html > > RewriteRule ^/seaside/files/(.*)$ > > http://localhost:8080/seaside/files/$1 [proxy,last] > > # next line seems ok? but don't put /files behind public_html > > > > RewriteCond /home/maarten/public_html/%{REQUEST_FILENAME} !-f > > # next line seems ok? to > > RewriteRule ^/(.*)$ http://localhost:8080/seaside/pier/$1 > > [proxy,last] > > > > > > > > # Set up general proxy properties > > > > ProxyRequests Off > > ProxyPreserveHost On > > > > Order deny,allow > > Allow from none > > > > > > > > > > # Additional aliases to serve files normally served by > > Seaside; > > # this is a simple optimization to reduce load on the app > > server > > # by letting Apache do what it does best, serve static files; > > # normally in development these directories are served by > > Seaside > > # to keep development environment simpler > > > > > > > > Alias /files /home/maarten/public_html/files > > Alias /support /home/maarten/public_html/files/support > > > > > > > > Order allow,deny > > Allow from all > > > > > > > > ServerAdmin webmaster at stakepoint.com > > > > UseCanonicalName Off > > > > > > > > > > > > Mariano Martinez Peck a ?crit : > > > Maarten Mostert: Perhaps yuo can post your VirtualHost file > > > configuration of Apache, what you have set > > > in /seaside/config (the parameters baseURL, hostname and > > > path), and an ls -la to the DocumentRoot > > > > > > Best, > > > > > > Mariano > > > > > > On Thu, Jul 23, 2009 at 5:21 PM, Germ?n Arduino > > > wrote: > > > I've the same problem, also in a Linux box without > > > Apache. > > > > > > The css don't works. As far as I saw all the files > > > are on place, but the css > > > don't works. > > > > > > Cheers. > > > > > > > > > 2009/7/21 Damien Cassou : > > > > On Tue, Jul 21, 2009 at 10:26 AM, Maarten > > > > MOSTERT wrote: > > > >> By CCS I meant all the style sheets. > > > > > > > > CSS then I guess :-) > > > > > > > > -- > > > > Damien Cassou > > > > http://damiencassou.seasidehosting.st > > > > > > > > "Lambdas are relegated to relative obscurity until > > > Java makes them > > > > popular by not having them." James Iry > > > > _______________________________________________ > > > > 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 > > > > > > > > > > > > ____________________________________________________________ > > > > > > _______________________________________________ > > > 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 > > > > _______________________________________________ > > 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From marianopeck at gmail.com Fri Jul 31 03:57:52 2009 From: marianopeck at gmail.com (Mariano Martinez Peck) Date: Thu, 30 Jul 2009 22:57:52 -0300 Subject: Pier and problems with files Message-ID: Hi everybody! I found a bug with files management in Pier. Some time ago, I said in a thread that the "cancel" button when you are adding a component, doesn't work. First you are asked for a name and a type. If you put cancel there, it works. Suppose I choose Component and click "add" and go to the second windows, where you can choose the component, and you click "cancel" this won't prevent the component to being created. In this case, what I need to do is to remove it then using remove command. After mentioning that, now I have a bigger problem. Suppose I add a file. In the second windows, I don't upload any file and put cancel. The structure is created (as the other case) but now, I cannot remove it because if I click on the file, instead of having the lists of commands to the file, the download popup of the browser is open. Look my attached file (the file is "aaa"). So.....how can I remove them this file/structure from my pier website ? In addition, suppose I choose a picture and upload the file successfully. Now I want to remove it. How can I do this? because if I click on the file (from my environment) it is displayed in the browser as I attach in my other screenshot. So, I cannot go to "remove" command. Thanks for the help in advance! Mariano -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: pierFileBad.png Type: image/png Size: 216368 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: PierPicture.png Type: image/png Size: 413877 bytes Desc: not available URL: From p3anoman at gmail.com Fri Jul 31 04:35:07 2009 From: p3anoman at gmail.com (John McKeon) Date: Thu, 30 Jul 2009 22:35:07 -0400 Subject: Pier and problems with files In-Reply-To: References: Message-ID: <40f637ec0907301935r74f360c5u304d5026980b7fd9@mail.gmail.com> Hi Mariano! Try using the Browse command. Warm regards John On Thu, Jul 30, 2009 at 9:57 PM, Mariano Martinez Peck < marianopeck at gmail.com> wrote: > Hi everybody! I found a bug with files management in Pier. Some time ago, I > said in a thread that the "cancel" button when you are adding a component, > doesn't work. First you are asked for a name and a type. If you put cancel > there, it works. Suppose I choose Component and click "add" and go to the > second windows, where you can choose the component, and you click "cancel" > this won't prevent the component to being created. In this case, what I need > to do is to remove it then using remove command. > > After mentioning that, now I have a bigger problem. Suppose I add a file. > In the second windows, I don't upload any file and put cancel. The structure > is created (as the other case) but now, I cannot remove it because if I > click on the file, instead of having the lists of commands to the file, the > download popup of the browser is open. Look my attached file (the file is > "aaa"). So.....how can I remove them this file/structure from my pier > website ? > > In addition, suppose I choose a picture and upload the file successfully. > Now I want to remove it. How can I do this? because if I click on the file > (from my environment) it is displayed in the browser as I attach in my other > screenshot. So, I cannot go to "remove" command. > > Thanks for the help in advance! > > Mariano > > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -- http://jmck.seasidehosting.st -------------- next part -------------- An HTML attachment was scrubbed... URL: From marianopeck at gmail.com Fri Jul 31 04:39:39 2009 From: marianopeck at gmail.com (Mariano Martinez Peck) Date: Thu, 30 Jul 2009 23:39:39 -0300 Subject: Pier and problems with files In-Reply-To: <40f637ec0907301935r74f360c5u304d5026980b7fd9@mail.gmail.com> References: <40f637ec0907301935r74f360c5u304d5026980b7fd9@mail.gmail.com> Message-ID: On Thu, Jul 30, 2009 at 11:35 PM, John McKeon wrote: > Hi Mariano! > Try using the Browse command. As always, John giving me the light ;) Yeah!!! That did the trick. As I cannot go to that file, I went to the parent and used the browse command and all the childs were also listed. Then I selected the child (the file I wanted to remove) and I removed!!! Thanks for the help man. > > Warm regards They are appreciate. Too cold here ahahaha > > John > > > On Thu, Jul 30, 2009 at 9:57 PM, Mariano Martinez Peck < > marianopeck at gmail.com> wrote: > >> Hi everybody! I found a bug with files management in Pier. Some time ago, >> I said in a thread that the "cancel" button when you are adding a component, >> doesn't work. First you are asked for a name and a type. If you put cancel >> there, it works. Suppose I choose Component and click "add" and go to the >> second windows, where you can choose the component, and you click "cancel" >> this won't prevent the component to being created. In this case, what I need >> to do is to remove it then using remove command. >> >> After mentioning that, now I have a bigger problem. Suppose I add a file. >> In the second windows, I don't upload any file and put cancel. The structure >> is created (as the other case) but now, I cannot remove it because if I >> click on the file, instead of having the lists of commands to the file, the >> download popup of the browser is open. Look my attached file (the file is >> "aaa"). So.....how can I remove them this file/structure from my pier >> website ? >> >> In addition, suppose I choose a picture and upload the file successfully. >> Now I want to remove it. How can I do this? because if I click on the file >> (from my environment) it is displayed in the browser as I attach in my other >> screenshot. So, I cannot go to "remove" command. >> >> Thanks for the help in advance! >> >> Mariano >> >> _______________________________________________ >> Magritte, Pier and Related Tools ... >> https://www.iam.unibe.ch/mailman/listinfo/smallwiki >> > > > > -- > http://jmck.seasidehosting.st > > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -------------- next part -------------- An HTML attachment was scrubbed... URL: From aaron at cocoanutstech.com Fri Jul 31 05:17:57 2009 From: aaron at cocoanutstech.com (Aaron Rosenzweig) Date: Thu, 30 Jul 2009 23:17:57 -0400 Subject: Headless on Mac OS X Message-ID: Hello All, Does anyone run Pier headless on Mac OS X? I saw the nice tutorial here: http://www.piercms.com/doc/deploy But it only deals with starting up the VM and not how to close it gracefully when the entire server reboots. I'm thinking of something along the lines of using "systemstarter" in Tiger or "launchctl" in Leopard. These both automatically issue a "start" and "stop" script. For example: sudo systemstarter start "WebObjects Services" or sudo launchctl start com.apple.webobjects.wotaskd Thanks, -- Aaron From marianopeck at gmail.com Fri Jul 31 05:29:09 2009 From: marianopeck at gmail.com (Mariano Martinez Peck) Date: Fri, 31 Jul 2009 00:29:09 -0300 Subject: Headless on Mac OS X In-Reply-To: References: Message-ID: On Fri, Jul 31, 2009 at 12:17 AM, Aaron Rosenzweig wrote: > Hello All, > > Does anyone run Pier headless on Mac OS X? I saw the nice tutorial here: > > http://www.piercms.com/doc/deploy > > But it only deals with starting up the VM and not how to close it > gracefully when the entire server reboots. > > I'm thinking of something along the lines of using "systemstarter" in Tiger > or "launchctl" in Leopard. These both automatically issue a "start" and > "stop" script. For example: > > sudo systemstarter start "WebObjects Services" > > or > > sudo launchctl start com.apple.webobjects.wotaskd > I am sorry I don't know how Mac works, but I can tell you what I do in Linux (with other's help in a seaside thread) startMyApp.sh: #!/bin/sh #settings NOHUP="/usr/bin/nohup" VM="/home/mariano/squeak/expury/build/squeak" # Para produccion, como no van a estar las X, tengo que poner el -vm-display-null VM_PARAMS="-mmap 200m -vm-sound-null" IMAGE="destinoMochila.image" #start the vm $NOHUP "$VM" $VM_PARAMS "$IMAGE" & # store in a file the PID of squeakVM echo $! > evince.pid stopMyApp.sh: #!/bin/bash PID=`cat evince.pid` kill -15 $PID || exit 0 sleep 2 kill -2 $PID || exit 0 sleep 2 kill -1 $PID || exit 0 sleep 2 kill -9 $PID || exit 0 This has three nice things: 1) Doesn't do a kill -9 first but it tries to kill the process with better signals 2) I store the pid in a file so that then I know which process to kill 3) I use nohup so that I can start the process and then close the terminal (suppose you are trough ssh). I hope this helps, Mariano > > Thanks, > -- Aaron > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -------------- next part -------------- An HTML attachment was scrubbed... URL: From johnmci at smalltalkconsulting.com Fri Jul 31 05:34:15 2009 From: johnmci at smalltalkconsulting.com (John McIntosh) Date: Thu, 30 Jul 2009 20:34:15 -0700 Subject: Headless on Mac OS X In-Reply-To: References: Message-ID: <7158c5640907302034l5ec6751bwaf59fe7f3871ceea@mail.gmail.com> If you are using the macintosh carbon version of the VM, you can set LSBackgroundOnly=YES and then starting the VM will make it run headless as a background process. Also see -headless as a cmd option On Thu, Jul 30, 2009 at 8:17 PM, Aaron Rosenzweig wrote: > Hello All, > > Does anyone run Pier headless on Mac OS X? I saw the nice tutorial here: > > http://www.piercms.com/doc/deploy > > But it only deals with starting up the VM and not how to close it > gracefully when the entire server reboots. > > I'm thinking of something along the lines of using "systemstarter" in Tiger > or "launchctl" in Leopard. These both automatically issue a "start" and > "stop" script. For example: > > sudo systemstarter start "WebObjects Services" > > or > > sudo launchctl start com.apple.webobjects.wotaskd > > Thanks, > -- Aaron > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -- =========================================================================== John M. McIntosh Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com =========================================================================== -------------- next part -------------- An HTML attachment was scrubbed... URL: From merlyn at stonehenge.com Fri Jul 31 16:50:05 2009 From: merlyn at stonehenge.com (Randal L. Schwartz) Date: Fri, 31 Jul 2009 07:50:05 -0700 Subject: Headless on Mac OS X In-Reply-To: (Aaron Rosenzweig's message of "Thu, 30 Jul 2009 23:17:57 -0400") References: Message-ID: <86fxcc6h5u.fsf@blue.stonehenge.com> >>>>> "Aaron" == Aaron Rosenzweig writes: Aaron> I'm thinking of something along the lines of using "systemstarter" in Aaron> Tiger or "launchctl" in Leopard. These both automatically issue a Aaron> "start" and "stop" script. I've had pretty good success building custom things with Lingon, which is a nice GUI to the rather awkward launchctl. I think there's a version by the same folks for systemstarter. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion