Error Getting Property From Bean Of Type Lotus.domino.local.view
Topics Author Cloud Baxter Jimuk Bill Fox Bob Cross Chris J Richards David Gilmore David Leedy David Marko484 Fredrik Norling Howard D Greenberg Karol Podgajecki KCherizard S OSC Mark Leusink Matthias Nicklisch Panu Haaramo Patrick Kwinten Paul Calhoun Paul S. Withers Randal W. Oulton Ryan Buening Simon McLoughlin Sven Hasselbach Thomas Adrian Tommy Valand Uwe Manzke weihang chen New Topic Share ▼ Subscribe ▼ Reply Lady SterlingMay 2, 2012 5:59 PM31 Posts Resolved Error getting property on @DbColumnCategory: Server Side JavaScriptPlatform: WindowsRelease: 8.5.3Role: DeveloperTags: @DbColumn,viewsReplies: 5I am trying to get all the values from a column in a view into a combobox for selection. It is the first column of the view and it is sorted. The column formula is just the field value for 'FiscalYear' from the document. Here is the combobox code:
}]]>
There was a small discussion over at Julian's blog regarding multivalue fields and repeat controls. I knew that it was possible to bind Javascript objects and arrays to input fields inside a repeat control using EL syntax.I got a little curious, and decided to test if the same was possible for a multivalue field. It turns out it's just as easy.Instead of my regular demoapps, I'll post source code for the test XPage I made. It's bound to a form with one field, named field (don't name any field field in real applications!!).To test it, create a form named Test with a field named field. Create an XPage/paste the source code from the file http://www-10.lotus.com/ldd/xpagesforum.nsf/xpTopicThread.xsp?documentId=56C256E2B62AAC27852579F20078D69B below. Click the add-button to add an item in the multivalue field. Save the document to test if it works. Not sure how many versions back this works with.Demo XPage source code Posted by Tommy Valand at 7:57 PM Labels: random tip, xpages 24 comments: Karthikeyan A said... Hi Tommy, Please help me with the following. I understand that clicking on the page numbers in a pager present in a XPage view control triggers a full page http://dontpanic82.blogspot.com/2011/03/repeat-controls-and-multivalue-fields.html refresh. Is it possible to make it partial or confine the refresh to a panel that contains the view control.If yes please let me know that. I have been breaking my head on this for over a week now :( Please help me with this oneThanks in advance :) March 24, 2011 at 2:58:00 PM GMT+1 Tommy Valand said... Strange.. By default, the pager should partially refresh the view panel.Are talking about a custom pager of some sort? March 25, 2011 at 6:46:00 PM GMT+1 Anonymous said... Thanks for the post Tommy...extremely useful.I'm trying to figure out how to get a handle on the values of the individual fields that get created on the XPage. Would getItemValueArray be a way to do this? April 5, 2011 at 7:18:00 PM GMT+1 Tommy Valand said... Are you talking about getting the value array from the field bound to the repeat control in a similar situation as the demo? If so, you can use getValue. April 5, 2011 at 7:21:00 PM GMT+1 Anonymous said... Sorry, I see it now. Thanks! April 5, 2011 at 7:59:00 PM GMT+1 Ryan said... I noticed that if I only add 1 item and try to save I get an error:"Error getting property '0' from bean of type java.lang.String"javax.faces.el.PropertyNotFoundException: Error getting property '0' from bean of type java.lang.StringAnyone else come across this? April 5, 2011 at 8:29:00 PM GMT+
2014 (2)January 2014 (1)December 2013 (2)November 2013 (1)October 2013 (1)September 2013 (1)August 2013 (2)March 2013 (2)February 2013 (5)January 2013 (1)December 2012 (3)November 2012 (2)September 2012 (1)August 2012 (1)July 2012 (1)June 2012 (1)April 2012 (3)March 2012 (3)February 2012 (4)January http://lotusnotus.com/lotusnotus_en.nsf/dx/serialization-viewscope-and-exploding-xpage-after-upgrade....htm 2012 (3)December 2011 (4)November 2011 (8)October 2011 (2)September 2011 (4)August 2011 (6)July 2011 http://rezider.com/questions/4780434/command-not-handled-exception (4)June 2011 (14)May 2011 (13)April 2011 (5)March 2011 (11)February 2011 (5)January 2011 (13)December 2010 (18)November 2010 (6)October 2010 (7)September 2010 (8)August 2010 (13)July 2010 (4)June 2010 (9)May 2010 (8)April 2010 (5)March 2010 (2) Links ICS CommunityCollaboration TodayplanetLotusTurkish Lotus User GroupOpenNTFLotus Community IdeajamTechnical ResourcesXPages.infoXSnippetsGreenhouseDeveloper Works August 29 2011 Monday Serialization, viewScope and Exploding XPage after Upgrade... error getting Before the post, I would like to thank my fellow champions David Leedy and Tim Tripcony about this issue. I am stealing their thunder right now. They did most of the job and I am blogging about it :) This is not a new thing. I experienced this problem while working on my custom controls. Some history: I have designed a Captcha Control a while ago. I were using error getting property this control in LUGTR site (8.5.1) and it was working fine. One day, I tested this on my development server (8.5.2) and it failed. I somehow corrected the issue with some stupid modifications and put it under the pile to be explored later. After a time, I were designing my xProperties control for OpenNTF contest. When it's all done, I moved all components to a fresh database and BAM! It wasn't working. I couldn't solve this for a while and then saw a tip on Dave's "XPages Gut Check" post. I contacted him and we did a couple of tests. Finally the great master, Tim gave us a long explanation of the problem :) Before the explanation, I will show you what's going on. First, create a test database on Domino 8.5.2 server. A new feature came with this version. I'll explain what it means in the next step. For now, we will disable this to simulate 8.5.1 behaviour. Open Application Properties and change the following setting and restart the HTTP task on the server for convenience: Now create an XPage as the following:
& conditions Register Back to Login Reset Password Reset Password Return to Login Sign In Login Login Need an account? Register here! Forgot Password? Login with FacebookLogin with Google Register I agree with terms & conditions Register Back to Login Reset Password Reset Password Return to Login Buy Sell Mortgage Your search results Page not found We're sorry. Your page could not be found, But you can check our latest listings & articles Latest Listings 2327 Greenview Dr SW Latest Articles This is a test postHello world! Copyright © 2016 Rezider, Inc. All rights reserved. Fair Housing and Equal Opportunity. Have a Question? Visit our Help Center to find the answer. Contact Us Use the form below to contact us! Send