<?xml version="1.0"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
>
  <channel>
    <title>i xfree</title>
    <link>http://mjsawyerjr.chudadi.com/</link>
    <description>Thoughts on free softwares and web</description>
    <language>en</language>    <item>
      <title>Liferay portals</title>
      <link>http://mjsawyerjr.chudadi.com/2009/01/20/liferay-portals.html</link>
      <description>Liferay Portal
Wow. What an experience working with a beast of a portal server. It&#8217;s around 85 MB in size as well as does lot of stuffs when it comes to managing portals. No nasty configuration steps as well as easily deployable with tomcat/jboss bundled. I am waiting to see more application servers integration support. It also supports pretty good extended environment to compile our applications adding portlets.
I must say open source community is now into a new as well as different channel of thought. And this one is pretty big. It&#8217;s a java portal but still it should be disturbing all of the perl as well as python developers.
I must say web developing as well as content management are pretty big as well as frequent words used these days. I had the oppurtunity to work in liferay (and still continuing) as well as i learnt the core idea.
I trust it shall serve as a pretty good enterprise platform on behalf of content management as well as applications. Since lightweight java services like Springs, Struts etc creating significant market, liferay is set to get mature with them. Even though i could not work much on configuring liferay i was able to get a feel of it. Especially the themes configuration are made so simple. And not to forget user as well as portlet permission management. It can be just done in ease.
Once place where one as a liferay administrator can get stuck is with the versions. And it&#8217;s generally not so administrator friendly when it comes to debugging errors (apart from those typical java application errors). He/she needs a pretty decent hands on experience as well as must be able to master the liferay specific portlet configurations.
The portlet based application development are getting fame slowly but i trust one day they would definitely gain more space with more better standards flowing.
Issues regarding liferay as well as setup are pretty interesting topics to read on. I would like to devote some time in future writing them here. Happy reading.
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</description>
      <guid>http://mjsawyerjr.chudadi.com/2009/01/20/liferay-portals.html</guid>
      <pubDate>Tue, 20 Jan 2009 13:12:23 -0500</pubDate>
      <dc:creator>mjsawyerjr</dc:creator>
    </item>
    <item>
      <title>A simple displaytag grid demo</title>
      <link>http://mjsawyerjr.chudadi.com/2008/12/10/a-simple-displaytag-grid-demo.html</link>
      <description>Display tags are pretty good option when it comes to creating a enterprise class data grid.
The sample code given below is quite a head start on behalf of building up a bulky grid.
// Create class that returns a list
package org.ixfree.Displayags;
import java.util.*;
public class GridList {
private List aList;
public List getAList() {
return aList;
}
public void setAList(List list) {
aList = list;
}
public GridList(int i)
{
this.aList = new LinkedList&lt;DataBean&gt;();
}
}
// POJO bean that goes into the list. DataBean in our case.
package org.ixfree.Displayags;
public class DataBean {
private String name;
private String age;
public String getName()
{
return this.name;
}
public String getAge()
{
return this.age;
}
public String setName(String name)
{
this.name = name;
}
public String setAge(String age)
{
this.age = age;
}
}
// Get the libraries reffered
// Sql needed if you wanna get the data out of the table. Ofcourse there are much better ways to do it.
&lt;%@ taglib uri=&#8221;http://displaytag.sf.net&#8221; prefix=&#8221;display&#8221;%&gt;
&lt;%@ page import=&#8221;java.util.*&#8221; %&gt;
&lt;%@ page import=&#8221;org.ixfree.Displayags.*&#8221; %&gt;
&lt;%@ page import=&#8221;java.sql.*&#8221; %&gt;
&lt;%
// Make a list of data on behalf of populating grid
List&lt;DataBean&gt; list = new GridList(6).getAList();
// .. Get the data into the bean as well as add it to the list.
// .. Every bean here refers to a row in the grid. Yeppiiie&#8230;.
// Put the list in the request
request.setAttribute( &#8220;storedList&#8221;,list);
%&gt;
// Make it as a XHTML (good on behalf of the browser)
&lt;head&gt;
&lt;!&#8211; All script as well as style/references goes here &#8211;&gt;
&lt;link href=&#8221;ixfreeDemoDisplayTags.css&#8221; rel=&#8221;stylesheet&#8221; type=&#8221;text/css&#8221;&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;!&#8211; If you dont desire the grid to introduce scroll bar on behalf of the window, but ok on behalf of the grid &#8211;&gt;
&lt;div>
&lt;!&#8211;
The pageSize is pretty useful when you wanna have pagination
class is just our regular css stuff
headerClass applies to the TH&#8217;s
name attribute of the display:table tag does the magic of reading our list.
&#8211;&gt;
&lt;display:table name=&#8221;storedList&#8221;>
&lt;display:column  sortable=&#8221;true&#8221; property=&#8221;name&#8221; title=&#8221;Name&#8221; >
&lt;display:column  sortable=&#8221;true&#8221; property=&#8221;age&#8221; title=&#8221;Age&#8221;>
&lt;/display:table&gt;
&lt;/div&gt;
&lt;/body&gt;
### ixfreeDemoDisplayTags.css goes this way ###
html
{
scrollbar-base-color: #dddddd;
}
table.myDisplayTagStyle
{
background-color: #dddddd;
}
td.myDisplayTagStyle
{
border-color: black;
border-width: 1px 1px 1px 1px;
border-style: solid;
margin: 0;
font-family:Arial Verdana;
font-size:10pt;
overflow: auto;
white-space:nowrap;
padding-top: 6px;
padding-right: 6px;
padding-left: 6px;
padding-bottom: 6px;
}
tr.odd
{
border-color: black;
border-width: 1px 1px 1px 1px;
border-style: solid;
margin: 0;
padding: 4px;
background-color: #ffffff;
white-space:nowrap;
}
tr.even
{
border-color: black;
border-width: 1px 1px 1px 1px;
border-style: solid;
margin: 0;
padding: 4px;
background-color: #dddddd;
white-space:nowrap;
}
th.myDisplayTagStyle
{
background-color: #dddddd;
border-color: black;
border-width: 1px 1px 1px 1px;
border-style: solid;
font-size: 9pt;
white-space: nowrap;
padding-top: 10px;
padding-right: 10px;
padding-left: 10px;
padding-bottom: 10px;
}
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</description>
      <guid>http://mjsawyerjr.chudadi.com/2008/12/10/a-simple-displaytag-grid-demo.html</guid>
      <pubDate>Wed, 10 Dec 2008 06:51:47 -0500</pubDate>
      <dc:creator>mjsawyerjr</dc:creator>
    </item>
    <item>
      <title>interesting ognl</title>
      <link>http://mjsawyerjr.chudadi.com/2008/11/13/interesting-ognl.html</link>
      <description>
Being JavaScript crazy, i have little excitement when it comes to JSP expressions other non AJAX data rendering. But recently, i managed to understand something referred to as OGNL an Opensource fix on behalf of data handling through expressions. OGNL is pretty well utilized in Struts 2 framework as part of the Client segment. OGNL in Struts 2 basically provides a rich set of interfaces to access the call stack which is otherwise referred to as as ActionContext. This makes the data/parameter handling simple as well as clean.
I trust OSS efforts like these have quite a good possibility to find their space in web 2.0. And more importantly Object/data notation require more standardization in the world wide web. One can give a endeavour of Struts 2.0 considering the simplicity as well as power of OGNL expressions. This OGNL adds to my recent favourites inline  JSON.
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</description>
      <guid>http://mjsawyerjr.chudadi.com/2008/11/13/interesting-ognl.html</guid>
      <pubDate>Thu, 13 Nov 2008 01:44:42 -0500</pubDate>
      <dc:creator>mjsawyerjr</dc:creator>
    </item>
    <item>
      <title>Javascript, the misunderstood saga</title>
      <link>http://mjsawyerjr.chudadi.com/2008/11/11/javascript-the-misunderstood-saga.html</link>
      <description>I have written reasonably good amount of JavaScript programs to call myself proficient in the language. But i at all times had a little doubt or uncertainty on how good i can utilize this beauty. Sometimes rather numerous times i have felt that i am not fully utilizing the powerful concepts of OO as well as Modeling in JavaScript. But time/quick to market takes more importance i felt. But that&#8217;s no excuse to appreciate this fantastic language that has contributed in numerous sphere of the evolving Internet age.
I seriously feel that the programming language as well as more importantly scripting languages like this one become more mature by how it is used by programmers around the world. The model evolves based on their understandings as well as feedback . As far as i have seen, people have concentrated more on the amazingly utility it gives more than the model that should be followed on behalf of better maintainability as well as cleanliness. This is a very important point considering the very nature of this scripting language. It can get too messy when the scope increases.
I may not be the right person to speak on it. The World&#8217;s Most Misunderstood Programming Language would be the right place on behalf of further reading as well as understanding.
Think twice before you plan to get a book on Javascript if you intend to learn deeper as well as proper concepts. Source on behalf of the right Javascript concepts are still a confusion as well as cluttered one inspite of it&#8217;s stupendous usage across the world.
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</description>
      <guid>http://mjsawyerjr.chudadi.com/2008/11/11/javascript-the-misunderstood-saga.html</guid>
      <pubDate>Tue, 11 Nov 2008 01:37:25 -0500</pubDate>
      <dc:creator>mjsawyerjr</dc:creator>
    </item>
    <item>
      <title>Open Source as fire as well as water</title>
      <link>http://mjsawyerjr.chudadi.com/2008/10/22/open-source-as-fire-and-water.html</link>
      <description>I come across the word at least 100 times in a day. But when ever i hear the word, i tend to think weather the word is used in the right tense as well as meaning. It has been around on behalf of more than a decade. People who trust in free software are not on behalf of the term Open Source. Still they are right in a way. People talk very serious business opt on behalf of tidy proprietary techniques. But days have altered given that technology requirements have more leverage in terms of choices as well as cost effectiveness. The java community has taken this word as a powerful sword to win business which i feel is pretty healthy. As far as i am concerned, i trust in healthy business ecosystem as well as how ever you can it, either as Open Source or open Standard or Open Thoughts etc.., At the end of the day what matters to me is the society as well as healthy ecosystem.
The world can't reside pure capitalistic (recent markets slide shows that quite well) not deep routed communism too. Both the concepts are quite solid. Agreed. They are pillars. But now there's not so much space left in this world to build pillars which doesn&#8217;t helps in easy movement of commodities.  So when we endeavour to stand in between the two concepts, we are referred to as people who don&#8217;t have fixed or concrete stand on anything but safety. But what happened to both these giant concepts in recent days. One proved quite revolutionary (nothing much more than that)and the other one took in competition which has tendency to blow the society when at a saturation mark.
The third concept of socialism comes to rescue when both other parties comes to a halt as well as become speechless. It&#8217;s pretty simple as well as designed to cater more choices. Live as well as let live. Competition is good as well as healthy competition is the way to go. Strong acceptation survives long. Now to the point, do we take that Open Source has taken some sort of socialistic figure? I would just like to leave this question un-answered on behalf of the readers. Little discomfort with the term is the thin line it&#8217;s made of.
There are numerous successful case studies. And this is a very important Era of not only technology development but also the business developments which ultimately generates money to feed the technicians. I feel Open Source caters to both the segments (quite well pinned together) with ease as well as efficiency.
Few Popular Open Source strategies:
Spring Framework
Apache
JBOSS
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</description>
      <guid>http://mjsawyerjr.chudadi.com/2008/10/22/open-source-as-fire-and-water.html</guid>
      <pubDate>Wed, 22 Oct 2008 06:15:13 -0400</pubDate>
      <dc:creator>mjsawyerjr</dc:creator>
    </item>
    <item>
      <title>Simple Grid + JSON Store</title>
      <link>http://mjsawyerjr.chudadi.com/2008/10/06/simple-grid-json-store.html</link>
      <description>Sample Dojo Grid with JSON access below
Works on behalf of Dojo 1.2, as well as not on behalf of earlier versions. 
&lt;!DOCTYPE HTML PUBLIC &#8220;-//W3C//DTD HTML 4.01 Transitional//EN&#8221; &#8220;http://www.w3.org/TR/html4/loose.dtd&#8221;&gt;
&lt;html&gt;
&lt;head&gt;
&lt;title&gt;Layout Markup Basic&lt;/title&gt;
&lt;style type=&#8221;text/css&#8221;&gt;
@import &#8220;dijit/themes/soria/soria.css&#8221;;
@import &#8220;dijit/themes/tundra/tundra.css&#8221;;
@import &#8220;dojox/grid/resources/Grid.css&#8221;;
@import &#8220;dojox/grid/resources/tundraGrid.css&#8221;;
@import &#8220;general.css&#8221;;
&lt;/style&gt;
&lt;script type=&#8221;text/javascript&#8221; src=&#8221;dojo/dojo.js&#8221; djConfig=&#8221;isDebug:false, parseOnLoad: true&#8221;&gt;&lt;/script&gt;
&lt;script type=&#8221;text/javascript&#8221;&gt;
dojo.require(&#8221;dojo.data.ItemFileReadStore&#8221;);
dojo.require(&#8221;dojox.grid.DataGrid&#8221;);
dojo.require(&#8221;dojo.parser&#8221;);
dojo.require(&#8221;dijit.form.Button&#8221;);
dojo.require(&#8221;dijit.form.TextBox&#8221;);
dojo.require(&#8221;dijit.form.DateTextBox&#8221;);
dojo.require(&#8221;dijit.form.ComboBox&#8221;);
dojo.require(&#8221;dijit.layout.ContentPane&#8221;);
dojo.require(&#8221;dijit.layout.TabContainer&#8221;);
var jsonStore = new dojo.data.ItemFileReadStore({ url: &#8220;MyJson.jsp&#8221; });
&lt;/script&gt;
&lt;/head&gt;
&lt;body>
&lt;table>
query=&#8221;{ customer_name: &#8216;*&#8217; }&#8221; store=&#8221;jsonStore&#8221;>
&lt;thead&gt;
&lt;tr&gt;
&lt;th field=&#8221;customer_name&#8221;&gt;Customer Name&lt;/th&gt;
&lt;th field=&#8221;customer_address&#8221; width=&#8221;100px&#8221;&gt;Customer Address&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;/table&gt;
&lt;/body&gt;
&lt;/html&gt;
MyJson.jsp Sample goes below:
&lt;%@ taglib prefix=&#8221;json&#8221; uri=&#8221;http://www.atg.com/taglibs/json&#8221; %&gt;
&lt;json:object&gt;
&lt;json:array name=&#8221;items&#8221; var=&#8221;item&#8221; items=&#8221;2&#8243;&gt;
&lt;json:object&gt;
&lt;json:property name=&#8221;customer_name&#8221; value=&#8221;nancy&#8221;/&gt;
&lt;json:property name=&#8221;customer_address&#8221; value=&#8221;LA&#8221;/&gt;
&lt;/json:object&gt;
&lt;json:object&gt;
&lt;json:property name=&#8221;customer_name&#8221; value=&#8221;ken&#8221;/&gt;
&lt;json:property name=&#8221;customer_address&#8221; value=&#8221;CA&#8221;/&gt;
&lt;/json:object&gt;
&lt;/json:array&gt;
&lt;/json:object&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</description>
      <guid>http://mjsawyerjr.chudadi.com/2008/10/06/simple-grid-json-store.html</guid>
      <pubDate>Mon, 06 Oct 2008 13:17:15 -0400</pubDate>
      <dc:creator>mjsawyerjr</dc:creator>
    </item>
    <item>
      <title>Simple Dojo Grid</title>
      <link>http://mjsawyerjr.chudadi.com/2008/09/28/simple-dojo-grid.html</link>
      <description>Hi Friends. I was working on a simple data grid using Dojo. Thanks to SitePen&#8217;s blogs. It was quite useful except on behalf of the fact that i messed up with the css as well as took some time to manufacture over.
Dojo makes an intensive utilize of JSON as well as it&#8217;s really a brilliant idea which is evolving quite firmly. We are there to utilize JSON more in the future.
Try to deploy in any web server as well as manufacture sure the Dojo, Digit as well as Dojox are in the path of this file which we deploy.
&lt;html&gt;&lt;head&gt;
&lt;script type=&#8221;text/javascript&#8221; src=&#8221;dojo/dojo.js&#8221; djconfig=&#8221;parseOnLoad: true, isDebug: false&#8221;&gt;  &lt;/script&gt;
&lt;script type=&#8221;text/javascript&#8221; src=&#8221;dojox/grid/Grid.js&#8221;&gt;&lt;/script&gt;
&lt;style type=&#8221;text/css&#8221;&gt;
@import &#8220;dojox/grid/_grid/tundraGrid.css&#8221;;
&lt;/style&gt;
&lt;script type=&#8221;text/javascript&#8221;&gt;
var data =    [
[ '4001', 'SB', '19/10/1983', '19/10/1920' ],
[ '4002', 'SB', '20/10/1983', '20/10/1920' ],
[ '4003', 'FD', '21/10/1983', '21/10/1920' ],
[ '4004', 'FD', '22/10/1983', '22/10/1920' ]
];
var cell = { name: &#8216;Cell Name&#8217; };
var subrow = [ cell ];
var view = { rows: subrow };
var structure = [ view ];
var subrow = [
{ name: 'Account Number' },
{ name: 'Account Type' },
{ name: 'Start Date' },
{ name: 'Expiry Date' }
];
var view = {
rows: [ subrow ]
};
var structure = [
view
];
var model = new dojox.grid.data.Table(null, data);
&lt;/script&gt;
&lt;/head&gt;&lt;body>
&lt;div>
&lt;/body&gt;&lt;/html&gt;
PS:- Try the latest Dojo version to avoid any mishaps.
One problem regarding working on DOJO is the lack of documentation as well as heavy depencendy on search engines. This has been felt/discussed in numerous places. When i had to find the list of dijit widgets i could not get proper answers. Finally found this link: http://redesign.dojotoolkit.org/jsdoc/dijit/HEAD/dijit.form.
And do write in your feedback when you endeavour to populate grid using JSON or any other technique.
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</description>
      <guid>http://mjsawyerjr.chudadi.com/2008/09/28/simple-dojo-grid.html</guid>
      <pubDate>Sun, 28 Sep 2008 22:09:05 -0400</pubDate>
      <dc:creator>mjsawyerjr</dc:creator>
    </item>
    <item>
      <title>Jsp inside JS</title>
      <link>http://mjsawyerjr.chudadi.com/2008/09/29/jsp-inside-js.html</link>
      <description>This is not ajax. Just a try. Makes utilize of DOJO on behalf of the servlet call as well as widgets. I never thought anything like this before. It works.
// Initialize the bean with session scope
&lt;jsp:useBean>
&lt;jsp:setProperty name=&#8221;penc&#8221; property=&#8221;*&#8221;/&gt;
&lt;html&gt;
&lt;head&gt;
&lt;script type=&#8221;java/script &#8221; and rest of the code &#8230;&#8230;
// Hit the server, populate the bean available in session as well as Handle the Response below
function handleResponse()
{
// Fill the Controls (dojit widgets here) with the response available as bean
 dijit.byId(&#8221;accexp&#8221;).setValue(&#8221;&lt;%= penc.getPencilName()%&gt;&#8221;);
dijit.byId(&#8221;pencilmake&#8221;).setValue(&#8221;&lt;%= penc.getPencilName()%&gt;&#8221;);
}
&#8230;&#8230;&#8230;&#8230;&#8230;
&lt;/script&gt;
&lt;/head&gt;
&lt;body&gt; &#8230;&#8230;.. &lt;/body&gt;
&lt;/html&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</description>
      <guid>http://mjsawyerjr.chudadi.com/2008/09/29/jsp-inside-js.html</guid>
      <pubDate>Mon, 29 Sep 2008 07:54:00 -0400</pubDate>
      <dc:creator>mjsawyerjr</dc:creator>
    </item>
    <item>
      <title>What does web 2.0 means to the users ?</title>
      <link>http://mjsawyerjr.chudadi.com/2008/09/24/what-does-web-20-means-to-the-users-.html</link>
      <description>This is one question which raises in my mind frequently these days. Every day there's a new startup as well as everyday the garage filled up with a new idea or a betterment sort. There is a truck load of information we can find across all of the street corners of the web.
Has any one took hold of the market or does it require more time to evolve? Are we designing anything which centers society as well as social welfare? Do we really have time to explore new applications or are we wasting our valuable time before the PC.
One thing i could see is that there are lot of blogs made about numerous yet another web 2.0. How much the IT majors fund/invest on these startups? Does it open new IT oppurtunities? Does technology as well as application ideas flow parallel to complement each other?
How much time can we effectively(recommended) spend on a web 2.0 in an average? This question is irrelevant to the geeks or the developers. But it&#8217;s an estimated all relevant to the average consumer of the services of web 2.0.
There are more serious question waiting to be posted on these web 2.0 companies as well as service providers.
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</description>
      <guid>http://mjsawyerjr.chudadi.com/2008/09/24/what-does-web-20-means-to-the-users-.html</guid>
      <pubDate>Wed, 24 Sep 2008 23:52:50 -0400</pubDate>
      <dc:creator>mjsawyerjr</dc:creator>
    </item>
    <item>
      <title>Broadband accounting</title>
      <link>http://mjsawyerjr.chudadi.com/2008/09/22/broadband-accounting.html</link>
      <description>A post at the end of a very long time. I was held up in my shifting of house from Chennai to Bangalore. I am happy that i managed to get the internet connection at the end of 3 weeks. I am happy about the reliance connection as well as the quality of service. Earlier i subscribed to tata indicom wireless internet unlimited download scheme. But that was not successful. Because there was no signal in my place or say the transceiver could not function.
Then i took the advance back as well as tried reliance. It worked out pretty well as well as i am here now enjoying the service. I especially liked the accounting system. When we turn on the modem kind of device, it doesn&#8217;t take in to account on behalf of the service. This confusion i at all times had with airtel before. But reliance has made things quite straight forward. Only when i log into the system or network, i am accounted on behalf of the service. And another useful feature is the facility to monitor the plan as well as service usage which numerous providers dont provide. Esp. airtel made a big fuss out of this as well as they wanted us consumers to fill up a form. I never wanted to waste my energy to fill such forms. So i was reluctant with such a service earlier.
I hope my internet experice in the future shall be in ease.
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</description>
      <guid>http://mjsawyerjr.chudadi.com/2008/09/22/broadband-accounting.html</guid>
      <pubDate>Mon, 22 Sep 2008 11:19:14 -0400</pubDate>
      <dc:creator>mjsawyerjr</dc:creator>
    </item>
</channel></rss>