JSF application, using rich faces. I'm having a problem with jQuery
tabs as follows:
I have a page with a right-hand side navigation div that allows users
to select items, basically a menu of what's available.
The main div on the page gets replaced with the details of the
selected item; this detail div includes tabs. Some items have tabs,
some don't depending on the type of the item from the list.
On initial page load, most often the "default" item is a kind of item
that doesn't have any tabs. So, calling the initializer jQuery('.ui-
tabs-nav').tabs() seems to have no effect (this is what I expect).
Problem is, when I click on a more-interesting item from the nav list,
and the browser gets the AJAX response, the call to the jQuery('.ui-
tabs-nav').tabs() initializer results in a javascript TypeError
informing me that tabs() is not a constructor.
Am I correct to conclude that the tabs() initializer is designed to be
one-shot, and is not usable inside my AJAX-replaced region of the
page? Or, is this case supposed to work, and I need to look elsewhere
to discover the cause of the problem?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---