XPages in Pictures - 01 - Introduction
Category XPages
To me, trying to learn XPages is like eating Hot Peppers. It’s fun and exciting, but there’s serious pain involved.
Right now my pain is in learning how to do “simple” things in XPages.
What I intend to do is to start sharing the few things that I’ve learned so far. Hopefully this helps someone else starting to look into XPages. This will probably be more on the basic end compared to some of the other examples out there. It’ll probably be geared for Notes Rich Client developers since that’s primarily what I do.
There are several hurdles in learning XPages; there’s the initial hurdle of learning how to move around in the new Domino Developer for Eclipse (DDE). That takes some getting used to. There’s also a language switch. The XPage language of choice is JavaScript, not LotusScript. However, there is a really nice consolidation price here. Many of our familiar @Functions and also the Notes Document Object Model has been implemented in JavaScript. That saves a lot of time, and is like having you’re favorite pillow with you for a long road trip. The only catch is that if you’re just getting started in JavaScript, there’s no book on the language that tells you how to mix JavaScript with the Notes Object model. You’re on your own for that. But more and more examples are starting to appear.
For me, the absolute biggest hurdle that I’ve found is that we really need to “Think Different”. You are going to need to change your programming methodology when working with XPages because XPages allow you to do things that would be difficult and time consuming in normal Domino Web Development and down right impossible in traditional Notes Client development. XPages gives you the concept of scoped variables, which are variables that can stay in memory for different lengths of time. For example, there is a session scope variable that remains resident in memory when the user switches page views. No need to pass data along, or save data somewhere only to retrieve it again when the user moves to a new web page.
XPages give you the ability to do a dbLookup from inside a view. Finally, Notes programmers can do the equivalent of a SQL Join. Try that in the Notes Client!
There is a powerful new concept that uses “Panels” and “Repeat Controls”. This allows you to do many interesting things. One use will be the ability to create a “table” with unlimited rows. You can allow the user to add rows on demand. Another interesting use is the ability to display view data, but not have it look like a table. You can control where the fields where go and then apply CSS Styling. For example, you might have a view of people, but rather then showing them in a table, you’re displaying each person in multi-line boxes. Then you could style it and make the “box” look like a business card.
These new tools are very powerful. The difficulty that I am having in transitioning to XPages is in absorbing the examples that are now available. We’re starting to get some great examples to look at. Declan Lynch and John Mackey have a bunch of great examples on their websites. Steve Castledine created the xWiki application on OpenNTF. The Domino Designer Wiki has over 88 topics on XPages at the time of this writing. But almost all these examples are all really encompassing. They are a like full 7 course meal, when what I want is an appetizer sampler. Before I dive into Repeat Controls I want to first learn how to create and modify documents. Before I dive into applying styles and themes to a page I want to know how to filter the contents of a view.
I’m primarily a Notes Client developer. I’ve missed most of traditional Domino Web Development. It’s not that I didn’t want to work on web apps. We just don’t do much Domino web work at my company. While that has been a point of personal frustration, in hindsight, XPages makes that not seem to bad anymore. XPages are just very different that what’s been done up to this point, both in the Client and on the Web.
What I plan to do is create an XPages walk though of building an application, or at least, the shell of an application. There will be lots of screenshots and maybe some videos. I’m going to focus on methods and concepts that are going to be familiar with a Notes Client developer. But I’m not going to try not to assume too much knowledge of Notes Development overall. I think we as a community need a little more focus on basic information to help new developers starting out.
I don’t know how far I’ll get and maybe I’ll learn something new along the way, but to me it looks like the future to Notes is here, and it’s called XPages.
To me, trying to learn XPages is like eating Hot Peppers. It’s fun and exciting, but there’s serious pain involved.
Right now my pain is in learning how to do “simple” things in XPages.
What I intend to do is to start sharing the few things that I’ve learned so far. Hopefully this helps someone else starting to look into XPages. This will probably be more on the basic end compared to some of the other examples out there. It’ll probably be geared for Notes Rich Client developers since that’s primarily what I do.
There are several hurdles in learning XPages; there’s the initial hurdle of learning how to move around in the new Domino Developer for Eclipse (DDE). That takes some getting used to. There’s also a language switch. The XPage language of choice is JavaScript, not LotusScript. However, there is a really nice consolidation price here. Many of our familiar @Functions and also the Notes Document Object Model has been implemented in JavaScript. That saves a lot of time, and is like having you’re favorite pillow with you for a long road trip. The only catch is that if you’re just getting started in JavaScript, there’s no book on the language that tells you how to mix JavaScript with the Notes Object model. You’re on your own for that. But more and more examples are starting to appear.
For me, the absolute biggest hurdle that I’ve found is that we really need to “Think Different”. You are going to need to change your programming methodology when working with XPages because XPages allow you to do things that would be difficult and time consuming in normal Domino Web Development and down right impossible in traditional Notes Client development. XPages gives you the concept of scoped variables, which are variables that can stay in memory for different lengths of time. For example, there is a session scope variable that remains resident in memory when the user switches page views. No need to pass data along, or save data somewhere only to retrieve it again when the user moves to a new web page.
XPages give you the ability to do a dbLookup from inside a view. Finally, Notes programmers can do the equivalent of a SQL Join. Try that in the Notes Client!
There is a powerful new concept that uses “Panels” and “Repeat Controls”. This allows you to do many interesting things. One use will be the ability to create a “table” with unlimited rows. You can allow the user to add rows on demand. Another interesting use is the ability to display view data, but not have it look like a table. You can control where the fields where go and then apply CSS Styling. For example, you might have a view of people, but rather then showing them in a table, you’re displaying each person in multi-line boxes. Then you could style it and make the “box” look like a business card.
These new tools are very powerful. The difficulty that I am having in transitioning to XPages is in absorbing the examples that are now available. We’re starting to get some great examples to look at. Declan Lynch and John Mackey have a bunch of great examples on their websites. Steve Castledine created the xWiki application on OpenNTF. The Domino Designer Wiki has over 88 topics on XPages at the time of this writing. But almost all these examples are all really encompassing. They are a like full 7 course meal, when what I want is an appetizer sampler. Before I dive into Repeat Controls I want to first learn how to create and modify documents. Before I dive into applying styles and themes to a page I want to know how to filter the contents of a view.
I’m primarily a Notes Client developer. I’ve missed most of traditional Domino Web Development. It’s not that I didn’t want to work on web apps. We just don’t do much Domino web work at my company. While that has been a point of personal frustration, in hindsight, XPages makes that not seem to bad anymore. XPages are just very different that what’s been done up to this point, both in the Client and on the Web.
What I plan to do is create an XPages walk though of building an application, or at least, the shell of an application. There will be lots of screenshots and maybe some videos. I’m going to focus on methods and concepts that are going to be familiar with a Notes Client developer. But I’m not going to try not to assume too much knowledge of Notes Development overall. I think we as a community need a little more focus on basic information to help new developers starting out.
I don’t know how far I’ll get and maybe I’ll learn something new along the way, but to me it looks like the future to Notes is here, and it’s called XPages.
- 


Comments
Really nice job,There are many people searching about that now they will find enough sources by your tips.
Also looking forward for more tips about that
Posted by Generic Cialis At 01:41:20 AM On 06/09/2011 | - Website - |
Posted by cheap oakley sunglass At 11:37:50 PM On 07/08/2011 | - Website - |
Posted by デトルシトール At 04:50:25 AM On 07/06/2011 | - Website - |
Mastering this new technology can be tough, but the payoff will be huge.
Cheers from another old Notes Client developer...
Steve Kobb
Posted by Steve Kobb At 03:54:01 PM On 09/27/2010 | - Website - |
Posted by cheap oakley Sunglasses At 09:46:10 PM On 09/16/2011 | - Website - |
Posted by plumbers London At 04:27:31 AM On 09/15/2011 | - Website - |
Posted by sloper At 02:02:31 AM On 08/19/2011 | - Website - |
Posted by Edward Koh At 05:14:56 PM On 07/09/2010 | - Website - |
Posted by cheap taylor swift tickets At 06:51:14 AM On 08/05/2011 | - Website - |
Posted by Patrick Kwinten At 10:59:18 AM On 10/11/2009 | - Website - |
Posted by Rajan Murkute At 03:37:06 PM On 09/08/2010 | - Website - |
Posted by Football Boots Sale At 05:35:20 AM On 09/16/2011 | - Website - |
this graph really conveyed the part which i was looking for.
Posted by Jack Mitnick At 08:17:43 AM On 09/02/2011 | - Website - |
I just finished reading the first 2 chapters and realize that I am over 2 years behind when it comes to XPages. XPages were first introduced in version 8.5 in January 2009. I am really, really behind.
Posted by imarion At 01:18:00 PM On 06/02/2011 | - Website - |
Posted by lacoste uk At 05:58:30 AM On 09/19/2011 | - Website - |
thanks for taking time to discus this topic..
Posted by free classified ads At 03:21:40 AM On 09/14/2011 | - Website - |
Posted by Andrew Xia At 07:25:13 PM On 06/16/2011 | - Website - |
Posted by cheap Oakley sunglass At 10:30:17 PM On 08/24/2011 | - Website - |
follow how you started and continued to get to where you are today.
Posted by Torrent download At 10:17:34 AM On 06/23/2011 | - Website - |
Posted by Charles At 10:41:30 AM On 09/22/2010 | - Website - |
Posted by custom essay At 10:36:26 AM On 06/27/2011 | - Website - |
Posted by metselwerk At 12:23:30 AM On 08/11/2011 | - Website - |
Posted by Jack Mitnick At 04:48:20 AM On 09/02/2011 | - Website - |
Posted by Web Hosting Pakistan At 07:02:30 AM On 08/25/2011 | - Website - |
Posted by clothing wholesale At 08:25:40 PM On 09/19/2011 | - Website - |
competely.I am looking forward to another great article from you. And I want to say <a href="{ Link } shoes</a> are so popular, the<a href="{ Link } jordan fusion shoes</a> are fashion and there are so many yong people like them.<a
href="{ Link } jordan 5 on sale</a> are hot selling all over the world.
Posted by air jordan shoes At 08:23:39 PM On 09/19/2011 | - Website - |
Posted by clothing wholesale At 08:24:29 PM On 09/19/2011 | - Website - |
Posted by Ultimate Wow Guide Review At 07:21:05 AM On 09/21/2011 | - Website - |
Posted by Newspaper links At 06:31:35 AM On 09/27/2011 | - Website - |
Posted by horoskop At 12:20:33 PM On 09/27/2011 | - Website - |
Posted by History of Sports At 03:18:30 AM On 09/28/2011 | - Website - |
Posted by joomla developers At 01:29:01 AM On 09/30/2011 | - Website - |
Posted by blonde short hairstyles 2012 At 05:28:51 AM On 10/03/2011 | - Website - |
Posted by composite decking price comparison At 03:06:52 AM On 10/04/2011 | - Website - |
Posted by asbestos surveying At 12:59:24 AM On 10/06/2011 | - Website - |
Posted by ra one songs At 04:28:26 AM On 10/06/2011 | - Website - |
Posted by chamak challo At 04:30:47 AM On 10/06/2011 | - Website - |
Posted by teri meri bodyguard At 04:32:08 AM On 10/06/2011 | - Website - |
Posted by come dine with me recipes 2012 At 09:38:02 AM On 10/07/2011 | - Website - |
Posted by christian louboutin At 11:16:40 PM On 10/07/2011 | - Website - |
Posted by Craigslist Seattle At 03:36:05 AM On 10/15/2011 | - Website - |
Posted by fake oakley sunglasses At 03:39:04 AM On 10/17/2011 | - Website - |
Posted by fake oakley sunglasses At 03:39:53 AM On 10/17/2011 | - Website - |
Posted by bjk At 09:02:29 AM On 10/17/2011 | - Website - |
[url={ Link } crystal uk[/url]
[url={ Link } ban sonnenbrillen[/url]
Posted by swarovski At 10:16:57 PM On 10/17/2011 | - Website - |
In moderating, not satisfying, desires, lies peace.
Posted by Jordan Shoes Cheap At 11:36:06 PM On 10/18/2011 | - Website - |
In prosperity caution, in adversity patience.
Posted by Nike Free Run At 11:44:47 PM On 10/18/2011 | - Website - |
Posted by Craigslist Houston At 08:17:03 AM On 10/19/2011 | - Website - |
GOOD
Posted by Air Jordan 2011 At 09:20:24 PM On 10/19/2011 | - Website - |
Nike Air Jordan is one of the biggest and first,
Posted by Nike Air Max At 09:33:52 PM On 10/19/2011 | - Website - |
thanks
Posted by Cheap UGG Boots At 09:35:00 PM On 10/19/2011 | - Website - |
Posted by True Religion Outlet At 09:25:03 PM On 10/20/2011 | - Website - |
Posted by At 12:42:37 AM On 10/21/2011 | - Website - |
Posted by UGG Classic Cardy At 01:47:27 AM On 10/22/2011 | - Website - |
Posted by Craigslist San Francisco At 01:58:53 AM On 10/24/2011 | - Website - |
Posted by Stephen At 10:16:20 AM On 10/27/2011 | - Website - |
I am glad to come here! Thanks for sharing the such information with us.
Posted by hermes sale At 12:31:08 AM On 10/28/2011 | - Website - |
Posted by happy new year sms At 10:59:25 AM On 10/29/2011 | - Website - |
Posted by armani watches uk At 08:37:45 AM On 10/31/2011 | - Website - |
Posted by software reviews At 11:19:08 PM On 11/01/2011 | - Website - |
Posted by cfcfy At 02:30:50 PM On 11/09/2011 | - Website - |
Posted by armani watches sale At 07:57:50 PM On 11/09/2011 | - Website - |
Love is something all of us require.But how do they know when they experience it?
True love is best seen as the promotion & action, not an emotion. Love is not exclusively based how they feel.Certainly our emotions are involved.But they cannot be our only criteria for love.<a href=\"{ Link } handbag</a>True love is when you care about another individual that you will lay down your life for them. When this happens,then love truly is as strong as death.How plenty of of you have a sister, or sister,husband or spouse,son or daughter or mate who would sacrifice his or her own life on yours? Those of you who truly love your spells but unchildren, would unselfishly lay your life on the line to save them from death? Plenty of people in an emergency room with their loved ones & prayed"please, <a href="{ Link } tshirt</a>God,take me in lieu of them".Find true love & be a true lover as well.May you discover a love which is not only strong as death, but to leave to a for feeling life.
Posted by hgv At 01:52:44 AM On 11/10/2011 | - Website - |
Posted by mulberry bags At 08:19:14 AM On 11/11/2011 | - Website - |
Posted by UGG Boots 5825 At 07:01:03 AM On 11/14/2011 | - Website - |
E in questa primavera prima del 2010, <a href="{ Link } Gucci </a> sarà possibile l'esperienza dei clienti piacevole di <a href="{ Link } Gucci Outlet </a> produttore in qualche posto nuovo produttore per la sua nuova idea di design pattern. Oltre a questo modello vi svela le sue basi brillante e delicato disegno l'istante di più. <a href="{ Link } 2011 Nuove Vendita Gucci </a> sono così noti che nel 2009 ha creato a sua volta alla star concentrarsi all'interno pianeta design per le sue idee modello .
Posted by Gucci At 04:07:12 AM On 11/15/2011 | - Website - |
Posted by CASINOS IN ATLANTI CCITY At 05:58:57 AM On 11/15/2011 | - Website - |
Posted by 129 casino reviews At 05:59:39 AM On 11/15/2011 | - Website - |
Posted by beat online poker just At 06:00:12 AM On 11/15/2011 | - Website - |
Posted by GREAT INDIAN CASINOS At 06:00:49 AM On 11/15/2011 | - Website - |
Posted by live bingo info At 06:03:41 AM On 11/15/2011 | - Website - |
Posted by BLOND CASINO RESORTS At 06:04:19 AM On 11/15/2011 | - Website - |
Posted by casino journal topics At 06:05:36 AM On 11/15/2011 | - Website - |
Posted by FREE CASINO SILVER At 06:10:19 AM On 11/15/2011 | - Website - |
Posted by CASINO FANS At 06:11:24 AM On 11/15/2011 | - Website - |
Posted by FREE CASINOS REVIEW At 06:12:01 AM On 11/15/2011 | - Website - |
Posted by Penegra At 05:47:45 AM On 11/17/2011 | - Website - |
Posted by Coach Outlet Online At 01:54:22 AM On 11/18/2011 | - Website - |
{ Link } Coach Factory Store
{ Link } Coach Outlet
{ Link } Coach Outlet
{ Link } Coach Outlet Online
{ Link } Coach Outlet
{ Link } Coach Outlet Online
{ Link } Chanel Outlet
{ Link } Chanel Outlet
{ Link } Louis Vuitton Outlet
{ Link } Coach Factory Store
{ Link } Chanel Handbags
{ Link } Coach Outlet
{ Link } Louis Vuitton
{ Link } LV Outlet
{ Link } Coach Outlet
{ Link } Coach Outlet
{ Link } Coach Outlet
{ Link } Chanel Bags
{ Link } Coach Outlet
Posted by Coach Outlet At 03:46:37 AM On 11/18/2011 | - Website - |
Posted by christian chat At 10:46:35 AM On 11/20/2011 | - Website - |
Posted by cheap ray bans At 08:35:16 PM On 11/20/2011 | - Website - |
Posted by Ladies Vs Ricky Bahl songs At 12:46:09 AM On 11/23/2011 | - Website - |
Posted by Loot songs At 12:52:14 AM On 11/23/2011 | - Website - |
Posted by The Dirty Picture songs At 12:55:43 AM On 11/23/2011 | - Website - |
Posted by Hindi songs At 12:58:53 AM On 11/23/2011 | - Website - |
Posted by Loot songs At 01:00:58 AM On 11/23/2011 | - Website - |
Posted by Desi Boyz songs At 01:03:23 AM On 11/23/2011 | - Website - |
Posted by Rockstar songs At 01:04:39 AM On 11/23/2011 | - Website - |
<a href="{ Link }
Posted by Kaftan At 01:43:34 AM On 11/24/2011 | - Website - |
{ Link }
{ Link }
{ Link }
{ Link }
{ Link }
{ Link }
{ Link }
{ Link }
{ Link }
{ Link }
{ Link }
{ Link }
{ Link }
{ Link }
{ Link }
{ Link }
{ Link }
Posted by 传奇私服 At 12:12:50 PM On 11/27/2011 | - Website - |
Posted by Toyota Camry At 12:16:10 PM On 11/27/2011 | - Website - |
Posted by Plumber Bedfordshire At 03:26:10 AM On 11/28/2011 | - Website - |
Posted by JR. Tresor Paris At 03:39:29 AM On 11/28/2011 | - Website - |
Posted by Coach Factory Outlet Online At 09:44:49 PM On 12/02/2011 | - Website - |
Posted by Anders At 06:35:16 PM On 12/04/2011 | - Website - |
Posted by Coach Outlet Store Online At 08:45:02 PM On 12/06/2011 | - Website - |
Posted by Coach Factory Outlet At 10:17:21 PM On 12/06/2011 | - Website - |
Posted by Plumbers North London At 12:43:41 AM On 12/07/2011 | - Website - |
Posted by Coach Factory Online At 06:39:53 AM On 12/08/2011 | - Website - |
Posted by music production At 06:05:36 AM On 12/09/2011 | - Website - |
Posted by Coach Factory Outlet At 01:00:33 AM On 12/12/2011 | - Website - |
Posted by At 08:45:40 PM On 12/12/2011 | - Website - |
Posted by sdfds At 10:09:23 PM On 12/18/2011 | - Website - |
Posted by The North Face Outlet At 08:36:50 PM On 12/28/2011 | - Website - |
Posted by Second Hand Cars At 04:27:17 AM On 01/13/2012 | - Website - |
Posted by SIYECAO99 At 01:53:47 AM On 01/16/2012 | - Website - |
Posted by last minute reisen At 12:39:49 PM On 01/19/2012 | - Website - |
coach outlet online
store, the goods will be sent out within 24 hours after confirming your payment and arrive to your door within 7 work days.No one can deny the shopping at the
coach factory outlet
is satisfactory. For the low prices and good quality.
{ Link }
Posted by coach outlet online At 04:02:17 AM On 01/29/2012 | - Website - |
handbags You can not just save your cash but also your time inside a convenient way to obtain the exact same bags product and do not be concerned the shippment of one's products.The
coach outlet store online
are utilized for formal event in company area that will display your excellent taste.Not only does a briefcase make is easier to carry things.
{ Link }
Posted by coach outlet At 04:14:08 AM On 01/29/2012 | - Website - |
Posted by coach factory outlet At 07:45:01 PM On 01/29/2012 | - Website - |
Posted by louis vuitton uk At 07:48:52 PM On 01/29/2012 | - Website - |
coach outlet
.You will easily notice the unfold zippers of this
coach outlet store online
. That is the decoration. There are some inside pockets for you as well. They are easy to match your clothes and to carry.
Posted by coach outlet At 08:09:59 PM On 01/29/2012 | - Website - |
louis vuitton sale { Link }
everywhere.Looking for a
louis vuitton outlet { Link }
and don't know where they are? The easiest way is to enter here. That simple and you definitely will never be disappointed.
Posted by louis vuitton sale At 08:13:56 PM On 01/29/2012 | - Website - |
has a big heart and a healthy appetite, and a wicked swing with a chainsaw. After a knee injury ended his career as a defensive lineman in college, Coach salvaged his Physical Education degree(barely)and landed a job teaching health at the local high school in his hometown of Savannah.
coach factory online { Link }
are loved by many people, when you walk in the street, you could see many people take coach styles.
Posted by coach factory outlet At 08:20:34 PM On 01/29/2012 | - Website - |
{ Link }
Posted by coach outlet store At 09:31:51 PM On 01/29/2012 | - Website - |
{ Link }
Posted by coach outlet online At 09:34:49 PM On 01/29/2012 | - Website - |
coach outlet online
Store sells many series. The Coach shoulder bags are always the best popular series because they are very practical and beautiful.customers are not only interested in handbags and purses, but also fond of?shoes and jewelry which is sold at the
coach outlet
.
Posted by coach outlet online At 12:10:47 AM On 01/30/2012 | - Website - |
Posted by Ralph Lauren Outlet At 01:53:54 AM On 02/01/2012 | - Website - |