You need to sign in to do that
Don't have an account?
tabPanel broken in full sandboxes in Spring 10 release - multiple browsers
The following simple tabPanel doesn't work in our full sandboxes in FF 3.6.2, Chrome 5, or IE 7. In my developer sandbox, the code works fine (and I have a much more complex set of tabs).
<apex:page standardController="Account" showHeader="true" tabStyle="account">
<!-- Create Tab panel -->
<apex:tabPanel switchType="server" selectedTab="name1" id="AccountTabPanel">
<apex:tab label="One" name="name1" id="tabOne">content for tab one</apex:tab>
<apex:tab label="Two" name="name2" id="tabTwo">content for tab two</apex:tab>
</apex:tabPanel>
</apex:page>
Clicking an inactive tab doesn't work - actually, the error is thrown before click at mouseover. Here is the error that is reported by IE:
Line: 106
Error: Object doesn't support this property or method
In FF, FireBug reports "element.hasClassName is not a function" on load and on hover, "elementClassName is undefined".
Anybody else having this problem? Once again, both our full sandboxes have this issue, but a developer sandbox works fine. All 3 sandboxes are on Spring 10.
This seems similar to this post, but is affecting multiple browsers and is a much newer release:
tabPanel broken in IE7
Thank you.
All Answers
Hi,
Yes - there was a conflict with jQuery as we had it packaged in CountryComplete v1.2 and earlier together with the prototype library used to support the tab panels.
This issue is resolved in CountryComplete v1.3 due for release in the next few days. Any customers with an urgent requirement can contact support@provenworks.com for a replacement Javascript file which can be loaded in to an existing CC v1.3 installation to resolve this issue.
Regards,
Joel Mansford
ProvenWorks
could it be that this is an issue on the emea.saleforce.com too? on both (na11 develop and emea) newly created tab panel cannot be switched resulting in errors on js console:
Error: elementClassName is undefined
Source: https://c.na11.visual.force.com/faces/a4j/g/3_3_3.Finalorg.ajax4jsf.javascript.PrototypeScript
&&
Error: elementClassName is undefined
Source: https://emea.salesforce.com/faces/a4j/g/3_3_3.Finalorg.ajax4jsf.javascript.PrototypeScript
:(
EDIT:
it seems jquery datepicker causes the issue (embedded as a component on the page). Removing the component awakens the tab panel.
i have to find a way to integrate both.
Hi ,
I am facing the same issue. I am using Jquery for the datepaicker and in the same page i have tab panel.Tab panels are not working.
and in the js console i see the error message "Error: element.hasClassName is not a function Source File: https://c.ap1.visual.force.com/faces/a4j/g/3_3_3.Finalorg.ajax4jsf.javascript.PrototypeScript "
Any idea?
Thanks in adavance
well, i just banned the datepicker from my page ... you might try a different version of the datepicker. i had no time or desire to sort this out.
You need to run jQuery in no conflict mode. Details here: http://www.tehnrd.com/setting-up-jquery-with-salesforce-com/
Hi ,
Thanks for the response. Its working .
Reagrds