<?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>Java, Programming, Struts2, jQuery, Linux and more &#187; java</title>
	<atom:link href="http://www.jgeppert.com/category/java/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jgeppert.com</link>
	<description>Johannes Geppert</description>
	<lastBuildDate>Fri, 10 May 2013 19:08:19 +0000</lastBuildDate>
	<language>de-DE</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>jQuery UI Menu support with now released Struts2 jQuery Plugin 3.5.0</title>
		<link>http://www.jgeppert.com/2012/12/jquery-ui-menu-support-with-now-released-struts2-jquery-plugin-3-5-0/</link>
		<comments>http://www.jgeppert.com/2012/12/jquery-ui-menu-support-with-now-released-struts2-jquery-plugin-3-5-0/#comments</comments>
		<pubDate>Mon, 17 Dec 2012 07:53:54 +0000</pubDate>
		<dc:creator>jogep</dc:creator>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[projekte]]></category>
		<category><![CDATA[Struts jQuery Plugin]]></category>
		<category><![CDATA[struts2]]></category>
		<category><![CDATA[Struts2 Bootstrap Plugin]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[jqueryui]]></category>
		<category><![CDATA[menu]]></category>
		<category><![CDATA[spinner]]></category>
		<category><![CDATA[widgets]]></category>

		<guid isPermaLink="false">http://www.jgeppert.com/?p=679</guid>
		<description><![CDATA[With jQuery UI 1.9 this popular JavaScript Library provides a Menu Widget, which is now also available in the Struts2 jQuery Plugin. jQuery UI 1.9 includes some API redesigns which also touches the Struts2 jQuery Plugin. So please respect the Upgrade Guide. Menu Tag The Menu Tag can be used with some manually added Menu [...]]]></description>
				<content:encoded><![CDATA[<p>
With <a href="http://blog.jqueryui.com/2012/10/jquery-ui-1-9-0/">jQuery UI 1.9</a> this popular JavaScript Library provides a Menu Widget, which is now also available in the Struts2 jQuery Plugin. jQuery UI 1.9 includes some API redesigns which also touches the Struts2 jQuery Plugin. So please respect the <a href="http://code.google.com/p/struts2-jquery/wiki/UpgradeGuide">Upgrade Guide</a>.
</p>

<h2>Menu Tag</h2>
<p>The Menu Tag can be used with some manually added Menu Items or it can be generated form a List of Values. Two new Showcase Examples explain this.
<img class="alignnone" title="Struts2 jQuery Menu Tag" src="http://www.jgeppert.com/struts2-jquery/struts2-jquery-menu-tag.png" alt="Struts2 jQuery Menu" width="532" height="206" />
</p>


<div class="wp_syntax"><table><tr><td class="code"><pre class="xml" style="font-family:monospace;">    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;sj:menu</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;menuWithItems&quot;</span> <span style="color: #000066;">cssStyle</span>=<span style="color: #ff0000;">&quot;width:50%&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;sj:menuItem</span> <span style="color: #000066;">title</span>=<span style="color: #ff0000;">&quot;Struts2&quot;</span> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">&quot;http://struts.apache.org/2.x/index.html&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;sj:menuItem</span> <span style="color: #000066;">title</span>=<span style="color: #ff0000;">&quot;Struts2 jQuery News&quot;</span> <span style="color: #000066;">menuIcon</span>=<span style="color: #ff0000;">&quot;ui-icon-extlink&quot;</span> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">&quot;http://www.jgeppert.com/category/java/struts2-jquery/&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;sj:menuItem</span> <span style="color: #000066;">title</span>=<span style="color: #ff0000;">&quot;Struts2 Plugins&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
            <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;sj:menu</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;subMenuPlugins&quot;</span> <span style="color: #000066;">cssStyle</span>=<span style="color: #ff0000;">&quot;width:50%&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
                <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;sj:menuItem</span> <span style="color: #000066;">title</span>=<span style="color: #ff0000;">&quot;Struts2 Plugins&quot;</span> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">&quot;https://cwiki.apache.org/S2PLUGINS/home.html&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
                <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;sj:menuItem</span> <span style="color: #000066;">title</span>=<span style="color: #ff0000;">&quot;Struts2 jQuery Plugin&quot;</span> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">&quot;http://code.google.com/p/struts2-jquery/&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
                <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;sj:menuItem</span> <span style="color: #000066;">title</span>=<span style="color: #ff0000;">&quot;Struts2 Bootstrap Plugin&quot;</span> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">&quot;http://code.google.com/p/struts2-jquery/&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
            <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/sj:menu<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/sj:menuItem<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
&nbsp;
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;sj:menuItem</span> <span style="color: #000066;">title</span>=<span style="color: #ff0000;">&quot;Struts2 @ Social Media&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
            <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;sj:menu</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;subMenuSocialMedia&quot;</span> <span style="color: #000066;">cssStyle</span>=<span style="color: #ff0000;">&quot;width:50%&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
                <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;sj:menuItem</span> <span style="color: #000066;">title</span>=<span style="color: #ff0000;">&quot;Struts2 @ Twitter&quot;</span> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">&quot;https://twitter.com/TheApacheStruts&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
                <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;sj:menuItem</span> <span style="color: #000066;">title</span>=<span style="color: #ff0000;">&quot;Struts2 @ Google+&quot;</span> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">&quot;https://www.google.com/+ApacheStruts&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
                <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;sj:menuItem</span> <span style="color: #000066;">title</span>=<span style="color: #ff0000;">&quot;Struts2 @ Facebook&quot;</span> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">&quot;http://www.facebook.com/struts2&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
            <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/sj:menu<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/sj:menuItem<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
&nbsp;
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;sj:menuItem</span> <span style="color: #000066;">title</span>=<span style="color: #ff0000;">&quot;AJAX&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
            <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;sj:menu</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;subMenuAjax&quot;</span> <span style="color: #000066;">cssStyle</span>=<span style="color: #ff0000;">&quot;width:50%&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
                <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;s:url</span> <span style="color: #000066;">var</span>=<span style="color: #ff0000;">&quot;ajax1&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;/ajax1.action&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
                <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;sj:menuItem</span> <span style="color: #000066;">title</span>=<span style="color: #ff0000;">&quot;Ajax 1&quot;</span> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">&quot;%{ajax1}&quot;</span> <span style="color: #000066;">targets</span>=<span style="color: #ff0000;">&quot;result&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
                <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;s:url</span> <span style="color: #000066;">var</span>=<span style="color: #ff0000;">&quot;ajax2&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;/ajax2.action&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
                <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;sj:menuItem</span> <span style="color: #000066;">title</span>=<span style="color: #ff0000;">&quot;Ajax 2&quot;</span> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">&quot;%{ajax2}&quot;</span> <span style="color: #000066;">targets</span>=<span style="color: #ff0000;">&quot;result&quot;</span> <span style="color: #000066;">effect</span>=<span style="color: #ff0000;">&quot;highlight&quot;</span> <span style="color: #000066;">effectDuration</span>=<span style="color: #ff0000;">&quot;2500&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
                <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;s:url</span> <span style="color: #000066;">var</span>=<span style="color: #ff0000;">&quot;ajax3&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;/ajax3.action&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
                <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;sj:menuItem</span> <span style="color: #000066;">title</span>=<span style="color: #ff0000;">&quot;Ajax 3&quot;</span> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">&quot;%{ajax3}&quot;</span> <span style="color: #000066;">targets</span>=<span style="color: #ff0000;">&quot;result&quot;</span> <span style="color: #000066;">onBeforeTopics</span>=<span style="color: #ff0000;">&quot;beforeLink&quot;</span></span>
<span style="color: #009900;">                             <span style="color: #000066;">onCompleteTopics</span>=<span style="color: #ff0000;">&quot;completeLink&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
                <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;s:url</span> <span style="color: #000066;">var</span>=<span style="color: #ff0000;">&quot;ajax4&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;/ajax4.action&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
                <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;sj:menuItem</span> <span style="color: #000066;">title</span>=<span style="color: #ff0000;">&quot;Ajax 4&quot;</span> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">&quot;%{ajax4}&quot;</span> <span style="color: #000066;">menuIcon</span>=<span style="color: #ff0000;">&quot;ui-icon-gear&quot;</span> <span style="color: #000066;">targets</span>=<span style="color: #ff0000;">&quot;result&quot;</span> <span style="color: #000066;">effect</span>=<span style="color: #ff0000;">&quot;bounce&quot;</span> <span style="color: #000066;">effectDuration</span>=<span style="color: #ff0000;">&quot;1000&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
            <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/sj:menu<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/sj:menuItem<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/sj:menu<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></td></tr></table></div>




<h2>Spinner Tag</h2>
<p>The currently based Spinner Tag was based on an community jQuery plugin. This plugin was replaced by the Spinner Widget provided by the jQuery UI Lib itself. This brings some API Changes, especially the handling for Currency and Number Formating was changed. This is now based on <a href="https://github.com/jquery/globalize">jQuery Globalize project</a>.</p>

<h2>Modern Web Application Development With Apache Struts2 - ApacheCon Europa 2012</h2>
<p>
I give my first Conference Talk ever at the ApacheCon Europa 2012 together with René Gielen the PMC Chair of the Apache Struts Project. This was a great Experience for me. The Talk was recorded and is now free available at <a href="http://www.youtube.com/watch?v=uq0atEjXmqQ" title="Modern Web Application Development With Apache Struts2 by René Gielen and Johannes Geppert">youtube.com</a>. This talks explains how to develop modern Web Applications with <a href="http://struts.apache.org/">Apache Struts</a> and the both Plugins <a href="http://code.google.com/p/struts2-jquery/" title="Struts2 jQuery Plugin">Struts2 jQuery</a> and <a href="http://code.google.com/p/struts2-bootstrap/">Struts2 Bootstrap</a>.
</p>

<h3>Slides</h3>
<object type='application/x-shockwave-flash' wmode='opaque' data='http://static.slideshare.net/swf/ssplayer2.swf?id=15067158&doc=modernwebapplicationswithstruts2-121107084153-phpapp02' width='425' height='348'><param name='movie' value='http://static.slideshare.net/swf/ssplayer2.swf?id=15067158&doc=modernwebapplicationswithstruts2-121107084153-phpapp02' /><param name='allowFullScreen' value='true' /></object>

<h3>Video</h3><iframe class='youtube-player youtuber' type='text/html' width='425' height='355' src='http://www.youtube.com/embed/uq0atEjXmqQ?rel=0&amp;fs=1' webkitAllowFullScreen mozallowfullscreen allowFullScreen frameborder='0'></iframe><h3>Code</h3>
<p>
The Code form our Todo Example is free available at github.
</p>

<p>
<a href="https://github.com/jogep/struts2-todo-examples">https://github.com/jogep/struts2-todo-examples</a>
</p>

<p>
Simply check it out and run <strong>mnv:install</strong> to get the war file or run <strong>mvn:jetty run</strong> and take a look at the result in your browser. 
</p>

<p>
<em>http://localhost:8080/todo/todo</em>
</p>

<h2>Library Updates</h2>
<ul>
<li><a href="http://blog.jquery.com/2012/11/13/jquery-1-8-3-released/">jQuery 1.8.3</a></li>
<li><a href="http://blog.jqueryui.com/2012/11/jquery-ui-1-9-2/">jQuery UI 1.9.2</a></li>
</li>
</ul>
<p>For a complete list of changes since last version, please visit the <a href="http://code.google.com/p/struts2-jquery/wiki/Changelog">Changelog</a>.</p>
<p>Download: <a href="http://code.google.com/p/struts2-jquery/downloads/list">http://code.google.com/p/struts2-jquery/downloads/list</a><br />
Showcase: <a href="http://struts.jgeppert.com/struts2-jquery-showcase/index.action">http://struts.jgeppert.com/struts2-jquery-showcase/</a><br />
Issues: <a href="http://code.google.com/p/struts2-jquery/issues/list">http://code.google.com/p/struts2-jquery/issues/list</a><br />
User Group: <a href="http://groups.google.com/group/struts2-jquery">http://groups.google.com/group/struts2-jquery</a></p> <img src="http://www.jgeppert.com/?feed-stats-post-id=679" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.jgeppert.com/2012/12/jquery-ui-menu-support-with-now-released-struts2-jquery-plugin-3-5-0/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Struts2 jQuery Plugin 3.4.0 with improved Chart Tag released</title>
		<link>http://www.jgeppert.com/2012/10/struts2-jquery-plugin-3-4-0-with-improved-chart-tag-released/</link>
		<comments>http://www.jgeppert.com/2012/10/struts2-jquery-plugin-3-4-0-with-improved-chart-tag-released/#comments</comments>
		<pubDate>Mon, 15 Oct 2012 18:46:55 +0000</pubDate>
		<dc:creator>jogep</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Struts jQuery Plugin]]></category>
		<category><![CDATA[struts2]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[charts]]></category>
		<category><![CDATA[flot]]></category>
		<category><![CDATA[plugin]]></category>

		<guid isPermaLink="false">http://www.jgeppert.com/?p=666</guid>
		<description><![CDATA[The new Version 3.4.0 of Struts2 jQuery Plugin with some Bugfixes and an improved Chart Tag is released. Chart Tag In this release there is gone some attention to the Chart Tag. So it is now possible to create Curved Lines, adding Axis Labels and build Stacked Charts. See the updated Examples Page in the [...]]]></description>
				<content:encoded><![CDATA[<p>
The new Version 3.4.0 of <a href="http://code.google.com/p/struts2-jquery/">Struts2 jQuery Plugin</a> with some Bugfixes and an improved Chart Tag is released.
</p>

<h2>Chart Tag</h2>
<p>In this release there is gone some attention to the Chart Tag. So it is now possible to create Curved Lines, adding Axis Labels and build Stacked Charts. See the updated Examples Page in the Showcase App.
<img class="alignnone" title="Struts2 jQuery Chart with stacked Values" src="http://www.jgeppert.com/struts2-jquery/struts2-jquery-charts-stacked-values.png" alt="Struts2 jQuery Chart with stacked Values" width="607" height="413" />
</p>


<div class="wp_syntax"><table><tr><td class="code"><pre class="xml" style="font-family:monospace;">    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;sjc:chart</span></span>
<span style="color: #009900;">    	<span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;chartAjaxTwo&quot;</span></span>
<span style="color: #009900;">    	<span style="color: #000066;">cssStyle</span>=<span style="color: #ff0000;">&quot;width: 600px; height: 400px;&quot;</span></span>
<span style="color: #009900;">    <span style="color: #000000; font-weight: bold;">&gt;</span></span>
    	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;sjc:chartData</span></span>
<span style="color: #009900;">    		<span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;chartAjaxTwoData1&quot;</span></span>
<span style="color: #009900;">    		<span style="color: #000066;">label</span>=<span style="color: #ff0000;">&quot;Map -Double, Double-&quot;</span></span>
<span style="color: #009900;">    		<span style="color: #000066;">href</span>=<span style="color: #ff0000;">&quot;%{chartDataUrl}&quot;</span></span>
<span style="color: #009900;">    		<span style="color: #000066;">list</span>=<span style="color: #ff0000;">&quot;doubleMap&quot;</span></span>
<span style="color: #009900;">    		<span style="color: #000066;">bars</span>=<span style="color: #ff0000;">&quot;{show : true, barWidth: 0.7}&quot;</span></span>
<span style="color: #009900;">    		<span style="color: #000066;">stack</span>=<span style="color: #ff0000;">&quot;stack1&quot;</span></span>
<span style="color: #009900;">    	<span style="color: #000000; font-weight: bold;">/&gt;</span></span>
    	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;sjc:chartData</span></span>
<span style="color: #009900;">    		<span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;chartAjaxTwoData2&quot;</span></span>
<span style="color: #009900;">    		<span style="color: #000066;">label</span>=<span style="color: #ff0000;">&quot;List -ListValue-&quot;</span></span>
<span style="color: #009900;">    		<span style="color: #000066;">href</span>=<span style="color: #ff0000;">&quot;%{chartDataUrl}&quot;</span></span>
<span style="color: #009900;">    		<span style="color: #000066;">list</span>=<span style="color: #ff0000;">&quot;objList&quot;</span></span>
<span style="color: #009900;">    		<span style="color: #000066;">listKey</span>=<span style="color: #ff0000;">&quot;myKey&quot;</span></span>
<span style="color: #009900;">    		<span style="color: #000066;">listValue</span>=<span style="color: #ff0000;">&quot;myValue&quot;</span></span>
<span style="color: #009900;">    		<span style="color: #000066;">bars</span>=<span style="color: #ff0000;">&quot;{show : true, barWidth: 0.7}&quot;</span></span>
<span style="color: #009900;">    		<span style="color: #000066;">stack</span>=<span style="color: #ff0000;">&quot;stack1&quot;</span></span>
<span style="color: #009900;">    	<span style="color: #000000; font-weight: bold;">/&gt;</span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/sjc:chart<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></td></tr></table></div>




<h2>ApacheCon Europa 2012 - 5–8 November 2012</h2>
<p>
This Year <a href="https://twitter.com/rgielen">Rene Gielen</a> and I talk about <a href="http://www.apachecon.eu/schedule/presentation/118/" title="Modern Web Application Development With Apache Struts 2">Modern Web Application Development with Struts2</a> at the <a href="http://www.apachecon.eu">ApacheCon Europa 2012</a>. Save the Date and the Tickets and we see us at 6. Nov. in Sinsheim.
</p>
<h2>Library Updates</h2>
<ul>
<li><a href="http://blog.jquery.com/2012/09/20/jquery-1-8-2-released/">jQuery 1.8.2</a></li>
<li><a href="http://blog.jqueryui.com/2012/09/jquery-ui-1-8-24/">jQuery UI 1.8.24</a></li>
<li><a href="http://jquerymobile.com/blog/2012/10/02/announcing-jquery-mobile-1-2-0-final/">jQuery Mobile 1.2.0</a></li>
<li><a href="http://www.trirand.com/blog/?p=982">jqGrid 4.4.1</a></li>
</li>
</ul>
<p>For a complete list of changes since last version, please visit the <a href="http://code.google.com/p/struts2-jquery/wiki/Changelog">Changelog</a>.</p>
<p>Download: <a href="http://code.google.com/p/struts2-jquery/downloads/list">http://code.google.com/p/struts2-jquery/downloads/list</a><br />
Showcase: <a href="http://struts.jgeppert.com/struts2-jquery-showcase/index.action">http://struts.jgeppert.com/struts2-jquery-showcase/</a><br />
Issues: <a href="http://code.google.com/p/struts2-jquery/issues/list">http://code.google.com/p/struts2-jquery/issues/list</a><br />
User Group: <a href="http://groups.google.com/group/struts2-jquery">http://groups.google.com/group/struts2-jquery</a></p> <img src="http://www.jgeppert.com/?feed-stats-post-id=666" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.jgeppert.com/2012/10/struts2-jquery-plugin-3-4-0-with-improved-chart-tag-released/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Struts2 jQuery Plugin new version 3.3.2 provides now support for Trees with Checkboxes</title>
		<link>http://www.jgeppert.com/2012/07/struts2-jquery-plugin-new-version-3-3-2-provides-now-support-for-trees-with-checkboxes/</link>
		<comments>http://www.jgeppert.com/2012/07/struts2-jquery-plugin-new-version-3-3-2-provides-now-support-for-trees-with-checkboxes/#comments</comments>
		<pubDate>Tue, 10 Jul 2012 20:37:04 +0000</pubDate>
		<dc:creator>jogep</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Struts jQuery Plugin]]></category>
		<category><![CDATA[struts2]]></category>
		<category><![CDATA[jqueryui]]></category>
		<category><![CDATA[jstree]]></category>
		<category><![CDATA[tree]]></category>

		<guid isPermaLink="false">http://www.jgeppert.com/?p=653</guid>
		<description><![CDATA[The new Version 3.3.2 of Struts2 jQuery Plugin is now available. Tree with Checkboxes This release is not only a bugfix release it brings also some usefully new features to you. One of the new Features is the support for Checkboxes in the TreeTag. See the new Tree with Checkboxes Example in the Showcase App. [...]]]></description>
				<content:encoded><![CDATA[<p>
The new Version 3.3.2 of <a href="http://code.google.com/p/struts2-jquery/">Struts2 jQuery Plugin</a> is now available.
</p>

<h2>Tree with Checkboxes</h2>
<p>
This release is not only a bugfix release it brings also some usefully new features to you. One of the new Features is the support for Checkboxes in the <a href="https://code.google.com/p/struts2-jquery/wiki/TreeTag" title="Struts2 jQuery Tree Tag">TreeTag</a>. See the new Tree with Checkboxes Example in the <a href="http://struts.jgeppert.com/struts2-jquery-showcase/index.action" title="Struts2 jQuery Showcase">Showcase</a> App.
<img class="alignnone" title="Struts2 jQuery Tree based on jsTree Plugin" src="http://www.jgeppert.com/struts2-jquery/struts2-jquery-tree-checkboxes.png" alt="Struts2 jQuery Tree Tag with Checkboxes" width="714" height="148" />
</p>


<div class="wp_syntax"><table><tr><td class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;s:form</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;treeForm&quot;</span> <span style="color: #000066;">action</span>=<span style="color: #ff0000;">&quot;echo&quot;</span> <span style="color: #000066;">theme</span>=<span style="color: #ff0000;">&quot;simple&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
    	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;sjt:tree</span> </span>
<span style="color: #009900;">    		<span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;echo&quot;</span></span>
<span style="color: #009900;">    		<span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;treeDynamicCheckboxes&quot;</span> </span>
<span style="color: #009900;">    		<span style="color: #000066;">jstreetheme</span>=<span style="color: #ff0000;">&quot;apple&quot;</span></span>
<span style="color: #009900;">    		<span style="color: #000066;">rootNode</span>=<span style="color: #ff0000;">&quot;nodes&quot;</span></span>
<span style="color: #009900;">    		<span style="color: #000066;">childCollectionProperty</span>=<span style="color: #ff0000;">&quot;children&quot;</span></span>
<span style="color: #009900;">    		<span style="color: #000066;">nodeTitleProperty</span>=<span style="color: #ff0000;">&quot;title&quot;</span></span>
<span style="color: #009900;">    		<span style="color: #000066;">nodeIdProperty</span>=<span style="color: #ff0000;">&quot;id&quot;</span></span>
<span style="color: #009900;">    		<span style="color: #000066;">openAllOnLoad</span>=<span style="color: #ff0000;">&quot;true&quot;</span> </span>
<span style="color: #009900;">    		<span style="color: #000066;">checkbox</span>=<span style="color: #ff0000;">&quot;true&quot;</span></span>
<span style="color: #009900;">    		<span style="color: #000066;">checkboxCheckAllTopics</span>=<span style="color: #ff0000;">&quot;checkAllNodesTopic&quot;</span></span>
<span style="color: #009900;">    		<span style="color: #000066;">checkboxUncheckAllTopics</span>=<span style="color: #ff0000;">&quot;uncheckAllNodesTopic&quot;</span></span>
<span style="color: #009900;">    		<span style="color: #000066;">checkboxShowTopics</span>=<span style="color: #ff0000;">&quot;showCheckboxesTopic&quot;</span></span>
<span style="color: #009900;">    		<span style="color: #000066;">checkboxHideTopics</span>=<span style="color: #ff0000;">&quot;hideCheckboxesTopic&quot;</span></span>
<span style="color: #009900;">    		<span style="color: #000066;">onClickTopics</span>=<span style="color: #ff0000;">&quot;treeClicked&quot;</span> </span>
<span style="color: #009900;">    	<span style="color: #000000; font-weight: bold;">/&gt;</span></span>
    	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;sj:submit</span> <span style="color: #000066;">formIds</span>=<span style="color: #ff0000;">&quot;treeForm&quot;</span> <span style="color: #000066;">targets</span>=<span style="color: #ff0000;">&quot;result3&quot;</span> <span style="color: #000066;">button</span>=<span style="color: #ff0000;">&quot;true&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span>
    	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;sj:submit</span> <span style="color: #000066;">onClickTopics</span>=<span style="color: #ff0000;">&quot;checkAllNodesTopic&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;Check all Nodes&quot;</span> <span style="color: #000066;">button</span>=<span style="color: #ff0000;">&quot;true&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span>
    	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;sj:submit</span> <span style="color: #000066;">onClickTopics</span>=<span style="color: #ff0000;">&quot;uncheckAllNodesTopic&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;Uncheck all Nodes&quot;</span> <span style="color: #000066;">button</span>=<span style="color: #ff0000;">&quot;true&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span>
    	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;sj:submit</span> <span style="color: #000066;">onClickTopics</span>=<span style="color: #ff0000;">&quot;showCheckboxesTopic&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;Show Checkboxes&quot;</span> <span style="color: #000066;">button</span>=<span style="color: #ff0000;">&quot;true&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span>
    	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;sj:submit</span> <span style="color: #000066;">onClickTopics</span>=<span style="color: #ff0000;">&quot;hideCheckboxesTopic&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;Hide Checkboxes&quot;</span> <span style="color: #000066;">button</span>=<span style="color: #ff0000;">&quot;true&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/s:form<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></td></tr></table></div>




<h2>Improved DIV an Anchor Tag</h2>
<p>
The <a href="http://code.google.com/p/struts2-jquery/wiki/DivTag">Div Tag</a> has now two new attributes. The first new attribute is the <strong>delay</strong> attribute which allows to set an delay in milliseconds until the div should load the remote content via AJAX. The other new attribute is <strong>updateFreq</strong> which provide an ability to reload the div content after a specified interval in milliseconds.
</p>


<div class="wp_syntax"><table><tr><td class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;sj:div</span> <span style="color: #000066;">delay</span>=<span style="color: #ff0000;">&quot;200&quot;</span> <span style="color: #000066;">updateFreq</span>=<span style="color: #ff0000;">&quot;5000&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span></pre></td></tr></table></div>



<p>
The <a href="http://code.google.com/p/struts2-jquery/wiki/AnchorTag">Anchor Tag</a> provides also some new attributes. This new attributes allows an improved handling when submitting a form via Anchor Tag. For details please see <a href="http://code.google.com/p/struts2-jquery/issues/detail?id=849">Issue 849</a>. A other new attribute <strong>openDialogTitle</strong> allows to set dynamically the Title of an Dialog when opened this dialog via openDialog attribute or via topics. See the updated <em>Remote Dialogs</em> Example in the Showcase App.
</p>

<h2>Library Updates</h2>
<ul>
<li><a href="http://blog.jquery.com/2012/03/21/jquery-1-7-2-released/">jQuery 1.7.2</a></li>
<li><a href="http://blog.jqueryui.com/2012/06/jquery-ui-1-8-21/">jQuery UI 1.8.21</a></li>
<li><a href="http://jquerymobile.com/blog/2012/04/13/announcing-jquery-mobile-1-1-0/">jQuery Mobile 1.1.0</a> since Version 3.3.1</li>
<li><a href="http://www.trirand.com/blog/?p=974">jqGrid 4.4.0</a></li>
</li>
</ul>
<p>For a complete list of changes since last version, please visit the <a href="http://code.google.com/p/struts2-jquery/wiki/Changelog">Changelog</a>.</p>
<p>Download: <a href="http://code.google.com/p/struts2-jquery/downloads/list">http://code.google.com/p/struts2-jquery/downloads/list</a><br />
Showcase: <a href="http://struts.jgeppert.com/struts2-jquery-showcase/index.action">http://struts.jgeppert.com/struts2-jquery-showcase/</a><br />
Issues: <a href="http://code.google.com/p/struts2-jquery/issues/list">http://code.google.com/p/struts2-jquery/issues/list</a><br />
User Group: <a href="http://groups.google.com/group/struts2-jquery">http://groups.google.com/group/struts2-jquery</a></p> <img src="http://www.jgeppert.com/?feed-stats-post-id=653" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.jgeppert.com/2012/07/struts2-jquery-plugin-new-version-3-3-2-provides-now-support-for-trees-with-checkboxes/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Struts2 jQuery Plugin now based on jQuery 1.7 and with support for frozen Columns</title>
		<link>http://www.jgeppert.com/2012/03/struts2-jquery-plugin-now-based-on-jquery-1-7-and-with-support-for-frozen-columns/</link>
		<comments>http://www.jgeppert.com/2012/03/struts2-jquery-plugin-now-based-on-jquery-1-7-and-with-support-for-frozen-columns/#comments</comments>
		<pubDate>Tue, 13 Mar 2012 21:01:31 +0000</pubDate>
		<dc:creator>jogep</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Struts jQuery Plugin]]></category>
		<category><![CDATA[struts2]]></category>
		<category><![CDATA[archetypes]]></category>
		<category><![CDATA[jqgrid]]></category>
		<category><![CDATA[maven]]></category>

		<guid isPermaLink="false">http://www.jgeppert.com/?p=612</guid>
		<description><![CDATA[I am happy to announce that the Version 3.3.0 of Struts2 jQuery Plugin is now available. The main change is the switch from jQuery 1.6.4 to the latest version 1.7.1 of the jQuery 1.7.x releases. This Version includes a lot of library updates and 18 solved Issues. The Handler Functions are now split into two [...]]]></description>
				<content:encoded><![CDATA[<p>
I am happy to announce that the Version 3.3.0 of <a href="http://code.google.com/p/struts2-jquery/">Struts2 jQuery Plugin</a> is now available. The main change is the switch from jQuery 1.6.4 to the latest <a href="http://blog.jquery.com/2011/11/21/jquery-1-7-1-released/">version 1.7.1</a> of the jQuery 1.7.x releases.
</p>

<p>
This Version includes a lot of library updates and 18 solved Issues. The Handler Functions are now split into two different JavaScript Files. One for the base jQuery AJAX Handling and one for the jQuery UI Tags. This improves the load time in all application which are running without jQuery UI widgets.
</p>

<p>
The Grid tag is now supporting frozen columns which comes with the <a href="http://www.trirand.com/blog/?p=883">latest jqGrid release 4.3.1</a>. Simply add the frozen attribute to your first grid column to enable this feature. Also take a look at the new add and delete buttons in your Navigator when using <strong>Edit inline</strong>. To enable this buttons set the <i>navigatorInlineEditButtons</i> to true.
</p>


<div class="wp_syntax"><table><tr><td class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;sjg:gridColumn</span> ... <span style="color: #000066;">frozen</span>=<span style="color: #ff0000;">&quot;true&quot;</span> .. <span style="color: #000000; font-weight: bold;">/&gt;</span></span></pre></td></tr></table></div>




<p>
The Struts2 jQuery Plugin provides now two Maven Archetypes for an easy start with Struts2, jQuery and Maven. The first is based on the Struts2 Convention Archetype but with included s2j dependencies. The second is for an easy start with the Grid Plugin. This new Archetypes shrinks the Steps described in my previous post <b><a href="http://www.jgeppert.com/2011/05/4-easy-steps-to-create-a-java-based-web-application-with-struts2-and-jquery/">4 Easy Steps to create a Java based Web Application with Struts2 and jQuery</a></b> to only one Step.
</p>

<code>
mvn archetype:generate -B -DgroupId=com.mycompany.mysystem -DartifactId=myWebApp -DarchetypeGroupId=com.jgeppert.struts2.jquery -DarchetypeArtifactId=struts2-jquery-archetype-base -DarchetypeVersion=3.3.0
</code>

or

<code>
mvn archetype:generate -B -DgroupId=com.mycompany.mysystem -DartifactId=myWebAppGrid -DarchetypeGroupId=com.jgeppert.struts2.jquery -DarchetypeArtifactId=struts2-jquery-bootstrap-archetype-grid -DarchetypeVersion=3.3.0
</code>

<h2>Library Updates</h2>
<ul>
<li><a href="http://blog.jquery.com/2011/11/21/jquery-1-7-1-released/">jQuery 1.7.1</a></li>
<li><a href="http://blog.jqueryui.com/2012/02/jquery-ui-1-8-18/">jQuery UI 1.8.18</a></li>
<li><a href="http://jquerymobile.com/blog/2012/01/26/jquery-mobile-1-0-1-released/">jQuery Mobile 1.0.1</a></li>
<li><a href="http://www.trirand.com/blog/?p=883">jqGrid 4.3.1</a></li>
</li>
</ul>
<p>For a complete list of changes since last version, please visit the <a href="http://code.google.com/p/struts2-jquery/wiki/Changelog">Changelog</a>.</p>
<p>Download: <a href="http://code.google.com/p/struts2-jquery/downloads/list">http://code.google.com/p/struts2-jquery/downloads/list</a><br />
Showcase: <a href="http://struts.jgeppert.com/struts2-jquery-showcase/index.action">http://struts.jgeppert.com/struts2-jquery-showcase/</a><br />
Issues: <a href="http://code.google.com/p/struts2-jquery/issues/list">http://code.google.com/p/struts2-jquery/issues/list</a><br />
User Group: <a href="http://groups.google.com/group/struts2-jquery">http://groups.google.com/group/struts2-jquery</a></p>
 <img src="http://www.jgeppert.com/?feed-stats-post-id=612" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.jgeppert.com/2012/03/struts2-jquery-plugin-now-based-on-jquery-1-7-and-with-support-for-frozen-columns/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Version 1.2.0 of Struts2 Bootstrap Plugin released</title>
		<link>http://www.jgeppert.com/2012/02/version-1-2-0-of-struts2-bootstrap-plugin-released/</link>
		<comments>http://www.jgeppert.com/2012/02/version-1-2-0-of-struts2-bootstrap-plugin-released/#comments</comments>
		<pubDate>Sat, 04 Feb 2012 12:31:52 +0000</pubDate>
		<dc:creator>jogep</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[struts2]]></category>
		<category><![CDATA[Struts2 Bootstrap Plugin]]></category>
		<category><![CDATA[bootstrap]]></category>
		<category><![CDATA[maven]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://www.jgeppert.com/?p=605</guid>
		<description><![CDATA[Since the First 1.0.0 Release of Struts2 Bootstrap Plugin there are some important changes. Maven Support Like promised in my previous post, this Plugin is now available as Maven Artifact. &#60;dependencies&#62; ... &#60;dependency&#62; &#60;groupId&#62;com.jgeppert.struts2.bootstrap&#60;/groupId&#62; &#60;artifactId&#62;struts2-bootstrap-plugin&#60;/artifactId&#62; &#60;version&#62;1.2.0&#60;/version&#62; &#60;/dependency&#62; ... &#60;/dependencies&#62; Extended Showcase The Showcase includes now more Examples. Example for Vertical Form Layout Example for Inline [...]]]></description>
				<content:encoded><![CDATA[<p>Since the First <a href="http://www.jgeppert.com/2012/02/new-struts2-bootstrap-plugin-released/trackback/">1.0.0 Release of Struts2 Bootstrap Plugin</a> there are some important changes.</p>

<h2>Maven Support</h2>
Like promised in my previous post, this Plugin is now available as Maven Artifact.


<div class="wp_syntax"><table><tr><td class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;dependencies<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    ...
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;dependency<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;groupId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>com.jgeppert.struts2.bootstrap<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/groupId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;artifactId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>struts2-bootstrap-plugin<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/artifactId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;version<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>1.2.0<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/version<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/dependency<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    ...
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/dependencies<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></td></tr></table></div>




<h2>Extended Showcase</h2>
The Showcase includes now more Examples.
<ul>
<li>Example for Vertical Form Layout</li>
<li>Example for Inline Form Layout</li>
<li>Form Elements with Help Text</li>
<li>Textfields with prepended text or appended text</li>
<li>An AJAX Example in combination with the <a href="http://code.google.com/p/struts2-jquery/" title="Struts2 jQuery Plugin">Struts jQuery Plugin</a></li>
</ul>

Currently only the the SNAPSHOT Version 3.3.0 of Struts2 jQuery Plugin is supported, because Bootstrap requires jquery version 1.7.1 as minimum.

<p>Download: <a href="http://code.google.com/p/struts2-bootstrap/downloads/list">http://code.google.com/p/struts2-bootstrap/downloads/list</a><br />
Showcase: <a href="http://struts.jgeppert.com/struts2-bootstrap-showcase/index.action">http://struts.jgeppert.com/struts2-bootstrap-showcase/</a><br />
Issues: <a href="http://code.google.com/p/struts2-bootstrap/issues/list">http://code.google.com/p/struts2-bootstrap/issues/list</a></p>
 <img src="http://www.jgeppert.com/?feed-stats-post-id=605" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.jgeppert.com/2012/02/version-1-2-0-of-struts2-bootstrap-plugin-released/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>New Struts2 Bootstrap Plugin released</title>
		<link>http://www.jgeppert.com/2012/02/new-struts2-bootstrap-plugin-released/</link>
		<comments>http://www.jgeppert.com/2012/02/new-struts2-bootstrap-plugin-released/#comments</comments>
		<pubDate>Wed, 01 Feb 2012 20:15:15 +0000</pubDate>
		<dc:creator>jogep</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[struts2]]></category>
		<category><![CDATA[Struts2 Bootstrap Plugin]]></category>
		<category><![CDATA[bootstrap]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://www.jgeppert.com/?p=588</guid>
		<description><![CDATA[I have just released my first GIT based Project at Google Code. Thanks to IntelliJ IDEA for the great GIT Integration. This Struts2 Bootstrap Plugin is for an easy Integration of Twitter Bootstrap into an Bootstrap based Struts2 Webapp. It provides a Head Tag which loads necessary resources and a new theme for Struts2 Tags. [...]]]></description>
				<content:encoded><![CDATA[<p>I have just released my first GIT based Project at Google Code. Thanks to <a href="http://www.jetbrains.com/idea/">IntelliJ IDEA</a> for the great GIT Integration.</p>

<p>This <a href="http://code.google.com/p/struts2-bootstrap/" title="Struts2 Twitter Bootstrap Plugin">Struts2 Bootstrap Plugin</a> is for an easy Integration of <a href="http://twitter.github.com/bootstrap/" title="Twitter Bootstrap">Twitter Bootstrap</a> into an Bootstrap based Struts2 Webapp. It provides a Head Tag which loads necessary resources and a new theme for Struts2 Tags. A new <a href="http://www.weinfreund.de/struts2-bootstrap-showcase/">Struts2 Bootstrap Plugin Showcase</a> provides a short introduction how to use this Plugin.</p>

<h2>Steps to use it in your Project:</h2>

<h3>1. Add the jar</h3>
<p>To use this plugin you need to copy the struts2-bootstrap-plugin.jar into your WEB-INF/lib path. A maven Integration is following soon.</p>

<h3>2. Add the Head Tag to your JSP</h3>
<p>To load the required CSS Styles and JavaScript Resources you need to add the Head Tag to your html head area like following Example.</p>


<div class="wp_syntax"><table><tr><td class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;">&lt;%@ taglib <span style="color: #000066;">prefix</span>=<span style="color: #ff0000;">&quot;s&quot;</span> <span style="color: #000066;">uri</span>=<span style="color: #ff0000;">&quot;/struts-tags&quot;</span> %<span style="color: #000000; font-weight: bold;">&gt;</span></span>
<span style="color: #009900;">&lt;%@ taglib <span style="color: #000066;">prefix</span>=<span style="color: #ff0000;">&quot;sb&quot;</span> <span style="color: #000066;">uri</span>=<span style="color: #ff0000;">&quot;/struts-bootstrap-tags&quot;</span> %<span style="color: #000000; font-weight: bold;">&gt;</span></span>
<span style="color: #00bbdd;">&lt;!DOCTYPE html&gt;</span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;html</span> <span style="color: #000066;">lang</span>=<span style="color: #ff0000;">&quot;en&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;head<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;title<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>MyApp Title<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/title<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;meta</span> <span style="color: #000066;">http-equiv</span>=<span style="color: #ff0000;">&quot;Content-Type&quot;</span> <span style="color: #000066;">content</span>=<span style="color: #ff0000;">&quot;text/html; charset=utf-8&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
&nbsp;
    <span style="color: #808080; font-style: italic;">&lt;!-- Le HTML5 shim, for IE6-8 support of HTML elements --&gt;</span>
    <span style="color: #808080; font-style: italic;">&lt;!--[if lt IE 9]&gt;</span>
<span style="color: #808080; font-style: italic;">    &lt;script src=&quot;http://html5shim.googlecode.com/svn/trunk/html5.js&quot;&gt;&lt;/script&gt;</span>
<span style="color: #808080; font-style: italic;">    &lt;![endif]--&gt;</span>
&nbsp;
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;sb:head</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/head<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;body<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
...
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/body<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/html<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></td></tr></table></div>




<h3>3. Using the Form Tags</h3>
<p>Now you are able to use the form theme, simple by adding the theme="bootstrap" attribute to your <s:form> tag.</p>


<div class="wp_syntax"><table><tr><td class="code"><pre class="xml" style="font-family:monospace;">    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;s:actionerror</span> <span style="color: #000066;">theme</span>=<span style="color: #ff0000;">&quot;bootstrap&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;s:actionmessage</span> <span style="color: #000066;">theme</span>=<span style="color: #ff0000;">&quot;bootstrap&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;s:fielderror</span> <span style="color: #000066;">theme</span>=<span style="color: #ff0000;">&quot;bootstrap&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
&nbsp;
&nbsp;
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;s:form</span> <span style="color: #000066;">action</span>=<span style="color: #ff0000;">&quot;index&quot;</span> <span style="color: #000066;">enctype</span>=<span style="color: #ff0000;">&quot;multipart/form-data&quot;</span> <span style="color: #000066;">theme</span>=<span style="color: #ff0000;">&quot;bootstrap&quot;</span> <span style="color: #000066;">cssClass</span>=<span style="color: #ff0000;">&quot;form-horizontal&quot;</span></span>
<span style="color: #009900;">            <span style="color: #000066;">label</span>=<span style="color: #ff0000;">&quot;A sample horizontal Form&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;s:textfield</span></span>
<span style="color: #009900;">                <span style="color: #000066;">label</span>=<span style="color: #ff0000;">&quot;Name&quot;</span></span>
<span style="color: #009900;">                <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;name&quot;</span></span>
<span style="color: #009900;">                <span style="color: #000066;">tooltip</span>=<span style="color: #ff0000;">&quot;Enter your Name here&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
&nbsp;
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;s:textfield</span></span>
<span style="color: #009900;">                <span style="color: #000066;">label</span>=<span style="color: #ff0000;">&quot;Textfield with Error&quot;</span></span>
<span style="color: #009900;">                <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;error&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
&nbsp;
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;s:textarea</span></span>
<span style="color: #009900;">                <span style="color: #000066;">tooltip</span>=<span style="color: #ff0000;">&quot;Enter your Biography&quot;</span></span>
<span style="color: #009900;">                <span style="color: #000066;">label</span>=<span style="color: #ff0000;">&quot;Biography&quot;</span></span>
<span style="color: #009900;">                <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;bio&quot;</span></span>
<span style="color: #009900;">                <span style="color: #000066;">cols</span>=<span style="color: #ff0000;">&quot;20&quot;</span></span>
<span style="color: #009900;">                <span style="color: #000066;">rows</span>=<span style="color: #ff0000;">&quot;3&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
&nbsp;
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;s:select</span></span>
<span style="color: #009900;">                <span style="color: #000066;">tooltip</span>=<span style="color: #ff0000;">&quot;Choose Your Favourite Color&quot;</span></span>
<span style="color: #009900;">                <span style="color: #000066;">label</span>=<span style="color: #ff0000;">&quot;Favorite Color&quot;</span></span>
<span style="color: #009900;">                <span style="color: #000066;">list</span>=<span style="color: #ff0000;">&quot;{'Red', 'Blue', 'Green'}&quot;</span></span>
<span style="color: #009900;">                <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;favouriteColor&quot;</span></span>
<span style="color: #009900;">                <span style="color: #000066;">emptyOption</span>=<span style="color: #ff0000;">&quot;true&quot;</span></span>
<span style="color: #009900;">                <span style="color: #000066;">headerKey</span>=<span style="color: #ff0000;">&quot;None&quot;</span></span>
<span style="color: #009900;">                <span style="color: #000066;">headerValue</span>=<span style="color: #ff0000;">&quot;None&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
&nbsp;
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;s:checkboxlist</span></span>
<span style="color: #009900;">                <span style="color: #000066;">tooltip</span>=<span style="color: #ff0000;">&quot;Choose your Friends&quot;</span></span>
<span style="color: #009900;">                <span style="color: #000066;">label</span>=<span style="color: #ff0000;">&quot;Friends&quot;</span></span>
<span style="color: #009900;">                <span style="color: #000066;">list</span>=<span style="color: #ff0000;">&quot;{'Wes', 'Patrick', 'Jason', 'Jay', 'Toby', 'Rene'}&quot;</span></span>
<span style="color: #009900;">                <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;friends&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
&nbsp;
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;s:radio</span></span>
<span style="color: #009900;">                <span style="color: #000066;">tooltip</span>=<span style="color: #ff0000;">&quot;Choose your Best Friend&quot;</span></span>
<span style="color: #009900;">                <span style="color: #000066;">label</span>=<span style="color: #ff0000;">&quot;Best Friend&quot;</span></span>
<span style="color: #009900;">                <span style="color: #000066;">list</span>=<span style="color: #ff0000;">&quot;{'Wes', 'Patrick', 'Jason', 'Jay', 'Toby', 'Rene'}&quot;</span></span>
<span style="color: #009900;">                <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;bestFriend&quot;</span></span>
<span style="color: #009900;">                <span style="color: #000066;">cssErrorClass</span>=<span style="color: #ff0000;">&quot;foo&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
&nbsp;
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;s:checkbox</span></span>
<span style="color: #009900;">                <span style="color: #000066;">tooltip</span>=<span style="color: #ff0000;">&quot;Confirmed that your are Over 18&quot;</span></span>
<span style="color: #009900;">                <span style="color: #000066;">label</span>=<span style="color: #ff0000;">&quot;Age 18+&quot;</span></span>
<span style="color: #009900;">                <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;legalAge&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
&nbsp;
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;s:submit</span> <span style="color: #000066;">cssClass</span>=<span style="color: #ff0000;">&quot;btn&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/s:form<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></td></tr></table></div>




<p>Download: <a href="http://code.google.com/p/struts2-bootstrap/downloads/list">http://code.google.com/p/struts2-bootstrap/downloads/list</a><br />
Showcase: <a href="http://struts.jgeppert.com/struts2-bootstrap-showcase/index.action">http://struts.jgeppert.com/struts2-bootstrap-showcase/</a><br />
Issues: <a href="http://code.google.com/p/struts2-bootstrap/issues/list">http://code.google.com/p/struts2-bootstrap/issues/list</a></p>
 <img src="http://www.jgeppert.com/?feed-stats-post-id=588" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.jgeppert.com/2012/02/new-struts2-bootstrap-plugin-released/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
		<item>
		<title>Struts2 jQuery Plugin 3.2.0 released</title>
		<link>http://www.jgeppert.com/2011/11/struts2-jquery-plugin-3-2-0-released/</link>
		<comments>http://www.jgeppert.com/2011/11/struts2-jquery-plugin-3-2-0-released/#comments</comments>
		<pubDate>Mon, 07 Nov 2011 16:43:15 +0000</pubDate>
		<dc:creator>jogep</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Struts jQuery Plugin]]></category>
		<category><![CDATA[struts2]]></category>

		<guid isPermaLink="false">http://www.jgeppert.com/?p=581</guid>
		<description><![CDATA[Since today the latest Version 3.2.0 of Struts2 jQuery Plugin is available. The main change is the switch from jQuery 1.5.2 to the latest version 1.6.4 of the jQuery 1.6.x releases. You can now benefit from all the improvements and performance optimizations from the jQuery 1.6.x versions. If you are using third party jQuery plugins, [...]]]></description>
				<content:encoded><![CDATA[<p>
Since today the latest Version 3.2.0 of Struts2 jQuery Plugin is available. The main change is the switch from jQuery 1.5.2 to the latest version <a href="http://blog.jquery.com/2011/09/12/jquery-1-6-4-released/">1.6.4 of the jQuery 1.6.x</a> releases. You can now benefit from all the improvements and performance optimizations from the jQuery 1.6.x versions.
</p>

<p>
If you are using third party jQuery plugins, be sure the are working well with this jQuery version. 
</p>

<p>
Except the library updates there are over 20 solved Issues with this release. Especially the Datepicker, the Dialog and the Tree Tag are improved.
</p>

<h2>Library Updates</h2>
<ul>
<li><a href="http://blog.jquery.com/2011/09/12/jquery-1-6-4-released/">jQuery 1.6.4</a></li>
<li><a href="http://blog.jqueryui.com/2011/08/jquery-ui-1-8-16/">jQuery UI 1.8.16</a></li>
<li><a href="http://jquerymobile.com/blog/2011/10/19/jquery-mobile-1-0rc2-released/">jQuery Mobile RC 2</a></li>
<li><a href="http://www.trirand.com/blog/?p=857">jqGrid 4.2.0</a></li>
<li><a href="http://ckeditor.com/blog/CKEditor_3.6.2_released">ckEditor 3.6.2</a></li>
</ul>
<p>For a complete list of changes since last version, please visit the <a href="http://code.google.com/p/struts2-jquery/wiki/Changelog">Changelog</a>.</p>
<p>Download: <a href="http://code.google.com/p/struts2-jquery/downloads/list">http://code.google.com/p/struts2-jquery/downloads/list</a><br />
Showcase: <a href="http://struts.jgeppert.com/struts2-jquery-showcase/index.action">http://struts.jgeppert.com/struts2-jquery-showcase/</a><br />
Issues: <a href="http://code.google.com/p/struts2-jquery/issues/list">http://code.google.com/p/struts2-jquery/issues/list</a><br />
User Group: <a href="http://groups.google.com/group/struts2-jquery">http://groups.google.com/group/struts2-jquery</a></p>
 <img src="http://www.jgeppert.com/?feed-stats-post-id=581" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.jgeppert.com/2011/11/struts2-jquery-plugin-3-2-0-released/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Improved Tree and Autocompleter Tag and new Timepicker Addon</title>
		<link>http://www.jgeppert.com/2011/06/improved-tree-and-autocompleter-tag-and-new-timepicker-addon/</link>
		<comments>http://www.jgeppert.com/2011/06/improved-tree-and-autocompleter-tag-and-new-timepicker-addon/#comments</comments>
		<pubDate>Wed, 29 Jun 2011 18:26:51 +0000</pubDate>
		<dc:creator>jogep</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Struts jQuery Plugin]]></category>
		<category><![CDATA[struts2]]></category>
		<category><![CDATA[autocompleter]]></category>
		<category><![CDATA[timepicker]]></category>
		<category><![CDATA[tree]]></category>

		<guid isPermaLink="false">http://www.jgeppert.com/?p=575</guid>
		<description><![CDATA[The new Version 3.1.0 of Struts2 jQuery Plugin is now available with an improved Tree and Autocompleter Tag and a new Timepicker Addon for the Datepicker Tag. A improved Tree Tag The Tree Tag provides now support for different Node Types and support for Context Menus. Two new Tree Tag examples in the Showcase explain [...]]]></description>
				<content:encoded><![CDATA[<p>The new Version 3.1.0 of <a href="http://code.google.com/p/struts2-jquery/">Struts2 jQuery Plugin</a> is now available with an improved Tree and Autocompleter Tag and a new Timepicker Addon for the Datepicker Tag.</p>

<h2>A improved Tree Tag</h2>
<p>The Tree Tag provides now support for different Node Types and support for Context Menus. Two new Tree Tag examples in the Showcase explain how to use this new Features. </p>
<p><img class="alignnone" title="Struts2 jQuery Tree based on jsTree Plugin" src="http://www.jgeppert.com/struts2-jquery/struts2-jquery-tree-types.jpg" alt="Struts2 jQuery Tree Tag with Types based on jsTree" width="187" height="171" /></p>


<div class="wp_syntax"><table><tr><td class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;s:set</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;contextPath&quot;</span>  <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;#request.get('javax.servlet.forward.context_path')&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;sjt:tree</span> </span>
<span style="color: #009900;">	<span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;treeTypes&quot;</span> </span>
<span style="color: #009900;">	<span style="color: #000066;">jstreetheme</span>=<span style="color: #ff0000;">&quot;default&quot;</span> </span>
<span style="color: #009900;">	<span style="color: #000066;">openAllOnLoad</span>=<span style="color: #ff0000;">&quot;true&quot;</span> </span>
<span style="color: #009900;">	<span style="color: #000066;">types</span>=<span style="color: #ff0000;">&quot;{</span>
<span style="color: #009900;">			'valid_children' : [ 'root' ],</span>
<span style="color: #009900;">			'types' : {</span>
<span style="color: #009900;">				'root' : {</span>
<span style="color: #009900;">					'icon' : { </span>
<span style="color: #009900;">						'image' : '%{contextPath}/images/root.png' </span>
<span style="color: #009900;">					},</span>
<span style="color: #009900;">					'valid_children' : [ 'folder', 'file' ],</span>
<span style="color: #009900;">				},</span>
<span style="color: #009900;">				'folder' : {</span>
<span style="color: #009900;">					'icon' : { </span>
<span style="color: #009900;">						'image' : '%{contextPath}/images/folder.png' </span>
<span style="color: #009900;">					},</span>
<span style="color: #009900;">					'valid_children' : [ 'folder', 'file' ],</span>
<span style="color: #009900;">				},</span>
<span style="color: #009900;">				'file' : {</span>
<span style="color: #009900;">					'icon' : { </span>
<span style="color: #009900;">						'image' : '%{contextPath}/images/file.png' </span>
<span style="color: #009900;">					},</span>
<span style="color: #009900;">					'valid_children' : [ 'none' ],</span>
<span style="color: #009900;">				}</span>
<span style="color: #009900;">		}</span>
<span style="color: #009900;">	}&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;sjt:treeItem</span> <span style="color: #000066;">title</span>=<span style="color: #ff0000;">&quot;Root&quot;</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;root&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;sjt:treeItem</span> <span style="color: #000066;">title</span>=<span style="color: #ff0000;">&quot;Folder One&quot;</span>  <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;folder&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;sjt:treeItem</span> <span style="color: #000066;">title</span>=<span style="color: #ff0000;">&quot;File One&quot;</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;file&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;sjt:treeItem</span> <span style="color: #000066;">title</span>=<span style="color: #ff0000;">&quot;File Two&quot;</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;file&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/sjt:treeItem<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;sjt:treeItem</span> <span style="color: #000066;">title</span>=<span style="color: #ff0000;">&quot;Folder Two&quot;</span>  <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;folder&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;sjt:treeItem</span> <span style="color: #000066;">title</span>=<span style="color: #ff0000;">&quot;Folder Three&quot;</span>  <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;folder&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;sjt:treeItem</span> <span style="color: #000066;">title</span>=<span style="color: #ff0000;">&quot;File Four&quot;</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;file&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/sjt:treeItem<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;sjt:treeItem</span> <span style="color: #000066;">title</span>=<span style="color: #ff0000;">&quot;File Three&quot;</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;file&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/sjt:treeItem<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/sjt:treeItem<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/sjt:tree<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></td></tr></table></div>




<h2>Timepicker</h2>
<p>An other offen requested feature the <strong>Timepicker</strong> is now available. This is an enhancment of the existing Datepicker Tag.
</p>
<p><img class="alignnone" src="http://www.jgeppert.com/struts2-jquery/struts2-jquery-timepicker.jpg" alt="Struts2 jQuery Datepicker Tag with Timepicker Addon"  width="367" height="205"/></p>


<div class="wp_syntax"><table><tr><td class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;sj:datepicker</span> </span>
<span style="color: #009900;">	<span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;time0&quot;</span> </span>
<span style="color: #009900;">	<span style="color: #000066;">label</span>=<span style="color: #ff0000;">&quot;Select a Date/Time&quot;</span> </span>
<span style="color: #009900;">	<span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;%{new java.util.Date()}&quot;</span> </span>
<span style="color: #009900;">	<span style="color: #000066;">timepicker</span>=<span style="color: #ff0000;">&quot;true&quot;</span> </span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;sj:datepicker</span> </span>
<span style="color: #009900;">	<span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;time1&quot;</span> </span>
<span style="color: #009900;">	<span style="color: #000066;">label</span>=<span style="color: #ff0000;">&quot;Select a Time&quot;</span> </span>
<span style="color: #009900;">	<span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;%{new java.util.Date()}&quot;</span> </span>
<span style="color: #009900;">	<span style="color: #000066;">timepicker</span>=<span style="color: #ff0000;">&quot;true&quot;</span> </span>
<span style="color: #009900;">	<span style="color: #000066;">timepickerOnly</span>=<span style="color: #ff0000;">&quot;true&quot;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">/&gt;</span></span></pre></td></tr></table></div>




<h2>A improved Autocompleter Tag</h2>
<p>It is now possible to display the List Value instead of the List Key. See <a href="http://code.google.com/p/struts2-jquery/issues/detail?id=395">Issue 395</a> for detailed informations. Also you can now specify a List Label which is displayed during the search.</p>

<h2>Libary Updates</h2>
<ul>
<li><a href="http://blog.jqueryui.com/2011/06/jquery-ui-1-8-14/">jQuery UI 1.8.14</a></li>
<li><a href="http://jquerymobile.com/blog/2011/06/20/jquery-mobile-beta-1-released/">jQuery Mobile Beta 1</a></li>
<li><a href="http://www.trirand.com/blog/?p=812">jqGrid 4.1.1</a></li>
<li><a href="http://ckeditor.com/blog/CKEditor_3.6.1_released">ckEditor 3.6.1</a></li>
<li><a href="http://tinymce.moxiecode.com/forum/viewtopic.php?id=26101">tinyMCE 3.4.3.1</a></li>
</ul>
<p>For a complete list of changes since last version, please visit the <a href="http://code.google.com/p/struts2-jquery/wiki/Changelog">Changelog</a>.</p>
<p>Download: <a href="http://code.google.com/p/struts2-jquery/downloads/list">http://code.google.com/p/struts2-jquery/downloads/list</a><br />
Showcase: <a href="http://struts.jgeppert.com/struts2-jquery-showcase/index.action">http://struts.jgeppert.com/struts2-jquery-showcase/</a><br />
Issues: <a href="http://code.google.com/p/struts2-jquery/issues/list">http://code.google.com/p/struts2-jquery/issues/list</a><br />
User Group: <a href="http://groups.google.com/group/struts2-jquery">http://groups.google.com/group/struts2-jquery</a></p>
 <img src="http://www.jgeppert.com/?feed-stats-post-id=575" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.jgeppert.com/2011/06/improved-tree-and-autocompleter-tag-and-new-timepicker-addon/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>4 Easy Steps to create a Java based Web Application with Struts2 and jQuery</title>
		<link>http://www.jgeppert.com/2011/05/4-easy-steps-to-create-a-java-based-web-application-with-struts2-and-jquery/</link>
		<comments>http://www.jgeppert.com/2011/05/4-easy-steps-to-create-a-java-based-web-application-with-struts2-and-jquery/#comments</comments>
		<pubDate>Tue, 10 May 2011 17:05:48 +0000</pubDate>
		<dc:creator>jogep</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Struts jQuery Plugin]]></category>
		<category><![CDATA[struts2]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[maven]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.jgeppert.com/?p=542</guid>
		<description><![CDATA[Step1: Install and Configure Maven We use Maven to describe this software project and to manage the dependencies. 1.) Download maven from http://maven.apache.org/download.html and extract it. 2.) Add MAVEN_HOME/bin to your PATH Step2: Create your Struts2 Project 1.) Switch to your Eclipse Workspace. cd workspace 2.) Create the Project based on the struts2-archetype-convention archetype. mvn [...]]]></description>
				<content:encoded><![CDATA[<h2>Step1: Install and Configure Maven</h2>

<p>
We use <a href="http://maven.apache.org">Maven</a> to describe this software project and to manage the dependencies.
</p>

<p>
1.) Download maven from http://maven.apache.org/download.html and extract it.
</p>

<p>
2.) Add MAVEN_HOME/bin to your PATH
</p>

<h2>Step2: Create your Struts2 Project</h2>

<p>
1.) Switch to your Eclipse Workspace.
</p>


<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> workspace</pre></td></tr></table></div>




<p>
2.) Create the Project based on the <em>struts2-archetype-convention </em>archetype.
</p>


<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">mvn archetype:generate <span style="color: #660033;">-B</span> <span style="color: #660033;">-DgroupId</span>=com.jgeppert.examples <span style="color: #660033;">-DartifactId</span>=struts2-example <span style="color: #660033;">-DarchetypeGroupId</span>=org.apache.struts <span style="color: #660033;">-DarchetypeArtifactId</span>=struts2-archetype-convention <span style="color: #660033;">-DarchetypeVersion</span>=2.3.8</pre></td></tr></table></div>




<p>
3.) Wait until maven download the whole Internet except Cats Pictures and Porn.
</p>

<p>
4.) Go into the new created folder struts2-example
</p>


<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> struts2-example</pre></td></tr></table></div>




<p>
5.) Open pom.xml in an Editor
</p>

<p>
6.) Set your project version to 0.0.1
</p>


<div class="wp_syntax"><table><tr><td class="code"><pre class="xml" style="font-family:monospace;">    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;version<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>0.0.1<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/version<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></td></tr></table></div>




<p>
7.) Set your Struts2 Version to 2.3.8</p>


<div class="wp_syntax"><table><tr><td class="code"><pre class="xml" style="font-family:monospace;">    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;properties<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;struts2.version<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>2.3.8<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/struts2.version<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/properties<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></td></tr></table></div>




<p>
8.) Build your blank application
</p>


<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">mvn <span style="color: #c20cb9; font-weight: bold;">install</span></pre></td></tr></table></div>




<p>
9.) Try it out
</p>


<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;">mvn jetty:run</pre></td></tr></table></div>




<p>
10.) Open http://localhost:8080/struts2-example/ in your Browser
</p>

<p>
The Message "Struts is up and running..." should appear.
</p>

<h2>Step3: Create the Eclipse Project</h2>

<p>
1.) Open your Eclipse IDE
</p>

<p>
2.) Install <a href="http://m2eclipse.sonatype.org/installing-m2eclipse.html">m2-eclipse</a> and restart your IDE.
</p>

<p><iframe class='youtube-player youtuber' type='text/html' width='425' height='355' src='http://www.youtube.com/embed/1yOwMBYSq2A?rel=0&amp;fs=1' webkitAllowFullScreen mozallowfullscreen allowFullScreen frameborder='0'></iframe></p>

<p>
3.) Open the Import Dialog in your Eclipse IDE and import your created Project "struts2-example".

</p>

<p><img class="alignnone" title="Import Maven Project" src="http://www.jgeppert.com/struts2-jquery/import-maven-projects.jpg" alt="" /></p>

<p><img class="alignnone" title="Import Maven Project" src="http://www.jgeppert.com/struts2-jquery/struts2-example-project.jpg" alt="" /></p>


<h2>Step4: Add the Struts2 jQuery Plugin to your Project</h2>

<p>
The <a href="http://code.google.com/p/struts2-jquery/">Struts2 jQuery Plugin</a> provides an easy Integration of jQuery into this Project.
</p>

<p>
1.) Open your pom.xml and edit your project properties.
</p>


<div class="wp_syntax"><table><tr><td class="code"><pre class="xml" style="font-family:monospace;">    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;properties<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;struts2.version<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>2.3.8<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/struts2.version<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;struts2jquery.version<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>3.5.0<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/struts2jquery.version<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/properties<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></td></tr></table></div>




<p>
2.) Add the Dependencies
</p>


<div class="wp_syntax"><table><tr><td class="code"><pre class="xml" style="font-family:monospace;">	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;dependency<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;groupId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>com.jgeppert.struts2.jquery<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/groupId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;artifactId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>struts2-jquery-plugin<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/artifactId<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;version<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>${struts2jquery.version}<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/version<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/dependency<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></td></tr></table></div>



	
<p>
3.) Create a new Action YourNameAction.java inside of the com.jgeppert.examples.actions Package
</p>


<div class="wp_syntax"><table><tr><td class="code"><pre class="java" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">package</span> <span style="color: #006699;">com.jgeppert.examples.actions</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">com.opensymphony.xwork2.ActionSupport</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">class</span> YourNameAction <span style="color: #000000; font-weight: bold;">extends</span> ActionSupport <span style="color: #009900;">&#123;</span>
&nbsp;
    <span style="color: #000000; font-weight: bold;">private</span> <span style="color: #003399;">String</span> name<span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #003399;">String</span> execute<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">throws</span> <span style="color: #003399;">Exception</span> <span style="color: #009900;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>name <span style="color: #339933;">==</span> <span style="color: #000066; font-weight: bold;">null</span> <span style="color: #339933;">||</span> name.<span style="color: #006633;">length</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&lt;</span> <span style="color: #cc66cc;">3</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
	    addActionError<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Please enter valid name with more the 2 characters!&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	    <span style="color: #000000; font-weight: bold;">return</span> ERROR<span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
&nbsp;
        <span style="color: #000000; font-weight: bold;">return</span> SUCCESS<span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
&nbsp;
    <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #003399;">String</span> getName<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #000000; font-weight: bold;">return</span> name<span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
&nbsp;
&nbsp;
    <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000066; font-weight: bold;">void</span> setName<span style="color: #009900;">&#40;</span><span style="color: #003399;">String</span> name<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #000000; font-weight: bold;">this</span>.<span style="color: #006633;">name</span> <span style="color: #339933;">=</span> name<span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>




<p>
4.) Replace the Content of hello.jsp
</p>


<div class="wp_syntax"><table><tr><td class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;">&lt;%@ page <span style="color: #000066;">contentType</span>=<span style="color: #ff0000;">&quot;text/html; charset=UTF-8&quot;</span> %<span style="color: #000000; font-weight: bold;">&gt;</span></span>
<span style="color: #009900;">&lt;%@ taglib <span style="color: #000066;">prefix</span>=<span style="color: #ff0000;">&quot;s&quot;</span> <span style="color: #000066;">uri</span>=<span style="color: #ff0000;">&quot;/struts-tags&quot;</span> %<span style="color: #000000; font-weight: bold;">&gt;</span></span>
<span style="color: #009900;">&lt;%@ taglib <span style="color: #000066;">prefix</span>=<span style="color: #ff0000;">&quot;sj&quot;</span> <span style="color: #000066;">uri</span>=<span style="color: #ff0000;">&quot;/struts-jquery-tags&quot;</span>%<span style="color: #000000; font-weight: bold;">&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;html<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;head<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;title<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>My App<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/title<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;sj:head</span> <span style="color: #000066;">jquerytheme</span>=<span style="color: #ff0000;">&quot;start&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;style<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    	body {
    		font-family: Arial,sans-serif;
    		font-size: 9pt;
    	}
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/style<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/head<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
&nbsp;
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;body<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;h2<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Please enter a Name<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/h2<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
&nbsp;
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;s:form</span> <span style="color: #000066;">action</span>=<span style="color: #ff0000;">&quot;your-name&quot;</span> <span style="color: #000066;">theme</span>=<span style="color: #ff0000;">&quot;xhtml&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;s:textfield</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;name&quot;</span> <span style="color: #000066;">label</span>=<span style="color: #ff0000;">&quot;Enter your Name&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;sj:submit</span> </span>
<span style="color: #009900;">			<span style="color: #000066;">targets</span>=<span style="color: #ff0000;">&quot;result&quot;</span> </span>
<span style="color: #009900;">			<span style="color: #000066;">effect</span>=<span style="color: #ff0000;">&quot;highlight&quot;</span> </span>
<span style="color: #009900;">			<span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;Submit&quot;</span> </span>
<span style="color: #009900;">			<span style="color: #000066;">button</span>=<span style="color: #ff0000;">&quot;true&quot;</span></span>
<span style="color: #009900;">		<span style="color: #000000; font-weight: bold;">/&gt;</span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/s:form<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
&nbsp;
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;h3<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>AJAX Result<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/h3<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;div</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;result&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #000000; font-weight: bold;">&lt;/div<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/body<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/html<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></td></tr></table></div>




<p>
5.) Create a new JSP inside of your WEB-INF/content folder called your-name.jsp	
</p>


<div class="wp_syntax"><table><tr><td class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;">&lt;%@ page <span style="color: #000066;">contentType</span>=<span style="color: #ff0000;">&quot;text/html; charset=UTF-8&quot;</span> %<span style="color: #000000; font-weight: bold;">&gt;</span></span>
<span style="color: #009900;">&lt;%@ taglib <span style="color: #000066;">prefix</span>=<span style="color: #ff0000;">&quot;s&quot;</span> <span style="color: #000066;">uri</span>=<span style="color: #ff0000;">&quot;/struts-tags&quot;</span> %<span style="color: #000000; font-weight: bold;">&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;h4<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>Welcome <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;s:property</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;name&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>!<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/h4<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></td></tr></table></div>




<p>
6.) Create a new JSP inside of your WEB-INF/content folder called your-name-error.jsp	
</p>


<div class="wp_syntax"><table><tr><td class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;">&lt;%@ page <span style="color: #000066;">contentType</span>=<span style="color: #ff0000;">&quot;text/html; charset=UTF-8&quot;</span> %<span style="color: #000000; font-weight: bold;">&gt;</span></span>
<span style="color: #009900;">&lt;%@ taglib <span style="color: #000066;">prefix</span>=<span style="color: #ff0000;">&quot;s&quot;</span> <span style="color: #000066;">uri</span>=<span style="color: #ff0000;">&quot;/struts-tags&quot;</span> %<span style="color: #000000; font-weight: bold;">&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;s:actionerror</span> <span style="color: #000066;">theme</span>=<span style="color: #ff0000;">&quot;jquery&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span></pre></td></tr></table></div>




<p>
7.) Run "mvn install" and "mvn jetty:run"
</p>

<p>
8.) Open http://localhost:8080/struts2-example/ in your Browser and our created form should be appear.
</p>
<p><img class="alignnone" title="Import Maven Project" src="http://www.jgeppert.com/struts2-jquery/hello-action.jpg" alt="" /></p>

<p>
9.) Submit without enter a Name. The Error Message should be visible inside of our defined Target Div without reloading the whole Page.
</p>

<p>
10.) Submit you form with an valid name.

</p>
<p><img class="alignnone" title="Import Maven Project" src="http://www.jgeppert.com/struts2-jquery/hello-action-success.jpg" alt="" /></p>

<p>
Download the <a href="http://www.jgeppert.com/struts2-jquery/struts2-jquery-example.zip">Sample Project Sources</a>.
</p>
 <img src="http://www.jgeppert.com/?feed-stats-post-id=542" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.jgeppert.com/2011/05/4-easy-steps-to-create-a-java-based-web-application-with-struts2-and-jquery/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
		<item>
		<title>Whats New in Struts2 jQuery Plugin 3.0.0</title>
		<link>http://www.jgeppert.com/2011/05/whats-new-in-struts2-jquery-plugin-3-0-0/</link>
		<comments>http://www.jgeppert.com/2011/05/whats-new-in-struts2-jquery-plugin-3-0-0/#comments</comments>
		<pubDate>Fri, 06 May 2011 11:16:24 +0000</pubDate>
		<dc:creator>jogep</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[projekte]]></category>
		<category><![CDATA[Struts jQuery Plugin]]></category>
		<category><![CDATA[struts2]]></category>
		<category><![CDATA[jstree]]></category>
		<category><![CDATA[mobile]]></category>

		<guid isPermaLink="false">http://www.jgeppert.com/?p=526</guid>
		<description><![CDATA[I'am happy to inform you that Version 3.0.0 of Struts2 jQuery Plugin is now available with a lot of new features an improvments. A new Tree Tag With this version there is an offen requested feature available. The new Tree Tag allows you to create easy Trees in your templates. This Tree Tag is based on [...]]]></description>
				<content:encoded><![CDATA[<p>I'am happy to inform you that Version 3.0.0 of <a href="http://code.google.com/p/struts2-jquery/">Struts2 jQuery Plugin</a> is now available with a lot of new features an improvments.</p>
<h2>A new Tree Tag</h2>
<p>With this version there is an offen requested feature available. The new Tree Tag allows you to create easy Trees in your templates. This Tree Tag is based on the great <a href="http://www.jstree.com/">jQuery jsTree Plugin</a>.</p>
<p><img class="alignnone" title="Struts2 jQuery Tree based on jsTree Plugin" src="http://www.jgeppert.com/struts2-jquery/struts2-jquery-tree.jpg" alt="" width="265" height="188" /></p>


<div class="wp_syntax"><table><tr><td class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;sjt:tree</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;treeStatic&quot;</span> <span style="color: #000066;">jstreetheme</span>=<span style="color: #ff0000;">&quot;default&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;sjt:treeItem</span> <span style="color: #000066;">title</span>=<span style="color: #ff0000;">&quot;Struts2&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;sjt:treeItem</span> <span style="color: #000066;">title</span>=<span style="color: #ff0000;">&quot;General&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;sjt:treeItem</span> <span style="color: #000066;">title</span>=<span style="color: #ff0000;">&quot;Struts2&quot;</span> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">&quot;http://struts.apache.org/2.x/index.html&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;sjt:treeItem</span> <span style="color: #000066;">title</span>=<span style="color: #ff0000;">&quot;Struts2 @ Facebook&quot;</span> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">&quot;http://www.facebook.com/pages/Struts2-Users/103890046351798&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/sjt:treeItem<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;sjt:treeItem</span> <span style="color: #000066;">title</span>=<span style="color: #ff0000;">&quot;Plugins&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;sjt:treeItem</span> <span style="color: #000066;">title</span>=<span style="color: #ff0000;">&quot;Struts2 Plugins&quot;</span> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">&quot;https://cwiki.apache.org/S2PLUGINS/home.html&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;sjt:treeItem</span> <span style="color: #000066;">title</span>=<span style="color: #ff0000;">&quot;Struts2 jQuery Plugin&quot;</span> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">&quot;http://code.google.com/p/struts2-jquery/&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;sjt:treeItem</span> <span style="color: #000066;">title</span>=<span style="color: #ff0000;">&quot;Struts2 Full Hibernate Plugin&quot;</span> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">&quot;http://code.google.com/p/full-hibernate-plugin-for-struts2/&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/sjt:treeItem<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;sjt:treeItem</span> <span style="color: #000066;">title</span>=<span style="color: #ff0000;">&quot;Blogs&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;sjt:treeItem</span> <span style="color: #000066;">title</span>=<span style="color: #ff0000;">&quot;Struts2 jQuery News&quot;</span> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">&quot;http://www.jgeppert.com/category/java/struts2-jquery/&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/sjt:treeItem<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;sjt:treeItem</span> <span style="color: #000066;">title</span>=<span style="color: #ff0000;">&quot;AJAX Links&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;s:url</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;ajax1&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;/ajax1.action&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;sjt:treeItem</span> <span style="color: #000066;">title</span>=<span style="color: #ff0000;">&quot;Ajax 1&quot;</span> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">&quot;%{ajax1}&quot;</span> <span style="color: #000066;">targets</span>=<span style="color: #ff0000;">&quot;result&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;s:url</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;ajax2&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;/ajax2.action&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;sjt:treeItem</span> <span style="color: #000066;">title</span>=<span style="color: #ff0000;">&quot;Ajax 2&quot;</span> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">&quot;%{ajax2}&quot;</span> <span style="color: #000066;">targets</span>=<span style="color: #ff0000;">&quot;result&quot;</span> <span style="color: #000066;">effect</span>=<span style="color: #ff0000;">&quot;highlight&quot;</span> <span style="color: #000066;">effectDuration</span>=<span style="color: #ff0000;">&quot;2500&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;s:url</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;ajax3&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;/ajax3.action&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;sjt:treeItem</span> <span style="color: #000066;">title</span>=<span style="color: #ff0000;">&quot;Ajax 3&quot;</span> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">&quot;%{ajax3}&quot;</span> <span style="color: #000066;">targets</span>=<span style="color: #ff0000;">&quot;result&quot;</span> <span style="color: #000066;">onBeforeTopics</span>=<span style="color: #ff0000;">&quot;beforeLink&quot;</span> <span style="color: #000066;">onCompleteTopics</span>=<span style="color: #ff0000;">&quot;completeLink&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;s:url</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;ajax4&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;/ajax4.action&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;sjt:treeItem</span> <span style="color: #000066;">title</span>=<span style="color: #ff0000;">&quot;Ajax 4&quot;</span> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">&quot;%{ajax4}&quot;</span> <span style="color: #000066;">targets</span>=<span style="color: #ff0000;">&quot;result&quot;</span> <span style="color: #000066;">effect</span>=<span style="color: #ff0000;">&quot;bounce&quot;</span> <span style="color: #000066;">effectDuration</span>=<span style="color: #ff0000;">&quot;1000&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/sjt:treeItem<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/sjt:treeItem<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/sjt:tree<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></td></tr></table></div>




<h2>Mobile Module</h2>
<p>For an better support of mobile development with Java and the popular MVC Framework Struts2, this version of <a href="http://code.google.com/p/struts2-jquery/">Struts2 jQuery Plugin</a> brings a new Module based on <a href="http://jquerymobile.com">jQuery mobile</a> to you. This includes an easy AJAX support and a jQuery mobile theme for form elements. The new <a href="http://www.weinfreund.de/struts2-jquery-mobile-showcase/index.action">Struts2 jQuery Mobile Showcase</a> gives you an introduction how to use this new module.</p>
<p><a href="http://www.weinfreund.de/struts2-jquery-mobile-showcase/index.action"><img src="http://www.jgeppert.com/struts2-jquery/struts2-jquery-mobile-showcase.jpeg" alt="Struts2 jQuery Mobile Showcase" /></a></p>
<h2>Grid Module</h2>
<p>This version provides an enhanced Subgrid Feature. Now it is possible to create Multilevel Subgrids. Please take a look at the new 3-Level Subgrid Example in the <a href="http://www.weinfreund.de/struts2-jquery-grid-showcase/index.action">Grid Showcase</a>.  </p>
<h2>Richtext Editor</h2>
<p>With this version it is easy to enable Uploads for Images and Flash files for your Ckeditor instance.</p>
<p><u>Enable File Uploads in your struts2.xml:</u></p>


<div class="wp_syntax"><table><tr><td class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">&lt;!-- Settings for CKEditor Image Upload --&gt;</span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;constant</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;struts.ckeditor.allowUploads&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;true&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span> <span style="color: #808080; font-style: italic;">&lt;!-- default is false --&gt;</span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;constant</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;struts.ckeditor.allowedFileExtensions&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;jpg,jpeg,png&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;constant</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;struts.ckeditor.uploadFolder&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;/image-uploads&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span></pre></td></tr></table></div>



<p><u>Enable File Uploads in your ckeditor instance:</u></p>


<div class="wp_syntax"><table><tr><td class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;sjr:ckeditor</span> </span>
<span style="color: #009900;">	<span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;richtextEditor&quot;</span> </span>
<span style="color: #009900;">	<span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;echo&quot;</span> </span>
<span style="color: #009900;">	<span style="color: #000066;">rows</span>=<span style="color: #ff0000;">&quot;10&quot;</span> </span>
<span style="color: #009900;">	<span style="color: #000066;">cols</span>=<span style="color: #ff0000;">&quot;80&quot;</span> </span>
<span style="color: #009900;">	<span style="color: #000066;">width</span>=<span style="color: #ff0000;">&quot;730&quot;</span></span>
<span style="color: #009900;">	<span style="color: #000066;">height</span>=<span style="color: #ff0000;">&quot;400&quot;</span></span>
<span style="color: #009900;">	<span style="color: #000066;">uploads</span>=<span style="color: #ff0000;">&quot;true&quot;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">/&gt;</span></span></pre></td></tr></table></div>



<h2>Libary Updates</h2>
<ul>
<li><a href="http://blog.jquery.com/2011/03/31/jquery-152-released/">jQuery 1.5.2</a></li>
<li><a href="http://blog.jqueryui.com/2011/04/jquery-ui-1-8-12/">jQuery UI 1.8.12</a></li>
<li><a href="http://jquerymobile.com/blog/2011/04/07/jquery-alpha-4-1-maintenance-release/">jQuery Mobile Aplpha 4.1</a></li>
<li><a href="http://www.trirand.com/blog/?p=785">jqGrid 4.0.0</a></li>
<li>flot 0.7</li>
<li><a href="http://ckeditor.com/blog/CKEditor_3.5.3_released">ckEditor 3.5.3</a></li>
<li><a href="http://tinymce.moxiecode.com/forum/viewtopic.php?id=25470">tinyMCE 3.4.2</a></li>
</ul>
<p>For a complete list of changes since last version, please visit the <a href="http://code.google.com/p/struts2-jquery/wiki/Changelog">Changelog</a>.</p>
<p>Download: <a href="http://code.google.com/p/struts2-jquery/downloads/list">http://code.google.com/p/struts2-jquery/downloads/list</a><br />
Showcase: <a href="http://struts.jgeppert.com/struts2-jquery-showcase/index.action">http://struts.jgeppert.com/struts2-jquery-showcase/</a><br />
Issues: <a href="http://code.google.com/p/struts2-jquery/issues/list">http://code.google.com/p/struts2-jquery/issues/list</a><br />
User Group: <a href="http://groups.google.com/group/struts2-jquery">http://groups.google.com/group/struts2-jquery</a></p>
 <img src="http://www.jgeppert.com/?feed-stats-post-id=526" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.jgeppert.com/2011/05/whats-new-in-struts2-jquery-plugin-3-0-0/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Introduction into Struts2 jQuery Grid Tags</title>
		<link>http://www.jgeppert.com/2011/04/introduction-into-struts2-jquery-grid-tags/</link>
		<comments>http://www.jgeppert.com/2011/04/introduction-into-struts2-jquery-grid-tags/#comments</comments>
		<pubDate>Fri, 01 Apr 2011 20:07:20 +0000</pubDate>
		<dc:creator>jogep</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[projekte]]></category>
		<category><![CDATA[Struts jQuery Plugin]]></category>
		<category><![CDATA[struts2]]></category>
		<category><![CDATA[grid]]></category>

		<guid isPermaLink="false">http://www.jgeppert.com/?p=521</guid>
		<description><![CDATA[]]></description>
				<content:encoded><![CDATA[<object type='application/x-shockwave-flash' wmode='opaque' data='http://static.slideshare.net/swf/ssplayer2.swf?id=7485216&doc=struts2jquerygrid-110401145225-phpapp01' width='425' height='348'><param name='movie' value='http://static.slideshare.net/swf/ssplayer2.swf?id=7485216&doc=struts2jquerygrid-110401145225-phpapp01' /><param name='allowFullScreen' value='true' /></object>  <img src="http://www.jgeppert.com/?feed-stats-post-id=521" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.jgeppert.com/2011/04/introduction-into-struts2-jquery-grid-tags/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Preview for Struts2 jQuery Mobile Showcase</title>
		<link>http://www.jgeppert.com/2011/02/preview-for-struts2-jquery-mobile-showcase/</link>
		<comments>http://www.jgeppert.com/2011/02/preview-for-struts2-jquery-mobile-showcase/#comments</comments>
		<pubDate>Mon, 28 Feb 2011 17:11:27 +0000</pubDate>
		<dc:creator>jogep</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Struts jQuery Plugin]]></category>
		<category><![CDATA[struts2]]></category>
		<category><![CDATA[mobile]]></category>

		<guid isPermaLink="false">http://www.jgeppert.com/?p=496</guid>
		<description><![CDATA[For an better support of mobile development with Java and the popular MVC Framework Struts2, I include in the next version of Struts2 jQuery Plugin a new Module based on jQuery mobile. Planned Features of the Struts2 Mobile Plugin are an easy AJAX support and a jQuery mobile theme for form elements. I just upload [...]]]></description>
				<content:encoded><![CDATA[For an better support of mobile development with Java and the popular MVC Framework Struts2, I include in the next version of <a href="http://code.google.com/p/struts2-jquery/">Struts2 jQuery Plugin</a> a new Module based on <a href="http://jquerymobile.com">jQuery mobile</a>. Planned Features of the Struts2 Mobile Plugin are an easy AJAX support and a jQuery mobile theme for form elements. I just upload the current development showcase for the new <a href="http://struts.jgeppert.com/struts2-jquery-mobile-showcase/index.action">Struts2 jQuery Mobile Showcase</a>.

<a href="http://struts.jgeppert.com/struts2-jquery-mobile-showcase/index.action"><img src="http://www.jgeppert.com/struts2-jquery/struts2-jquery-mobile-showcase.jpeg" alt="Struts2 jQuery Mobile Showcase" /></a>

The current module and showcase is based on the <a href="http://jquerymobile.com/2011/02/jquery-mobile-alpha-3-released/">jQuery mobile alpha 3</a> release.

I'm always open to suggestions. <img src="http://www.jgeppert.com/?feed-stats-post-id=496" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.jgeppert.com/2011/02/preview-for-struts2-jquery-mobile-showcase/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>How to overwrite functions in Struts2 jQuery Plugin</title>
		<link>http://www.jgeppert.com/2011/02/how-to-overwrite-functions-in-struts2-jquery-plugin/</link>
		<comments>http://www.jgeppert.com/2011/02/how-to-overwrite-functions-in-struts2-jquery-plugin/#comments</comments>
		<pubDate>Thu, 17 Feb 2011 08:43:45 +0000</pubDate>
		<dc:creator>jogep</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Struts jQuery Plugin]]></category>
		<category><![CDATA[struts2]]></category>
		<category><![CDATA[plugin]]></category>

		<guid isPermaLink="false">http://www.jgeppert.com/?p=490</guid>
		<description><![CDATA[You want to enhance a default handler, fix a bug or just use an other jquery plugin as the default in Struts2 jQuery Plugin? Here is a short example hot to overwrite the handler function for the autocompleter in Struts2 jQuery Plugin. &#60;sj:head /&#62; &#60;script type=&#34;text/javascript&#34;&#62; $.struts2_jquery.autocompleter = function($elem, options) { alert(&#34;my own autocompleter handler [...]]]></description>
				<content:encoded><![CDATA[You want to enhance a default handler, fix a bug or just use an other jquery plugin as the default in <a href="http://code.google.com/p/struts2-jquery/">Struts2 jQuery Plugin</a>? 

Here is a short example hot to overwrite the handler function for the autocompleter in Struts2 jQuery Plugin.


<div class="wp_syntax"><table><tr><td class="code"><pre class="xml" style="font-family:monospace;">  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;sj:head</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span>
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;script</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;text/javascript&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
  $.struts2_jquery.autocompleter = function($elem, options) {
	alert(&quot;my own autocompleter handler for &quot;+options.id);
  };
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/script<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></td></tr></table></div>


 <img src="http://www.jgeppert.com/?feed-stats-post-id=490" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.jgeppert.com/2011/02/how-to-overwrite-functions-in-struts2-jquery-plugin/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Pie Charts and Grid Grouping with new Struts2 jQuery Plugin 2.5.0</title>
		<link>http://www.jgeppert.com/2010/11/pie-charts-and-grid-grouping-with-new-struts-jquery-plugin-2-5-0/</link>
		<comments>http://www.jgeppert.com/2010/11/pie-charts-and-grid-grouping-with-new-struts-jquery-plugin-2-5-0/#comments</comments>
		<pubDate>Sun, 21 Nov 2010 11:39:26 +0000</pubDate>
		<dc:creator>jogep</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[projekte]]></category>
		<category><![CDATA[Struts jQuery Plugin]]></category>
		<category><![CDATA[struts2]]></category>
		<category><![CDATA[charts]]></category>
		<category><![CDATA[grid]]></category>
		<category><![CDATA[grouping]]></category>
		<category><![CDATA[pie]]></category>

		<guid isPermaLink="false">http://www.jgeppert.com/?p=447</guid>
		<description><![CDATA[The new Version 2.5.0 of Struts2 jQuery Plugin provides a lot of enhancements and bug fixes. The chart module announced with version 2.4.0 is now able to display pie charts and donut charts. Two new examples in the enhanced struts2 jQuery showcase demonstrate how to work with this new chart types. The grid module is [...]]]></description>
				<content:encoded><![CDATA[The new Version 2.5.0 of <a href="http://code.google.com/p/struts2-jquery/">Struts2 jQuery Plugin</a> provides a lot of enhancements and bug fixes.

The chart module announced with <a href="http://www.jgeppert.com/2010/09/whats-new-in-struts2-jquery-plugin-2-4-0/">version 2.4.0</a> is now able to display pie charts and donut charts. Two new examples in the enhanced <a href="http://www.weinfreund.de/struts2-jquery-showcase/index.action">struts2 jQuery showcase</a> demonstrate how to work with this new chart types.

<img src="http://www.jgeppert.com/struts2-jquery/struts2-jquery-charts-pie.png" alt="Struts2 jQuery Plugin - Chart Modul" />

The grid module is now based on latest <a href="http://www.trirand.com/blog/?p=716">jqGrid version 3.8.1</a>. It supports the new grouping feature which is available <a href="http://www.trirand.com/blog/?p=707">since jqGrid 3.8</a>.

<img src="http://www.jgeppert.com/struts2-jquery/struts2-jquery-grid-grouping.png" alt="Struts2 jQuery Plugin - Grid Grouping" />


The <a href="http://code.google.com/p/struts2-jquery/wiki/TabbedPanelTag">Tabbed Panel</a> can now be sortable and the Tab Tag has a new attribute closeable which makes tabs easy closeable.

<img src="http://www.jgeppert.com/struts2-jquery/struts2-jquery-tabs-closable.png" alt="Struts2 jQuery Plugin - Tabbed Panel - Sortable - Closeable" />

Some important jQuery libarieres are updated. The plugin is now based on the <a href="http://blog.jquery.com/2010/10/16/jquery-143-released/">latest jQuery version 1.4.3</a> and <a href="http://blog.jqueryui.com/2010/11/jquery-ui-1-8-6/">jQuery UI 1.8.6</a>. In this release jQuery UI added support for IE 9.

For a complete list of changes since last version, please visit the <a href="http://code.google.com/p/struts2-jquery/wiki/Changelog">Changelog</a>.

Download: <a href="http://code.google.com/p/struts2-jquery/downloads/list">http://code.google.com/p/struts2-jquery/downloads/list</a><br />

Showcase: <a href="http://struts.jgeppert.com/struts2-jquery-showcase/index.action">http://struts.jgeppert.com/struts2-jquery-showcase/</a><br />
Issues: <a href="http://code.google.com/p/struts2-jquery/issues/list">http://code.google.com/p/struts2-jquery/issues/list</a><br />

User Group: <a href="http://groups.google.com/group/struts2-jquery">http://groups.google.com/group/struts2-jquery</a><br />
 <img src="http://www.jgeppert.com/?feed-stats-post-id=447" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.jgeppert.com/2010/11/pie-charts-and-grid-grouping-with-new-struts-jquery-plugin-2-5-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sind Java Frameworks mit Java EE 6 obsolete?</title>
		<link>http://www.jgeppert.com/2010/10/sind-java-frameworks-mit-java-ee-6-obsolete/</link>
		<comments>http://www.jgeppert.com/2010/10/sind-java-frameworks-mit-java-ee-6-obsolete/#comments</comments>
		<pubDate>Mon, 18 Oct 2010 15:09:28 +0000</pubDate>
		<dc:creator>jogep</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[spring]]></category>
		<category><![CDATA[struts2]]></category>
		<category><![CDATA[frameworks]]></category>
		<category><![CDATA[jsf]]></category>
		<category><![CDATA[jsf2]]></category>

		<guid isPermaLink="false">http://www.jgeppert.com/?p=442</guid>
		<description><![CDATA[Matt Raible antwortet in seinem Blog auf die von Cameron McKenzie bei TheServerSide aufgestellte These "Moving from Spring to Java EE 6: The Age of Frameworks is Over" mit einem klaren nein! Interessant fand ich die Aussage das JSF1 und JSF2 meist nur von Buch Autoren, MyFaces Entwicklern oder Java EE Vendors promoted wird, aber [...]]]></description>
				<content:encoded><![CDATA[Matt Raible <a title="RE: Moving from Spring to Java EE 6: The Age of Frameworks is Over" href="http://raibledesigns.com/rd/entry/re_moving_from_spring_to">antwortet in seinem Blog</a> auf die von Cameron McKenzie bei TheServerSide aufgestellte These "<a href="http://www.theserverside.com/discussions/thread.tss?thread_id=61023">Moving from Spring to Java EE 6: The Age of Frameworks is Over</a>" mit einem klaren <strong>nein!</strong>

Interessant fand ich die Aussage das JSF1 und JSF2 meist nur von Buch Autoren, MyFaces Entwicklern oder Java EE Vendors promoted wird, aber die wenigsten Entwickler damit wirklich glücklich sind. Und lieber zu Java Frameworks wie Struts2 oder Spring MVC greifen sollten. Was ich persönlich auch bestätigen kann. <img src="http://www.jgeppert.com/?feed-stats-post-id=442" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.jgeppert.com/2010/10/sind-java-frameworks-mit-java-ee-6-obsolete/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Präsentation für Struts2 Einsteiger</title>
		<link>http://www.jgeppert.com/2010/10/prasentation-fur-struts2-einsteiger/</link>
		<comments>http://www.jgeppert.com/2010/10/prasentation-fur-struts2-einsteiger/#comments</comments>
		<pubDate>Sun, 03 Oct 2010 20:08:10 +0000</pubDate>
		<dc:creator>jogep</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[struts2]]></category>
		<category><![CDATA[präsentation]]></category>

		<guid isPermaLink="false">http://www.jgeppert.com/?p=435</guid>
		<description><![CDATA[Auf seinem Blog hat iThoughts eine deutschsprachige Präsentation zur Verfügung gestellt, die (wie ich finde) einen gelungener Einstieg in die Web Programmierung mit Java und dem Framework Struts2 darstellt. Behandelt werden Themen wie: Warum Java und Warum Struts2? Model View Controller und MVC2 Struktur einer Struts2 Webanwendung Plugins Interceptors Best Practices ... Struts2 Präsentation für [...]]]></description>
				<content:encoded><![CDATA[Auf seinem Blog hat <a href="http://www.ithoughts.de">iThoughts</a> eine deutschsprachige <a href="http://www.ithoughts.de/struts2-prasentation-fur-programmierer">Präsentation</a> zur Verfügung gestellt, die (wie ich finde) einen gelungener Einstieg in die Web Programmierung mit Java und dem Framework Struts2 darstellt.

Behandelt werden Themen wie:
<ul>
	<li>Warum Java und Warum Struts2?</li>
	<li>Model View Controller und MVC2</li>
	<li>Struktur einer Struts2 Webanwendung</li>
	<li>Plugins</li>
	<li>Interceptors</li>
	<li>Best Practices</li>
	<li>...</li>
</ul>

<a href="http://www.ithoughts.de/struts2-prasentation-fur-programmierer"><strong>Struts2 Präsentation für Programmierer</strong></a>

 <img src="http://www.jgeppert.com/?feed-stats-post-id=435" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.jgeppert.com/2010/10/prasentation-fur-struts2-einsteiger/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Whats New in Struts2 jQuery Plugin 2.4.0</title>
		<link>http://www.jgeppert.com/2010/09/whats-new-in-struts2-jquery-plugin-2-4-0/</link>
		<comments>http://www.jgeppert.com/2010/09/whats-new-in-struts2-jquery-plugin-2-4-0/#comments</comments>
		<pubDate>Tue, 07 Sep 2010 09:46:45 +0000</pubDate>
		<dc:creator>jogep</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[projekte]]></category>
		<category><![CDATA[Struts jQuery Plugin]]></category>
		<category><![CDATA[struts2]]></category>
		<category><![CDATA[chart]]></category>
		<category><![CDATA[flot]]></category>
		<category><![CDATA[jqueryui]]></category>
		<category><![CDATA[spinner]]></category>

		<guid isPermaLink="false">http://www.jgeppert.com/?p=419</guid>
		<description><![CDATA[Version 2.4.0 of Struts2 jQuery Plugin is now available with a lot of new features an improvments. Now there exists a new Chart Modul which is based on the popular jquery flot project. The new chart tag renders a chart with data given from a list or an ajax source. Checkout the new examples in [...]]]></description>
				<content:encoded><![CDATA[Version 2.4.0 of <a href="http://code.google.com/p/struts2-jquery/">Struts2 jQuery Plugin</a> is now available with a lot of new features an improvments.

Now there exists a new Chart Modul which is based on the popular <a href="http://code.google.com/p/flot/">jquery flot</a> project. The new <a href="http://code.google.com/p/struts2-jquery/wiki/ChartTag">chart tag</a>  renders a chart with data given from a list or an ajax source. Checkout the new examples in the <a href="http://struts.jgeppert.com/struts2-jquery-showcase/">Showcase (More Widgets)</a>.


<div class="wp_syntax"><table><tr><td class="code"><pre class="html" style="font-family:monospace;">	&lt;h3&gt;Chart with AJAX Data&lt;/h3&gt;
	&lt;s:url id=&quot;chartDataUrl&quot; action=&quot;json-chart-data&quot;/&gt;
    &lt;sjc:chart id=&quot;chartAjax&quot;
    	legendLabelBoxBorderColor=&quot;#990033&quot;
    	legendPosition=&quot;ne&quot;
    	legendShow=&quot;#ccc&quot;
    	cssStyle=&quot;width: 600px; height: 400px;&quot;
    &gt;
    	&lt;sjc:chartdata label=&quot;Map -Double, Double-&quot;
    		href=&quot;%{chartDataUrl}&quot;
    		list=&quot;doubleMap&quot;
    		deferredLoading=&quot;true&quot;
    		reloadTopics=&quot;reloadMap&quot;
    	/&gt;
    	&lt;sjc:chartdata label=&quot;List -ListValue-&quot;
    		href=&quot;%{chartDataUrl}&quot;
    		list=&quot;objList&quot;
    		listKey=&quot;myKey&quot;
    		listValue=&quot;myValue&quot;
    		reloadTopics=&quot;reloadList&quot;
    	/&gt;
    &lt;/sjc:chart&gt;
    &lt;sj:a onClickTopics=&quot;reloadMap&quot; button=&quot;true&quot; buttonIcon=&quot;ui-icon-refresh&quot;&gt;Load/Reload Map&lt;/sj:a&gt;
    &lt;sj:a onClickTopics=&quot;reloadList&quot; button=&quot;true&quot; buttonIcon=&quot;ui-icon-refresh&quot;&gt;Reload List&lt;/sj:a&gt;</pre></td></tr></table></div>



<img src="http://www.jgeppert.com/struts2-jquery/struts2-jquery-charts.png" alt="Struts2 jQuery Plugin - Chart Modul" />

An other new feature is the <a href="http://code.google.com/p/struts2-jquery/wiki/SpinnerTag">spinner tag</a> which renders you a simple but usefully spinner for your forms.


<div class="wp_syntax"><table><tr><td class="code"><pre class="html" style="font-family:monospace;">    &lt;h3&gt;A simple Spinner&lt;/h3&gt;
    &lt;sj:spinner name=&quot;spinner1&quot; id=&quot;spinner1&quot;/&gt;
    &lt;br /&gt;
    &lt;br /&gt;
    &lt;h3&gt;A Spinner max=50 and step=2&lt;/h3&gt;
    &lt;sj:spinner name=&quot;spinner2&quot; 
    	id=&quot;spinner2&quot; 
    	min=&quot;5&quot; 
    	max=&quot;50&quot; 
    	step=&quot;2&quot; 
    	value=&quot;25&quot;/&gt;
    &lt;br /&gt;
    &lt;br /&gt;
    &lt;h3&gt;A Spinner with currency format and mouse wheel support&lt;/h3&gt;
    &lt;sj:spinner name=&quot;spinner3&quot; 
    	id=&quot;spinner3&quot; 
    	min=&quot;0.00&quot; 
    	max=&quot;5.00&quot; 
    	step=&quot;0.15&quot; 
    	value=&quot;2.50&quot; 
    	suffix=&quot;$&quot; 
    	mouseWheel=&quot;true&quot;/&gt;</pre></td></tr></table></div>




<img src="http://www.jgeppert.com/struts2-jquery/struts2-jquery-spinner.png" alt="Struts2 jQuery Plugin - Spinner Tag" />

With this version it is also possible to generate your action messages in jquery UI style, dependend on your theme.


<div class="wp_syntax"><table><tr><td class="code"><pre class="html" style="font-family:monospace;">		&lt;h3&gt;Action Error&lt;/h3&gt;
		&lt;s:actionerror theme=&quot;jquery&quot;/&gt;
		&lt;br /&gt;
		&lt;h3&gt;Action Message&lt;/h3&gt;
		&lt;s:actionmessage theme=&quot;jquery&quot;/&gt;
		&lt;br /&gt;
		&lt;h3&gt;Field Errors&lt;/h3&gt;
		&lt;s:fielderror theme=&quot;jquery&quot;/&gt;</pre></td></tr></table></div>




<img src="http://www.jgeppert.com/struts2-jquery/struts2-jquery-messages.png" alt="Struts2 jQuery Plugin - Action Messages" />

jQuery UI is now based on the last <a href="http://blog.jqueryui.com/2010/08/jquery-ui-1-8-4/">stable version 1.8.4</a> with a lot of bugfixes. When using an own theme, it is recommended to create or update the theme with the themeroller. Also the ckeditor is updated to <a href="http://ckeditor.com/blog/CKEditor_3.4_released">new version 3.4</a> with some new plugins and some bugfixes.

For a complete list of changes since last version, please visit the <a href="http://code.google.com/p/struts2-jquery/wiki/Changelog">Changelog</a>.


Download: <a href="http://code.google.com/p/struts2-jquery/downloads/list">http://code.google.com/p/struts2-jquery/downloads/list</a><br/>
Showcase: <a href="http://struts.jgeppert.com/struts2-jquery-showcase/index.action">http://struts.jgeppert.com/struts2-jquery-showcase/</a><br/>
Issues: <a href="http://code.google.com/p/struts2-jquery/issues/list">http://code.google.com/p/struts2-jquery/issues/list</a><br/>
User Group: <a href="http://groups.google.com/group/struts2-jquery">http://groups.google.com/group/struts2-jquery</a><br/>
 <img src="http://www.jgeppert.com/?feed-stats-post-id=419" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.jgeppert.com/2010/09/whats-new-in-struts2-jquery-plugin-2-4-0/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Version 2.3.0 of Struts2 jQuery Plugin now with support for Tinymce</title>
		<link>http://www.jgeppert.com/2010/07/version-2-3-0-of-struts2-jquery-plugin-now-with-support-for-tinymce/</link>
		<comments>http://www.jgeppert.com/2010/07/version-2-3-0-of-struts2-jquery-plugin-now-with-support-for-tinymce/#comments</comments>
		<pubDate>Mon, 12 Jul 2010 18:59:52 +0000</pubDate>
		<dc:creator>jogep</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[projekte]]></category>
		<category><![CDATA[Struts jQuery Plugin]]></category>
		<category><![CDATA[struts2]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[jqueryui]]></category>
		<category><![CDATA[richtext]]></category>
		<category><![CDATA[tinymce]]></category>
		<category><![CDATA[widgets]]></category>

		<guid isPermaLink="false">http://www.jgeppert.com/?p=405</guid>
		<description><![CDATA[Version 2.3.0 of <a href="http://code.google.com/p/struts2-jquery/">Struts2 jQuery Plugin</a> is out now. This version brings an easy support for the <a href="http://tinymce.moxiecode.com/">Tinymce WYSIWYG Editor</a> to you.]]></description>
				<content:encoded><![CDATA[Version 2.3.0 of <a href="http://code.google.com/p/struts2-jquery/">Struts2 jQuery Plugin</a> is out now. This version brings an easy support for the <a href="http://tinymce.moxiecode.com/">Tinymce WYSIWYG Editor</a> to you. 

To use the Tinymce Editor feature you need to copy the <strong>struts2-jquery-richtext-plugin.jar</strong> into your WEB-INF/lib path.


<div class="wp_syntax"><table><tr><td class="code"><pre class="html" style="font-family:monospace;">&lt; %@ taglib prefix=&quot;sjr&quot; uri=&quot;/struts-jquery-richtext-tags&quot;%&gt;
&lt;sjr:tinymce id=&quot;richtextTinymceEditor&quot; 
	name=&quot;echo&quot; 
	rows=&quot;10&quot; 
	cols=&quot;80&quot; 
	width=&quot;800&quot;
	editorTheme=&quot;simple&quot;
/&gt;</pre></td></tr></table></div>




Another change is the upgrade from jqGrid 3.6.5 to the latest <a href="http://www.trirand.com/blog/?p=678">version 3.7.2</a> which brings various improvements like new locals and advanced local search and bug fixes  for the grid feature to you. To see more details about the new jqGrid version read the <a href="http://www.trirand.com/jqgridwiki/doku.php?id=wiki:change#jqgrid_3.7.2_changes_and_fixes">jqGrid changelog</a>.

Also it solves an important <a href="http://code.google.com/p/struts2-jquery/issues/detail?id=133">Bug with the AJAX Validation Feature</a>. For a complete List of changes since Version 2.2.0 please visit the <a href="http://code.google.com/p/struts2-jquery/wiki/Changelog">Changelog</a>.


Download: <a href="http://code.google.com/p/struts2-jquery/downloads/list">http://code.google.com/p/struts2-jquery/downloads/list</a><br/>
Showcase: <a href="http://struts.jgeppert.com/struts2-jquery-showcase/index.action">http://struts.jgeppert.com/struts2-jquery-showcase/</a><br/>
Issues: <a href="http://code.google.com/p/struts2-jquery/issues/list">http://code.google.com/p/struts2-jquery/issues/list</a><br/>
User Group: <a href="http://groups.google.com/group/struts2-jquery">http://groups.google.com/group/struts2-jquery</a><br/>


 <img src="http://www.jgeppert.com/?feed-stats-post-id=405" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.jgeppert.com/2010/07/version-2-3-0-of-struts2-jquery-plugin-now-with-support-for-tinymce/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Java 4-Ever &#8211; Witziges Video .NET vs. Java</title>
		<link>http://www.jgeppert.com/2010/07/java-4-ever-witziges-video-net-vs-java/</link>
		<comments>http://www.jgeppert.com/2010/07/java-4-ever-witziges-video-net-vs-java/#comments</comments>
		<pubDate>Fri, 02 Jul 2010 11:21:29 +0000</pubDate>
		<dc:creator>jogep</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[witze]]></category>
		<category><![CDATA[javazone]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://www.jgeppert.com/?p=402</guid>
		<description><![CDATA[A great promotional video for JavaZone 2010.]]></description>
				<content:encoded><![CDATA[A great promotional video for <a href="http://jz10.java.no/">JavaZone 2010</a>.<iframe class='youtube-player youtuber' type='text/html' width='425' height='355' src='http://www.youtube.com/embed/yl1f1-Da0OI?rel=0&amp;fs=1' webkitAllowFullScreen mozallowfullscreen allowFullScreen frameborder='0'></iframe><img src="http://www.jgeppert.com/?feed-stats-post-id=402" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.jgeppert.com/2010/07/java-4-ever-witziges-video-net-vs-java/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Version 2.2.0 of Struts2 jQuery Plugin is now available</title>
		<link>http://www.jgeppert.com/2010/06/version-2-2-0-of-struts2-jquery-plugin-is-now-available/</link>
		<comments>http://www.jgeppert.com/2010/06/version-2-2-0-of-struts2-jquery-plugin-is-now-available/#comments</comments>
		<pubDate>Mon, 07 Jun 2010 19:55:17 +0000</pubDate>
		<dc:creator>jogep</dc:creator>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[projekte]]></category>
		<category><![CDATA[Struts jQuery Plugin]]></category>
		<category><![CDATA[struts2]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[ckeditor]]></category>
		<category><![CDATA[dojo]]></category>
		<category><![CDATA[grid]]></category>
		<category><![CDATA[jqgrid]]></category>
		<category><![CDATA[jqueryui]]></category>
		<category><![CDATA[richtext]]></category>
		<category><![CDATA[widgets]]></category>

		<guid isPermaLink="false">http://www.jgeppert.com/?p=395</guid>
		<description><![CDATA[Version 2.2.0 of Struts2 jQuery Plugin is out now. The new Version is Based on latest jQuery UI 1.8.2, see Changelog for more Detail about this version. Changes since Version 2.1.0: Upgrade to jQuery UI 1.8.2 Upgrade to jqGrid 3.6.5 Solve &#160;Issue 154&#160;: load from google cdn does not work for jquery ui themes Solve [...]]]></description>
				<content:encoded><![CDATA[Version 2.2.0 of <a href="http://code.google.com/p/struts2-jquery/">Struts2 jQuery Plugin</a> is out now. The new Version is Based on <a href="http://blog.jqueryui.com/2010/06/jquery-ui-182/">latest jQuery UI 1.8.2</a>, see Changelog for more Detail about this version.


<strong>Changes since Version 2.1.0:</strong>

<ul>
<li>Upgrade to jQuery UI 1.8.2</li>
<li>Upgrade to jqGrid 3.6.5</li>
<li>Solve <a title="load from google cdn does not work for jquery ui themes" class="closed_ref" href="http://code.google.com/p/struts2-jquery/issues/detail?id=154">&nbsp;Issue 154&nbsp;</a>: load from google cdn does not work for jquery ui themes </li>
<li>Solve <a title="Default Loading Text" href="http://code.google.com/p/struts2-jquery/issues/detail?id=155">Issue 155</a>: Default Loading Text </li>
<li>Solve <a title="onSelectAll topics" href="http://code.google.com/p/struts2-jquery/issues/detail?id=156">Issue 156</a>: onSelectAll topics </li>
<li>Solve <a title="useSelectedTabCookies in tabbedpanel broken in 2.1.0" class="closed_ref" href="http://code.google.com/p/struts2-jquery/issues/detail?id=157">&nbsp;Issue 157&nbsp;</a>: useSelectedTabCookies in tabbedpanel broken in 2.1.0 </li>
<li>Solve <a title="Select options vanish when re-entering the page" class="closed_ref" href="http://code.google.com/p/struts2-jquery/issues/detail?id=161">&nbsp;Issue 161&nbsp;</a>: Select options vanish when re-entering the page </li>
<li>Solve <a title="Struts2-jquery-plugin not recognizing tag in jsp page" class="closed_ref" href="http://code.google.com/p/struts2-jquery/issues/detail?id=170">&nbsp;Issue 170&nbsp;</a>: Struts2-jquery-plugin not recognizing tag in jsp page </li>
<li>Solve <a title="sj:accordion autoHeight does not work" class="closed_ref" href="http://code.google.com/p/struts2-jquery/issues/detail?id=171">&nbsp;Issue 171&nbsp;</a>: sj:accordion autoHeight does not work </li>
<li>Solve <a title="Autcompleter input textfield width should be configurable" class="closed_ref" href="http://code.google.com/p/struts2-jquery/issues/detail?id=176">&nbsp;Issue 176&nbsp;</a>: Autcompleter input textfield width should be configurable </li>
<li>Solve <a title="Nested tab didn't work" href="http://code.google.com/p/struts2-jquery/issues/detail?id=179">Issue 179</a>: Nested tab didn't work </li>
<li>Solve <a title="loadingText doesn't appear to have any effect with jqgrid plugin" href="http://code.google.com/p/struts2-jquery/issues/detail?id=184">Issue 184</a>: loadingText doesn't appear to have any effect with jqgrid plugin </li>
<li>Solve <a title="attributes hidegrid, hoverrows and shrinkToFit in grid tag can not be set to false" href="http://code.google.com/p/struts2-jquery/issues/detail?id=185">Issue 185</a>: attributes hidegrid, hoverrows and shrinkToFit in grid tag can not be set to false </li>
<li>Solve <a title="how to submit a  form while loading grid?" href="http://code.google.com/p/struts2-jquery/issues/detail?id=186">Issue 186</a>: how to submit a form while loading grid? </li>
<li>Solve <a title="Some locales does not work, particularly &quot;fr&quot;" href="http://code.google.com/p/struts2-jquery/issues/detail?id=188">Issue 188</a>: Some locales does not work, particularly "fr" </li>
<li>Solve <a title="Add Head Tag attribute 'compatibility' for an jQuery 1.3 compatibility mode" href="http://code.google.com/p/struts2-jquery/issues/detail?id=190">Issue 190</a>: Add Head Tag attribute 'compatibility' for an jQuery 1.3 compatibility mode </li>
<li>Solve <a title="deferred loading of dynamic elements  " href="http://code.google.com/p/struts2-jquery/issues/detail?id=191">Issue 191</a>: deferred loading of dynamic elements  </li>
<li>Solve <a title="Default Error Text" href="http://code.google.com/p/struts2-jquery/issues/detail?id=192">Issue 192</a>: Default Error Text </li>
<li>Solve <a title="Using base tag with sj:a causes page to reload" href="http://code.google.com/p/struts2-jquery/issues/detail?id=193">Issue 193</a>: Using base tag with sj:a causes page to reload </li>
</ul>

Download: <a href="http://code.google.com/p/struts2-jquery/downloads/list">http://code.google.com/p/struts2-jquery/downloads/list</a><br/>
Showcase: <a href="http://struts.jgeppert.com/struts2-jquery-showcase/index.action">http://struts.jgeppert.com/struts2-jquery-showcase/</a><br/>
Issues: <a href="http://code.google.com/p/struts2-jquery/issues/list">http://code.google.com/p/struts2-jquery/issues/list</a><br/>
User Group: <a href="http://groups.google.com/group/struts2-jquery">http://groups.google.com/group/struts2-jquery</a><br/>

 <img src="http://www.jgeppert.com/?feed-stats-post-id=395" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.jgeppert.com/2010/06/version-2-2-0-of-struts2-jquery-plugin-is-now-available/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to parse a JSON Object when using multiSearch for jqGrid with Java</title>
		<link>http://www.jgeppert.com/2010/06/how-to-parse-a-json-object-when-using-multisearch-for-jqgrid-with-java/</link>
		<comments>http://www.jgeppert.com/2010/06/how-to-parse-a-json-object-when-using-multisearch-for-jqgrid-with-java/#comments</comments>
		<pubDate>Sat, 05 Jun 2010 22:42:45 +0000</pubDate>
		<dc:creator>jogep</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[json]]></category>
		<category><![CDATA[Struts jQuery Plugin]]></category>
		<category><![CDATA[struts2]]></category>
		<category><![CDATA[jqgrid]]></category>
		<category><![CDATA[JSON]]></category>
		<category><![CDATA[JSONObject]]></category>
		<category><![CDATA[multiSearch]]></category>
		<category><![CDATA[parse]]></category>

		<guid isPermaLink="false">http://www.jgeppert.com/?p=382</guid>
		<description><![CDATA[This is a tutorial that shows how to handle a JSON Object that is received in a Struts2 Action. This Example is based on the Struts2 Grid Showcase for the Struts2 jQuery Plugin with Grid Extension. 1. First we need to enable the Multi Search Feature for the Grid Component. &#60; sjg :grid id=&#34;customerstable&#34; ... [...]]]></description>
				<content:encoded><![CDATA[This is a tutorial that shows how to handle a JSON Object that is received in a <a href="http://struts.apache.org/2.x/">Struts2</a> Action. This Example is based on the <a href="http://www.weinfreund.de/struts2-jquery-grid-showcase/index.action">Struts2 Grid Showcase</a> for the <a href="http://code.google.com/p/struts2-jquery/">Struts2 jQuery Plugin</a> with Grid Extension.

1. First we need to enable the Multi Search Feature for the Grid Component.


<div class="wp_syntax"><table><tr><td class="code"><pre class="html" style="font-family:monospace;">&lt; sjg :grid 
	id=&quot;customerstable&quot; 
	...
	navigatorSearch=&quot;true&quot;
	navigatorSearchOptions=&quot;{multipleSearch:true}&quot;
	...
&gt;</pre></td></tr></table></div>


 

Now we can use the multiple search feature like this.

<img src="http://www.jgeppert.com/struts2-jquery/jqgrid_multiple_search.jpg" alt="struts2 jquery grid with multiple search" />

2.) After this we need a String property <strong>filter</strong> in our Struts2 Action.


<div class="wp_syntax"><table><tr><td class="code"><pre class="java" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">private</span> <span style="color: #003399;">String</span> filters<span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000066; font-weight: bold;">void</span> setFilters<span style="color: #009900;">&#40;</span><span style="color: #003399;">String</span> filters<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">this</span>.<span style="color: #006633;">filters</span> <span style="color: #339933;">=</span> filters<span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>


 

3.) Now we receive a JSON Object when we use the Search in the Navigator of the Grid. The JSON looks like this example.


<div class="wp_syntax"><table><tr><td class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #009900;">&#123;</span>
	<span style="color: #3366CC;">&quot;groupOp&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;AND&quot;</span><span style="color: #339933;">,</span>
	<span style="color: #3366CC;">&quot;rules&quot;</span><span style="color: #339933;">:</span><span style="color: #009900;">&#91;</span>
		<span style="color: #009900;">&#123;</span>
			<span style="color: #3366CC;">&quot;field&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;customernumber&quot;</span><span style="color: #339933;">,</span>
			<span style="color: #3366CC;">&quot;op&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;lt&quot;</span><span style="color: #339933;">,</span>
			<span style="color: #3366CC;">&quot;data&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;200&quot;</span>
		<span style="color: #009900;">&#125;</span>
		<span style="color: #339933;">,</span>
		<span style="color: #009900;">&#123;</span>
			<span style="color: #3366CC;">&quot;field&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;country&quot;</span><span style="color: #339933;">,</span>
			<span style="color: #3366CC;">&quot;op&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;eq&quot;</span><span style="color: #339933;">,</span>
			<span style="color: #3366CC;">&quot;data&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;USA&quot;</span>
		<span style="color: #009900;">&#125;</span>
		<span style="color: #009900;">&#93;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>




4.) To work with this, we need to serialize this as a JSONObject.


<div class="wp_syntax"><table><tr><td class="code"><pre class="java" style="font-family:monospace;">JSONObject jsonFilter <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span>JSONObject<span style="color: #009900;">&#41;</span> JSONSerializer.<span style="color: #006633;">toJSON</span><span style="color: #009900;">&#40;</span> filters <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>




5.) Now we can get the value from the JSON Object. First we get the parameter groupOp.


<div class="wp_syntax"><table><tr><td class="code"><pre class="java" style="font-family:monospace;"><span style="color: #003399;">String</span> groupOp <span style="color: #339933;">=</span> jsonFilter.<span style="color: #006633;">getString</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;groupOp&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
log.<span style="color: #006633;">debug</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;groupOp :&quot;</span> <span style="color: #339933;">+</span> groupOp<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>




6.) Now we need the rules as JSONArray and the size of this array.


<div class="wp_syntax"><table><tr><td class="code"><pre class="java" style="font-family:monospace;">JSONArray rules <span style="color: #339933;">=</span> jsonFilter.<span style="color: #006633;">getJSONArray</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;rules&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000066; font-weight: bold;">int</span> rulesCount <span style="color: #339933;">=</span> JSONArray.<span style="color: #006633;">getDimensions</span><span style="color: #009900;">&#40;</span>rules<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
log.<span style="color: #006633;">debug</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Count Rules :&quot;</span> <span style="color: #339933;">+</span> rulesCount<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>




7.) In a simple for-loop we can get the values of the rule.


<div class="wp_syntax"><table><tr><td class="code"><pre class="java" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">for</span> <span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">int</span> i <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span> i <span style="color: #339933;">&lt;</span> rulesCount<span style="color: #339933;">;</span> i<span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	JSONObject rule <span style="color: #339933;">=</span> rules.<span style="color: #006633;">getJSONObject</span><span style="color: #009900;">&#40;</span>i<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	log.<span style="color: #006633;">debug</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;field :&quot;</span> <span style="color: #339933;">+</span> rule.<span style="color: #006633;">getString</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;field&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	log.<span style="color: #006633;">debug</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;op :&quot;</span> <span style="color: #339933;">+</span> rule.<span style="color: #006633;">getString</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;op&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	log.<span style="color: #006633;">debug</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;data :&quot;</span> <span style="color: #339933;">+</span> rule.<span style="color: #006633;">getString</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;data&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>




Now you should be able to use this values to build a custom SQL 
query or build an hibernate criteria.</pre> <img src="http://www.jgeppert.com/?feed-stats-post-id=382" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.jgeppert.com/2010/06/how-to-parse-a-json-object-when-using-multisearch-for-jqgrid-with-java/feed/</wfw:commentRss>
		<slash:comments>23</slash:comments>
		</item>
		<item>
		<title>Struts2 jQuery Plugin Version 2.1.0 is released</title>
		<link>http://www.jgeppert.com/2010/05/struts2-jquery-plugin-version-2-1-0-is-released/</link>
		<comments>http://www.jgeppert.com/2010/05/struts2-jquery-plugin-version-2-1-0-is-released/#comments</comments>
		<pubDate>Sat, 01 May 2010 20:09:51 +0000</pubDate>
		<dc:creator>jogep</dc:creator>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[projekte]]></category>
		<category><![CDATA[Struts jQuery Plugin]]></category>
		<category><![CDATA[struts2]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[ckeditor]]></category>
		<category><![CDATA[integration]]></category>
		<category><![CDATA[jqgrid]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[richtext]]></category>
		<category><![CDATA[widgets]]></category>

		<guid isPermaLink="false">http://www.jgeppert.com/?p=369</guid>
		<description><![CDATA[The new version 2.1.0 of Struts2 jQuery Plugin is released. With this new version, the plugin loads dependent JavaScript files on demand. This feature makes the plugin much better extensible for own extensions and  reduces the initial load of the first load of a page. Based on the new structure of the plugin the jqGrid [...]]]></description>
				<content:encoded><![CDATA[The new version 2.1.0 of <a href="http://code.google.com/p/struts2-jquery/">Struts2 jQuery Plugin</a> is released. With this new version, the plugin loads dependent JavaScript files on demand. This feature makes the plugin much better extensible for own extensions and  reduces the initial load of the first load of a page.

Based on the new structure of the plugin the jqGrid Feature is not longer a part of the core plugin. It is now available as a separate extension of the plugin.

There is also a new richtext extension available, that is based on the <a href="http://ckeditor.com/blog/CKEditor_3.2.1_released">latest version of popular CKEditor</a>. This allows an  easy integration of the richtext editor in your web application.

The Plugin includes now the latest version of <a href="http://jqueryui.com/">jQuery UI 1.8.1</a>, so if you use a custom theme it is recommended to update this in the <a href="http://jqueryui.com/themeroller/">ThemeRoller</a>. For more informations and the changelog for 1.8.1 please read <a href="http://blog.jqueryui.com/2010/05/jquery-ui-181/">the blog post from jQuery UI</a>.

<strong>Changelog:</strong>

<ul>
<li>Upgrade to jQuery UI 1.8.1 </li>
<li>Head Tag attribute jqueryui is now true by default </li>
<li>various new examples in the showcase </li>
<li>The grid showcase is now a maven modul and part of the release cycle </li>
<li>Solve <a title="Grid Sample not working properly in IE" class="closed_ref" href="http://code.google.com/p/struts2-jquery/issues/detail?id=77">&nbsp;Issue 77&nbsp;</a>: Grid Sample not working properly in IE </li>
<li>Solve <a title="customBasepath doesn't affect the .js path" class="closed_ref" href="http://code.google.com/p/struts2-jquery/issues/detail?id=94">&nbsp;Issue 94&nbsp;</a>: customBasepath doesn't affect the .js path </li>
<li>Solve <a title="Load needed JavaScript and CSS resources on demand" class="closed_ref" href="http://code.google.com/p/struts2-jquery/issues/detail?id=113">&nbsp;Issue 113&nbsp;</a>: Load needed JavaScript<a href="http://code.google.com/p/struts2-jquery/w/edit/JavaScript">?</a> and CSS resources on demand </li>
<li>Solve <a title="Support for new replaceTarget Option in form plugin" class="closed_ref" href="http://code.google.com/p/struts2-jquery/issues/detail?id=114">&nbsp;Issue 114&nbsp;</a>: Support for new replaceTarget Option in form plugin </li>
<li>Solve <a title="Grid with locale code ca(catalan) doesn't work. jQuery and grid difers at the name of the catalan locale(ca-cat)" class="closed_ref" href="http://code.google.com/p/struts2-jquery/issues/detail?id=115">&nbsp;Issue 115&nbsp;</a>: Grid with locale code ca(catalan) doesn't work. jQuery and grid difers at the name of the catalan locale(ca-cat) </li>
<li>Solve <a title="pepper-grinder theme" class="closed_ref" href="http://code.google.com/p/struts2-jquery/issues/detail?id=116">&nbsp;Issue 116&nbsp;</a>: pepper-grinder theme </li>
<li>Solve <a title="Implement an debug mode " class="closed_ref" href="http://code.google.com/p/struts2-jquery/issues/detail?id=123">&nbsp;Issue 123&nbsp;</a>: Implement an debug mode  </li>
<li>Solve <a title="Make it possible to easy extend this plugin for custome extensions" class="closed_ref" href="http://code.google.com/p/struts2-jquery/issues/detail?id=124">&nbsp;Issue 124&nbsp;</a>: Make it possible to easy extend this plugin for custome extensions </li>
<li>Solve <a title="Dialog cannot set position with array of String or Pixel" class="closed_ref" href="http://code.google.com/p/struts2-jquery/issues/detail?id=125">&nbsp;Issue 125&nbsp;</a>: Dialog cannot set position with array of String or Pixel </li>
<li>Solve <a title="drag and drop grid rows" class="closed_ref" href="http://code.google.com/p/struts2-jquery/issues/detail?id=126">&nbsp;Issue 126&nbsp;</a>: drag and drop grid rows </li>
<li>Solve <a title="onChangeTopics not working for textarea and textfield." class="closed_ref" href="http://code.google.com/p/struts2-jquery/issues/detail?id=127">&nbsp;Issue 127&nbsp;</a>: onChangeTopics not working for textarea and textfield. </li>
<li>Solve <a title="onChangeTopics with &lt;sj:checkboxlist&gt;" class="closed_ref" href="http://code.google.com/p/struts2-jquery/issues/detail?id=128">&nbsp;Issue 128&nbsp;</a>: onChangeTopics with &lt;sj:checkboxlist&gt; </li>
<li>Solve <a title="Add Showcase Example how to extend the plugin with custome functions" class="closed_ref" href="http://code.google.com/p/struts2-jquery/issues/detail?id=130">&nbsp;Issue 130&nbsp;</a>: Add Showcase Example how to extend the plugin with custome functions </li>
<li>Solve <a title="Add a Richtext Editor Widget to the plugin" class="closed_ref" href="http://code.google.com/p/struts2-jquery/issues/detail?id=131">&nbsp;Issue 131&nbsp;</a>: Add a Richtext Editor Widget to the plugin </li>
<li>Solve <a title="Scrolling does not work properly" class="closed_ref" href="http://code.google.com/p/struts2-jquery/issues/detail?id=132">&nbsp;Issue 132&nbsp;</a>: Scrolling does not work properly </li>
<li>Solve <a title="Move Grid Feature in seperate struts2-jquery-grid-plugin" class="closed_ref" href="http://code.google.com/p/struts2-jquery/issues/detail?id=134">&nbsp;Issue 134&nbsp;</a>: Move Grid Feature in seperate struts2-jquery-grid-plugin </li>
<li>Solve <a title="Enable Maven Support for Grid Showcase" class="closed_ref" href="http://code.google.com/p/struts2-jquery/issues/detail?id=135">&nbsp;Issue 135&nbsp;</a>: Enable Maven Support for Grid Showcase </li>
<li>Solve <a title="Upgrade to jQuery UI 1.8.1" class="closed_ref" href="http://code.google.com/p/struts2-jquery/issues/detail?id=138">&nbsp;Issue 138&nbsp;</a>: Upgrade to jQuery UI 1.8.1 </li>
<li>Solve <a title="attribute parentTheme does not work well with css_xhtml theme" class="closed_ref" href="http://code.google.com/p/struts2-jquery/issues/detail?id=139">&nbsp;Issue 139&nbsp;</a>: attribute parentTheme does not work well with css_xhtml theme </li>
<li>Solve <a title="Override the param names" class="closed_ref" href="http://code.google.com/p/struts2-jquery/issues/detail?id=141">&nbsp;Issue 141&nbsp;</a>: Override the param names </li>
<li>Solve <a title="&lt;sj:dialog&gt; makes multiple AJAX calls" class="closed_ref" href="http://code.google.com/p/struts2-jquery/issues/detail?id=146">&nbsp;Issue 146&nbsp;</a>: &lt;sj:dialog&gt; makes multiple AJAX calls </li>
<li>Solve <a title="Sortable grid option not working" href="http://code.google.com/p/struts2-jquery/issues/detail?id=148">Issue 148</a>: Sortable grid option not working </li>
</ul>

Download: <a href="http://code.google.com/p/struts2-jquery/downloads/list">http://code.google.com/p/struts2-jquery/downloads/list</a><br/>
Showcase: <a href="http://struts.jgeppert.com/struts2-jquery-showcase/index.action">http://struts.jgeppert.com/struts2-jquery-showcase/</a><br/>
Issues: <a href="http://code.google.com/p/struts2-jquery/issues/list">http://code.google.com/p/struts2-jquery/issues/list</a><br/>
User Group: <a href="http://groups.google.com/group/struts2-jquery">http://groups.google.com/group/struts2-jquery</a><br/> <img src="http://www.jgeppert.com/?feed-stats-post-id=369" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.jgeppert.com/2010/05/struts2-jquery-plugin-version-2-1-0-is-released/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Struts2 jQuery Plugin Version 2.0.0 is now available</title>
		<link>http://www.jgeppert.com/2010/03/struts2-jquery-plugin-version-2-0-0-is-now-available/</link>
		<comments>http://www.jgeppert.com/2010/03/struts2-jquery-plugin-version-2-0-0-is-now-available/#comments</comments>
		<pubDate>Mon, 22 Mar 2010 07:47:02 +0000</pubDate>
		<dc:creator>jogep</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[projekte]]></category>
		<category><![CDATA[Struts jQuery Plugin]]></category>
		<category><![CDATA[struts2]]></category>
		<category><![CDATA[autocompleter]]></category>
		<category><![CDATA[form validation]]></category>
		<category><![CDATA[plugin]]></category>

		<guid isPermaLink="false">http://www.jgeppert.com/?p=356</guid>
		<description><![CDATA[The new version 2.0.0 of Struts2 jQuery Plugin is released and brings many Enhancements, like new jQuery UI Widgets, support for Form Validation and Bug Fixes to you. The Plugin is now based on the latest versions of JavaScript Framework jQuery 1.4.2 and jQuery UI 1.8. Changelog: Upgrade to jQuery 1.4.2 ( Issue 91 ) [...]]]></description>
				<content:encoded><![CDATA[The new version 2.0.0 of <a href="http://code.google.com/p/struts2-jquery/">Struts2 jQuery Plugin</a> is released and brings many Enhancements, like new jQuery UI Widgets, support for Form Validation and Bug Fixes to you. The Plugin is now based on the latest versions of JavaScript Framework <a href="http://blog.jquery.com/2010/02/19/jquery-142-released/">jQuery 1.4.2</a> and <a href="http://blog.jqueryui.com/2010/03/jquery-ui-18rc3/"> jQuery UI 1.8</a>.

Changelog:

<ul>
	<li>Upgrade to jQuery 1.4.2 ( <a title="Using jQuery 1.4.2" href="http://code.google.com/p/struts2-jquery/issues/detail?id=91">Issue 91</a> ) </li>
	<li>Upgrade to jQuery UI 1.8.0 </li>
	<li>Upgrade to <a href="http://www.trirand.com/blog/wp-trackback.php?p=629">jqGrid 3.6.4</a></li>
	<li>Upgrade to jQuery Form Plugin 2.43 </li>
	<li>Implement an <a href="http://code.google.com/p/struts2-jquery/wiki/AutocompleterTag">Autocompleter</a> ( <a title="AutoCompleter" href="http://code.google.com/p/struts2-jquery/issues/detail?id=10">Issue 10</a> ) </li>
	<li>Implement an Radiomap as jQuery UI <a href="http://code.google.com/p/struts2-jquery/wiki/Buttonset">Buttonset</a> </li>
	<li>Implement an CheckboxList as jQuery UI <a href="http://code.google.com/p/struts2-jquery/wiki/Buttonset">Buttonset</a> </li>
	<li>Support for Form <a href="http://code.google.com/p/struts2-jquery/wiki/Validation">Validation</a>  </li>
	<li>Support for new <a href="http://code.google.com/p/struts2-jquery/wiki/Button">jQuery UI Button</a> Widget </li>
	<li>Include all offical jQuery UI Themes </li>
	<li>New Showcase Example how to handle JSON Results  </li>
	<li>New Showcase Example how to build accordion manually  </li>
	<li>New Showcase Examples for <a href="http://code.google.com/p/struts2-jquery/wiki/AutocompleterTag">Autocompleter</a>  </li>
	<li>New Showcase Examples for AJAX Client Form <a href="http://code.google.com/p/struts2-jquery/wiki/Validation">Validation</a>  </li>
	<li>Complete <a title="Enable Sonatype Nexus OSS repository deployment for Maven central repository sync" class="closed_ref" href="http://code.google.com/p/struts2-jquery/issues/detail?id=102">&nbsp;Issue 102&nbsp;</a>: Enable Sonatype Nexus OSS repository deployment for Maven central repository sync </li>
	<li>Complete <a title="Move source to a Maven multi module setup" class="closed_ref" href="http://code.google.com/p/struts2-jquery/issues/detail?id=104">&nbsp;Issue 104&nbsp;</a>: Move source to a Maven multi module setup </li>
	<li>Fix <a title="Build accordion manually" href="http://code.google.com/p/struts2-jquery/issues/detail?id=65">Issue 65</a>: Build accordion manually   </li>
	<li>Fix <a title="Add Size Parameter for select tag" href="http://code.google.com/p/struts2-jquery/issues/detail?id=80">Issue 80</a>: Add Size Parameter for select tag </li>
	<li>Fix <a title="JavaScript Error when parent form has no id" href="http://code.google.com/p/struts2-jquery/issues/detail?id=84">Issue 84</a>: JavaScript Error when parent form has no id </li>
	<li>Fix <a title="onRowSelectTopcs only published when editurl is used" href="http://code.google.com/p/struts2-jquery/issues/detail?id=86">Issue 86</a>: onRowSelectTopcs only published when editurl is used   </li>
	<li>Fix <a title="&lt;s:url&gt; + formId in &lt;sj:div&gt; bug with first form field" class="closed_ref" href="http://code.google.com/p/struts2-jquery/issues/detail?id=88">&nbsp;Issue 88&nbsp;</a>: &lt;s:url&gt; + formId in &lt;sj:div&gt; bug with first form field </li>
	<li>Fix <a title="&lt;sj:submit&gt; do not notify topics" class="closed_ref" href="http://code.google.com/p/struts2-jquery/issues/detail?id=89">&nbsp;Issue 89&nbsp;</a>: &lt;sj:submit&gt; do not notify topics </li>
	<li>Fix <a title="&lt;sj:submit&gt; with &quot;onBeforeTopics&quot; without ajax submit" class="closed_ref" href="http://code.google.com/p/struts2-jquery/issues/detail?id=90">&nbsp;Issue 90&nbsp;</a>: &lt;sj:submit&gt; with "onBeforeTopics" without ajax submit </li>
	<li>Fix <a title="datepicker locale should use the struts current locale" href="http://code.google.com/p/struts2-jquery/issues/detail?id=95">Issue 95</a>: datepicker locale should use the struts current locale   </li>
	<li>Fix <a title="FormFilter Attribute on SubmitTag" href="http://code.google.com/p/struts2-jquery/issues/detail?id=97">Issue 97</a>: FormFilter Attribute on <a href="http://code.google.com/p/struts2-jquery/wiki/SubmitTag">SubmitTag</a>    </li>
	<li>Fix <a title="onAlwaysTopics but in sj:submit and sj:a" href="http://code.google.com/p/struts2-jquery/issues/detail?id=98">Issue 98</a>: onAlwaysTopics but in sj:submit and sj:a   </li>
	<li>Fix <a title="&quot;Multiple&quot; attribute in sj:select tag " href="http://code.google.com/p/struts2-jquery/issues/detail?id=106">Issue 106</a>: "Multiple" attribute in sj:select tag    </li>
	<li>Fix <a title="value attribute in select tag has no effect" href="http://code.google.com/p/struts2-jquery/issues/detail?id=107">Issue 107</a>: value attribute in select tag has no effect    </li>
	<li>Fix <a title="how to set #sjdialog with query string dynamically" href="http://code.google.com/p/struts2-jquery/issues/detail?id=108">Issue 108</a>: how to set #sjdialog with query string dynamically    </li>
	<li>Fix <a title="add attributes for alternate rows in the grid tag" href="http://code.google.com/p/struts2-jquery/issues/detail?id=112">Issue 112</a>: add attributes for alternate rows in the grid tag     </li>
	</ul>

Download: <a href="http://code.google.com/p/struts2-jquery/downloads/list">http://code.google.com/p/struts2-jquery/downloads/list</a><br/>
Showcase: <a href="http://struts.jgeppert.com/struts2-jquery-showcase/index.action">http://struts.jgeppert.com/struts2-jquery-showcase/</a><br/>
Issues: <a href="http://code.google.com/p/struts2-jquery/issues/list">http://code.google.com/p/struts2-jquery/issues/list</a><br/>
User Group: <a href="http://groups.google.com/group/struts2-jquery">http://groups.google.com/group/struts2-jquery</a><br/> <img src="http://www.jgeppert.com/?feed-stats-post-id=356" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.jgeppert.com/2010/03/struts2-jquery-plugin-version-2-0-0-is-now-available/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>New Showcase for the jqGrid feature in Struts2 jQuery Plugin is available</title>
		<link>http://www.jgeppert.com/2010/01/new-showcase-for-the-jqgrid-feature-in-struts2-jquery-plugin-is-available/</link>
		<comments>http://www.jgeppert.com/2010/01/new-showcase-for-the-jqgrid-feature-in-struts2-jquery-plugin-is-available/#comments</comments>
		<pubDate>Tue, 26 Jan 2010 09:02:08 +0000</pubDate>
		<dc:creator>jogep</dc:creator>
				<category><![CDATA[hibernate]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Struts jQuery Plugin]]></category>
		<category><![CDATA[struts2]]></category>
		<category><![CDATA[jqgrid]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[showcase]]></category>

		<guid isPermaLink="false">http://www.jgeppert.com/?p=351</guid>
		<description><![CDATA[Since today the new Showcase is available. The new Showcase is specially for the jqGrid based Grid Feature. ]]></description>
				<content:encoded><![CDATA[Since today  the new Showcase is available. The new Showcase is specially for the <a href="http://www.trirand.com/blog/">jqGrid</a> based Grid Feature.

The Showcase is provided with the <a href="http://code.google.com/p/full-hibernate-plugin-for-struts2/">Full Hibernate Plugin for Struts2</a> and shows how easy it is to create a AJAX based paging table in Struts2<a href="http://www.trirand.com/blog/"></a> that is  searchable, sortable and editable. Also it shows how to implement a Grid with an Subgrid.

The Showcase based on <a href="http://struts.apache.org">Struts2</a> 2.1.8.1, <a href="http://code.google.com/p/full-hibernate-plugin-for-struts2/">Full Hibernate Plugin</a> 2.1.3 GA and <a href="http://code.google.com/p/struts2-jquery/">Struts2 jQuery Plugin</a> 1.8.2.

Per default the Showcase is <strong>read-only</strong> to see how to edit, add and delete items, download the showcase and following the instructions.

Visit Showcase: <a href="http://struts.jgeppert.com/struts2-jquery-grid-showcase/index.action">http://struts.jgeppert.com/struts2-jquery-grid-showcase/</a>
Download Showcase: <a href="http://code.google.com/p/struts2-jquery/downloads/list">http://code.google.com/p/struts2-jquery/downloads/list</a> <img src="http://www.jgeppert.com/?feed-stats-post-id=351" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.jgeppert.com/2010/01/new-showcase-for-the-jqgrid-feature-in-struts2-jquery-plugin-is-available/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Chuck Norris Witze über Java</title>
		<link>http://www.jgeppert.com/2010/01/chuck-norris-witze-uber-java/</link>
		<comments>http://www.jgeppert.com/2010/01/chuck-norris-witze-uber-java/#comments</comments>
		<pubDate>Mon, 25 Jan 2010 14:58:35 +0000</pubDate>
		<dc:creator>jogep</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[witze]]></category>
		<category><![CDATA[chuck norris]]></category>

		<guid isPermaLink="false">http://www.jgeppert.com/?p=347</guid>
		<description><![CDATA[Einfach Klasse: Chuck Norris kann Klassen erstellen die sowohl abstract als auch final sind. oder Chuck Norris braucht keine Unit Tests sein Code funktioniert immer. IMMER. Mehr davon gibt es bei ovisual.com]]></description>
				<content:encoded><![CDATA[Einfach Klasse:
<p style="padding-left: 30px;"><em>Chuck Norris kann Klassen erstellen die sowohl <strong>abstract</strong> als auch <strong>final</strong> sind.</em></p>
oder
<p style="padding-left: 30px;"><em>Chuck Norris braucht keine Unit Tests sein Code funktioniert immer. IMMER.</em></p>
Mehr davon gibt es bei <a href="http://www.ovisual.com/4/">ovisual.com</a> <img src="http://www.jgeppert.com/?feed-stats-post-id=347" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.jgeppert.com/2010/01/chuck-norris-witze-uber-java/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
