Articles
PermaLink Resources for passing your Websphere Portal Admin/Developer Certifications07/14/2010 08:11 AM
Websphere Portal
I do a lot of work with many IBM technologies.  You would not know this from reading my blog since it is focused on XPages....but I'm branching out today.

I recently passed my Websphere Portal 6.1 Administration and Deployment certification (LOT-955) with a score of 97, and passed my Websphere Portal 6.1 Application Development (LOT-959) with a score of 100.  

Now, the high scores are not exactly a reflection of my portal skills, but more a reflection of my study skills.  These products are very deep and you could study for months without uncovering all there is to know about them.  Having the correct resources can help you by isolating the topics that the tests focus on most.

Of course no amount of studying can take the place of hands on skills.  If you want to learn Portal, Portlet Factory, or Rational Application Developer (RAD) and do not have access to the software, you can download trial versions of these products from IBM.  Or even join their beta programs to learn the latest versions.

Some folks do not believe in the merits of certifications, but I do...not for the reasons most might think,  i.e. increased job opportunities.  For me, studying for my certification forces me to study topics of a product that I might not have learned in my normal day-to-day work.  This increases the depth of my skills.  Then of course comes the "Ah Ha" moment when one day you solve a problem, or suggest a solution, with some knowledge you only learned because of studying for your certification. That makes it worth it to me.

Here's a list of resources that helped me:

Websphere Portal 6.1 Administration and Deployment certification (LOT-955)
-  Websphere Portal 6.1 info center
-  Wiki - Step by step cluster guide
-  Websphere Portal 6.1 955 sample questions (many of these questions were almost identical to the ones on the test!)
-  Wiki - WebSphere Portal V6.1 Configured with Multiple LDAP's and Multiple Realm's

Websphere Portal 6.1 Application Development (LOT-959)
-  IBM - Websphere Portal Training resources (There are numerous links on this page)
-  Lot 959 FreeExamKing sample questions (again, these sample questions were very similar to what I saw on the test)
-  IBM's Virtual Innovation Center courseware (this requires a partnerworld login..but it's excellent!)

I also used certFx sample tests.  They cost around $90, and you usually can find a promotion code for a discount.  However, the above links to the online sample questions were very similar.  One advantage of buying a certfx test is that they guarantee you will pass the test, and will reimburse for the testing fee if you do not pass.  That's $200 dollars now. (I think it went up recently)

My study approach is to read the material, then take a sample test.  If I do not know the answer to a sample test question I go to the info center or google and research it.  Then I take the sample test over again (a couple of times) before my scheduled test date, this way it's all fresh.

Good luck on your tests!

-John

Technorati:
(0)

PermaLink I'll be speaking at The View's Lotus Developer 2010 Conference04/28/2010
None
I'll be speaking at The View's Lotus Developer 2010 in Boston on May 12th to the 14th.  If you see me there, please stop by and introduce yourself.  That's the best part about conferences....meeting new people.

I have 2 sessions.  Currently, both are being scheduled to repeat, so I'll be busy.  Here's the descriptions:

XPages: Write once, run everywhere!
With the latest release of Domino Designer, the platforms for running your XPages applications have been significantly expanded. Attend this session for a deeper understanding of the new XPages features in version 8.5.1 and how to leverage them in your applications. See how XPages now runs in the Notes client including the settings you’ll need for client launch and themes as well as customizing your XPages based on the client type using JavaScript or @commands. Take a deep dive into the Component Design Element to learn step-by-step how to create components as well as how to produce Actions and Events for wiring in composite applications. See how to simply include XPages components in composite applications as well as iWidgets for both the IBM Mashup Center and WebSphere Portal. Take home a copy of the applications used in the presentation with full access to the code.

Building Rich Internet Applications in Domino using AJAX, JSON, and the Dojo toolkit
Are your Domino Applications so yesterday? Bring your apps into the Web 2.0 world with a Rich Internet Application (RIA) facelift utilizing JSON, AJAX, and Dojo. Get an explanation of JSON (JavaScript Object Notation) — what it is, how it works, and why you want to use it. Get an understanding of the advantages of JSON over XML for building RIA applications with Domino. Learn how Domino can natively serve up JSON as well as how to generate JSON with agents and views. Explore the Dojo toolkit, an AJAX framework that now ships with Lotus Domino, and learn how you can leverage Dojo to build Rich Internet Applications. Walk away with an understanding of JSON, how to utilize JSON in AJAX frameworks, the Dojo toolkit, as well as a sample database with code.

Hope to see you there!

-John
Technorati:
(0)

PermaLink XPages tip: Programmatically jumping to a page on a View or Pager control02/24/2010 07:30 AM
Domino 8.5 - XPages
In the Dynamic View Custom Control I built, and is available on OpenNTF, I noticed that the pager control does not reset when I switch datasources.  The Pager control does not reset because the custom control is not reloaded in the demo I put together.  So I was looking for a way to reset the control programmatically and I came across this article from Matt White on the XPagesblog and then also came across the same answer on IQJam (both are great resources!).

The article shows you how to get a class in JS in the Designer so that you can browse the methods that are available to you.  So for example if you want to jump to a certain page for a View control or Pager control you can use this "gotoPage()" method.

For a Pager:
var pager:com.ibm.xsp.component.xp.XspPager = getComponent("pager1");
pager.gotoPage(1);  //0 is first page etc.,.

For a View:
var view1:com.ibm.xsp.component.xp.XspViewPanel=getComponent("viewPanel2");
view1.gotoPage(1);

Here's a screen shot of the script editor and some of the methods available for a View control.  As you can see there is also gotoFirstPage(), gotoLastPage(), gotoNextPage(), gotoPreviousPage(), and gotoRow().

Image:John's Blog - XPages tip: Programmatically jumping to a page on a View or Pager control


-John
Technorati:
(6)

PermaLink XPages Dynamic View Custom Control - on OpenNTF.org02/16/2010 03:46 AM
Domino 8.5 - XPages
I created an XPages custom control that dynamically builds a view based on a series of passed in parameters.  Normally with XPages, if you want different views to be displayed on your XPage, you would create the multiple view controls and hide the ones that should not be displayed.  This custom control allows you to drop a single CC on your XPage and it can generate the views for you.  Cick here to open the OpenNTF.org project.

Overview

I included a sample page and test data so you can try the Custom Control out.

When you first launch the database, click on a view to generate: Projects, Customers, or Orders.

Image:John's Blog - XPages Dynamic View Custom Control - on OpenNTF.org



When you click on one of the view links I set session scope variables for the view parameters.  You can pass these parameters anyway you like or compute them too. For the demo I chose session variables. You can even build an interface so the users can tailor their own views.  Here's a sample of setting the parameters for the Project view:

Image:John's Blog - XPages Dynamic View Custom Control - on OpenNTF.org



On the Custom Control, you can see how I pick up the Session Variables and pass them to the control:

Image:John's Blog - XPages Dynamic View Custom Control - on OpenNTF.org



To further demonstrate how you can change the view dynamically, I added a custom control that has input controls bound to the session variables.  This allows you to change any of the parameters and click the "Build View" button to regenerate the view.  So you can change the order of the fields, the width of the view, link column etc.,  

*Note: the fields do not have to be physically in the view.  I grab the fields from the backend document:

Image:John's Blog - XPages Dynamic View Custom Control - on OpenNTF.org


The ccDynamicView control is actually very small.  It consists of 2 nested repeat controls with a pager control:
Image:John's Blog - XPages Dynamic View Custom Control - on OpenNTF.org


I used Paul Calhoun's example Creating a Dynamic HTML Table on an XPage to add the columns to the tables as it iterates through the field list.  By adding the <xp:td> tags around the repeat controls the Outline palette seemed to object to this and will not let me select the repeat control anymore with my mouse. This makes it difficult to edit the custom control through the interface. If you need to make changes, you need to use the source view.

This repeat control builds the columns and the view header by exploding the list of columns and iterating through them:

        <xp:tr>
                        <xp:repeat id="repeat2" rows="30"
                                value="#{javascript:@Explode(compositeData.columns)}" var="colName"
                                indexVar="colIndex" first="0">
                                <xp:td>

                                        <xp:text escape="true" id="computedField1"
                                                value="#{javascript:colName;}"
                                                style="color:rgb(0,0,128);font-weight:bold">

                                        </xp:text>
                                </xp:td>
                        </xp:repeat>
                </xp:tr>


The next repeat control retrieves the data set for the view depending on the fulltext and category parameters, and then retrieves the field values for document.  Along the way it formats the rows for alternating color and builds the href links.


Cons
On the downside to using this custom control, the view cannot be expanded and collapsed.  Nor is their the ability to click a column heading and sort the data.  If anyone knows how to add that feature please comment!  

-John

Technorati:
(6)

PermaLink Free Domino Designer 8.5 Courseware02/07/2010 09:03 AM
Domino 8.5
The folks over at TLCC are providing a "free" introductory level Domino Designer 8.5 course.  If you have some newbie Domino developers in your group, Domino developers that want to start learning XPages, or administrators that want to get up to speed on development, you should check out this course.  

From my past experience, TLCC provides high quality courses with a focus on details.  It is delivered within the Notes 8.5 client, which you can also download for free from IBM.  Using the Notes client allows you to learn at your own pace and perform the corresponding exercises in the Designer.  I had the opportunity to review their full blown XPages course last year and would recommend it to anyone wanting to learn XPages.  Click here to read that review.

Here's an overview of the course modules:
  • What is Notes and Domino software?
  • The role of the Notes client and Domino server
  • Domino Application Architecture
  • Using Domino Designer software
  • Creating a Domino Application
  • Creating Forms and adding fields
  • Designing Views
  • Creating XPages for your application
  • Programming options in Domino Designer applications
  • Deploying a Domino application

For more details visit the TLCC site.  Nowadays, everyone could appreciate free courseware....
Technorati:
(1)

PermaLink Domino 8.5 DDE Tip - How to edit multiple design elements in the same window. (Agents, Forms, Views, XPages, etc. )02/01/2010 05:50 AM
Domino 8.5
Now that Domino Designer 8.5 is based on Eclipse, you can take advantage of some built in Eclipse features.  Eclipse provides the capability for editing multiple elements in the same design window by splitting the window either horizontally or vertically.

Let's say you want to edit an XPage and a Custom Control together.  Open up both the XPage and Custom Control as you normally would.  Open up the Custom Control. Now drag the XPage tab onto the currently opened Custom Control in the design pane.  Release the mouse when the icon turns to a black arrow and a black shaded outline appears:
Image:John's Blog - Domino 8.5 DDE Tip - How to edit multiple design elements in the same window.  (Agents, Forms, Views, XPages, etc. )


Once the mouse is released the screen will split and contain both design elements:
Image:John's Blog - Domino 8.5 DDE Tip - How to edit multiple design elements in the same window.  (Agents, Forms, Views, XPages, etc. )


This is not limited to XPages.  If you want to edit a Lotusscript agent and view the associated Notes Form at the same time you don't  need to flip back and forth between tabs anymore.  You open both design elements as normal.  Click on the Form tab.  Now drag the Lotusscript Agent tab onto the opened window toward the right side of the screen this time:
Image:John's Blog - Domino 8.5 DDE Tip - How to edit multiple design elements in the same window.  (Agents, Forms, Views, XPages, etc. )

Here you can see the Form and Agent side by side:
Image:John's Blog - Domino 8.5 DDE Tip - How to edit multiple design elements in the same window.  (Agents, Forms, Views, XPages, etc. )

If you need more real estate temporarily, you can double click on the design elements title and it will maximize that window.  Double clicking again will restore the window size.

To move the split window back to it's original tab you can drag the window back to the Tab bar and the window will return to normal.

Good stuff....

-John
Technorati:
(1)

PermaLink XPages: Generate Dynamic Views at runtime - Custom Control....opinions wanted01/28/2010 08:04 AM
Domino 8.5 - XPages
I was working on an application where I had a number of views on an XPage that I would hide/show depending on the navigation selected.  I thought it would be great not to have to embed every view on the page, plus build out all the XPages views.

Just for fun I looked into creating a custom control that would accept the view name, the columns/fields, the link to open, etc. as parameters. The custom control would then generate the view for me. It turned out not to be so difficult to build...at least a scaled down version of a view control.

There's more to do though, but I was curious before I put more time into this if this is something folks could use?  Please comment and let me know if you could use something like this and I'll finish it and publish it on openNTF.org.  You can try out the example here: Dynamic View Custom Control

Here's a screen shot of it in action.  The top section is for demo purposes only.  The view name, columns, etc., can be passed via scope variables (or anyway you want).  There might be a use case to allow users to save their view preferences in a profile or config document.  (the data in the example db is garbage, that's why it looks to be duplicated):

Image:John's Blog - XPages: Generate Dynamic Views at runtime - Custom Control....opinions wanted

So far, here are the parameters that I pass to the custom control.
Image:John's Blog - XPages: Generate Dynamic Views at runtime - Custom Control....opinions wanted

The custom control uses nested repeat controls to build the view.  I used Paul Calhoun's example Creating a Dynamic HTML Table on an XPage to add the columns to the tables as it iterates through the field list.  By adding the <xp:td> tags around the repeat controls the Outline palette seemed to object to this and will not let me select the repeat control anymore with my mouse.  I have to work on that because it's torture to work with like this....

Here's a screen shot of the custom control with the nested repeat controls.  Not much to it.  Right now I'm being challenged to add a sorting feature to the columns.  Any ideas?:
Image:John's Blog - XPages: Generate Dynamic Views at runtime - Custom Control....opinions wanted

-John
Technorati:
(9)

PermaLink XPages Running in the Notes Client, Composite Applications, Mashups, and Websphere Portal!10/19/2009 05:56 AM
Domino 8.5
With the 8.5.1 release you can now run your XPages applications in the Notes client, composite applications, Mashup Center, and Websphere Portal.  

Imagine taking some of your key Notes applications and adding an XPage front end to some core corporate functionality.  Then componentizing those XPages and publishing them as components to your catalogs for consumption.  Notes users can then add them to composite applications and take them offline, a Mashup Center user can add them to a mashup along with their sales projection spreadsheet, Portal users can wire them to their dashboards for drill down capabilities.  All of this with one development tool, the Domino Designer!

The great thing here is this is not just surfacing your Notes data in these other platforms.  This is providing the same Web 2.0 applications and functionality that Xpages delivers in a web browser to these platforms.

There are 2 new design elements/features in 8.5.1 that make all this possible:
- The ability to run your XPages applications in the Lotus Notes client, both on the server or locally.
- The new Component design element that allows you to split up your XPages applications into components for wiring in composite applications.  Once you have defined your components, they are immediatley available to run in Notes Composite applications, the Mashup center or Websphere Portal as iWidgets....without any code changes!

All this with minimal design effort required on your part....point and click, drag and drop and you now created a component that has properties and events for wiring.

I have a new article published on The View that goes in depth step by step on how to utilize all these new features.  It shows you how to create components and run your XPages applications in the Notes Client, composite applications, Mashup Center, and Portal.  You can access the article here: Domino Designer 8.5.1— XPages in the Notes Client, Composite Applications, Mashups, and Portal!  (*requires login)

Here's a preview:

Web Client and Notes Client
This is an image of the sample XPages application running in a browser and also running in the Notes client.  In this example I am using the same theme.  Note the use of the @ClientType() formula in a computed field displaying what client the application is running in. You can use the @ClientType() formula in any JavaScript computable property to tailor the page to the client or the browser.
Image:John's Blog - XPages Running in the Notes Client, Composite Applications, Mashups, and Websphere Portal!



Notes Client as Components in a Composite Applications
In this screen shot I took the XPages application and created two components from it.  It is very easy to add actions for the wiring since there are new client side simple action available.  When the customer link is clicked it fires off the events sending the customer name and the customer address.    The viewOrders component receives the customer name and filters the orders view to show only the orders for this customer.  The Google map receives the address and opens up a street map showing the location.
Image:John's Blog - XPages Running in the Notes Client, Composite Applications, Mashups, and Websphere Portal!


Mashup Center
This picture shows the same components running in a mashup in the Mashup Center without any changes from the Notes client version!  The Domino server projects the components as iWidgets for us so there is nothing we need to do to use them in the Mashup Center....just drag and drop and add the wiring.
Image:John's Blog - XPages Running in the Notes Client, Composite Applications, Mashups, and Websphere Portal!

Websphere Portal
Here is a screen shot of the XPage component running in Websphere Portal in the iWidget portlet along side two Portlet Factory generated portlets.
Image:John's Blog - XPages Running in the Notes Client, Composite Applications, Mashups, and Websphere Portal!

This is really an amazing release!  It is packed with hundreds of fixes and new features.  These new features really open the door to developing applications for platforms that might have been previously out of reach for Domino developers.

A special thanks to Stephan Wissel and Henry Christiaan who helped me troubleshoot issues I was having with the iWidget portlet in Portal.  I was having problems getting the portlet to work in my test environment across my VMware servers.  The resolution was to adjust the Ajax security settings in the portlet proxy-config.xml to allow across servers and port access.  These guys recently demoed similar functionality at the IBM Portal Excellence Conference 2009 in Macau China.  Thanks for your help!

-John
Technorati:
(5)

Search
Partner with us
Need help on your XPages projects?

Talk to the experts! Read more...
Powered by
Blogsphere
Lotus Domino ND7 RSS News Feed RSS Comments Feed Geo URL netcraft RSS Validator Lotus Geek Chris. A. Brandlehner OpenNTF BlogSphere