15 September 2005

Way to go Bob!

You gotta hop over to Bob O'Bringer's site and read his article on Ajax NotesView Object functions. I'm in the process of refactoring all of my Ajax code for Domino web views/outlines using JavaScript Objects. I'm not a JavaScript OO guru but I'm really liking what I'm learning. It's good to see other people doing the same.

My current version of Ajax web views required the user to create and pass an associative array for all of the custom properties of the Ajax view. I'm changing this to instead have the user create a new dwtView Object. This dwtView object has properties such as:

  • expandIcon - what icon graphic to display in order to expand a category
  • collapseIcon - what icon graphic to display in order to collapse a category
  • bExpandCategoryShowAllChildren - true|false - tells whether a all children should be display when a category is expanding
  • xsl - a way for the developer to override my default xsl stylesheet with there own
  • viewURI - the url to the view you wish to load, if you don't provide one the defaul is to use the location.href
  • There will probably be more and I'll blog about them soon. But again, kudos to Bob on what he is also doing.

    1. 9/15/2005 9:53:22 AM, Bob Obringer wrote:

    Jack... that's exactly what I'm talking about. It's easy enough to get the view object using XMLHTTP... now, it's just building the functions that do all the lifting.

    We need to make sure we keep all of this working with each other's stuff so we can just add new functions over time.

    Bob

    Add a new comment

    (not displayed)
    Remember Me?