<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>dev resources</title>
	<atom:link href="http://resources4dev.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://resources4dev.wordpress.com</link>
	<description>Collection of helpful tips and resources</description>
	<lastBuildDate>Wed, 29 Jul 2009 23:26:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='resources4dev.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>dev resources</title>
		<link>http://resources4dev.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://resources4dev.wordpress.com/osd.xml" title="dev resources" />
	<atom:link rel='hub' href='http://resources4dev.wordpress.com/?pushpress=hub'/>
		<item>
		<title>auto truncate using CSS</title>
		<link>http://resources4dev.wordpress.com/2009/07/29/auto-truncate-using-css/</link>
		<comments>http://resources4dev.wordpress.com/2009/07/29/auto-truncate-using-css/#comments</comments>
		<pubDate>Wed, 29 Jul 2009 23:26:46 +0000</pubDate>
		<dc:creator>yaminh</dc:creator>
				<category><![CDATA[1]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://resources4dev.wordpress.com/2009/07/29/auto-truncate-using-css/</guid>
		<description><![CDATA[span.ellipsis { white-space:nowrap; text-overflow:ellipsis; overflow:hidden; width:190px; display:block; }<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=resources4dev.wordpress.com&amp;blog=8669321&amp;post=18&amp;subd=resources4dev&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>span.ellipsis {<br />
   white-space:nowrap;<br />
   text-overflow:ellipsis;<br />
   overflow:hidden;<br />
   width:190px;<br />
   display:block;<br />
}</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/resources4dev.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/resources4dev.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/resources4dev.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/resources4dev.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/resources4dev.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/resources4dev.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/resources4dev.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/resources4dev.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/resources4dev.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/resources4dev.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/resources4dev.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/resources4dev.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/resources4dev.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/resources4dev.wordpress.com/18/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=resources4dev.wordpress.com&amp;blog=8669321&amp;post=18&amp;subd=resources4dev&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://resources4dev.wordpress.com/2009/07/29/auto-truncate-using-css/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6927d581bd777406b8348a57c35fb9a1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">yaminh</media:title>
		</media:content>
	</item>
		<item>
		<title>dynamic menu selection using site mesh</title>
		<link>http://resources4dev.wordpress.com/2009/07/21/dynamic-menu-selection-using-site-mesh/</link>
		<comments>http://resources4dev.wordpress.com/2009/07/21/dynamic-menu-selection-using-site-mesh/#comments</comments>
		<pubDate>Tue, 21 Jul 2009 19:55:03 +0000</pubDate>
		<dc:creator>yaminh</dc:creator>
				<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://resources4dev.wordpress.com/?p=13</guid>
		<description><![CDATA[one of the common features in the web applications is to highlight the menu item that corresponds to the current page so that users know where they are in the application. here is how: In decoratee, define the page&#8217;s menu information in meta data: &#60;head&#62; &#60;meta name=&#8221;menu&#8221; content=&#8221;home&#8221; /&#62; &#60;meta name=&#8221;refreshInterval&#8221; content=&#8221;1&#8243; /&#62; &#60;/head&#62; In [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=resources4dev.wordpress.com&amp;blog=8669321&amp;post=13&amp;subd=resources4dev&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>one of the common features in the web applications is to highlight the menu item that corresponds to the current page so that users know where they are in the application.</p>
<p>here is how:</p>
<p>In decoratee, define the page&#8217;s menu information in meta data:</p>
<p>&lt;head&gt;<br />
&lt;meta name=&#8221;menu&#8221; content=&#8221;home&#8221; /&gt;<br />
&lt;meta name=&#8221;refreshInterval&#8221; content=&#8221;1&#8243; /&gt;<br />
&lt;/head&gt;</p>
<p>In decorator, make sure to include the decoratee&#8217;s header and retrieve the value:</p>
<p>&lt;html&gt;</p>
<p>&lt;head&gt;&lt;decorator:head /&gt;&lt;/head&gt;</p>
<p>&#8230;</p>
<p>&lt;!&#8211;  Script to select the active page&#8217;s button &#8211;&gt;<br />
&lt;script&gt;<br />
//get the selected page&#8217;s menu<br />
var selected = &#8216;&lt;decorator:getProperty property=&#8217;meta.menu&#8217; /&gt;&#8217;;<br />
select(selected);</p>
<p>function select(buttonId) {<br />
var myButton = document.getElementById(buttonId);<br />
if(myButton != null) {<br />
//change the button&#8217;s class to highlighted as defined in css</p>
<p>myButton.class=&#8217;highlightedMenu&#8217;;</p>
<p>}<br />
}<br />
&lt;/script&gt;</p>
<p>&lt;body&gt;</p>
<p>&#8230;</p>
<p>&lt;decorator:body /&gt;</p>
<p>&lt;/body&gt;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/resources4dev.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/resources4dev.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/resources4dev.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/resources4dev.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/resources4dev.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/resources4dev.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/resources4dev.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/resources4dev.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/resources4dev.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/resources4dev.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/resources4dev.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/resources4dev.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/resources4dev.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/resources4dev.wordpress.com/13/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=resources4dev.wordpress.com&amp;blog=8669321&amp;post=13&amp;subd=resources4dev&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://resources4dev.wordpress.com/2009/07/21/dynamic-menu-selection-using-site-mesh/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6927d581bd777406b8348a57c35fb9a1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">yaminh</media:title>
		</media:content>
	</item>
		<item>
		<title>Global exception / error handling in Spring framework</title>
		<link>http://resources4dev.wordpress.com/2009/07/21/global-exception-error-handling-in-spring-framework/</link>
		<comments>http://resources4dev.wordpress.com/2009/07/21/global-exception-error-handling-in-spring-framework/#comments</comments>
		<pubDate>Tue, 21 Jul 2009 17:22:21 +0000</pubDate>
		<dc:creator>yaminh</dc:creator>
				<category><![CDATA[1]]></category>
		<category><![CDATA[exception]]></category>
		<category><![CDATA[spring]]></category>

		<guid isPermaLink="false">http://resources4dev.wordpress.com/?p=7</guid>
		<description><![CDATA[It&#8217;d be nice to have a common handler for exceptions so that each page in the web application does not have to worry about the exception handling at all. Configure a bean in servlet context (APP-NAME-servlet.xml). errorPage is where it&#8217;ll be redirected to in the case of error. If the view resolver is set up [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=resources4dev.wordpress.com&amp;blog=8669321&amp;post=7&amp;subd=resources4dev&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><!-- Basic Exception Resolver for application --></p>
<p>It&#8217;d be nice to have a common handler for exceptions so that each page in the web application does not have to worry about the exception handling at all.</p>
<p>Configure a bean in servlet context (APP-NAME-servlet.xml). errorPage is where it&#8217;ll be redirected to in the case of error. If the view resolver is set up in usual way, it&#8217;ll be WEB-INF/jsp/errorPage.jsp</p>
<p>&lt;!&#8211; Basic Exception Resolver for webUI application &#8211;&gt;<br />
&lt;bean id=&#8221;exceptionResolver&#8221;&gt;<br />
&lt;property name=&#8221;exceptionMappings&#8221;&gt;<br />
&lt;props&gt;<br />
&lt;prop key=&#8221;java.lang.Exception&#8221;&gt;errorPage&lt;/prop&gt;<br />
&lt;/props&gt;<br />
&lt;/property&gt;<br />
&lt;/bean&gt;</p>
<p>In the jsp page, you can retrieve the exception from request parameter with the name &#8220;exception&#8221; and print as follows:</p>
<p>&lt;% Throwable e = (Throwable)request.getAttribute(&#8220;exception&#8221;); %&gt;</p>
<p>&lt;%=e.toString() %&gt;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/resources4dev.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/resources4dev.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/resources4dev.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/resources4dev.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/resources4dev.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/resources4dev.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/resources4dev.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/resources4dev.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/resources4dev.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/resources4dev.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/resources4dev.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/resources4dev.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/resources4dev.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/resources4dev.wordpress.com/7/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=resources4dev.wordpress.com&amp;blog=8669321&amp;post=7&amp;subd=resources4dev&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://resources4dev.wordpress.com/2009/07/21/global-exception-error-handling-in-spring-framework/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6927d581bd777406b8348a57c35fb9a1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">yaminh</media:title>
		</media:content>
	</item>
		<item>
		<title>Introduction to spring MVC and webflow</title>
		<link>http://resources4dev.wordpress.com/2009/07/21/spring101/</link>
		<comments>http://resources4dev.wordpress.com/2009/07/21/spring101/#comments</comments>
		<pubDate>Tue, 21 Jul 2009 16:20:59 +0000</pubDate>
		<dc:creator>yaminh</dc:creator>
				<category><![CDATA[web]]></category>
		<category><![CDATA[framework]]></category>
		<category><![CDATA[spring]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Good tutorial on getting starting with Spring concepts: http://www.ervacon.com/products/swf/intro/index.html This uses the spring 1x version; so some setup cofing and tag syntax are not applicable in 2x version. Nonetheless. it&#8217;s a good intro to spring tutorial. Excellent one on Spring MVC config with webflow: http://wheelersoftware.com/articles/spring-web-flow-2.0.html Following the tutorial will give the higher level picture of [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=resources4dev.wordpress.com&amp;blog=8669321&amp;post=1&amp;subd=resources4dev&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Good tutorial on getting starting with Spring concepts:<br />
http://www.ervacon.com/products/swf/intro/index.html<br />
This uses the spring 1x version; so some setup cofing and tag syntax are not applicable in 2x version. Nonetheless. it&#8217;s a good intro to spring tutorial.</p>
<p>Excellent one on Spring MVC config with webflow:<br />
http://wheelersoftware.com/articles/spring-web-flow-2.0.html<br />
Following the tutorial will give the higher level picture of how spring mvc and webflow plays in running a web application. Easy to follow and has sample resource files. </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/resources4dev.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/resources4dev.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/resources4dev.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/resources4dev.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/resources4dev.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/resources4dev.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/resources4dev.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/resources4dev.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/resources4dev.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/resources4dev.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/resources4dev.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/resources4dev.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/resources4dev.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/resources4dev.wordpress.com/1/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=resources4dev.wordpress.com&amp;blog=8669321&amp;post=1&amp;subd=resources4dev&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://resources4dev.wordpress.com/2009/07/21/spring101/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6927d581bd777406b8348a57c35fb9a1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">yaminh</media:title>
		</media:content>
	</item>
	</channel>
</rss>
