Friday, February 11, 2011

xPage view with categories + readers fields + don't show empty categories

I'm doing simple application right now on xPage, nothing really difficult. This application has view with couple columns as category, documents that I display into that view have readers/authors fields and I need to be able do collapse and expand of that view. Simple things, right? but not for xPage, to difficult, it just does not work :-), I've found paper on
IBM LO58079: XPAGE VIEW CONTROL WITH EXPANDLEVEL, VIEW WITH 'DON'T SHOW EMPTY CATEGORIES', DOCUMENTS WITH A READERS FIELDS
Actually this paper describes my situation and there is really smart solution there!
Local fix
Remove any one of these three factors:
- The readers fields from the documents.
- The "Don't show empty categories" property from the view.
- The 'expandLevel' property from the view control.

Is it joke? Would it not be better to remove whole application at all? nice that they do not say to use another sofrware for web development, but who know... probably next 'Loal fix'...  :-)

2 comments :

Erik Brooks said...

Well, at least it looks like it was a newly-discovered bug - the APAR was created only 2 weeks ago.

But it definitely should be fixed. Have you reported it to IBM? They seem determined to fix these types of problems now.

Michael Sobczak said...

I have the same problem. Looks like its still broken in 8.5.3. So much for IBM working at warp speed on XPages bugs!