Christophe SIEBERT commented on Aug 11, 2010

Create the website layout - XPage enabling an existing Notes client application

Very useful for me !

i tried to code the complete title bar (as described in the basic template), with the search section in it, but it is left-aligned where it should be right-aligned

css trick ?

Christophe

Mark Leusink commented on Aug 4, 2010

Create the website layout - XPage enabling an existing Notes client application

When using the oneUI(v2) theme, all content on your page must be contained in a div with class lotusFrame. This is shown in the first image in section 4.1 "Create a main layout custom control". It can be achieved by adding an extra panel (or div) to the layout_main custom control with the lotusFrame class applied to it and add all layout_XX custom controls as children of it.

There is also another way to achieve this: set the "lotusFrame" class directly in the "Style" section of the properties of the layout_main custom control. This will automatically wrap all the content in the custom control in a div with the correct class.

Robert Shaver commented on Jul 2, 2010

Create the website layout - XPage enabling an existing Notes client application

Very useful and enlightening tutorial for the most part but** like many tutorials** in several places it only tells the "what" and not the "why".

For example** in the section "Create a main layout custom control" it says** "but as we only need a container for a style class** the div is preferable". Why is it preferable?

I was particularly confused in the section "Adding style classes to the layout components" where it says**

"Taking the above into account** we will apply the right styling to the banner by simply copying and pasting the sample HTML code into the source code of the custom control (instead of )** and by then replacing the hard coded user name in the sample by the computed field. The links "Help" and "Logout" can be copied from the sample and replaced later on. Furthermore** we remove some unneeded features** like application links (will not be used within our application)."

What "sample HTLM code"? Where do I get sample code when I'm making my own apps? Why are there "unneeded features" present. Is this a bug?

And finally** the resulting code in that that section which I need to write bears little resemblance to the code created by the Designer app. Is this the common practice in the xPage designer or is this an artifact of using the oneuiV2 or is it a bug?

Still** in spite of my whining** this article answered several of my questions. So I'm really only posting this in hopes the author** or someone** can improve it a bit more.

Peace**

Rob

Robert Shaver commented on Jul 2, 2010

Create the website layout - XPage enabling an existing Notes client application

I added a comment but it hasn't showed up** so I'm adding this one to see if it does.

Camilo Bahamon commented on Apr 7, 2010

Create the website layout - XPage enabling an existing Notes client application

Nice Tutorial !!