[Kss-devel] browser history

Massimo Azzolini massimo.azzolini at gmail.com
Tue Oct 16 13:13:19 CEST 2007


hi all,

during the sprint I worked on the browser history. I started the
integration of ReallySimpleHistory in kss as suggested by Jeroen.
I did a plugin as described in jeroen's presentation. then, for
testing purposes i did a mockup: on click event kss call my mockup and
it tells the client to add the anchor href url the the browser
history.

I needed also to modify the RSH library, I will talk about it in
another post later.

Actually I think that things start working, but I cannot test it
completely. I tried to add my
"self.getCommandSet('history').historify(url)" command at the end of
replaceContentRegion but it doesnt run as I expected.

even without my code, the @kssaction replaceContentRegion is not
called when I click on the "view"/"edit" tabs as I expect.
On every click it reloads the whole page..
is it the normal use case?

I tried also to figure out another case into add my command:
actions and workflow: it's better not to implement there.
inline editing: the same
calendar "<<" and ">>": it does not take the url as parameter, I may
change it, or rebuild it from the date..
the replaceContentRegion was the better solution in my opinion.
any hint?

more, jeroen told me to create an adapter that analyzes every url
request to plone and if it as a defined pattern in, it does some work,
otherwise it send it to plone as usually.
I'm not able to do that by myself. If someone could give me an empty
skeleton I would be very pleased :D

thanks, bye

max

PS: jeroen, sorry if I went away without saying bye yesterday, but I
didn't found you anywhere


More information about the Kss-devel mailing list