Quantcast
Channel: Binod Java Solution
Browsing all 53 articles
Browse latest View live

Easy explanation for Strategy design pattern using simple arithmetic calcuation

Strategy Design Pattern:Detail : http://en.wikipedia.org/wiki/Strategy_patternUse strategy when you need to define a family of algorithms, encapsulate each one, and make theminterchangeable. Strategy...

View Article


Command Design Pattern using simple example

Command Design Pattern:Detail : http://en.wikipedia.org/wiki/Command_patternUse strategy when you need to define a family of algorithms, encapsulate each one, and make theminterchangeable. Strategy...

View Article


Simple RMI and RMI with Spring

RMI (=Remote Method Invocation)The basic structure of an RMI-based method call involves a client, a server and a registry. To make a call to a remote object, the client first looks up the object it...

View Article

Ext JS getting start Ext JS first tutorial First Program for EXT JS

Please visit Ext JS site for more information and licence policy on http://www.sencha.com/Ext js tutorial:1. Download Ext js: http://www.sencha.com/products/extjs3/download/ and download...

View Article

Google Apps Engine com.google.appengine.tools.admin.JspCompilationException:...

My Google Apps Engine was working fine till I installed Windows 7 (62 bit). After shifting to Windows 7, when I tried to deploy my GAE code to google, I got below error:------------ Deploying frontend...

View Article


java.lang.NullPointerException at...

Very small post, actually I got this error (java.lang.NullPointerException at javax.ws.rs.core.MediaType.valueOf(MediaType.java:119)) while hitting REST web service. I searched a lot and spent all most...

View Article

Liferay admin detection, community admin, Organization admin

If you see any portlet, it used to have four button 1. Preference 2. Maximise 3. Minimise 4. Close.Only those user who has admin privilege, can see those button or will have able to change...

View Article

GWT app engine Missing required argument 'module[s]'

If you get this exception while deploying your project into google app engine.Then:http://stackoverflow.com/questions/8628429/google-app-engine-missing-required-argument-modulesWhen creating a new...

View Article


ExtJs 5.1 GridPanel Basic Example Getting Start

Found some changed while migrating my product from Extjs 4 5o Extjs 5.1, so thought to share with you all.Here below is very basic example of GridPanel:<!DOCTYPE html><html...

View Article


ExtJs 5.1 GridPanel Plugin gridfilters Example Getting Start

Here we will use plugins: 'gridfilters', for adding filter functionality in GridPanel.This plugins: 'gridfilters', is new plugin has been added in ExtJS 5.1 for filter to reduce a lot of codes.Use this...

View Article

Extjs 5.1 GridPanel plugins: 'gridfilters' and listeners example

Example contains multiSelect, plugins, checkchange and grid panel listeners.<!DOCTYPE html><html lang="en"><head>    <meta charset="UTF-8"/>    <title>Extjs 5.1 Grid...

View Article

Extjs 5.1.0 Checkbox of GridPanel deselect event not working. checkboxmodel...

I think, this is a bug in Extjs 5.1.0 for CheckboxModel selectionchange doesn't fire when unselect rows.Add below code where you define selModel:selectWithEventMulti: function(record, e, isSelected) {...

View Article

Extjs 5.1.0 Ext.data.field.convert example How to perform some processing...

Some time you feel to create new column in grid based on the existing column like create firstname from given full name or create insertion date.Sometimes a simple type isn't enough, or we want to...

View Article


Extjs Pagination, pagingmemory Example, Extjs 4.1.0 Grid Panel with Sorting...

<!DOCTYPE html><html lang="en"><head>    <meta charset="UTF-8"/>    <title>ExtJS 4.1. Grid Pagination Example</title>  <link rel="stylesheet"...

View Article

extjs 5.1.0 pagingmemory example extjs 5.1.0 pagingmemory alternative Ext JS...

 pagingmemory config was working very fine till Ext JS 4 BUT it seems some issue is there in Ext JS 5. So we can not use pagingmemory directly, in stead we have to manually handle data from pagination....

View Article


Ext js 5.1 tutorial, ExtJS GridPanel example getting start, pagingmemory in...

When you migrate from ExtJS 4 to 5 then you will find out that lot of things in GridPanel has been changed. If you have implemented "pagingmemor" in ExtJS 4.x then it will not work in ExtJS 5.1, cause...

View Article

Extjs 5.1.0 how to Change grid panel row select color by cls. Ext Js 5...

In Extjs 5.1 this below is CLS class for selected row in GridPanel.x-grid-item-selected .x-grid-cellYou can override this cls for your customization for row selected cls.Full Example:<!DOCTYPE...

View Article


Java BigInteger Example How to use BigInteger Factorial of large data Convert...

BigInteger:All most all number data type in Java has some limit but what you will do if you have to do some calculation on big data like calculate factorial of 100 or 500 :)There is no theoretical...

View Article

Extjs 5.1 ContextMenu Example, Menu not hiding if menu item is never focused,...

Very basic example with running code for ContextMenu with menu action on ExtJS 5.1.0Along with one workaround solution for a bug that is there in Extjs 5.1. Bug is:If you right click on any row then...

View Article

ExtJS 5.1 Paging Tool bar example, Pagination for Grid, Ext.PagingToolbar bug...

Here I am going to show one very basic example for Pagination (Paging Tool Bar), along with one very basic issue fixed.Bug is there in Extjs 5.1 that if you go last page of your grid and enter some...

View Article
Browsing all 53 articles
Browse latest View live