Pier TOC fails with painter error

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Pier TOC fails with painter error

John Borden
All - It seems that the page table of contents (value:toc) hasn't worked for a while - the problem can be resolved by updating this method:

  PRValueLink>>tocIn: aContext
    <value: 'toc' comment: 'Display the table of contents of the current structure.'>

    ^ self lookupStructure: aContext structure do: [ :structure | [ :html |
        PRTocRenderer new
            start: structure
            in: html painter
            on: html ] ]

Instead of html painter, use self.

How would one go about making this update in Pier3 package?

Thanks,
John

_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: Pier TOC fails with painter error

Damien Cassou

On Tue, Mar 25, 2014 at 2:01 PM, John Borden <[hidden email]> wrote:
How would one go about making this update in Pier3 package?

please give me your smalltalkhub username


--
Damien Cassou
http://damiencassou.seasidehosting.st

"Success is the ability to go from one failure to another without losing enthusiasm."
Winston Churchill

_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: Pier TOC fails with painter error

John Borden
JohnCBorden - http://smalltalkhub.com/#!/~JohnCBorden.  I'd also like to contribute to the Pier3 addons.
Thanks,
John

On Mar 25, 2014, at 03:02 PM, Damien Cassou <[hidden email]> wrote:


On Tue, Mar 25, 2014 at 2:01 PM, John Borden <[hidden email]> wrote:
How would one go about making this update in Pier3 package?

please give me your smalltalkhub username


--
Damien Cassou
http://damiencassou.seasidehosting.st

"Success is the ability to go from one failure to another without losing enthusiasm."
Winston Churchill
_______________________________________________
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
Reply | Threaded
Open this post in threaded view
|

Re: Pier TOC fails with painter error

Damien Cassou

On Wed, Mar 26, 2014 at 7:03 PM, John Borden <[hidden email]> wrote:
JohnCBorden - http://smalltalkhub.com/#!/~JohnCBorden.  I'd also like to contribute to the Pier3 addons.

done


--
Damien Cassou
http://damiencassou.seasidehosting.st

"Success is the ability to go from one failure to another without losing enthusiasm."
Winston Churchill

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