From deniersi at iro.umontreal.ca Tue Dec 2 16:48:06 2008 From: deniersi at iro.umontreal.ca (Simon Denier) Date: Tue, 2 Dec 2008 16:48:06 +0100 Subject: Internal Links Message-ID: <0999F52B-D856-4136-B3DF-383ACC5E2EC3@iro.umontreal.ca> Hi Just wondering how Pier deals with internal links in a document, looks pretty obscure to me. The straight way would go for *An anchor>#anchor* but it doesnt work. Instead I get a structure creation link. Then there is a brief note about a '@-' syntax in the FAQ http://www.piercms.com/doc/faq?_s=0yEtAEezi_Bi-svF&_k=dJKceJ4N&_n&26#183366425 I try different thing, like *An anchor>@anchor*, *An anchor>@- anchor*, *An anchor>. at anchor* but well, no magic works and this is definitely not intuitive. -- Simon -------------- next part -------------- An HTML attachment was scrubbed... URL: From renggli at gmail.com Tue Dec 2 18:34:03 2008 From: renggli at gmail.com (Lukas Renggli) Date: Tue, 2 Dec 2008 18:34:03 +0100 Subject: Internal Links In-Reply-To: <0999F52B-D856-4136-B3DF-383ACC5E2EC3@iro.umontreal.ca> References: <0999F52B-D856-4136-B3DF-383ACC5E2EC3@iro.umontreal.ca> Message-ID: <67628d690812020934w1db432dat13be1cb8cdb7cede@mail.gmail.com> > Just wondering how Pier deals with internal links in a document, looks > pretty obscure to me. The syntax is backward compatible with SWiki. > The straight way would go for *An anchor>#anchor* but it doesnt work. > Instead I get a structure creation link. Thanks for reporting. This was broken and is fixed in: Name: Pier-Seaside-lr.321 Author: lr Time: 2 December 2008, 6:31:42 pm UUID: 7d3f5f83-7508-480e-9e62-4f747e89ed68 Ancestors: Pier-Seaside-lr.320 - fixes the missing fragment > I try different thing, like *An anchor>@anchor*, *An anchor>@-anchor*, > *An anchor>. at anchor* > but well, no magic works and this is definitely not intuitive. The "@" is used to define anchors within the document to jump to. The same character is used to define the jump target within anchors. Paths can be absolute (starting with "/") or relative (everything else). ".." represents the parent, "." represents the receiver itself. This is exactly like on Unix or even Windows. So the following document works for me: @top [lots of lines of text] *goes to the top>@top* *goes there as well>. at top* -- Lukas Renggli http://www.lukas-renggli.ch From deniersi at iro.umontreal.ca Tue Dec 2 22:57:47 2008 From: deniersi at iro.umontreal.ca (Simon Denier) Date: Tue, 2 Dec 2008 22:57:47 +0100 Subject: Internal Links In-Reply-To: <67628d690812020934w1db432dat13be1cb8cdb7cede@mail.gmail.com> References: <0999F52B-D856-4136-B3DF-383ACC5E2EC3@iro.umontreal.ca> <67628d690812020934w1db432dat13be1cb8cdb7cede@mail.gmail.com> Message-ID: <5674C29E-C8B3-4807-9394-242EFA4312B8@iro.umontreal.ca> On 2 d?c. 08, at 18:34, Lukas Renggli wrote: >> Just wondering how Pier deals with internal links in a document, >> looks >> pretty obscure to me. > > The syntax is backward compatible with SWiki. mmm, ok, but it should be said somewhere :) (and I've never used swiki) >> >> I try different thing, like *An anchor>@anchor*, *An anchor>@- >> anchor*, >> *An anchor>. at anchor* >> but well, no magic works and this is definitely not intuitive. > > The "@" is used to define anchors within the document to jump to. The > same character is used to define the jump target within anchors. > > Paths can be absolute (starting with "/") or relative (everything > else). ".." represents the parent, "." represents the receiver itself. > This is exactly like on Unix or even Windows. > > So the following document works for me: > > @top > > [lots of lines of text] > > *goes to the top>@top* > *goes there as well>. at top* Actually it doesnt work out of the box. When I update all packages with Monticello, then it works. I didn't take time to track which update did the correction though. -- Simon From v.krishnakumar at gmail.com Sun Dec 7 08:44:07 2008 From: v.krishnakumar at gmail.com (Krishna) Date: Sun, 7 Dec 2008 13:14:07 +0530 Subject: data recovery? Message-ID: Hi all, I'm new to Pier. Yesterday, I moved my site from dokuwiki to Pier and today I find that the squeak instance crashed and when restarted I get the default Pier site. Is there a way to recover my data? Cheers, -Krishna -- Why make things difficult, when it is possible to make them cryptic and totally illogical, with just a little bit more effort? - Aksel Peter Jorgensen From damien.pollet at gmail.com Sun Dec 7 17:36:56 2008 From: damien.pollet at gmail.com (Damien Pollet) Date: Sun, 7 Dec 2008 17:36:56 +0100 Subject: data recovery? In-Reply-To: References: Message-ID: <34b4844b0812070836p24e19ee5i8a5dccec68ec54b@mail.gmail.com> On Sun, Dec 7, 2008 at 08:44, Krishna wrote: > I'm new to Pier. Yesterday, I moved my site from dokuwiki to Pier and > today I find that the squeak instance crashed and when restarted I get > the default Pier site. Is there a way to recover my data? Did you have one of the persistency schemes setup ? If not and if you didn't manually save your image after loading the doku data into it, then I'm afraid you'll have to import it again. Else I'd check that the image still has the pier instance: PRKernel allInstances explore -- Damien Pollet type less, do more [ | ] http://people.untyped.org/damien.pollet From v.krishnakumar at gmail.com Sun Dec 7 19:02:55 2008 From: v.krishnakumar at gmail.com (Krishna) Date: Sun, 7 Dec 2008 23:32:55 +0530 Subject: data recovery? In-Reply-To: <34b4844b0812070836p24e19ee5i8a5dccec68ec54b@mail.gmail.com> References: <34b4844b0812070836p24e19ee5i8a5dccec68ec54b@mail.gmail.com> Message-ID: On Sun, Dec 7, 2008 at 10:06 PM, Damien Pollet wrote: > On Sun, Dec 7, 2008 at 08:44, Krishna wrote: >> I'm new to Pier. Yesterday, I moved my site from dokuwiki to Pier and >> today I find that the squeak instance crashed and when restarted I get >> the default Pier site. Is there a way to recover my data? > > Did you have one of the persistency schemes setup ? > If not and if you didn't manually save your image after loading the > doku data into it, then I'm afraid you'll have to import it again. > I din't change the default -- it read "A simple history based persistence" or something like that. > Else I'd check that the image still has the pier instance: PRKernel > allInstances explore > will try that. -- Why make things difficult, when it is possible to make them cryptic and totally illogical, with just a little bit more effort? - Aksel Peter Jorgensen From damien.cassou at gmail.com Mon Dec 8 14:41:17 2008 From: damien.cassou at gmail.com (Damien Cassou) Date: Mon, 8 Dec 2008 14:41:17 +0100 Subject: data recovery? In-Reply-To: References: Message-ID: <6ac749c10812080541o48d7b99agc48d39bb32f5010@mail.gmail.com> On Sun, Dec 7, 2008 at 8:44 AM, Krishna wrote: > I'm new to Pier. Yesterday, I moved my site from dokuwiki to Pier and > today I find that the squeak instance crashed and when restarted I get > the default Pier site. Is there a way to recover my data? Do you use the one-click image? If yes, have a look at the Contents/Resources directory. If there are more than one image file, run the latest. -- Damien Cassou http://damiencassou.seasidehosting.st From v.krishnakumar at gmail.com Mon Dec 8 16:49:33 2008 From: v.krishnakumar at gmail.com (Krishna) Date: Mon, 8 Dec 2008 21:19:33 +0530 Subject: data recovery? In-Reply-To: <6ac749c10812080541o48d7b99agc48d39bb32f5010@mail.gmail.com> References: <6ac749c10812080541o48d7b99agc48d39bb32f5010@mail.gmail.com> Message-ID: On Mon, Dec 8, 2008 at 7:11 PM, Damien Cassou wrote: > On Sun, Dec 7, 2008 at 8:44 AM, Krishna wrote: >> I'm new to Pier. Yesterday, I moved my site from dokuwiki to Pier and >> today I find that the squeak instance crashed and when restarted I get >> the default Pier site. Is there a way to recover my data? > > Do you use the one-click image? If yes, have a look at the > Contents/Resources directory. If there are more than one image file, > run the latest. > Yes, I'm using the one-click image and there was just one image and the data is not there. Anyways, not much was lost as I was just starting out. I recreated it. btw, the -swapbtn option supplied in pier.sh was not working in Linux version of the one-click installer. Cheers, -Krishna -- Why make things difficult, when it is possible to make them cryptic and totally illogical, with just a little bit more effort? - Aksel Peter Jorgensen From damien.cassou at gmail.com Tue Dec 9 13:56:16 2008 From: damien.cassou at gmail.com (Damien Cassou) Date: Tue, 9 Dec 2008 13:56:16 +0100 Subject: data recovery? In-Reply-To: References: <6ac749c10812080541o48d7b99agc48d39bb32f5010@mail.gmail.com> Message-ID: <6ac749c10812090456h79d254ffu35fa576df879b026@mail.gmail.com> On Mon, Dec 8, 2008 at 4:49 PM, Krishna wrote: > btw, the -swapbtn option supplied in pier.sh was not working in Linux > version of the one-click installer. It works for me : Ubuntu 8.04 32bits on a macbook -- Damien Cassou http://damiencassou.seasidehosting.st From v.krishnakumar at gmail.com Tue Dec 9 17:24:39 2008 From: v.krishnakumar at gmail.com (Krishna) Date: Tue, 9 Dec 2008 21:54:39 +0530 Subject: data recovery? In-Reply-To: <6ac749c10812090456h79d254ffu35fa576df879b026@mail.gmail.com> References: <6ac749c10812080541o48d7b99agc48d39bb32f5010@mail.gmail.com> <6ac749c10812090456h79d254ffu35fa576df879b026@mail.gmail.com> Message-ID: On Tue, Dec 9, 2008 at 6:26 PM, Damien Cassou wrote: > On Mon, Dec 8, 2008 at 4:49 PM, Krishna wrote: >> btw, the -swapbtn option supplied in pier.sh was not working in Linux >> version of the one-click installer. > > It works for me : Ubuntu 8.04 32bits on a macbook > Looks like it is a plugin specific option. I had to change -vm-display-X11 to -vm-display-null as I was running Arch Linux x86-64 on a VPS. Cheers, -Krishna -- Why make things difficult, when it is possible to make them cryptic and totally illogical, with just a little bit more effort? - Aksel Peter Jorgensen From Udo.Schneider at homeaddress.de Tue Dec 16 12:41:30 2008 From: Udo.Schneider at homeaddress.de (Udo Schneider) Date: Tue, 16 Dec 2008 12:41:30 +0100 Subject: Generic Collection Editor? Message-ID: All, I'm having problem understanding how to customize Magritte/Seaside. I have an object PXADataType with the following description: descriptionValues ^ MAToManyRelationDescription new classes: (Array with: PXAQuantityValue with: PXAQualityValue); accessor: #values; label: 'Werte'; priority: 100; beDefinitive; beOrdered; yourself This object has a collection of values accessible by #values where the collection items can be of type PXAQuantityValue or PXAQualityValue. When I call: an edit form on PXADataType using "(aPXADataType descriptionEdit asComponentOn: aPXADataType) addValidatedForm" I do get the values rendered as a report. However the only possibility to edit the collection is by changing the order using "up"/"down". What I would like to do is a extended report with a possibility to add/change/delete the entries? How can I change the default behaviour in this case? Thanks for your help. CU, udo From renggli at gmail.com Tue Dec 16 13:36:00 2008 From: renggli at gmail.com (Lukas Renggli) Date: Tue, 16 Dec 2008 13:36:00 +0100 Subject: Generic Collection Editor? In-Reply-To: References: Message-ID: <67628d690812160436u71212b7fvddf9feaaf897fa29@mail.gmail.com> > What I would like to do is a extended report with a possibility to > add/change/delete the entries? Remove the line beDefinitive; from your description. Cheers, Lukas -- Lukas Renggli http://www.lukas-renggli.ch From Udo.Schneider at homeaddress.de Tue Dec 16 13:41:44 2008 From: Udo.Schneider at homeaddress.de (Udo Schneider) Date: Tue, 16 Dec 2008 13:41:44 +0100 Subject: Generic Collection Editor? In-Reply-To: <67628d690812160436u71212b7fvddf9feaaf897fa29@mail.gmail.com> References: <67628d690812160436u71212b7fvddf9feaaf897fa29@mail.gmail.com> Message-ID: Lukas Renggli schrieb: > Remove the line > > beDefinitive; > > from your description. That's it! Thank you very much. Something like this can happen when I simply cut&paste code. .... however now I know what #isDefinitve is for :-) CU, Udo From Udo.Schneider at homeaddress.de Tue Dec 16 16:04:33 2008 From: Udo.Schneider at homeaddress.de (Udo Schneider) Date: Tue, 16 Dec 2008 16:04:33 +0100 Subject: Generic Collection Editor? In-Reply-To: <67628d690812160436u71212b7fvddf9feaaf897fa29@mail.gmail.com> References: <67628d690812160436u71212b7fvddf9feaaf897fa29@mail.gmail.com> Message-ID: Lukas Renggli schrieb: > Remove the line > > beDefinitive; > > from your description. That's working now - thanks for your help. I'm struggling a bit with instance creation now. Is it possible to customize instance creation in a report. I.e. when I provide a collection of classes to #classes: then the instance creation when I press "Add" is simply done by sending #new. How can I customize this? I though about having a block which provides a new instance or some way to pre-provide new instances but did not find something like this. What's the Magritte way to do it? Thanks, Udo From renggli at gmail.com Tue Dec 16 16:22:34 2008 From: renggli at gmail.com (Lukas Renggli) Date: Tue, 16 Dec 2008 16:22:34 +0100 Subject: Generic Collection Editor? In-Reply-To: References: <67628d690812160436u71212b7fvddf9feaaf897fa29@mail.gmail.com> Message-ID: <67628d690812160722l404d9e30h44610d3285d48e70@mail.gmail.com> > How can I customize this? I though about having a block which provides a new > instance or some way to pre-provide new instances but did not find something > like this. Object creation is not really modelled in Magritte. What you could do is to create a subclass of MAOneToManyComponent, specify that in #componentClass: of your description and override #add. This is where #new is called. When building Magritte I found it very difficult for 1:1 and 1:m relations to get generally useful semantics and user-interfaces. What Magritte does by default might make sense in a some cases, but usually you need to go a bit deeper and write some glue code to make it cleanly integrate into your application. Lukas -- Lukas Renggli http://www.lukas-renggli.ch From Udo.Schneider at homeaddress.de Tue Dec 16 16:32:53 2008 From: Udo.Schneider at homeaddress.de (Udo Schneider) Date: Tue, 16 Dec 2008 16:32:53 +0100 Subject: Generic Collection Editor? In-Reply-To: <67628d690812160722l404d9e30h44610d3285d48e70@mail.gmail.com> References: <67628d690812160436u71212b7fvddf9feaaf897fa29@mail.gmail.com> <67628d690812160722l404d9e30h44610d3285d48e70@mail.gmail.com> Message-ID: Lukas Renggli schrieb: > What you could do is to create a subclass of MAOneToManyComponent, > specify that in #componentClass: of your description and override > #add. This is where #new is called. Thanks for the update - I thought I simply missed something. I'll go the subclass path then. > When building Magritte I found it very difficult for 1:1 and 1:m > relations to get generally useful semantics and user-interfaces. What > Magritte does by default might make sense in a some cases, but usually > you need to go a bit deeper and write some glue code to make it > cleanly integrate into your application. Thanks for the explenation - I have to admit that even with those "limitations" Magritte simply blows me away! I enhanced my model classes a bit to play nicer with Magritte and alreay threw away hundreds of lines of manual Seaside code already! I love it! :-) CU, Udo From alexandre at bergel.eu Wed Dec 17 12:59:24 2008 From: alexandre at bergel.eu (Alexandre Bergel) Date: Wed, 17 Dec 2008 08:59:24 -0300 Subject: Photos and Pier Message-ID: <15693A13-F69C-4421-9846-8908F077E8F4@bergel.eu> Dear List, I wish to use Pier to manage my pictures. What is the best library to use ? There is seachart, but photos does not seem to be its main focus. On squeaksource I can see projects like A PhotoGallery on the Seaside, PhotoBlog, PhotoCatalog, Photos Publisher Any comments on the project that are worth to see ? Cheers, Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. From damien.cassou at gmail.com Wed Dec 17 13:23:58 2008 From: damien.cassou at gmail.com (Damien Cassou) Date: Wed, 17 Dec 2008 13:23:58 +0100 Subject: Photos and Pier In-Reply-To: <15693A13-F69C-4421-9846-8908F077E8F4@bergel.eu> References: <15693A13-F69C-4421-9846-8908F077E8F4@bergel.eu> Message-ID: <6ac749c10812170423v1f6fed17td446183b6f44c5a6@mail.gmail.com> On Wed, Dec 17, 2008 at 12:59 PM, Alexandre Bergel wrote: > On squeaksource I can see projects like A PhotoGallery on the Seaside, > PhotoBlog, PhotoCatalog, Photos Publisher > Any comments on the project that are worth to see ? I've implemented a Pier-Gallery at http://source.lukas-renggli.ch/pieraddons/. You can import pictures one by one or a zip file. Pictures are copied into a server directory and not in the image. Thumbnails are generated automatically. It works with the latest versions of Piers. Please keep me informed. -- Damien Cassou http://damiencassou.seasidehosting.st From avanos at xs4all.nl Wed Dec 17 13:33:48 2008 From: avanos at xs4all.nl (Adriaan van Os) Date: Wed, 17 Dec 2008 13:33:48 +0100 (CET) Subject: Photos and Pier Message-ID: <23415.193.173.83.6.1229517228.squirrel@webmail.xs4all.nl> Some urls to such galleries would be nice too. Adriaan. > Dear List, > > I wish to use Pier to manage my pictures. What is the best library to > use ? > There is seachart, but photos does not seem to be its main focus. > On squeaksource I can see projects like A PhotoGallery on the Seaside, > PhotoBlog, PhotoCatalog, Photos Publisher > Any comments on the project that are worth to see ? > > Cheers, > Alexandre > -- > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: > Alexandre Bergel http://www.bergel.eu > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. > > > > > > > _______________________________________________ > SmallWiki, Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -- http://www.a3aan.st From damien.cassou at gmail.com Wed Dec 17 13:45:53 2008 From: damien.cassou at gmail.com (Damien Cassou) Date: Wed, 17 Dec 2008 13:45:53 +0100 Subject: Photos and Pier In-Reply-To: <23415.193.173.83.6.1229517228.squirrel@webmail.xs4all.nl> References: <23415.193.173.83.6.1229517228.squirrel@webmail.xs4all.nl> Message-ID: <6ac749c10812170445q218fa8bcrdd1dae3880ba3a68@mail.gmail.com> On Wed, Dec 17, 2008 at 1:33 PM, Adriaan van Os wrote: > Some urls to such galleries would be nice too. I haven't deployed my gallery yet. -- Damien Cassou http://damiencassou.seasidehosting.st From renggli at gmail.com Wed Dec 17 13:59:36 2008 From: renggli at gmail.com (Lukas Renggli) Date: Wed, 17 Dec 2008 13:59:36 +0100 Subject: Photos and Pier In-Reply-To: <23415.193.173.83.6.1229517228.squirrel@webmail.xs4all.nl> References: <23415.193.173.83.6.1229517228.squirrel@webmail.xs4all.nl> Message-ID: <67628d690812170459x1392d3beh23c763886e281c07@mail.gmail.com> The Gallery of Damien is in . Lukas On Wed, Dec 17, 2008 at 1:33 PM, Adriaan van Os wrote: > Some urls to such galleries would be nice too. > > Adriaan. > > >> Dear List, >> >> I wish to use Pier to manage my pictures. What is the best library to >> use ? >> There is seachart, but photos does not seem to be its main focus. >> On squeaksource I can see projects like A PhotoGallery on the Seaside, >> PhotoBlog, PhotoCatalog, Photos Publisher >> Any comments on the project that are worth to see ? >> >> Cheers, >> Alexandre >> -- >> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: >> Alexandre Bergel http://www.bergel.eu >> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. >> >> >> >> >> >> >> _______________________________________________ >> SmallWiki, Magritte, Pier and Related Tools ... >> https://www.iam.unibe.ch/mailman/listinfo/smallwiki >> > > > -- > http://www.a3aan.st > > > _______________________________________________ > SmallWiki, Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -- Lukas Renggli http://www.lukas-renggli.ch From avanos at xs4all.nl Wed Dec 17 14:03:38 2008 From: avanos at xs4all.nl (Adriaan van Os) Date: Wed, 17 Dec 2008 14:03:38 +0100 (CET) Subject: Photos and Pier Message-ID: <9468.193.173.83.6.1229519018.squirrel@webmail.xs4all.nl> Thanks. However, I was talking about actual (demo) galleries on the web to see how they (can) look like. Adriaan. > The Gallery of Damien is in . > > Lukas > > On Wed, Dec 17, 2008 at 1:33 PM, Adriaan van Os wrote: >> Some urls to such galleries would be nice too. >> >> Adriaan. >> >> >>> Dear List, >>> >>> I wish to use Pier to manage my pictures. What is the best library to >>> use ? >>> There is seachart, but photos does not seem to be its main focus. >>> On squeaksource I can see projects like A PhotoGallery on the Seaside, >>> PhotoBlog, PhotoCatalog, Photos Publisher >>> Any comments on the project that are worth to see ? >>> >>> Cheers, >>> Alexandre >>> -- >>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: >>> Alexandre Bergel http://www.bergel.eu >>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. >>> >>> >>> >>> >>> >>> >>> _______________________________________________ >>> SmallWiki, Magritte, Pier and Related Tools ... >>> https://www.iam.unibe.ch/mailman/listinfo/smallwiki >>> >> >> >> -- >> http://www.a3aan.st >> >> >> _______________________________________________ >> SmallWiki, Magritte, Pier and Related Tools ... >> https://www.iam.unibe.ch/mailman/listinfo/smallwiki >> > > > > -- > Lukas Renggli > http://www.lukas-renggli.ch > > _______________________________________________ > SmallWiki, Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -- http://www.a3aan.st From renggli at gmail.com Wed Dec 17 14:06:02 2008 From: renggli at gmail.com (Lukas Renggli) Date: Wed, 17 Dec 2008 14:06:02 +0100 Subject: Photos and Pier In-Reply-To: <9468.193.173.83.6.1229519018.squirrel@webmail.xs4all.nl> References: <9468.193.173.83.6.1229519018.squirrel@webmail.xs4all.nl> Message-ID: <67628d690812170506i4ad18be8lff435cacadca5c08@mail.gmail.com> On Wed, Dec 17, 2008 at 2:03 PM, Adriaan van Os wrote: > Thanks. However, I was talking about actual (demo) galleries on the web to > see how they (can) look like. They can look anyway you want. You just have to provide a stylesheet ;-) Lukas -- Lukas Renggli http://www.lukas-renggli.ch From florian at narrans.de Thu Dec 18 20:46:09 2008 From: florian at narrans.de (Florian Obser) Date: Thu, 18 Dec 2008 20:46:09 +0100 Subject: Magritte tutorial / MAReport Message-ID: <494AA881.9060807@narrans.de> Hi, in the magritte tutorial excercise the report is created with: MAReport rows: self persons description: MAPersonModel description The result is a table with - an home address column displaying the street but not the complete address - a phone numbers column displaying the "kind" fields separated by commas but not the numbers Why is that? How do I get the complete address? Exercise 13 filters the columns to only display firstName, lastName, email, and nationality. How would I go about displaying the number field of the first phone number? Thanks, Florian -- If c++ had garbage collection most programs would delete themself upon execution. From renggli at gmail.com Thu Dec 18 22:21:15 2008 From: renggli at gmail.com (Lukas Renggli) Date: Thu, 18 Dec 2008 22:21:15 +0100 Subject: Magritte tutorial / MAReport In-Reply-To: <494AA881.9060807@narrans.de> References: <494AA881.9060807@narrans.de> Message-ID: <67628d690812181321w2bf0dafalda1742f74ae7cf87@mail.gmail.com> > The result is a table with > - an home address column displaying the street but not the complete > address > - a phone numbers column displaying the "kind" fields separated by > commas but not the numbers > Why is that? > How do I get the complete address? Have a look at MAStringWriter, this is what is used to convert an object to a string that is then displayed in the table cell. In the case of the MARelationDescriptions passes on to the MAContainer of the row-object, that just takes the first visible descriptions and prints this value. To have a different print string in your tables you have (at least) two possibilities: - Add a read-only description to the beginning of the referenced container description that calls a custom print method. - Use a different MAStringWriter implementation that you implement and provide yourself. Cheers, Lukas -- Lukas Renggli http://www.lukas-renggli.ch From ducasse at iam.unibe.ch Thu Dec 25 10:07:57 2008 From: ducasse at iam.unibe.ch (=?ISO-8859-1?Q?st=E9phane_ducasse?=) Date: Thu, 25 Dec 2008 10:07:57 +0100 Subject: Fwd: Probably dumb question References: Message-ID: <5A5F57FC-1B5E-45C2-B754-39B5E253E006@iam.unibe.ch> > > > > Hi > > I wanted to change the margin of our pier > so I clicked on edit design and on /environment/css I put > > h1, h2, h3, h4, h5, h6 { margin: 10; font-weight: inherit; font- > size: 100%; line-height: auto; } > instead of > h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: inherit; font-size: > 100%; line-height: auto; } > > then I pressed saved and I got > > MessageNotUnderstood: PRFile>>contents: > > :( > > Stef > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From renggli at gmail.com Thu Dec 25 10:12:30 2008 From: renggli at gmail.com (Lukas Renggli) Date: Thu, 25 Dec 2008 10:12:30 +0100 Subject: Probably dumb question In-Reply-To: <5A5F57FC-1B5E-45C2-B754-39B5E253E006@iam.unibe.ch> References: <5A5F57FC-1B5E-45C2-B754-39B5E253E006@iam.unibe.ch> Message-ID: <67628d690812250112q50f2a5f9g8cf633874812b7ee@mail.gmail.com> > MessageNotUnderstood: PRFile>>contents: Update to the latest Pier. Damien removed that a while ago, I re-added it in one of the last versions. Lukas -- Lukas Renggli http://www.lukas-renggli.ch From ducasse at iam.unibe.ch Thu Dec 25 12:07:14 2008 From: ducasse at iam.unibe.ch (=?ISO-8859-1?Q?st=E9phane_ducasse?=) Date: Thu, 25 Dec 2008 12:07:14 +0100 Subject: Probably dumb question In-Reply-To: <67628d690812250112q50f2a5f9g8cf633874812b7ee@mail.gmail.com> References: <5A5F57FC-1B5E-45C2-B754-39B5E253E006@iam.unibe.ch> <67628d690812250112q50f2a5f9g8cf633874812b7ee@mail.gmail.com> Message-ID: <91483C98-509E-4DF1-9A3B-97685EECD352@iam.unibe.ch> ok thanks I will ask damien to upgrade our pier On Dec 25, 2008, at 10:12 AM, Lukas Renggli wrote: >> MessageNotUnderstood: PRFile>>contents: > > Update to the latest Pier. Damien removed that a while ago, I re-added > it in one of the last versions. > > Lukas > > -- > Lukas Renggli > http://www.lukas-renggli.ch > > _______________________________________________ > SmallWiki, Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki From damien.cassou at gmail.com Thu Dec 25 17:09:30 2008 From: damien.cassou at gmail.com (Damien Cassou) Date: Thu, 25 Dec 2008 17:09:30 +0100 Subject: Probably dumb question In-Reply-To: <67628d690812250112q50f2a5f9g8cf633874812b7ee@mail.gmail.com> References: <5A5F57FC-1B5E-45C2-B754-39B5E253E006@iam.unibe.ch> <67628d690812250112q50f2a5f9g8cf633874812b7ee@mail.gmail.com> Message-ID: <6ac749c10812250809p3b6b3612le8e53cee142a688b@mail.gmail.com> On Thu, Dec 25, 2008 at 10:12 AM, Lukas Renggli wrote: > Update to the latest Pier. Damien removed that a while ago, I re-added > it in one of the last versions. I'm sorry... -- Damien Cassou http://damiencassou.seasidehosting.st From renggli at gmail.com Thu Dec 25 17:39:56 2008 From: renggli at gmail.com (Lukas Renggli) Date: Thu, 25 Dec 2008 17:39:56 +0100 Subject: Probably dumb question In-Reply-To: <6ac749c10812250809p3b6b3612le8e53cee142a688b@mail.gmail.com> References: <5A5F57FC-1B5E-45C2-B754-39B5E253E006@iam.unibe.ch> <67628d690812250112q50f2a5f9g8cf633874812b7ee@mail.gmail.com> <6ac749c10812250809p3b6b3612le8e53cee142a688b@mail.gmail.com> Message-ID: <67628d690812250839h11dc42f1g5d4494b56c0474f7@mail.gmail.com> It's my fault. I told you that it's probably not needed anymore. With all the available plugins its always tricky to make sure that everything works. Lukas On 12/25/08, Damien Cassou wrote: > On Thu, Dec 25, 2008 at 10:12 AM, Lukas Renggli wrote: >> Update to the latest Pier. Damien removed that a while ago, I re-added >> it in one of the last versions. > > I'm sorry... > > -- > Damien Cassou > http://damiencassou.seasidehosting.st > > _______________________________________________ > SmallWiki, Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -- Lukas Renggli http://www.lukas-renggli.ch From rdrvr.biz at gmail.com Tue Dec 30 20:36:09 2008 From: rdrvr.biz at gmail.com (David Farber) Date: Tue, 30 Dec 2008 12:36:09 -0700 Subject: Alternatives for view rendering Message-ID: I would like to have more control over how Magritte forms are rendered in Seaside. For example, here is part of the HTML for the PersonEditor from the Magritte tutorial: Question #1: How can I get HTML more like this?
Personal Information
Question #2: I also want to be able to render forms that are a composite of multiple objects. For example, I'd like to render the Address fields inline with the rest of the form (instead of clicking a button to expand a set of fields or go to another page). What are my options? Thanks, David From renggli at gmail.com Tue Dec 30 20:41:22 2008 From: renggli at gmail.com (Lukas Renggli) Date: Tue, 30 Dec 2008 20:41:22 +0100 Subject: Alternatives for view rendering In-Reply-To: References: Message-ID: <67628d690812301141u22e1ddd5qd7d39e9952ef22b8@mail.gmail.com> On Tue, Dec 30, 2008 at 8:36 PM, David Farber wrote: > I would like to have more control over how Magritte forms are rendered in > Seaside. For example, here is part of the HTML for the PersonEditor from > the Magritte tutorial: I once blogged about that: http://www.lukas-renggli.ch/blog/magritte-rendering. If you have further questions, feel free to ask. Cheers, Lukas -- Lukas Renggli http://www.lukas-renggli.ch From rdrvr.biz at gmail.com Tue Dec 30 20:54:06 2008 From: rdrvr.biz at gmail.com (David Farber) Date: Tue, 30 Dec 2008 12:54:06 -0700 Subject: Alternatives for view rendering In-Reply-To: <67628d690812301141u22e1ddd5qd7d39e9952ef22b8@mail.gmail.com> References: <67628d690812301141u22e1ddd5qd7d39e9952ef22b8@mail.gmail.com> Message-ID: <8FAAEBE8-D917-4EC9-8C33-544302C83695@gmail.com> Thanks. That should help me get a little farther down the road. David On Dec 30, 2008, at 12:41 PM, Lukas Renggli wrote: > On Tue, Dec 30, 2008 at 8:36 PM, David Farber > wrote: >> I would like to have more control over how Magritte forms are >> rendered in >> Seaside. For example, here is part of the HTML for the >> PersonEditor from >> the Magritte tutorial: > > I once blogged about that: http://www.lukas-renggli.ch/blog/magritte-rendering > . > > If you have further questions, feel free to ask. > > Cheers, > Lukas > > -- > Lukas Renggli > http://www.lukas-renggli.ch > > _______________________________________________ > SmallWiki, Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki