This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



Jan 8, 2013, 3:31 PM
4 Posts

Need Some Help with Tab Panel

  • Category: Other
  • Platform: Windows
  • Release: 8.5.3
  • Role: Developer
  • Tags:
  • Replies: 4
I have a Tabbed Panel with three Tab Panels on it. There are radio fields on the tab panel that I want to select when the user switches to the tab panel, and two fields I need to clear that are not located in the tabbed panel. As soon as I add code to the Client or Server Onclick event of the panel, the panel no longer displays when being clicked. The other two panels still work fine.
 
Is there something I'm missing?
 
Also, is there any good documentation on the Tabbed Panel control. I've only really seen validation issues documented.
 
Thanks,
Scott.  
Jan 8, 2013, 8:32 PM
37 Posts
Re: Need Some Help with Tab Panel
 Hello!
 
   Sorry, but with a Tabbed Panel, the other panels don't really exist on the web page.  This is why you can't get a handle on them.  You could try a dojo panel, but you may find some issues there. 
 
   I converted an old application with tabbed tables to use a jQuery table of contents, which you can find a great example here. 
 
Good luck! 
 
Steve in NYC 
Jan 9, 2013, 12:56 AM
586 Posts
Re: Need Some Help with Tab Panel
 As Steve said the built in Tab control will only render to the browser 1 tab at a time.  That kinda bites if you ask me.
 
But you can easily make a manual Dojo Tab control or even the ext. library Tab control.  Those render all tabs at the same time. 
 
Dave 
 
Jan 9, 2013, 3:25 PM
37 Posts
Re: Issues with Dojo tabPanel
 Hello!
 
   David is right about the dojo table, but that can have some issues, too.  For example, if you want to set focus on a field in a separate tab, you'll have to trick the code to open that tab first or you'll get an error.  In our organization (unfortunately!), IE7 is the standard, and dojo tabbed panels don't come out well at all if you have a large form.  Basically, the entire form will be displayed, and then the dojo tabs will reorganize it.  Not so nice for end users, especially if they are typing in some of the first fields when the rest of the form is still being loaded.
 
   The link in my previous response for the jQuery table of contents has won rave reviews from end users here!  If you have a big form, I suggest using that method. 
 
   Who knows?  Maybe Dr. Mark Roden can do a 4th video for David Leedy's xpages.tv site...   :)
 
Good luck! 
 
Steve in NYC 
 
"If the automobile had followed the same development cycle as the computer, a Rolls-Royce would today cost $100, get a million miles per gallon, and explode once a year, killing everyone inside." 
Jan 9, 2013, 4:45 PM
4 Posts
Re: Need Some Help with Tab Panel

Thanks for the replies.

The pages are not too large, so I'll probably look at a redesign that doesn't use the tab layout.
 
Thanks again,
Scott.


This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal