Thursday, February 10, 2011

Editable dojo Grid Sample

Include below mentioned script in the head.

< script type="text/javascript" >
dojo.require("dojox.grid.DataGrid");
dojo.require("dojo.data.ItemFileReadStore");
var adamStruct = [[{
field: "memid",
name: "MemberId",
width: 10,
editable:true
}, {
field: "name",
name: "Name",
width: 10,
editable:true
}, {
field: "country",
name: "Country",
width: 'auto',
editable:true
}]];
< /script >

Include below specified div in the body.

< div id="grid" dojoType="dojox.grid.DataGrid" store="sampleStoreForGrid" structure="sampleStruct" queryOptions="{deep:true}" rowsPerPage="40" >
< /div >

Make sure to include Grid.css and tundraGrid.css. Hope this should be helpful.

Wednesday, June 30, 2010

XAMPP installation and Windows Firewall

XAMPP is an easy to install Apache distribution containing MySQL, PHP and Perl. You can download this software from apachefriends site
http://www.apachefriends.org/en/xampp.html

Before installing XAMPP in windows make sure to “Disable your windows Firewall”. XAMPP cannot be installed properly when your firewall is enabled.

Tuesday, May 11, 2010

Testers


Below were some inspirational and motivational descriptions about testers, which I recently read from an article:

1. Testers don't complain, they offer evidence
2. Testers don't like to break things, they like to dispel the illusion that things work
3. Testers don't take a special thrill in delivering bad news, they enjoy freeing their clients from false belief.

Testing Web Application

Web based testing includes the below steps,

[1] Navigation between pages
[2] Server Response
[3] Interaction between server and client were the fast and reliability of response is evaluated
[4] Concurrent Users.
[5] Browser Independence.
[6] Fonts and Preferences.
[7] Object Mode which includes Edit fields, push buttons, radio buttons and check boxes
[8] Page Consistency
[9] Table and Form Consistency
[10] Page Relationships
[11] Performance Consistency and Response Times
[12] Image File Size
[13] Sessions Validation
[14] Error handling

Tuesday, May 4, 2010

Google App Engine & HTML file in Filter mapping

Google App Engine does not support HTML file in Filter mapping.When I specified my HTML file in filter’s URL-Pattern the filter does not invoke my HTML file.Below is my filter with html file in filter’s URL-Pattern

<filter-mapping>
<filter-name>OSISFilter</filter-name>
<url-pattern>/main1.html</url-pattern>
</filter-mapping>

Then I ended up changing my HTML file into JSP, now my filter works fine with JSP file.Below is my filter with jsp file in filter’s URL-Pattern

<filter-mapping>
<filter-name>OSISFilter</filter-name>
<url-pattern>/main1.jsp</url-pattern>
</filter-mapping>