This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



Feb 27, 2013, 3:42 PM
3 Posts

Dialog with xPages

  • Category: Extension Library
  • Platform: All
  • Release: 8.5.3
  • Role: Developer
  • Tags:
  • Replies: 3
 Hello everyone,
 
xPages drives me crazy. It looks fabulous on the paper and I was thinking that i will be very fast to create my App but in fact I'm going crazy about to learn how the framework works. 
 
My problem... I want to get a document from a view and then affect value to the differents fields on the page. Very simple... 
 
I've got no problems to create the dialog, the view, but to retrieve the values impossible. I had a look on the picklist sample on openNTF but it doesn't do what I need. 
 
I need to return the DocumentUnid of the selected document (I can get it) and then refresh the fields with several document values... 
 
Very simple but quite impossible to do. I have tried the events on the page, the scopes and so on but impossible. 
 
The problem with xPages is that it is a blackbox... normally it is designed to be a RAD, but I have to learn how it works to hijack the framework... that's painful. 
 
Do you have any clues for me ?  
 
Best regards. 
 
Pierre 
Feb 27, 2013, 5:36 PM
453 Posts
Re: Dialog with xPages
I, like you am on the trek up mount XPages. It has been accompanied by major frustration interspersed with moments of 'that's neat'.
I find the lack of documentation in a single location to be a major shortcoming of the platform. Most of the examples I have found are either so painfully simple that they are of little help to extend them of so ridiculously  complex that you need to be an experienced XPage developer to understand.
Having said that there are a couple of resources that I would recommend.
 
1. openntf.org has a download of an Extension Library that has some very nice extensions to the Core controls, including a couple dialogue controls. However, there is virtually no meaningful help on how to use the controls contained with it. 
2. I have found two books that are somewhat helpful at http://ibmpressbooks.com, there is one called Mastering Xpages and another called XPages Extension Library. They both leave something to be desired is helping with 'How To' and are more in the line of a Technical reference, but they are there. 
 3. Also you can post on http://stackoverflow.com which is dedicated pretty much to the Extension Library.
4. internet search - but I have not figured out how to focus my searches yet.
5. on-line courses. I have had some experience with http://TLCC.com (not a paid political announcement)
6. Down load the Extension Library Demo - will help you with core controls as well
 
I think the journey will be worth it, I have found that some things that are dead simple in Notes are really obscure in XPages, and some things that are really difficult in Notes are dead simple in XPages. Oh if we could have the best of both.
Feb 27, 2013, 11:07 PM
586 Posts
Re: Dialog with xPages
 Pierre,
 
XPages is RAD but yes you need to learn things about it.  And there is absolutely a learning curve associated with it. 
 
If you're not using Update Pack1 or Ext. Library and it's DialogBox control then you really should pick on and install it.  Don't try to use the Manual dojo dialog.  It can work but there are some issues to solve.  I suggest using Ext. Library.
 
Bill has good advice.  One thing I might try and correct is that StackOverFlow is not dedicated to Ext. Library.  Any XPage question is valid there. 
 
I have 27+ hours of free XPages Videos available on NotesIn9.com.  also see index.notesin9.com   I don't think I have one specific for dialogbox yet but there is an example of dialogbox being used in my downloads from IBM connect.   http://notesin9.com/index.php/2013/02/06/xpages-no-experience-needed-starter-kit-files/
 
Ask questions here or StackOverFlow.  Check out some of the videos.  There's paid resources as well.  It's not difficult to learn but it is different.
 
good Luck! 
 
Dave 
NotesIn9 
Mar 2, 2013, 8:08 PM
453 Posts
Re: Dialog with xPages
Dave's slide presentation and and demo "No Experience Necessary" was a great help to me. One of the things that I liked about it was that it was really step by step and had a fair bit of entry directly into the source which removed some of the mystery from the source code for those of us from a LS N/D background.

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal