On Mon, Apr 6, 2009 at 1:31 PM, Lukas Renggli <renggli@gmail.com> wrote:
I think Keith is talking about the document widget, the source code he
shows is implemented in PRDocumentWidget part of the Pier-Documents
package. This widget, when added to the environment, provides the
possibility to have different wiki editors at different places on a
single page. This is useful if you for example  want to have a sidebar
with links or additional information.

The PRDocument hierarchy is an part of Pier-Model. It provides an
abstract model of the wiki text and can be traversed to a page as
HTML, Wiki, Plain Text, LaTeX, etc. Normally a Ppage has just one
document, however the PRDocumentWidget allows you to define multiple
documents on a single page.

Excellent explanation!!! I was thinking in another thing. Perhaps it is a good idea to add this to "Glossary of terms" of Pier Documentation.

Thanks a lot.

Mariano

 

Lukas

On Mon, Apr 6, 2009 at 4:23 PM, Mariano Martinez Peck
<marianopeck@gmail.com> wrote:
>
>
> On Mon, Apr 6, 2009 at 12:08 PM, Lukas Renggli <renggli@gmail.com> wrote:
>>
>> > document
>> >    ^ self documentOf: self context structure
>> >
>> > returns the structure of the PRDocument....
>> >
>> > surely it should be
>> >
>> >    ^ self documentOf: (PRCurrentContext value structure)
>>
>> That should be exactly the same.
>
> Sorry, but what are "documents" in Pier ?
>
>>
>> Lukas
>>
>> --
>> Lukas Renggli
>> http://www.lukas-renggli.ch
>>
>>
>> _______________________________________________
>> 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
>



--
Lukas Renggli
http://www.lukas-renggli.ch


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