354 Lotus blogs updated hourly. Who will post next? Home | Downloads | Events | Pods | Blogs | Search | myPL | About 
 
Latest 7 Posts
Choosing between xpages controls and plain html elements
Sun, Oct 21st 2012 99
XPages – Checkbox loses it’s checked state when partial refresh is triggered by the click event of the checkbox
Tue, Sep 18th 2012 144
NotesException: Entry is no longer in view
Tue, Jun 26th 2012 107
Eclipse: Compare with Each Other or Local History…
Wed, Feb 29th 2012 74
XPages: sessionAsSigner & sessionAsSignerWithFullAccess mix-up (Xpages BUG??)
Tue, Oct 25th 2011 118
XPages - Difference between xp:this.data (xp:dominoView) and xp:dataContext usage?
Tue, Mar 15th 2011 123
XPages Partial Refresh: Some day you will run into this nasty javascript issue with Internet Explorer.
Mon, Mar 14th 2011 132
Top 10
XPages – Checkbox loses it’s checked state when partial refresh is triggered by the click event of the checkbox
Tue, Sep 18th 2012 144
XPages Partial Refresh: Some day you will run into this nasty javascript issue with Internet Explorer.
Mon, Mar 14th 2011 132
XPages - Difference between xp:this.data (xp:dominoView) and xp:dataContext usage?
Tue, Mar 15th 2011 123
XPages: sessionAsSigner & sessionAsSignerWithFullAccess mix-up (Xpages BUG??)
Tue, Oct 25th 2011 118
NotesException: Entry is no longer in view
Tue, Jun 26th 2012 107
Choosing between xpages controls and plain html elements
Sun, Oct 21st 2012 99
Eclipse: Compare with Each Other or Local History…
Wed, Feb 29th 2012 74
How to use SSJS inside the addOnLoad function?
Wed, Aug 25th 2010 66
Repeat Control – A better pagination (Version 8.5.1) (An Update)
Mon, Oct 25th 2010 65
Repeat Control – A better navigation (Version 8.5.1)
Thu, Oct 21st 2010 61


Rajeev Menon
 
Blog Title XPages - Runtime
Blog Description Something I learnt and might be of your interest
Blog URL http://www.mydominolab.com
RSS Feed http://www.mydominolab.com/feeds/posts/default?alt=rss
PlanetLotus Feed http://planetlotus.org/profiles/rss/rajeev-menon
Validate Feed feedvalidator.org or validator.w3.org
Feed Last Checked Apr 18, 2014 11:12:38 PM EST. Realtime Update:
Landed Here Aug 25, 2010
Location Fairfax, VA, USA
Posts: # / 1st / Latest - -
Total Hits 994. myPL RSS Selections: 23


Recent Blog Posts
99


Choosing between xpages controls and plain html elements
Sun, Oct 21st 2012 6:10p   Rajeev Menon
It is better to use plain HTML elements as far as possible inside your xpages/custom control markup. For example, if you don't need to do a partial refresh of a DIV or you don't need to work with that DIV on the server side at all, you better use the plain div instead of the xp:div. The same is true with any other html elements. This will reduce the number of component objects the JSF tree has to maintain on the server and understandably will improve the performance. (Before JSF 1.2 it was not [read] Keywords: xpages blogger javascript server
144


XPages – Checkbox loses it’s checked state when partial refresh is triggered by the click event of the checkbox
Tue, Sep 18th 2012 6:09p   Rajeev Menon
When XPage renders the checkbox group control, it generates the label tag for the options text. So the users do not need to target the tiny boxes to make selection, rather they can click on the label to select the option. This also helps with the screen readers. The following is a sample html generated by XPage. test1 test2 test3 I am working on a page where I need to filter a view based on the options selected in a checkbox group. I am doing a partial refresh on the onclick event of [read] Keywords: xpages blogger bug dojo javascript server
107


NotesException: Entry is no longer in view
Tue, Jun 26th 2012 5:15p   Rajeev Menon
If you have a view that has documents listed multiple times (Show multiple values as separate entries checked in the view column) and that view is used in code like shown below, there are high chances that you will get the run time error NotesException: Entry is no longer in view: ViewEntryCollection vec=vwUsers.getAllEntriesByKey(keyLkp,true);if (vec.getCount()==0) return null;ViewEntry veTemp;ViewEntry ve=vec.getFirstEntry();while (ve!=null) { System.out.println("ve.getUniversalID() [read] Keywords: ibm notes apple blogger
74


Eclipse: Compare with Each Other or Local History…
Wed, Feb 29th 2012 5:09p   Rajeev Menon
There were several posts about how to compare different versions of your code (Xpages/Custom Control) available in the local history. But I don't remember seeing anything about comparing 2 different files (Xpages/Custom Controls/Script Libraries/Style Sheets/ any text file) within the same database or different databases in the notes community forums. Suppose something went wrong when you modified the code, but you have it working in an earlier version of your code. If you have a backup of th [read] Keywords: notes xpages blogger community database eclipse java
118


XPages: sessionAsSigner & sessionAsSignerWithFullAccess mix-up (Xpages BUG??)
Tue, Oct 25th 2011 5:09p   Rajeev Menon
I spent around 3 days chasing a [TypeError] exception while trying to delete a document. According to the IBM documentation, sessionAsSigner works with the effective (web) access of the Xpage signer. If my basics are not wrong, a User with Editor access should be able to delete a document even if that person's name or role or group is not in one of the authors field of the document. I logged in as me (I myself is the signer too, no other developer is working in my database) and tried to delet [read] Keywords: acl admin ibm xpages blogger bug database password security
123


XPages - Difference between xp:this.data (xp:dominoView) and xp:dataContext usage?
Tue, Mar 15th 2011 5:17p   Rajeev Menon
One of the useful thing I learnt at a quick glance over the book ("Mastering XPages") so far is the dataContext. In fact, I was thinking how can some complex computation be done in one place in the XPage and then reference that computed object anywhere else in the page. dataContext is just what I needed. Now that I use it extensively in my code, I kind of started thinking that the xp:this.data is also almost like a dataContext. (I may be totally wrong, but then I need someone to tell me that) [read] Keywords: ldd lotus xpages apple blogger database javascript




132


XPages Partial Refresh: Some day you will run into this nasty javascript issue with Internet Explorer.
Mon, Mar 14th 2011 6:08p   Rajeev Menon
I usually keep the client ids of the controls in a global JavaScript variable (JSON Object) so that they can be referenced in the client side JavaScript functions easily. Recently I did a dijit.Dialog popup from a XPage that worked just fine in Firefox (as always). Hoping that it should also work in the Internet Explorer, I did a test and not so surprisingly, the dialog didn't show up as a dialog. I took a copy of the database before I start messing with the code during my debugging exercise. [read] Keywords: xpages apple blogger database firefox javascript
65


Repeat Control – A better pagination (Version 8.5.1) (An Update)
Mon, Oct 25th 2010 9:27a   Rajeev Menon
This is an update on the last week's a href="http://www.mydominolab.com/2010/10/repeat-control-better-navigation.html"post/a. I made few minor changes to the pagination. The combo box with any available page of results to pick from is great, but it is a little inconvenient to always pick from the combo if the users want to go to the previous or next pages. So I added a Previous and Next actions.br /div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"br //div [read] Keywords: ibm apple blogger javascript
61


Repeat Control – A better navigation (Version 8.5.1)
Thu, Oct 21st 2010 7:25p   Rajeev Menon
div class="MsoNormal"span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"Here are few things you might need while working with Repeat Controls/span/divdiv class="MsoNormal"span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"br //span/divdiv class="MsoNormal"bspan class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"How to get the repeat contr [read] Keywords: ibm apple blogger javascript
66


How to use SSJS inside the addOnLoad function?
Wed, Aug 25th 2010 6:26p   Rajeev Menon
divSuppose you want to call a Javascript function immediately after the page is loaded on the browser. The known solution with 8.5.1 is the following./divdivbr /table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="background: #F3F3F3; border-collapse: collapse; border: none; mso-border-alt: solid #99CCFF .5pt; mso-padding-alt: 5.75pt 5.75pt 5.75pt 5.75pt; mso-yfti-tbllook: 480;"tbodytr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;" td [read] Keywords: ibm apple blogger javascript server xml




Created and Maintained by Yancy Lent - About - Blog Submission - Suggestions - Change Log - Blog Widget - Advertising - Mobile Edition