After browsing my pier site, looking at an embedded seaside component,
and returning, suddenly
someone, Pier/Seaside is adding <p/> elements throughout my page.
Has anyone seen this before, or am I simply going nuts?
Keith
Hi Lukas,
when I saw value:random I thought that this was just what I had been
wanting.
I immediately gave it a try, expecting it to be "a random child of the
page in which the link is placed". Well it worked fine until I embedded
that page into another page, and then I discovered that it is "random
child of the current structure". Not what I expected at all.
So I investigated these value links, only to find that these links do
not appear to know their document, thus making my original idea
impossible to implement with value links.
To be honest I have hit this problem many times since I started using
pier. I never have any use for "children of the current structure", and
there are many "current structure" based features in pier. I always want
children of a specific structure. Then I can craft a menu, and embed it
somewhere else, or similar.
So I implemented a subclass of value links, implementing "page:" links,
and it works great.
Then I had a thought: the most powerful, and oft forgotten feature of
Ward Cunningham's original wiki, was the ability to click on the title
of a page, and get all of the referring pages.
So how does one get "all of the links that link to this page".
btw: the code in the comment to PRIncomingReferences is not a valid
example as far as I can see.
cheers
Keith
If you put a Seaside component in to a lightbox link, then when that
link is displayed, it actually appears to traverse the entire component,
calling #children etc.
Keith
Hi people: I am trying to use this package I downloaded from MC. I wanted to
use it, for example, for "search". Just as it is here:
http://www.spoerli.ch/
Does someone know how can I do this? I have to put lightbox class css in the
div ? is there a specific component for lightbox?
Thanks a lot in advance,
Mariano
Hello Lukas,
I found that MAInternalEditorComponent is doing this
renderEditorOn: html
super renderEditorOn: html.
html hiddenInput callback: [ self component commit ]
Am I correct in thinking that this means that the commit to the model is
occurring every time the form submits? I thought that the commit should
be to the memento, when validation etc has passed.
Keith
Lukas,
I hope you dont mind, I extended slideshow to provide glitzy crossfading
pictures with a little javascript.
There is a slight problem which shows up if you try to un a slideshow
without any |<< >>| tools showing. It appears that if you render a div
with nothing in it (a), and later via an evaluator update that div,
again with nothing in it(b). In IE the div appears, where it wasnt
visible before.
The code is in Pier-SlideShow
(a) PRSlideShowCrossFade-#renderSlideshowOn: html
(b) PRSlideShowCrossFade-#applyCrossFadeTo: script
any thoughts?
Keith
Is there a way to conditionally display the contents of a command column for
certain rows of a MAReport?
Say I only wanted to be able to remove an object if it's name isn't 'b'
Name
a edit remove
b edit
c edit remove
I wrote PRCommandLink to enable a link to a command to be inserted into
a document like so:
*Logout>command:PULogout*
I remember seeing something in more recent pier's that would/may provide
this functionality, but I cant remember what it was.
I have just found PRCommandWidget (which I wrote, but was hiding in the
Pier-Seaside category) I have exported it to pieraddons, and offer it as
a potentially useful addition to Pier-Seaside.
Keith