[Opensource] location.href and transition
Michael Rimov
rimovm at centercomp.com
Sat Jun 15 05:52:46 PDT 2002
At 01:38 PM 6/13/2002 +0200, you wrote:
>Can anyone tell me how to solve the following problem:
>
>My application uses javascript and the 'location.href' function.
>When the function is called, the url in the browser address bar is
>changed! (because it is client side) Expresso uses transitions (server
>side) and the url does not change. The problem is that when a user uses
>the F5 button (refresh) then the url in the browser address bar is called
>again. When you have a add state (for adding a database record) in the
>url, then every time you push the refresh button a record is added. How
>can I solve this?
Have you thought of perhaps creating your own TransitionTag that outputs
appropriate Javascript to change the transitions that way? Just a shot in
the dark, I'm certainly not a Javascript expert :(.
-Mike
More information about the Opensource
mailing list