-- mapes911 <[email protected]> wrote
(on Friday, 27 February 2009, 12:14 AM -0800):
> 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??

When you start talking about the hash, then you're talking client side,
and ZF cannot help.

What you are describing is the realm of dojo.back, which allows you to
invoke JS callbacks when the hash in the URL is changed. It's fairly
easy to learn... once you wrap your head around how it works, and once
you've developed a sane strategy for handling the UI changes for such
events.

-- 
Matthew Weier O'Phinney
Software Architect       | [email protected]
Zend Framework           | http://framework.zend.com/

Reply via email to