I’m trying to do some basic XPages designs, and I’m getting a 500 Server error.
I’ve narrowed it down to the repeat control, as I now have nothing else on the page except a Header custom control which is just some static text right now. Here is the source for my XPage
I turned on he default error page and I’m getting this:
Error source
Page Name:/AMSDashboard.xsp
Exception
Error getting property ‘Org_Name’ from bean of type lotus.domino.local.View
I have made this repeat control just as simple as I possibly can. The only thing I’m unsure of is that “Org_Name” is the column name of the view, but the dropdown only offers the column title of “Organization”. I have tried both with the same result.
I googled for XPages and “property not found” and the single result was from someone saying their JVM was somehow messed up and he changed development servers.
Subject: The Repeat control source needs to be a list or an array
Alright, so I am just following along with the video. Everything works just fine with putting a view on the page. I then add a repeat control, a panel, and a computed field (with simple data binding) pointing to one of the fields in the view. This fails.
I don’t know why it would matter, but we are running the Domino server on an AS400.
Either I had forgotten to set the collection name for my Repeat control, or it somehow forgot that information. I corrected the issue and retested without any difference, but here is the corrected source code:
I got it working by using a “Collection Name” for referencing the field value. You set the collection name on the repeat control properties panle to “rowData”. Then in your computed field, set the data source to use the rowData instead of view1. Here’s the modified source. Let me know if that fixes the problem: