Pablo Gancharov | 2 Oct 2010 03:09
Picon

Pier 2 Question

Hi people, I am triying Pier 2, but I found this issue:

If I try to put :

"<div style="clear: both"></div>"

under an image, I not work as in Pier 1.2.

Can some body help me.
Thanks
_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki

John McKeon | 2 Oct 2010 04:15
Picon

Re: Pier 2 Question

Hi Pablo,

On Fri, Oct 1, 2010 at 9:09 PM, Pablo Gancharov <pablogancharov <at> gmail.com> wrote:
Hi people, I am triying Pier 2, but I found this issue:

If I try to put :

"<div style="clear: both"></div>"

under an image, I not work as in Pier 1.2.

Try  {{{<div style="clear: both">}}}    {{{</div>}}}
Inside the contents of a page you have to surround raw html with the triple brackets

John



Can some body help me.
Thanks
_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki



--
http://john-mckeon.us
_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Lawson English | 2 Oct 2010 21:11
Picon

More PRValueLink questions

  How do I format text output from my custom link?

I can embed raw HTML by doing:

^PRVerbatim content: '<p>',myString1,'</p>', '<p>',myString2,'</p>'.

and so on. How can I use the   renderContentOn:    syntax so I can take 
advantage of seaside's internal formatting methods... Or can I, or is 
there something more pier-oriented I should do instead?

e.g.  +values:awgvalues|factorialval=300+ goes right of the edge of the 
webpage currently.

Thanks,

Lawson
_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki

Lukas Renggli | 2 Oct 2010 21:22
Picon
Gravatar

Re: More PRValueLink questions

Typically you return a PRDocument composite, as in your example with
PRVerbatim. Also you can return a string, or a collection of strings
or PRDocument items. If you return anything else, the default
#printOn: representation will be displayed.

If you are sure you only want to use the value link in the context of
Seaside you can even return a rendering block, something along ...

    ^ [ :html | html anchor callback: [ ... ]; with: 'some link' ]

Keep in mind that this will break if you try to convert your page to
Text, LaTeX, etc.

Lukas

On 2 October 2010 21:11, Lawson English <lenglish5 <at> cox.net> wrote:
>  How do I format text output from my custom link?
>
> I can embed raw HTML by doing:
>
> ^PRVerbatim content: '<p>',myString1,'</p>', '<p>',myString2,'</p>'.
>
> and so on. How can I use the   renderContentOn:    syntax so I can take
> advantage of seaside's internal formatting methods... Or can I, or is there
> something more pier-oriented I should do instead?
>
> e.g.  +values:awgvalues|factorialval=300+ goes right of the edge of the
> webpage currently.
>
> Thanks,
>
> Lawson
> _______________________________________________
> Magritte, Pier and Related Tools ...
> https://www.iam.unibe.ch/mailman/listinfo/smallwiki
>

--

-- 
Lukas Renggli
www.lukas-renggli.ch

_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki

Lawson English | 2 Oct 2010 21:36
Picon

Re: More PRValueLink questions

  Thanks very much.  Pier is amazingly powerful.

Lawson

On 10/2/10 12:22 PM, Lukas Renggli wrote:
> Typically you return a PRDocument composite, as in your example with
> PRVerbatim. Also you can return a string, or a collection of strings
> or PRDocument items. If you return anything else, the default
> #printOn: representation will be displayed.
>
> If you are sure you only want to use the value link in the context of
> Seaside you can even return a rendering block, something along ...
>
>      ^ [ :html | html anchor callback: [ ... ]; with: 'some link' ]
>
> Keep in mind that this will break if you try to convert your page to
> Text, LaTeX, etc.
>
> Lukas
>
> On 2 October 2010 21:11, Lawson English<lenglish5 <at> cox.net>  wrote:
>>   How do I format text output from my custom link?
>>
>> I can embed raw HTML by doing:
>>
>> ^PRVerbatim content: '<p>',myString1,'</p>','<p>',myString2,'</p>'.
>>
>> and so on. How can I use the   renderContentOn:    syntax so I can take
>> advantage of seaside's internal formatting methods... Or can I, or is there
>> something more pier-oriented I should do instead?
>>
>> e.g.  +values:awgvalues|factorialval=300+ goes right of the edge of the
>> webpage currently.
>>
>> Thanks,
>>
>> Lawson
>> _______________________________________________
>> 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 | 3 Oct 2010 19:48
Gravatar

Re: reduce: and lines in Magritte

Hi John,

You need to revert the Pharo 1.1 collection packages, because Magritte accidentally overrode the
implementation in Pharo.

Lukas

On Oct 3, 2010, at 18:26 , John McKeon wrote:

> Hello Lukas,
> I updated to the latest Magritte-Model last night and found things fairly broken with the removal of these
extension methods. Pier still uses reduce: in several places and MAOptionDescription uses lines in
MAOptionDescription >>optionsTextual:
> 
> Regards
> John
> 
> -- 
> http://john-mckeon.us

--

-- 
Lukas Renggli, Software Composition Group (SCG)
Schützenmattstrasse 14, 3012 Bern, Switzerland
Room: 203, Phone: +41 31 631 8643
www.lukas-renggli.ch

_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki

Lukas Renggli | 3 Oct 2010 20:15
Gravatar

Re: reduce: and lines in Magritte

Yeah, presumably this should go into the Squeak specific packages of Grease.

On Oct 3, 2010, at 20:12 , John McKeon wrote:

> I see.
> I have been using Squeak 4.1 =)
> What are my options in that case? A squeak compatibility layer?
> 
> 
> On Sun, Oct 3, 2010 at 1:48 PM, Lukas Renggli <renggli <at> me.com> wrote:
> Hi John,
> 
> You need to revert the Pharo 1.1 collection packages, because Magritte accidentally overrode the
implementation in Pharo.
> 
> Lukas
> 
> On Oct 3, 2010, at 18:26 , John McKeon wrote:
> 
> > Hello Lukas,
> > I updated to the latest Magritte-Model last night and found things fairly broken with the removal of
these extension methods. Pier still uses reduce: in several places and MAOptionDescription uses lines
in MAOptionDescription >>optionsTextual:
> >
> > Regards
> > John
> >
> > --
> > http://john-mckeon.us
> 
> --
> Lukas Renggli, Software Composition Group (SCG)
> Schützenmattstrasse 14, 3012 Bern, Switzerland
> Room: 203, Phone: +41 31 631 8643
> www.lukas-renggli.ch
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> -- 
> http://john-mckeon.us

--

-- 
Lukas Renggli
www.lukas-renggli.ch

_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki

Frank Shearar | 4 Oct 2010 08:02
Favicon

Re: reduce: and lines in Magritte

Squeak's had Collection>>reduce: since 2010/04/05, if that helps. So 
that was probably just AFTER 4.1 was released?

frank

On 2010/10/03 20:15, Lukas Renggli wrote:
> Yeah, presumably this should go into the Squeak specific packages of Grease.
>
> On Oct 3, 2010, at 20:12 , John McKeon wrote:
>
>> I see.
>> I have been using Squeak 4.1 =)
>> What are my options in that case? A squeak compatibility layer?
>>
>>
>> On Sun, Oct 3, 2010 at 1:48 PM, Lukas Renggli<renggli <at> me.com>  wrote:
>> Hi John,
>>
>> You need to revert the Pharo 1.1 collection packages, because Magritte accidentally overrode the
implementation in Pharo.
>>
>> Lukas
>>
>> On Oct 3, 2010, at 18:26 , John McKeon wrote:
>>
>>> Hello Lukas,
>>> I updated to the latest Magritte-Model last night and found things fairly broken with the removal of
these extension methods. Pier still uses reduce: in several places and MAOptionDescription uses lines
in MAOptionDescription>>optionsTextual:
>>>
>>> Regards
>>> John
>>>
>>> --
>>> http://john-mckeon.us
>>
>> --
>> Lukas Renggli, Software Composition Group (SCG)
>> Schützenmattstrasse 14, 3012 Bern, Switzerland
>> Room: 203, Phone: +41 31 631 8643
>> www.lukas-renggli.ch
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> --
>> http://john-mckeon.us
>

_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki

Lawson English | 5 Oct 2010 19:24
Picon

collaborative documentation in pier

  Has anyone ever used Pier for collaborative documentation?

I realize a wiki is sorta that already, but I'm part of an IETF group 
that is exploring options at the moment and I wonder if there were any 
existing examples of Pier being used that way?

Thanks..

Lawson
_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki

Lukas Renggli | 5 Oct 2010 19:29
Picon
Gravatar

Re: collaborative documentation in pier

>  Has anyone ever used Pier for collaborative documentation?

Yes, for example books are being written using Pier.

> I realize a wiki is sorta that already, but I'm part of an IETF group that
> is exploring options at the moment and I wonder if there were any existing
> examples of Pier being used that way?

Probably more, but these are the ones that come to my mind:

  http://book.seaside.st/
  http://book.pharo-project.org/
  http://www.themoosebook.org/book/

Lukas

--

-- 
Lukas Renggli
www.lukas-renggli.ch

_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki


Gmane