Yarek Kowalik <[EMAIL PROTECTED]> writes: > Is the purpose of the 'admin' navigation to add new menus for the > adminstrators? I've made changes to the navigation/selector code in > my branch that may provide a solution to that: each navigation menu > item is now a widget, for which you can control rendering, and in the > case of non-admin uses those menu entries simply render nothing, but > do render themselves otherwise. > > Not sure if that provides any help. Can you give more details?
Yes, that would be a usable workaround. I could live with hidden menu items. In fact, I've been thinking of implementing this for the current navigation system as a quick-hack-workaround. It does not solve the main issue, though -- currently, flows are completely unaware of URL dispatching. If you modify your widget hierarchy in a flow, you have no way of controlling the URL, so your user might well land in a place that no longer exists (as you might have replaced your navigation widget with something else). > NB: Those navigation changes have been included in the modern- > dispatching branch, which hopefully soon will make its way into the > dev branch. How soon? I'm asking, because I have a deadline -- I can wait a couple of days, but I can't wait a week. I'll have to hack the old code. I guess I could also try to incorporate just the navigation changes from modern-dispatching into my tree, but I do not know how. --J. > On Dec 6, 12:18 pm, Jan Rychter <[EMAIL PROTECTED]> wrote: >> I have an application where some users get an additional "admin" >> link. When clicked, it invokes an action which does a do-page replacing >> the whole site with a new composite containing a new navigation widget >> (one for the admin interface). >> >> Problem is, when that composite answers, the user lands in the main >> application, but with a URL pointing to one of the admin panes, which do >> not exist at that point. 404. >> >> Is that something I should go, hunt, and fix, or should I wait for the >> new navigation work to make its way in? >> >> --J. > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "weblocks" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/weblocks?hl=en -~----------~----~----~----~------~----~------~--~---
