Hi Mathieu,
I create a visitor that collect broken link and add
them to a
collection but I don't know how can I render those links.
I think you already managed the hardest part of this task by writing
the visitor ;-)
What you do to display something in Pier is usually just to write
your own small Seaside application/component. Create a subclass of
WAComponent, override #canBeRoot and #renderContentOn: and add it to
your page as I once showed in a screen-cast:
http://www.lukas-renggli.ch/smalltalk/pier/videos/sushi.mov
A pic is attach to show you how I proceed actually but
I should
forgot something! :-\
I use the same visitor to collect files and I have the same problem!
To make your life easy have a look at the subclasses of
PRStructuresWidget. These components basically all display a list of
structures, mostly somehow collected using a visitor. As you see for
example in PRReferencesWidget the only thing you need to override is
#unfilteredItems to return a collection of structures.
HTH,
Lukas
--
Lukas Renggli
http://www.lukas-renggli.ch