<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>schmhen&#039;s Blog</title>
	<atom:link href="http://www.schmhen.de/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.schmhen.de</link>
	<description>Another Lotus Geek&#039;s Blog</description>
	<lastBuildDate>Fri, 15 Mar 2013 13:09:01 +0000</lastBuildDate>
	<language>de-DE</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>Entwicklercamp 2013 &#8211; Responsive Web Design</title>
		<link>http://www.schmhen.de/2013/03/15/entwicklercamp-2013-responsive-web-design/</link>
		<comments>http://www.schmhen.de/2013/03/15/entwicklercamp-2013-responsive-web-design/#comments</comments>
		<pubDate>Fri, 15 Mar 2013 13:04:23 +0000</pubDate>
		<dc:creator>schmhen</dc:creator>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[bootstrap]]></category>
		<category><![CDATA[entwicklercamp]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[twitter bootstrap]]></category>
		<category><![CDATA[xpages]]></category>

		<guid isPermaLink="false">http://www.schmhen.de/?p=548</guid>
		<description><![CDATA[I uploaded the slide deck of my Entwicklercamp 2013 presentation on slideshare. The presentation is all about responsive web design, the history of it, what twitter Bootstrap is and what it provides and how to work with twitter Bootstrap in XPages. The presentation is in german so Google Translate will be your buddy. You can [...]]]></description>
				<content:encoded><![CDATA[<p>I uploaded the slide deck of my Entwicklercamp 2013 presentation on slideshare. The presentation is all about responsive web design, the history of it, what twitter Bootstrap is and what it provides and how to work with twitter Bootstrap in XPages.</p>
<p style="text-align: center;"><iframe src="http://www.slideshare.net/slideshow/embed_code/17157123" width="400" height="337" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe><br/><br/></p>
<p>The presentation is in german so Google Translate will be your buddy.</p>
<p>You can download a <a href="http://www.schmhen.de/wp-content/uploads/2013/03/RWD-Demo.zip">sample application</a> that shows the basics of integrating Bootstrap in XPages that I provide under the Apache 2.0 licence.</p>
<p>A more complex example is the <a title="Collaboration Today" href="http://www.openntf.org/internal/home.nsf/project.xsp?action=openDocument&amp;name=Collaboration%20Today" target="_blank">Collaboration Today</a> project that you can download on OpenNTF.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.schmhen.de/2013/03/15/entwicklercamp-2013-responsive-web-design/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>4th OpenNTF Development Contest &#8211; First summary</title>
		<link>http://www.schmhen.de/2012/12/03/4th-openntf-development-contest-first-summary/</link>
		<comments>http://www.schmhen.de/2012/12/03/4th-openntf-development-contest-first-summary/#comments</comments>
		<pubDate>Mon, 03 Dec 2012 09:02:22 +0000</pubDate>
		<dc:creator>schmhen</dc:creator>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[contest]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[development contest]]></category>
		<category><![CDATA[openntf]]></category>

		<guid isPermaLink="false">http://www.schmhen.de/?p=542</guid>
		<description><![CDATA[The contest is over, long live the contest! This is what I think is the outcome of the latest OpenNTF development contest. Many people might have been a bit tired of contests and I heard voices saying: &#8220;Uh, the 3rd contest is just over and they already start a 4th?&#8221;. Or: &#8220;The contest ball is [...]]]></description>
				<content:encoded><![CDATA[<p>The contest is over, long live the contest! This is what I think is the outcome of the latest OpenNTF development contest. Many people might have been a bit tired of contests and I heard voices saying: &#8220;Uh, the 3rd contest is just over and they already start a 4th?&#8221;. Or: &#8220;The contest ball is flat, the air has gone!&#8221;. Looking back to the start of the 4th contest I must admit that people were not so wrong when they moaned. But the run-time of the contest was chosen a bit longer and the air returned to the ball in the last couple of months, the momentum came back.</p>
<p>Why am I saying this? Just check out the <a title="OpenNTF Development contest contributions" href="http://xpages.info/XPagesHome.nsf/Contest.xsp" target="_blank">contributions to this contest</a>! There are people out there who really put effort into this contest and came up with amazing applications, controls, widgets and libraries. The contest ended last night and I would not be surprised if Niklas added some more nice videos/contributions to the list today and maybe even tomorrow. The first 3 contests taught us that the best stuff was handed in in the last 72 hours of a contest even when the whole thing ran for months.</p>
<p>Now there was a new category &#8220;IBM Connections&#8221; which is one of the reasons the contest was set up for such a long period. The expectation was that people at least start to see the integration capabilities between Connections and Domino. From what I have seen so far the contributions to this category are far better than all expectations. Kudos to all participants!</p>
<p>The open category was &#8220;open&#8221; as the name suggests and such is the variety of applications and controls. It ranges from fun stuff (XPages chess game) to full featured applications. Judging will not be easy and I wish all judges a lucky hand.</p>
<p>Personally I am really proud to be the sponsor of the 4th contest. It was a pleasure for hedersoft to be part of the contest and we wish all contributors good luck and all judges a great time judging!</p>
<p><a href="http://www.schmhen.de/wp-content/uploads/2012/08/Dev-Contest-BIG.gif"><img class="aligncenter size-full wp-image-428" title="Dev-Contest-BIG" src="http://www.schmhen.de/wp-content/uploads/2012/08/Dev-Contest-BIG.gif" alt="" width="650" height="60" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.schmhen.de/2012/12/03/4th-openntf-development-contest-first-summary/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Just one more month, hurry up!</title>
		<link>http://www.schmhen.de/2012/11/07/just-one-more-month-hurry-up/</link>
		<comments>http://www.schmhen.de/2012/11/07/just-one-more-month-hurry-up/#comments</comments>
		<pubDate>Wed, 07 Nov 2012 11:28:33 +0000</pubDate>
		<dc:creator>schmhen</dc:creator>
				<category><![CDATA[Allgemein]]></category>

		<guid isPermaLink="false">http://www.schmhen.de/?p=539</guid>
		<description><![CDATA[The OpenNTF development contest will end on December 2nd, so there is not much time left to have an idea, implement it and submit it as a potential winner. So you better get going if you want to win your share of $5,000! There are two categories: Open category in which you can dump whatever [...]]]></description>
				<content:encoded><![CDATA[<p>The <a title="OpenNTF development contest" href="http://contest.openntf.org/" target="_blank">OpenNTF development contest</a> will end on December 2nd, so there is not much time left to have an idea, implement it and submit it as a potential winner. So you better get going if you want to win your share of $5,000!</p>
<p>There are two categories:</p>
<ul>
<li>Open category in which you can dump whatever comes to your mind</li>
<li>IBM Connections category in which you can submit your XPages integration into Connections</li>
</ul>
<p>If you want to be a starter in the first category just implement a custom control, a library control, a mobile control, a full application, a &#8230; just submit what you like. If you want to win though it better be good <img src='http://www.schmhen.de/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>If you are interested in the second category but don&#8217;t know how and where to start, well, here are some entry points:</p>
<ul>
<li><a title="IBM Connections video" href="http://www.youtube.com/watch?v=fAg6Md5OLW4" target="_blank">Video</a> in which Niklas Heidloff explains the basics</li>
<li><a title="Pool of ideas" href="http://www.openntf.org/blogs/openntf.nsf/d6plinks/NHEF-8ZKAHF" target="_blank">Niklas&#8217; pool of ideas</a></li>
</ul>
<p>Still not convinced? Well than drop me a note or contact Niklas and tell us what&#8217;s missing to get you going. There are already 9 submissions in the first category and I know that there are some guys working on a solution for the second category. So jump on the train and be a part of this contest!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.schmhen.de/2012/11/07/just-one-more-month-hurry-up/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IBM Connections 4 &#8211; Key Features and Benefits</title>
		<link>http://www.schmhen.de/2012/09/20/ibm-connections-4-key-features-and-benefits/</link>
		<comments>http://www.schmhen.de/2012/09/20/ibm-connections-4-key-features-and-benefits/#comments</comments>
		<pubDate>Thu, 20 Sep 2012 08:30:40 +0000</pubDate>
		<dc:creator>schmhen</dc:creator>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[connections]]></category>
		<category><![CDATA[contest]]></category>
		<category><![CDATA[development contest]]></category>
		<category><![CDATA[ibm connections]]></category>

		<guid isPermaLink="false">http://www.schmhen.de/?p=507</guid>
		<description><![CDATA[2 weeks ago IBM announced IBM Connections 4. This is an exciting new version which adds so many new capabilities to this great piece of software that every existing installation should get updated as soon as possible. Here is a short video showing an overview. What I like most about Connections 4 is: Activity Stream [...]]]></description>
				<content:encoded><![CDATA[<p>2 weeks ago IBM announced IBM Connections 4. This is an exciting new version which adds so many new capabilities to this great piece of software that every existing installation should get updated as soon as possible. Here is a short video showing an overview.</p>
<p><iframe width="500" height="281" src="http://www.youtube.com/embed/JOynRkYWFSM?feature=oembed" frameborder="0" allowfullscreen></iframe></p>
<p>What I like most about Connections 4 is:</p>
<ul>
<li>Activity Stream<br />
The activity stream  shows a list of all your activities. This is not limited to ToDos but shows twitter or Facebook like activities like personal information, information about updated documents and even eMail! So you have got everything you need in a single place. It has to be well balanced though not to get flooded with stuff and miss the important information.<br />
***</li>
<li>Embedded Experience<br />
How cool is that? When getting an entry in my stream let&#8217;s say from a vacation app I can approve or reject an application right from my activity stream using Embedded Experience. This example obviously only works if a developer enables the vacation application for Embedded Experience. Or somebody sends you a document and you can edit it inline. So cool!<br />
***</li>
<li>Integrated eMail and Calendar<br />
Access your eMail and Calendar right from IBM Connections. It does not matter if it resides on a Domino Server or an Exchange Server, although I hope you are on Domino and not on the server that must not be named.<br />
***</li>
<li>Social Analytics<br />
IBM Connections 4 ships with an IBM Cognos component that allows to analyze social activities in Connections in various ways. It comes with a huge set of predefined analytic templates  to get you started. That&#8217;ll help you to understand how your Connections instance is being used and what&#8217;s needed. It also helps to detect trends and current favourites.<br />
***</li>
<li>Mobile Access<br />
Well, this is quite cool but kind of expected to be available nowadays.  Install the Connections App on your device and use it anywhere you want.<br />
***</li>
<li>Connection Connectors<br />
We all know the Quickr Connectors which allow to use Lotus Quickr from Lotus Notes, Windows Explorer, MS Office (Word, Excel Powerpoint), Sametime and so on. Now there are IBM Connections Connectors although they are not called connectors. <a title="IBM Connections Desktop Plugin" href="http://www.lbenitez.com/2012/09/new-ibm-connections-desktop-plug-in-now.html" target="_blank">Luis Benitez just blogged about the Desktop Plugin</a> and has some nice videos on his blog.</li>
</ul>
<p>If you like IBM Connections as much as I do and you are a developer you should not miss out on the OpenNTF development contest. <a title="OpenNTF Development Contest" href="http://contest.openntf.org/" target="_blank">Develop something for Connections and win $1000</a>!</p>
<p><a href="http://contest.openntf.org/" target="_blank"><img class="aligncenter size-full wp-image-428" title="Dev-Contest-BIG" src="http://www.schmhen.de/wp-content/uploads/2012/08/Dev-Contest-BIG.gif" alt="" width="650" height="60" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.schmhen.de/2012/09/20/ibm-connections-4-key-features-and-benefits/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>XPages – Create a responsive layout with Twitter Bootstrap – #3</title>
		<link>http://www.schmhen.de/2012/09/19/xpages-create-a-responsive-layout-with-twitter-bootstrap-3/</link>
		<comments>http://www.schmhen.de/2012/09/19/xpages-create-a-responsive-layout-with-twitter-bootstrap-3/#comments</comments>
		<pubDate>Wed, 19 Sep 2012 11:34:04 +0000</pubDate>
		<dc:creator>schmhen</dc:creator>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[bootstrap]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[twitter bootstrap]]></category>
		<category><![CDATA[xpages]]></category>

		<guid isPermaLink="false">http://www.schmhen.de/?p=490</guid>
		<description><![CDATA[Today I want to dig a little deeper into Twitter Bootstrap and show what does that magic and makes the design responsive. If you missed the first 2 articles feel free to get an introduction in part 1  and a first responsive design in XPages in part 2 now. OK, let&#8217;s go. So a responsive [...]]]></description>
				<content:encoded><![CDATA[<p>Today I want to dig a little deeper into Twitter Bootstrap and show what does that magic and makes the design responsive. If you missed the first 2 articles feel free to get an <a title="XPages – Create a responsive layout with Twitter Bootstrap – #1" href="http://www.schmhen.de/2012/08/28/xpages-create-a-responsive-layout-with-twitter-bootstrap-1/" target="_blank">introduction in part 1</a>  and a <a title="XPages – Create a responsive layout with Twitter Bootstrap – #2" href="http://www.schmhen.de/2012/08/30/xpages-create-a-responsive-layout-with-twitter-bootstrap-2/" target="_blank">first responsive design in XPages in part 2</a> now.</p>
<p>OK, let&#8217;s go. So a responsive design adjust the layout of a webpage to different screen sizes. It does it on the fly while you are resizing your browser. The advantage of this approach is that you do not need to create different pages for different devices. Just create one page and let the responsive magic do the rest. This is an idealized and simplified statement since you have to think about what to show where in which screen size, what to remove, what to add and how to arrange things, but once done you only need to put stuff in the right places and let bootstrap do the rest.</p>
<p>The concept that responsive boilerplates and tools implement is based on media queries. Media queries allow web designers to write css for different media types like print and screen and for different screen sizes. You could let a print version of your webpage look different from the screen version by applying custom css into the following section of your style sheets:</p>
<pre class="brush: css; title: ; notranslate">
@media print {
/* All your print styles go here *
#header, #footer, #nav { display: none !important; }
}
</pre>
<p>This does not make a webpage respond to different screen sizes, right? Here is a css frame that get&#8217;s you started and shows all the magic of Twitter Bootstrap and other frameworks like Bootstrap.</p>
<pre class="brush: css; title: ; notranslate">
/* Large desktop */
@media (min-width: 1200px) { ... }

/* Portrait tablet to landscape and desktop */
@media (min-width: 768px) and (max-width: 979px) { ... }

/* Landscape phone to portrait tablet */
@media (max-width: 767px) { ... }

/* Landscape phones and down */
@media (max-width: 480px) { ... }
</pre>
<p>So you simply use the &#8220;min-width&#8221; and &#8220;max-width&#8221; attributes in media queries to define when certain css rules will show up in your application or vanish. Twitter Bootstrap uses these boundaries to adjust the design:</p>
<table>
<thead>
<tr>
<th>Label</th>
<th>Layout width</th>
<th>Column width</th>
<th>Gutter width</th>
</tr>
</thead>
<tbody>
<tr>
<td>Large display</td>
<td>1200px and up</td>
<td>70px</td>
<td>30px</td>
</tr>
<tr>
<td>Default</td>
<td>980px and up</td>
<td>60px</td>
<td>20px</td>
</tr>
<tr>
<td>Portrait tablets</td>
<td>768px and above</td>
<td>42px</td>
<td>20px</td>
</tr>
<tr>
<td>Phones to tablets</td>
<td>767px and below</td>
<td colspan="2">Fluid columns, no fixed widths</td>
</tr>
<tr>
<td>Phones</td>
<td>480px and below</td>
</tr>
</tbody>
</table>
<p>So you can use any mix of these values in your style sheet as min and max values. If you want to apply a black body background only to landscape tablets you can use this in your style sheet:</p>
<pre class="brush: css; title: ; notranslate">
@media (min-width: 480px) and (max-width: 767px) {
body {background:black;}
}
</pre>
<p>If you have already downloaded Bootstrap check out the file &#8220;bootstrap-responsive.css&#8221;. You will see that the entire file is based on media queries. It&#8217;s a good resource to get familiar with this technology.</p>
<p>To make it even easier for you Bootstrap provides a set of css classes that you can apply out of the box without having to code media queries. The following table shows css classes that speak for themselves.</p>
<table>
<thead>
<tr>
<th></th>
<th>Phones <small>767px and below</small></th>
<th>Tablets <small>979px to 768px</small></th>
<th>Desktops <small>Default</small></th>
</tr>
</thead>
<tbody>
<tr>
<th><code>.visible-phone</code></th>
<td>Visible</td>
<td>Hidden</td>
<td>Hidden</td>
</tr>
<tr>
<th><code>.visible-tablet</code></th>
<td>Hidden</td>
<td>Visible</td>
<td>Hidden</td>
</tr>
<tr>
<th><code>.visible-desktop</code></th>
<td>Hidden</td>
<td>Hidden</td>
<td>Visible</td>
</tr>
<tr>
<th><code>.hidden-phone</code></th>
<td>Hidden</td>
<td>Visible</td>
<td>Visible</td>
</tr>
<tr>
<th><code>.hidden-tablet</code></th>
<td>Visible</td>
<td>Hidden</td>
<td>Visible</td>
</tr>
<tr>
<th><code>.hidden-desktop</code></th>
<td>Visible</td>
<td>Visible</td>
<td>Hidden</td>
</tr>
</tbody>
</table>
<p>Just use them in your Xpages either single or in combination to show or hide certain elements in different screen sizes. So I hope this helped a little to get a better understanding of the responsive magic. In my next article in this series I will show you how to set up a site navigator that works in all screen sizes with different looks and functionality.</p>
<p>Note: I copied some of the samples and the tables from the <a href="http://twitter.github.com/bootstrap/index.html" target="_blank">Twitter Bootstrap homepage</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.schmhen.de/2012/09/19/xpages-create-a-responsive-layout-with-twitter-bootstrap-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Get IBM Connections 4.0</title>
		<link>http://www.schmhen.de/2012/09/04/get-ibm-connections-4-0/</link>
		<comments>http://www.schmhen.de/2012/09/04/get-ibm-connections-4-0/#comments</comments>
		<pubDate>Tue, 04 Sep 2012 13:02:28 +0000</pubDate>
		<dc:creator>schmhen</dc:creator>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[ibm connections]]></category>

		<guid isPermaLink="false">http://www.schmhen.de/?p=484</guid>
		<description><![CDATA[Today IBM announced IBM Connections 4.0. It will be available as electronic software download on September 7 and media will be available from october 2. IBM Connections 4 comes with a set of new features. It is designed to help you: Track the activity of your network and respond more quickly using the embedded experience [...]]]></description>
				<content:encoded><![CDATA[<p>Today IBM announced IBM Connections 4.0. It will be available as electronic software download on September 7 and media will be available from october 2. IBM Connections 4 comes with a set of new features. It is designed to help you:</p>
<blockquote>
<ul>
<li>Track the activity of your network and respond more quickly using the embedded experience within the activity stream.</li>
<li>Bring external applications and content into the activity stream to respond in context, saving time and reducing context switching.</li>
<li>Track and respond to the activities of community members using the community-centric activity stream and embedded experience.</li>
<li>Quickly bring content from external sites and related communities into your community for faster response and better customer service.</li>
<li>Develop insights into community adoption and usage with new standard and customizable metrics and graphical reports.</li>
<li>Receive relevant recommendations on people and content using social analytics that now also utilize status updates and microblogging content.</li>
<li>Use hashtags to follow important topics and &#8220;Like&#8221; updates with a single click.</li>
<li>Schedule team events and incorporate into a personal calendar using a new community calendar.</li>
</ul>
</blockquote>
<p>Source: <a title="IBM Connections 4 announcement" href="http://www-01.ibm.com/common/ssi/cgi-bin/ssialias?infotype=an&amp;subtype=ca&amp;appname=gpateam&amp;supplier=877&amp;letternum=ENUSZP12-0364" target="_blank">IBM </a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.schmhen.de/2012/09/04/get-ibm-connections-4-0/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>XPages – Create a responsive layout with Twitter Bootstrap – #2</title>
		<link>http://www.schmhen.de/2012/08/30/xpages-create-a-responsive-layout-with-twitter-bootstrap-2/</link>
		<comments>http://www.schmhen.de/2012/08/30/xpages-create-a-responsive-layout-with-twitter-bootstrap-2/#comments</comments>
		<pubDate>Thu, 30 Aug 2012 12:52:50 +0000</pubDate>
		<dc:creator>schmhen</dc:creator>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[bootstrap]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[twitter bootstrap]]></category>
		<category><![CDATA[xpages]]></category>

		<guid isPermaLink="false">http://www.schmhen.de/?p=447</guid>
		<description><![CDATA[Two days ago I wrote about Twitter Bootstrap (TB) and how to integrate it into an XPages application. I got a few responses and by what people are saying I reckon responsive design is an issue in the community. So here is part 2 of my series. Today I want to show you how to integrate [...]]]></description>
				<content:encoded><![CDATA[<p>Two days ago I <a title="XPages – Create a responsive layout with Twitter Bootstrap – #1" href="http://www.schmhen.de/2012/08/28/xpages-create-a-responsive-layout-with-twitter-bootstrap-1/" target="_blank">wrote about Twitter Bootstrap</a> (TB) and how to integrate it into an XPages application. I got a few responses and by what people are saying I reckon responsive design is an issue in the community. So here is part 2 of my series. Today I want to show you how to integrate Twitter Bootstrap into your database and how to create a first responsive layout.</p>
<p>Let&#8217;s go then. In my first post I had a link to the current TB sources. Download a copy if you have not done it yet and unpack the zip. We create a new database and open it in DDE. If you have not already added the Package Explorer to your XPages perspective <a href="http://www.openntf.org/internal/home.nsf/response.xsp?documentId=E463748B6E667780862579C300693874&amp;action=openDocument" target="_blank">do it now</a>.</p>
<p>Open the database in the Package Explorer view and navigate to &#8220;WebContent&#8221;. Create 3 folders named &#8220;js&#8221;, &#8220;css&#8221; and &#8220;img&#8221;. Now take your System Explorer and copy the files to the directories as shown in the screenshot.</p>
<p><a href="http://www.schmhen.de/wp-content/uploads/2012/08/TB-PE.png"><img class="aligncenter size-full wp-image-457" title="TB PE" src="http://www.schmhen.de/wp-content/uploads/2012/08/TB-PE.png" alt="" width="361" height="683" /></a></p>
<p>Move back to the database view and open the application properties. Click the XPages tab and set the values as shown in the next screenshot.</p>
<p><a href="http://www.schmhen.de/wp-content/uploads/2012/08/TB-AP.png"><img class="aligncenter size-full wp-image-458" title="TB AP" src="http://www.schmhen.de/wp-content/uploads/2012/08/TB-AP.png" alt="" width="857" height="405" /></a></p>
<p>Twitter Bootstrap requires the HTML 5 doctype as you can see in the <a href="http://twitter.github.com/bootstrap/scaffolding.html#global" target="_blank">documentation</a>. We disable the CSS and JS minimize settings so that we are able to use Firebug &amp; Co. properly later on. In a production environment you may tick the box to minimize source code. You might as well use the already minimized sources from TB.</p>
<p>Save the application properties and create a new XPage. Name it as you like. We do not need a datasource yet so leave this option blank. Once opened move to the Source Tab of your page. Here&#8217;s my source:</p>
<pre class="brush: xml; title: ; notranslate">&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;xp:view xmlns:xp=&quot;http://www.ibm.com/xsp/core&quot;&gt;
 &lt;xp:this.resources&gt;
 &lt;xp:styleSheet href=&quot;css/bootstrap.css&quot;&gt;&lt;/xp:styleSheet&gt;
 &lt;xp:styleSheet href=&quot;css/bootstrap-responsive.css&quot;&gt;&lt;/xp:styleSheet&gt;
 &lt;xp:styleSheet href=&quot;css/hedersoft.css&quot;&gt;&lt;/xp:styleSheet&gt;
 &lt;xp:metaData name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1.0&quot;&gt;
 &lt;/xp:metaData&gt;
 &lt;/xp:this.resources&gt;

&lt;!-- NAVIGATION BAR --&gt;

&lt;xp:panel styleClass=&quot;navbar navbar-inverse navbar-fixed-top&quot;&gt;
 &lt;xp:panel styleClass=&quot;navbar-inner&quot;&gt;
 &lt;xp:panel styleClass=&quot;container&quot;&gt;
 &lt;xp:panel styleClass=&quot;row&quot;&gt;
 &lt;xp:panel styleClass=&quot;span4&quot;&gt;
 &lt;xp:label id=&quot;label1&quot;&gt;
 &lt;xp:this.value&gt;&lt;![CDATA[#{javascript:&quot;Welcome &quot; + @Name(&quot;[CN]&quot;,@UserName())}]]&gt;&lt;/xp:this.value&gt;
 &lt;/xp:label&gt;
 &lt;/xp:panel&gt;
 &lt;xp:panel styleClass=&quot;span6&quot;&gt;
 &lt;ul class=&quot;nav nav-pills&quot;&gt;
 &lt;li class=&quot;dropdown&quot;&gt;

 &lt;a class=&quot;dropdown-toggle&quot; data-toggle=&quot;dropdown&quot; href=&quot;#&quot;&gt;
 &lt;i class=&quot;icon-white icon-file&quot;&gt;&lt;/i&gt;
 Dropdown
 &lt;b class=&quot;caret&quot;&gt;&lt;/b&gt;
 &lt;/a&gt;
 &lt;ul class=&quot;dropdown-menu&quot;&gt;
 &lt;li&gt;
 &lt;a tabindex=&quot;-1&quot; href=&quot;#&quot;&gt;Action&lt;/a&gt;
 &lt;/li&gt;
 &lt;li&gt;
 &lt;a tabindex=&quot;-1&quot; href=&quot;#&quot;&gt;Another action&lt;/a&gt;
 &lt;/li&gt;
 &lt;li&gt;
 &lt;a tabindex=&quot;-1&quot; href=&quot;#&quot;&gt;Something else here&lt;/a&gt;
 &lt;/li&gt;
 &lt;li class=&quot;divider&quot;&gt;&lt;/li&gt;
 &lt;li&gt;
 &lt;a tabindex=&quot;-1&quot; href=&quot;#&quot;&gt;Separated link&lt;/a&gt;
 &lt;/li&gt;
 &lt;/ul&gt;
 &lt;/li&gt;
 &lt;/ul&gt;
 &lt;/xp:panel&gt;
 &lt;xp:panel styleClass=&quot;span2&quot;&gt;
 &lt;xp:label value=&quot;Logout&quot; id=&quot;label3&quot;&gt;&lt;/xp:label&gt;
 &lt;/xp:panel&gt;
 &lt;/xp:panel&gt;
 &lt;/xp:panel&gt;
 &lt;/xp:panel&gt;
 &lt;/xp:panel&gt;

&lt;!-- APPLICATION LAYOUT --&gt;

&lt;xp:panel styleClass=&quot;subhead&quot;&gt;
 &lt;xp:panel styleClass=&quot;container&quot;&gt;
 &lt;xp:panel styleClass=&quot;row&quot;&gt;
 &lt;xp:panel styleClass=&quot;span4&quot;&gt;
 &lt;ul class=&quot;nav nav-list sidebar-nav-fixed&quot;&gt;
 &lt;li class=&quot;nav-header&quot;&gt;List header&lt;/li&gt;
 &lt;li class=&quot;active&quot;&gt;
 &lt;a href=&quot;#&quot;&gt;
 &lt;i class=&quot;icon-white icon-home&quot;&gt;&lt;/i&gt;
 Home
 &lt;/a&gt;
 &lt;/li&gt;
 &lt;li&gt;
 &lt;a href=&quot;#&quot;&gt;
 &lt;i class=&quot;icon-book&quot;&gt;&lt;/i&gt;
 Library
 &lt;/a&gt;
 &lt;/li&gt;
 &lt;li&gt;
 &lt;a href=&quot;#&quot;&gt;
 &lt;i class=&quot;icon-pencil&quot;&gt;&lt;/i&gt;
 Applications
 &lt;/a&gt;
 &lt;/li&gt;
 &lt;li class=&quot;nav-header&quot;&gt;Another list header&lt;/li&gt;
 &lt;li&gt;
 &lt;a href=&quot;#&quot;&gt;
 &lt;i class=&quot;icon-user&quot;&gt;&lt;/i&gt;
 Profile
 &lt;/a&gt;
 &lt;/li&gt;
 &lt;li&gt;
 &lt;a href=&quot;#&quot;&gt;
 &lt;i class=&quot;icon-cog&quot;&gt;&lt;/i&gt;
 Settings
 &lt;/a&gt;
 &lt;/li&gt;
 &lt;li class=&quot;divider&quot;&gt;&lt;/li&gt;
 &lt;li&gt;
 &lt;a href=&quot;#&quot;&gt;
 &lt;i class=&quot;icon-flag&quot;&gt;&lt;/i&gt;
 Help
 &lt;/a&gt;
 &lt;/li&gt;
 &lt;/ul&gt;
 &lt;/xp:panel&gt;
 &lt;xp:panel styleClass=&quot;span8&quot;&gt;
 &lt;xp:table&gt;
 &lt;xp:tr&gt;
 &lt;xp:td&gt;
 &lt;xp:label value=&quot;First Name&quot; id=&quot;label2&quot;&gt;&lt;/xp:label&gt;
 &lt;/xp:td&gt;
 &lt;xp:td&gt;
 &lt;xp:inputText id=&quot;inputText1&quot;&gt;&lt;/xp:inputText&gt;
 &lt;/xp:td&gt;
 &lt;/xp:tr&gt;
 &lt;xp:tr&gt;
 &lt;xp:td&gt;
 &lt;xp:label value=&quot;Last Name&quot; id=&quot;label4&quot;&gt;&lt;/xp:label&gt;
 &lt;/xp:td&gt;
 &lt;xp:td&gt;
 &lt;xp:inputText id=&quot;inputText2&quot;&gt;&lt;/xp:inputText&gt;
 &lt;/xp:td&gt;
 &lt;/xp:tr&gt;
 &lt;xp:tr&gt;
 &lt;xp:td&gt;
 &lt;xp:label value=&quot;Address&quot; id=&quot;label5&quot;&gt;&lt;/xp:label&gt;
 &lt;/xp:td&gt;
 &lt;xp:td&gt;
 &lt;xp:inputTextarea id=&quot;inputTextarea1&quot;&gt;&lt;/xp:inputTextarea&gt;
 &lt;/xp:td&gt;
 &lt;/xp:tr&gt;
 &lt;xp:tr&gt;
 &lt;xp:td&gt;
 &lt;xp:label value=&quot;Phone&quot; id=&quot;label6&quot;&gt;&lt;/xp:label&gt;
 &lt;/xp:td&gt;
 &lt;xp:td&gt;
 &lt;xp:inputText id=&quot;inputText3&quot;&gt;&lt;/xp:inputText&gt;
 &lt;/xp:td&gt;
 &lt;/xp:tr&gt;
 &lt;/xp:table&gt;
 &lt;/xp:panel&gt;
 &lt;/xp:panel&gt;
 &lt;/xp:panel&gt;
 &lt;/xp:panel&gt;

&lt;script type=&quot;text/javascript&quot; src=&quot;js/jQuery-1.8.0.min.js&quot;
 clientSide=&quot;true&quot;&gt;&lt;/script&gt;
 &lt;script type=&quot;text/javascript&quot; src=&quot;js/bootstrap.js&quot; clientSide=&quot;true&quot;&gt;&lt;/script&gt;

&lt;/xp:view&gt;</pre>
<p>Feel free to copy the code and use it for whatever purpose you want. I just want to point out some crucial elements. First of all we need the stylesheets on our page which we include as resources.</p>
<pre class="brush: xml; title: ; notranslate">

&lt;xp:this.resources&gt;
 &lt;xp:styleSheet href=&quot;css/bootstrap.css&quot;&gt;&lt;/xp:styleSheet&gt;
 &lt;xp:styleSheet href=&quot;css/bootstrap-responsive.css&quot;&gt;&lt;/xp:styleSheet&gt;
 &lt;xp:styleSheet href=&quot;css/hedersoft.css&quot;&gt;&lt;/xp:styleSheet&gt;
 &lt;xp:metaData name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1.0&quot;&gt;
 &lt;/xp:metaData&gt;
&lt;/xp:this.resources&gt;

</pre>
<p>I used the responsive css to make my site responsive. I added the viewport meta tag as <a href="http://twitter.github.com/bootstrap/scaffolding.html#responsive" target="_blank">demanded by Bootstrap</a>. I added my own stylesheet &#8220;hedersoft.css&#8221; to do some adjustments. It currently only holds one element.</p>
<pre class="brush: css; title: ; notranslate">
@CHARSET &quot;ISO-8859-1&quot;;

@media (min-width: 980px) {
.subhead{
 padding-top:50px;
}
}
</pre>
<p>As you can see I used the @media tag to tell the .subhead class that it only applies if the width of the page is at least 980px.</p>
<p>At the end of the page I load the JavaScript Files jQuery and Bootstrap to speed page loading up a bit.</p>
<pre class="brush: xml; title: ; notranslate">&lt;script type=&quot;text/javascript&quot; src=&quot;js/jQuery-1.8.0.min.js&quot;
 clientSide=&quot;true&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;js/bootstrap.js&quot; clientSide=&quot;true&quot;&gt;&lt;/script&gt;</pre>
<p>I used a fixed layout for this page. To do this you need a div tag and a the class &#8220;container&#8221; to it. Within the div tag you create another div tag for the first row in your container. Add the class &#8220;row&#8221; to it. Then you can add 1-12 divs according to the grid system and add &#8220;span*&#8221; classes to the divs. All &#8220;*&#8221; must sum up to 12, no more and no less. Check the <a href="http://twitter.github.com/bootstrap/scaffolding.html#gridSystem" target="_blank">TB documentation</a> for further details. Here is an example using the xp:panel:</p>
<pre class="brush: xml; title: ; notranslate">&lt;xp:panel styleClass=&quot;container&quot;&gt;
&lt;xp:panel styleClass=&quot;row&quot;&gt;
 &lt;xp:panel styleClass=&quot;span4&quot;&gt;&lt;/xp:panel&gt;
 &lt;xp:panel styleClass=&quot;span8&quot;&gt;&lt;/xp:panel&gt;
 &lt;/xp:panel&gt;
 &lt;/xp:panel&gt;</pre>
<p>You can use divs or xp:divs as well since they all get rendered to divs in the end. When I now open this page in my webbrowser it looks like this:</p>
<p style="text-align: center;"><a href="http://www.schmhen.de/wp-content/uploads/2012/08/TB-Browser.png"><img class="aligncenter  wp-image-469" title="TB Browser" src="http://www.schmhen.de/wp-content/uploads/2012/08/TB-Browser.png" alt="" width="730" height="271" /></a></p>
<p style="text-align: left;">When I resize my page the content will get resized as well to fit the different formats from small smartphones to big screens. Here is another screenshot of the same page resized to smartphone size:</p>
<p style="text-align: left;"><a href="http://www.schmhen.de/wp-content/uploads/2012/08/TB-Smartphone.png"><img class="aligncenter size-full wp-image-475" title="TB Smartphone" src="http://www.schmhen.de/wp-content/uploads/2012/08/TB-Smartphone.png" alt="" width="384" height="533" /></a></p>
<p style="text-align: left;">It&#8217;s not a beauty yet but it shows what Twitter Bootstrap can do for you without having to code all the css yourself. This being said I close the 2nd part of my series and hope it may be of any help to start your project. In the next part I dig a little deeper into the Bootstrap soil to make the page look a little better and to show you some elements you might want to use in your application.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.schmhen.de/2012/08/30/xpages-create-a-responsive-layout-with-twitter-bootstrap-2/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>XPages &#8211; Create a responsive layout with Twitter Bootstrap &#8211; #1</title>
		<link>http://www.schmhen.de/2012/08/28/xpages-create-a-responsive-layout-with-twitter-bootstrap-1/</link>
		<comments>http://www.schmhen.de/2012/08/28/xpages-create-a-responsive-layout-with-twitter-bootstrap-1/#comments</comments>
		<pubDate>Tue, 28 Aug 2012 12:22:48 +0000</pubDate>
		<dc:creator>schmhen</dc:creator>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[bootstrap]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[twitter bootstrap]]></category>
		<category><![CDATA[xpages]]></category>

		<guid isPermaLink="false">http://www.schmhen.de/?p=435</guid>
		<description><![CDATA[In my current project I am developing an XPages application which is supposed to run in a web browser as well as on mobile devices. So before I started coding I had to make some decisions. Do I want to create different pages for different devices or is it better to create a responsive layout [...]]]></description>
				<content:encoded><![CDATA[<p>In my current project I am developing an XPages application which is supposed to run in a web browser as well as on mobile devices. So before I started coding I had to make some decisions. Do I want to create different pages for different devices or is it better to create a responsive layout that takes the work to resize my pages? So I did some research and finally decided to try a responsive layout. Wait a minute, you haven&#8217;t heard of responsive web design yet? the I suggest to check out <a title="wikipedia - responsive web design" href="http://en.wikipedia.org/wiki/Responsive_Web_Design" target="_blank">wikipedia</a> for a start.</p>
<p>Once I decided to give responsive design a try I had the choice between many free toolboxes out there. <a href="http://www.netmagazine.com/features/50-fantastic-tools-responsive-web-design" target="_blank">Netmagazine lists 50 helpful tools</a> and there are many more sites dealing with this topic. So after some time I picked <a href="http://twitter.github.com/bootstrap/" target="_blank">Twitter Bootstrap (TB)</a>, because it seems to be very sophisticated and has been used in quite a few high level projects around the globe.</p>
<p>Twitter Bootstrap comes with a lot of features you can select from. Either take all or reduce the footprint of your Bootstrap to your needs. Today I want to show you how to download and customize Twitter Bootstrap. In the next days I am going to talk about how to use it in your XPages applications to create a responsive design.</p>
<p>The first thing is that Bootstrap comes with a <a href="http://twitter.github.com/bootstrap/scaffolding.html#gridSystem" target="_blank">grid system</a>. That means it is organized in columns which can either contain content of any kind or nested columns. You can decide to create a fixed column layout or a fluid layout. To create a responsive design you need to go for the fluid layout. There are a couple of basic functionality and design that comes with the full download like <a href="http://twitter.github.com/bootstrap/base-css.html#tables" target="_blank">tables</a>, <a href="http://twitter.github.com/bootstrap/base-css.html#forms" target="_blank">forms</a>, <a href="http://twitter.github.com/bootstrap/base-css.html#buttons" target="_blank">buttons</a>, <a href="http://twitter.github.com/bootstrap/components.html#navbar" target="_blank">navigation, </a><a href="http://twitter.github.com/bootstrap/components.html#navbar" target="_blank">labels</a> and many more. Moreover there are a couple of javascript plugins that might be useful like <a href="http://twitter.github.com/bootstrap/javascript.html#transitions" target="_blank">transitions</a>, <a href="http://twitter.github.com/bootstrap/javascript.html#modals" target="_blank">modal dialogs</a>, <a href="http://twitter.github.com/bootstrap/javascript.html#popovers" target="_blank">popovers</a> and <a href="http://twitter.github.com/bootstrap/javascript.html#carousel" target="_blank">carousels</a>. All of this stuff is in the standard download currently available as <a href="http://twitter.github.com/bootstrap/assets/bootstrap.zip" target="_blank">version 2.1.0</a>.</p>
<p>As you can see some features are available as XPages controls so you might not need them. The standard CSS looks like the Twitter pages which might not be the design you are preferring. That is not a problem at all since Twitter Bootstrap is <a href="http://twitter.github.com/bootstrap/customize.html" target="_blank">customizable</a>.</p>
<p style="text-align: center;"><a href="http://www.schmhen.de/wp-content/uploads/2012/08/Customize_TB.png"><img class="aligncenter  wp-image-438" title="Customize_TB" src="http://www.schmhen.de/wp-content/uploads/2012/08/Customize_TB-1024x729.png" alt="" width="717" height="510" /></a></p>
<p>Select the modules you would like to have in your js and css files and adjust the colors to your needs. Once done you can download a ready to use Twitter Bootstrap that is small and fits into your application. TB uses jQuery so I recommend reading Mark Roden&#8217;s awesome series about using <a href="http://xomino.com/category/jquery-in-xpages/" target="_blank">jQuery in XPages</a>.</p>
<p>This little introduction is the start of a series about XPages and Twitter Bootstrap. In my next post I will show you how to integrate TB into your XPages application and build a first responsive layout.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.schmhen.de/2012/08/28/xpages-create-a-responsive-layout-with-twitter-bootstrap-1/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>XPages development for IBM Connections  &#8211; Win $1000!</title>
		<link>http://www.schmhen.de/2012/08/13/xpages-development-for-ibm-connections-win-1000/</link>
		<comments>http://www.schmhen.de/2012/08/13/xpages-development-for-ibm-connections-win-1000/#comments</comments>
		<pubDate>Mon, 13 Aug 2012 07:56:15 +0000</pubDate>
		<dc:creator>schmhen</dc:creator>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[connections]]></category>
		<category><![CDATA[development contest]]></category>
		<category><![CDATA[domino]]></category>
		<category><![CDATA[ibm]]></category>
		<category><![CDATA[openntf]]></category>

		<guid isPermaLink="false">http://www.schmhen.de/?p=425</guid>
		<description><![CDATA[Inspired by Niklas&#8217; blog posts on the topic I started my fist baby steps in developing small apps for IBM Connections. Once you understand the basics it&#8217;s quite easy to do. As an xpages developer you can create apps that seamlessly integrate into connections. People do not see or feel that they are working in an [...]]]></description>
				<content:encoded><![CDATA[<p>Inspired by <a title="IBM Connection blog posts" href="http://heidloff.net/home.nsf/dx/18.06.2012101730NHEBQZ.htm" target="_blank">Niklas&#8217; blog posts</a> on the topic I started my fist baby steps in developing small apps for IBM Connections. Once you understand the basics it&#8217;s quite easy to do. As an xpages developer you can create apps that seamlessly integrate into connections. People do not see or feel that they are working in an external app.</p>
<p>You can use all Connections data in your app by utilizing the Connections REST API. The extension library provides single sign on controls so that once you are logged into Connections you are also logged into Domino. It&#8217;s all there, what&#8217;s missing are some app ideas and examples. The 4th OpenNTF development contest sponsored by IBM Business Partner <a title="hedersoft GmbH" href="http://hedersoft.de/" target="_blank">hedersoft</a> now opens a door. All of you out there interested in giving xpages in IBM Connections a try now have the chance to get a reward for your efforts.</p>
<p><a href="http://www.openntf.org/blogs/openntf.nsf/d6plinks/NHEF-8WQ9EM" target="_blank"><img class="size-full wp-image-428" title="Dev-Contest-BIG" src="http://www.schmhen.de/wp-content/uploads/2012/08/Dev-Contest-BIG.gif" alt="" width="650" height="60" /></a></p>
<p>Win $1000 for your idea! Niklas put a little <a title="IBM Connections image" href="http://www.youtube.com/watch?v=fAg6Md5OLW4">video</a> together that should help you to get going. If you don&#8217;t have an IBM Connections environment IBM jumps in. You can work on a shared image provided in the IBM Smart Cloud. It is running IBM Connections 3.0.1, Domino 8.5.3, SSO already up and running and the latest Extension Library. Just drop a note to Niklas (niklas_heidloff at de dot ibm dot com) and he will give you access to the image.</p>
<p>The submissions are due on December 2nd 2012. This sounds a long time but do not underestimate the time till you got everything in your bag to get you going. So send a new mail to Niklas now!</p>
<p>Happy coding and good luck!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.schmhen.de/2012/08/13/xpages-development-for-ibm-connections-win-1000/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>XPages Tip: Get an element&#8217;s id outside XPages events with CSJS</title>
		<link>http://www.schmhen.de/2012/01/09/xpages-tip-get-an-elements-id-outside-xpages-events-with-csjs/</link>
		<comments>http://www.schmhen.de/2012/01/09/xpages-tip-get-an-elements-id-outside-xpages-events-with-csjs/#comments</comments>
		<pubDate>Mon, 09 Jan 2012 10:28:57 +0000</pubDate>
		<dc:creator>schmhen</dc:creator>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[csjs]]></category>
		<category><![CDATA[id]]></category>
		<category><![CDATA[ssjs]]></category>
		<category><![CDATA[tip]]></category>
		<category><![CDATA[xpages]]></category>

		<guid isPermaLink="false">http://www.schmhen.de/?p=421</guid>
		<description><![CDATA[I was facing a problem today where I tried to set a value and do a partial refresh within a client script block on my XPage. Since this script block is outside any XPage event, I could not use the following SSJS within my CSJS to get the IDs of the elements I want to [...]]]></description>
				<content:encoded><![CDATA[<p>I was facing a problem today where I tried to set a value and do a partial refresh within a client script block on my XPage. Since this script block is outside any XPage event, I could not use the following SSJS within my CSJS to get the IDs of the elements I want to set and refresh:</p>
<p><em>dojo.byId(&#8220;#{id:idOfMyComponent}&#8221;);</em></p>
<p>I googled a bit but was not able to find a solution for this problem. There are many hints but you need to bring them together to get the result. Here is the code that finally worked for me:</p>
<p><em>var idOfElementToSetValueTo= &#8221;;</em><br />
<em>var idOfElementToCallPartialRefreshOn= &#8221;;</em><em></em><br />
<em>dojo.query(&#8220;[id$=\\:elementID]&#8220;).forEach(function(node, index, arr){</em><br />
<em>                         idOfElementToSetValueTo = node.id;                           </em><br />
<em>                   });;<br />
<em>dojo.query(&#8220;[id$=\\:refreshID]&#8220;).forEach(function(node, index, arr){</em><br />
<em>                    idOfElementToCallPartialRefreshOn= node.id;                           </em><br />
<em>                   });;</em></em><br />
<em> dojo.byId(idOfElementToSetValueTo).value=strFilterVal;</em><br />
<em>XSP.partialRefreshPost(idOfElementToCallPartialRefreshOn,{});</em></p>
<p>The only downside is that if there are more components on the page all ending with the same &#8220;:id&#8221;, the function provided will only return the last element. You might want to extend the function to suit your needs then.</p>
<p>Hope this helps!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.schmhen.de/2012/01/09/xpages-tip-get-an-elements-id-outside-xpages-events-with-csjs/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
