thanks for the fast reply.  i've experimented with that on a few views 
before, but never for a form submission.

do you POST into "/path/to/submit#pane" ?


On Tuesday, March 4, 2014 12:09:09 PM UTC-5, Vincent Catalano wrote:
>
> When dealing with bootstrap's tabs I prefer to handle which tabs should be 
> displayed on the front-end using only JS and the URL hash fragment. That 
> way, the only thing that manages the "state" of the view is the URL.
>
> Basically, I have some JS that listens for changes to the hash fragment 
> and displays the appropriate tab based on the hash fragment's value - much 
> like a simple JS router. Based on the value of your hash you should then be 
> able to determine which tab/pane is currently active. When the page loads I 
> just make sure I call the same method as the hash change event so that the 
> appropriate tab content is displayed by default.
>
> -Vincent 
>

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to pylons-discuss+unsubscr...@googlegroups.com.
To post to this group, send email to pylons-discuss@googlegroups.com.
Visit this group at http://groups.google.com/group/pylons-discuss.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to