Trouble with tabs url and load methods
Hello, running into two seemingly related issues, and I am not sure if
I am doing something wrong or if this is a bug. I'll start with the
short synopsis of the problems, then explain what I am trying to do so
you can see how I hit them.
Problem #1: My links in the tabs need to be updated, but they appear
to be altered before I even call the tabs("url",new_href) method
(besides the appended #container_id)
Problem #2: When clicking one of the tabs that I have altered the
link for via the above method locally, the tabs loads (though with a
partly wrong url due to the above problem), but when I access the same
page from a different machine firebug gives me an 'Access to
restricted URI denied' error.
Details: Tabs are secondary navigation in my project, so they need to
point to different things depending what is selected via the primary
nav. So, they start off with default links like 'foo/bar/1?
nolayout=true' and all have the same title to have them use the
'#content_area' div, which is my main place for content. As expected,
the widget appends '#content_area' at the end of the link, but the
weird thing is that all the links appear the same, both on mouseover
and inspecting with firebug. They all are the same as whatever the
first link in the list was. So, say the link listed above. However,
when they were generated serverside, the 2nd one would have been, for
instance, 'foo/bar_blah/1?nolayout-true', but now it is 'foo/bar/
1#content_area'. What I want to do is just update the id, and then
call load on the active tab to reload its content with the new data.
The reload works (locally), but obviously the link is wrong.
I can attach some sample code if that would be helpful, but as this is
already kind of long, I'll hold off unless it is requested. Thanks
for any help!