SHOW 112 – resources and file download (Revised content)

Written by TimsterC on Sun 17-Jan-10 – 18:30 -

SHOW112 – How to build an XPages application from start to finish

The file resources that you would need to create the LOANr application yourself in your own time can be found here. (This has been edited and a corrected .pdf included 27-Jan-10)

Included files are:

show112.pdf – the presentation that becomes your manual on how to create the LOANr XPages application.
scriptsnippets.txt – this is all the code that you are going to need to type in to make it work, but we have typed it in already numerous times so figured that we’d save you the effort.
LOANr-Start.nsf – The database that started from with just the ordinary Notes resources in it. e.g. forms, views, pages and image resources.
LOANr-Final.nsf – Is what the database should look like if you follow the instructions all the way to the end.

We hope you enjoyed the breakout session and if you have not already done so, please complete your evaluation for the session.

Please feel free to ask questions or leave comments here.


Posted in Lotusphere, XPages | 14 Comments »

14 Comments to “SHOW 112 – resources and file download (Revised content)”

  1. Cesar Zavala Says:

    Great presentation! Thanks!

  2. RayHuff Says:

    I saw the presentation in the overflow, which was just about filled also!!!!

    Excellent presentation. Thank you

    You answered all sorts questions I had about XPages.

    Ray

  3. TimsterC Says:

    The Download link has now been fixed. Sorry for the “school boy” error.

  4. Fredrik Says:

    Awesome presentation. Thanks for the resources

  5. Kary Says:

    Going through your presentation downloaded from the Lotusphere Online site, it seems pages 63-66 should precede 61-62.

    Hope this might help someone save a few minutes.

  6. Kary Says:

    Can you make the Symphony version of your presentation available? The PDF version, as too often happens, has text hidden from view on a few pages.

    If possible, thanks!

  7. TimsterC Says:

    @Kary, You are right and the presentation we showed at Lotusphere has them in the right order. It was inevitable that the one we posted would not be the one we presented, so I have modified the presentation in the show112.zip and it now has the slides in the right order. It’s also the one we showed at Lotusphere so it should be good.

  8. TimsterC Says:

    Hi Kary, Having just looked through all 268 slides I can see only one slide (174) where one half of one character is missing off the edge of the page. Therefore I’m not going to post the .odf. Sorry.

  9. Kary Says:

    No problem, Tim. I’ll just go download the new pdf version. Thanks!

  10. Dave Says:

    Any idea why the tabbed panel won’t function (interface won’t switch to selected tab) when the script is added to the onclick event of individual tabs (ex: sessionScope.TabID = “tabPanel2″)?

  11. TimsterC Says:

    It’s hard to tell without seeing it. But I would recommend that you compare your source code with the source code in the completed database also in the download package. If you can’t spot it then drop me an email with your source code.

  12. Dave Says:

    solved: the selectedTab property of the Tabbed Panel was not set. The final version has this property set to “# sessionScope.TabID” (setting this property is not mentioned in SHOW112-ShownAtLS10.pdf).

    Apparently, setting this property defines the sessionScope.TabID variable so that it can be referenced by the onclick event of the individual tabs. I’m assuming that when it was not defined the onclick event was generating an error, which prevented the selected tab from being displayed.

    Interestingly, there was no indication of the error in IE8 or the Notes client (running 8.5.1 locally, i.e. no server). Is there a way to troubleshoot this? Is there documentation from IBM that would define programming scopes and/or define all propeties availble to objects and controls in XPages? thanks.

  13. TimsterC Says:

    Hi Dave,
    Sorry about that, it should be in the presentation at about page 192.
    When you click on a tab the onClick event sets the sessionScope.TabID to be which ever tab you have clicked on, based on the programmatic name of the tab. When the tabbed panel is used on the cc_home custom setting it to look for the sessionScope.TabID tells it to take the last one you clicked on.
    Not sure why you didn’t get an error in IE8.
    There are numerous posts in the Domino Designer Wiki about scoped variables and I’ve not seen anything comprehensive yet about all the properties available. To be fair there are hundreds of them so I don’t think we are ever going to get all of them documented.

  14. Dave Says:

    Thanks, Tim…and thanks for making this application available. I’m a senior Notes developer (since R2.x), but have been out of the loop for the last year or so. This “tutorial” has been very helpful in getting me up to speed on XPages technology.

Leave a Comment