This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright (c) 1996-2001 | |
* Logica Mobile Networks Limited | |
* All rights reserved. | |
* | |
* This software is distributed under Logica Open Source License Version 1.0 | |
* ("Licence Agreement"). You shall use it and distribute only in accordance | |
* with the terms of the License Agreement. | |
* | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.... | |
<script> | |
function richTreeCollapse(){ | |
$('[id$=sbtbl]').each(function(n){this.rf.component.collapse();}); | |
} | |
</script> | |
<div style="text-align: center"> | |
<a4j:commandButton id="btnCopEdit" value="Edit" execute="@form" disabled="#{corporateManagementController.enableAdd}" | |
oncomplete="if(#{!facesContext.validationFailed}) {#{rich:component('infoPopup')}.show();};richTreeCollapse()" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package **.******.***.***.util; | |
import java.util.Date; | |
import javax.servlet.http.HttpSession; | |
import javax.servlet.http.HttpSessionEvent; | |
import javax.servlet.http.HttpSessionListener; | |
public class MySessionListener implements HttpSessionListener { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!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"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Service("userDetailsServiceClient") | |
public class UserDetailServiceImpl implements UserDetailsService { | |
@Autowired | |
private SessionFactory sessionFactory; | |
@Autowired | |
private Assembler assembler; | |
@Autowired | |
private IUserDetailService userDetailsServiceClient; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |