limburgie / php-movico

Automatically exported from code.google.com/p/php-movico
0 stars 0 forks source link

Persistent links to pages #39

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
# Suppose I'm on http://my-site.com with
# Suppose at some point I have a <commandLink action="myapp/home" value="Back 
to home"/>
# When I click on the link, the browser will display http://my-site.com/# and 
asynchronously show the myapp/home view.
# Now I add link="true" to the commandLink.
# When I click on the link now, the browser will show 
http://my-site.com/#myapp/home
# If I go to http://my-site.com/#myapp/home directly, Movico should check if 
the view myapp/home exists and, if so, consider it as the start page. 
Otherwise, no error should be thrown but the default view should be considered.

This should work in the exact same way for both AJAX and Non-AJAX.

Original issue reported on code.google.com by limburgie on 19 May 2011 at 12:11

GoogleCodeExporter commented 9 years ago

Original comment by limburgie on 6 Jun 2011 at 2:49

GoogleCodeExporter commented 9 years ago
Fixed. Use link="true" to set the link as persistent.

Original comment by limburgie on 7 Jun 2011 at 6:59