Skip to content

Instantly share code, notes, and snippets.

View priyankahdp's full-sized avatar
💭
Everything changes, nothing remains without change

Priyanka Kulathilaka priyankahdp

💭
Everything changes, nothing remains without change
View GitHub Profile
@priyankahdp
priyankahdp / gist:7531228
Created November 18, 2013 16:55
For Blog
public class TestMain {
public static void main(String[] args) {
boolean bl=true;
byte b=10;
short s=54;
int i=150;
long l=125L;
float f=32.5f;
double d=99.45;
@priyankahdp
priyankahdp / gist:7531257
Created November 18, 2013 16:56
for Java Blog
public class TestMain {
public static void main(String[] args) {
boolean bl=true;
byte b=10;
short s=54;
int i=150;
long l=125L;
float f=32.5f;
double d=99.45;
@priyankahdp
priyankahdp / test.java
Created November 18, 2013 16:57
for Java Blog
public class TestMain {
public static void main(String[] args) {
boolean bl=true;
byte b=10;
short s=54;
int i=150;
long l=125L;
float f=32.5f;
double d=99.45;
public class TestMain {
public static void main(String[] args) {
boolean bl=true;
byte b=10;
short s=54;
int i=150;
long l=125L;
float f=32.5f;
double d=99.45;
public class TestMain {
public static void main(String[] args) {
boolean bl=true;
byte b=10;
short s=54;
int i=150;
long l=125L;
float f=32.5f;
double d=99.45;
public class TestMain {
public static void main(String[] args) {
boolean bl=true;
byte b=10;
short s=54;
int i=150;
long l=125L;
float f=32.5f;
double d=99.45;
public class TestMain {
public static void main(String[] args) {
boolean bl=true;
byte b=10;
short s=54;
int i=150;
long l=125L;
float f=32.5f;
double d=99.45;
@priyankahdp
priyankahdp / CorporateManagementController.java
Created May 13, 2014 11:37
JSP POPUP Form Submit Issue..
package lk.dialog.ist.cms.jsf.controller;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
@Service("userDetailsServiceClient")
public class UserDetailServiceImpl implements UserDetailsService {
@Autowired
private SessionFactory sessionFactory;
@Autowired
private Assembler assembler;
@Autowired
private IUserDetailService userDetailsServiceClient;
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets">
<rich:extendedDataTable value="#{treeBean.merchantService.currentSelection.children}" var="child" style="width:660px;height:250px;" id="merchantTable"
rendered="#{treeBean.merchantService.currentSelection != null}" >
<rich:column width="100px">