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



Apr 8, 2011, 6:27 PM
3 Posts

Problems getting view columns to sort in a viewPanel

  • Category: Other
  • Platform: Windows
  • Release: 8.5.1
  • Role: Developer
  • Tags: View Control,column,sorting,xpages
  • Replies: 3
Having trouble when attempting to have a column be sortable by the end user in a normal flat view (haven't even tried with a categorized or hierarchical view).
 
I'm following the steps necessary on the back end view column properties and the viewPanel's column header properties so that I get a checkbox available to check for "Sort Column".
 
What I get when the column header is clicked when I've put the control on an XPage and bring it up in the browser, is the following exception:

'Error while browsing Notes view''
 
When I look further down in the stack trace I see these two errors along with everything else it lists:
  • com.ibm.xsp.FacesExceptionEx: Error while browsing Notes view
  • NotesException: View resort column name not found
I've tried this with a viewPanel control with multiple columns and all the way down to just a viewPanel with the 1 single column that I want sorted, and in each case, I get the same thing.
 
Anyone seen anything like this, and if so, what was your solution?
Apr 13, 2011, 12:08 PM
122 Posts
Re: Problems getting view columns to sort in a viewPanel
I haven't seen the problem but it sounds like the problem is related to the view column name you're sorting on. It matches on the column title, not the programmatic name. It may be worth playing around with that to see if you can resolve the problem. I've had column sorting working, so it sounds like it's a specific issue with that view. Hope that helps.
Apr 14, 2011, 2:13 PM
5 Posts
Re: Problems getting view columns to sort in a viewPanel
I can't tell whether this is the problem you're encountering, but sorting Ascending or Descending doesn't work properly with XPages -- sort Both, even if you don't need it.
Jan 25, 2012, 8:03 PM
1 Posts
Re: Problems getting view columns to sort in a viewPanel
Have you had any success finding out why this happened / what to do about it? I'm having the same trouble.

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