sweet. you guys rock!! i'll give this a try tonight.  

i did a quick search of code in pastebin and didn't find dojo.back.  perhaps
he didn't use it?

anyway, i found some example code so i'm going to give this a whirl.
question that pops into my head now is this:  let's say a user bookmarks a
url. this url will now probably have a hash mark in it. so for me to be able
to load the correct content, do i create a dojo.onload (callback) routine
that will read the stuff after the hash and determine what controller/action
combo to call and load into my content div?

am i on the right track?

thanks again


Filip Wirefors wrote:
> 
> 
> Hi, dojo.back has the kind of functionality you are looking for.
> I used dojo.back in conjunction with dijit.layout.ContentPane
> to be able to use the browsers back/forward butons and  
> bookmarking. 
> 
> Some info on the subject can be found here:
> http://docs.dojocampus.org/dojo/back
> 
> And if I'm not mistaken, Matthew uses dojo.back in his pastebin app.
> 
> /Filip
> 
> 
>> Hi all,
>> 
>> I am developing an application that uses ajax/dojo.xhrget calls often to
>> manipulate certain divs within a page. I would like to be able to update
>> the
>> url in the browser as the user clicks different areas so that if a user
>> decided to bookmark the page, they would be able to return to the same
>> page
>> with the right content loaded in the container div.
>> 
>> I've seen solutions in other forms where they use the
>> parent.location.hash =
>> URL; but this only works if you have a # mark within your url and you are
>> modifying the part of the url after the #
>> 
>> Does anyone here know of a way to do this with zend framework??
> 
> 
> _________________________________________________________________
> Svårt att hålla kontakten med släkt & vänner? Skaffa Messenger nu!
> http://download.live.com/messenger
> 

-- 
View this message in context: 
http://www.nabble.com/manipulating-the-window-url-without-a-refresh-tp22241256p22251070.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to