[Zope3-dev] '+' view (sequel)

Jean-Marc Orliaguet jmo at ita.chalmers.se
Tue Oct 4 15:58:30 EDT 2005


Hi!

the '+' view now works fine in cpsskins :-), the only problem is that it
also reveals a user interface issue nicely "hidden" in the original
Rotterdam skin :-) namely that the menu actions are still visible when
the url ends with .../@@+ and the action item urls are not normalized. A
second click on the 'Add' action sends the user to:

.../folder/@@+/@@+

with a "The page that you are trying to access is not available" error.

the same goes with other actions, for instance:

.../folder/@@+/@@find.html instead of .../folder/@@find.html

BrowserMenuItem.selected() contains the code necessary to normalize
action urls, why not use it in actions returned by getMenu() too?

/JM


More information about the Zope3-dev mailing list