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



Mar 27, 2011, 5:17 PM
16 Posts

Tabbed Panel issue

  • Category: Other
  • Platform: All
  • Release: 8.5.2
  • Role: Developer
  • Tags:
  • Replies: 1
 I am having a strange issue.  I have a tabbed panel with two tabs. 
 
In my application I have a field selection at the top where the end user selects a business from a dialog and clicks a submit button.  This sets a viewScope variable I am using for a repeat control in tab #1 it also sets a second viewScope variable and an editable field.  The viewScope variable is used to set the default tab in  the tabbed panel.  The editable field is set to 1 or 2 to set the visable setting on the #2 tab.
 
When the submit is clicked the repeat gives a listing of users and their cost centers in tab #1 with the users as links.  The links on the users sets a viewScope variable to the docid of the current linked document.  I am using this for the data source for the values in tab #2. The link also switches the user to tab #2 (now visable) and hides tab #1.
 
This all works fine with one exception. 
If I click userA with costcenterA it is loaded in tab #2 in edit mode for me to change the costcenter or just click cancel which will clear the docid in the viewScope variable and sends the user back to tab #1 hiding #2 
 
However when clicking userB after userA the data in tab #2  still has costcenterA.  The strange part is the username which is set to readonly changes to the correct user.  Also If I make the costcenter readonly it changes properly also.   
 
This all worked perfectly before moving into a tabbed panel also.   
 
Any ideas?  Would using dojo and a tabcontainer help? 
 
Thanks for any suggestions 
 
Mar 27, 2011, 11:41 PM
16 Posts
Re: Tabbed Panel issue
 Ok it has gotten more strage.
 
I removed both panels from the tabbed panel.  I now have two panels for for the repeat that is visable until a user clicks a link.   After the link is clicked the other panel is visable instead.  The fields still do not update.  If I don't hide the second panel the fields change.  This makes no sense.  I am doing a full refresh on all as well. Do hidden items not update?
 

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