code
stringlengths
1
2.01M
repo_name
stringlengths
3
62
path
stringlengths
1
267
language
stringclasses
231 values
license
stringclasses
13 values
size
int64
1
2.01M
// Copyright 2010 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package html import ( "bytes" "io" "strconv" "strings" "code.google.com/p/go.net/html/atom" ) // A TokenType is the type of a Token. type TokenType uint...
zy2011019190023-callmejoy
html/token.go
Go
multiple
28,736
// Copyright 2011 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package html import ( "bufio" "errors" "fmt" "io" "strings" ) type writer interface { io.Writer WriteByte(c byte) error // in Go 1.1, use io.ByteWriter...
zy2011019190023-callmejoy
html/render.go
Go
multiple
7,104
// Copyright 2010 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package html import ( "errors" "fmt" "io" "strings" a "code.google.com/p/go.net/html/atom" ) // A parser implements the HTML5 parsing algorithm: // http...
zy2011019190023-callmejoy
html/parse.go
Go
multiple
49,133
// Copyright 2011 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package html // Section 12.2.3.2 of the HTML5 specification says "The following elements // have varying levels of special parsing rules". // http://www.whatwg...
zy2011019190023-callmejoy
html/const.go
Go
multiple
2,314
// Copyright 2011 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package html import ( "strings" ) func adjustAttributeNames(aa []Attribute, nameMap map[string]string) { for i := range aa { if newName, ok := nameMap[aa[...
zy2011019190023-callmejoy
html/foreign.go
Go
multiple
6,913
// Copyright 2011 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package html import ( "code.google.com/p/go.net/html/atom" ) // A NodeType is the type of a Node. type NodeType uint32 const ( ErrorNode NodeType = iota T...
zy2011019190023-callmejoy
html/node.go
Go
multiple
4,843
// Copyright 2011 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package html import ( "strings" ) // parseDoctype parses the data from a DoctypeToken into a name, // public identifier, and system identifier. It returns a ...
zy2011019190023-callmejoy
html/doctype.go
Go
multiple
4,925
// Copyright 2010 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. /* Package html implements an HTML5-compliant tokenizer and parser. Tokenization is done by creating a Tokenizer for an io.Reader r. It is the caller's respons...
zy2011019190023-callmejoy
html/doc.go
Go
multiple
3,391
// Copyright 2013 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package spdy // headerDictionary is the dictionary sent to the zlib compressor/decompressor. var headerDictionary = []byte{ 0x00, 0x00, 0x00, 0x07, 0x6f, 0x70...
zy2011019190023-callmejoy
spdy/dictionary.go
Go
multiple
9,003
// Copyright 2011 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package spdy import ( "encoding/binary" "io" "net/http" "strings" ) func (frame *SynStreamFrame) write(f *Framer) error { return f.writeSynStreamFrame(fr...
zy2011019190023-callmejoy
spdy/write.go
Go
multiple
8,117
// Copyright 2011 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Package spdy implements the SPDY protocol (currently SPDY/3), described in // http://www.chromium.org/spdy/spdy-protocol/spdy-protocol-draft3. package spdy ...
zy2011019190023-callmejoy
spdy/types.go
Go
multiple
7,960
// Copyright 2011 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package spdy import ( "compress/zlib" "encoding/binary" "io" "net/http" "strings" ) func (frame *SynStreamFrame) read(h ControlFrameHeader, f *Framer) er...
zy2011019190023-callmejoy
spdy/read.go
Go
multiple
9,793
// Copyright 2012 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Package publicsuffix provides a public suffix list based on data from // http://publicsuffix.org/. A public suffix is one under which Internet users // can d...
zy2011019190023-callmejoy
publicsuffix/list.go
Go
multiple
3,827
// Copyright 2012 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // +build ignore package main // This program generates table.go and table_test.go. // Invoke as: // // go run gen.go -version "xxx" >table.go // go run...
zy2011019190023-callmejoy
publicsuffix/gen.go
Go
multiple
15,331
// Copyright 2011 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package proxy import ( "errors" "io" "net" "strconv" ) // SOCKS5 returns a Dialer that makes SOCKSv5 connections to the given address // with an optional ...
zy2011019190023-callmejoy
proxy/socks5.go
Go
multiple
5,554
// Copyright 2011 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package proxy import ( "net" ) type direct struct{} // Direct is a direct proxy: one that makes network connections directly. var Direct = direct{} func (d...
zy2011019190023-callmejoy
proxy/direct.go
Go
multiple
408
// Copyright 2011 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package proxy import ( "net" "strings" ) // A PerHost directs connections to a default Dialer unless the hostname // requested matches one of a number of ex...
zy2011019190023-callmejoy
proxy/per_host.go
Go
multiple
3,708
// Copyright 2011 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Package proxy provides support for a variety of protocols to proxy network // data. package proxy import ( "errors" "net" "net/url" "os" ) // A Dialer ...
zy2011019190023-callmejoy
proxy/proxy.go
Go
multiple
2,402
// Copyright 2012 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package ipv4 import ( "net" "os" "syscall" "unsafe" ) // Please refer to the online manual; // http://msdn.microsoft.com/en-us/library/windows/desktop/ms...
zy2011019190023-callmejoy
ipv4/sockopt_windows.go
Go
multiple
5,469
// Copyright 2012 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // +build darwin freebsd netbsd openbsd package ipv4 import ( "net" "os" "syscall" "unsafe" ) func setControlMessage(fd int, opt *rawOpt, cf ControlFlag...
zy2011019190023-callmejoy
ipv4/control_bsd.go
Go
multiple
2,686
// Copyright 2012 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package ipv4 import ( "net" "reflect" "syscall" ) func (c *genericOpt) sysfd() (syscall.Handle, error) { switch p := c.c.(type) { case *net.TCPConn, *ne...
zy2011019190023-callmejoy
ipv4/helper_windows.go
Go
multiple
1,170
// Copyright 2012 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // +build darwin freebsd linux netbsd openbsd windows package ipv4 import ( "syscall" ) // TOS returns the type-of-service field value for outgoing packets...
zy2011019190023-callmejoy
ipv4/genericopt_posix.go
Go
multiple
1,220
// Copyright 2012 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package ipv4 import ( "net" "syscall" ) func (c *dgramOpt) MulticastTTL() (int, error) { // TODO(mikio): Implement this return 0, syscall.EPLAN9 } func ...
zy2011019190023-callmejoy
ipv4/dgramopt_plan9.go
Go
multiple
1,174
// Copyright 2012 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package ipv4 import ( "errors" "net" ) var ( errNoSuchInterface = errors.New("no such interface") errNoSuchMulticastInterface = errors.New("no s...
zy2011019190023-callmejoy
ipv4/helper.go
Go
multiple
1,518
// Copyright 2012 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package ipv4 import ( "fmt" "net" "sync" ) type rawOpt struct { mu sync.Mutex cflags ControlFlags } func (o *rawOpt) lock() { o...
zy2011019190023-callmejoy
ipv4/control.go
Go
multiple
1,453
// Copyright 2012 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package ipv4 import ( "net" "os" "syscall" "unsafe" ) // Linux provides a convenient path control option IP_PKTINFO that // contains IP_SENDSRCADDR, IP_R...
zy2011019190023-callmejoy
ipv4/control_linux.go
Go
multiple
2,943
// Copyright 2012 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // +build darwin freebsd linux netbsd openbsd windows package ipv4 import ( "bytes" "net" "syscall" ) func setSyscallIPMreq(mreq *syscall.IPMreq, ifi *ne...
zy2011019190023-callmejoy
ipv4/helper_posix.go
Go
multiple
819
// Copyright 2012 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package ipv4 import ( "net" "os" "syscall" ) func ipv4ReceiveTOS(fd int) (bool, error) { v, err := syscall.GetsockoptInt(fd, syscall.IPPROTO_IP, syscall....
zy2011019190023-callmejoy
ipv4/sockopt_linux.go
Go
multiple
3,368
// Copyright 2012 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package ipv4 import ( "syscall" ) func (c *genericOpt) TOS() (int, error) { // TODO(mikio): Implement this return 0, syscall.EPLAN9 } func (c *genericOpt...
zy2011019190023-callmejoy
ipv4/genericopt_plan9.go
Go
multiple
609
// Copyright 2012 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // +build darwin freebsd linux netbsd openbsd package ipv4 import ( "os" "syscall" ) func ipv4TOS(fd int) (int, error) { v, err := syscall.GetsockoptInt(...
zy2011019190023-callmejoy
ipv4/sockopt_unix.go
Go
multiple
1,904
// Copyright 2012 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package ipv4 import ( "net" "syscall" ) // A payloadHandler represents the IPv4 datagram payload handler. type payloadHandler struct { c net.PacketConn r...
zy2011019190023-callmejoy
ipv4/payload.go
Go
multiple
2,297
// Copyright 2012 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package ipv4 import ( "os" "syscall" ) func ipv4SendSourceAddress(fd int) (bool, error) { v, err := syscall.GetsockoptInt(fd, syscall.IPPROTO_IP, syscall....
zy2011019190023-callmejoy
ipv4/sockopt_freebsd.go
Go
multiple
658
// Copyright 2012 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package ipv4 import ( "syscall" ) func setControlMessage(fd syscall.Handle, opt *rawOpt, cf ControlFlags, on bool) error { // TODO(mikio): Implement this ...
zy2011019190023-callmejoy
ipv4/control_windows.go
Go
multiple
668
// Copyright 2012 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package ipv4 import ( "syscall" ) func setControlMessage(fd int, opt *rawOpt, cf ControlFlags, on bool) error { // TODO(mikio): Implement this return sysc...
zy2011019190023-callmejoy
ipv4/control_plan9.go
Go
multiple
653
// Copyright 2012 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package ipv4 import ( "syscall" ) func (c *genericOpt) sysfd() (int, error) { // TODO(mikio): Implement this return 0, syscall.EPLAN9 } func (c *dgramOpt...
zy2011019190023-callmejoy
ipv4/helper_plan9.go
Go
multiple
622
// Copyright 2012 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // +build darwin freebsd netbsd openbsd package ipv4 import ( "net" "os" "syscall" ) func ipv4MulticastTTL(fd int) (int, error) { v, err := syscall.Gets...
zy2011019190023-callmejoy
ipv4/sockopt_bsd.go
Go
multiple
3,508
// Copyright 2012 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package ipv4 import ( "syscall" ) func ipv4HeaderPrepend(fd int) (bool, error) { // TODO(mikio): Implement this return false, syscall.EPLAN9 } func setIP...
zy2011019190023-callmejoy
ipv4/sockopt_plan9.go
Go
multiple
417
// Copyright 2012 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // +build darwin freebsd linux netbsd openbsd package ipv4 import ( "net" "reflect" ) func (c *genericOpt) sysfd() (int, error) { switch p := c.c.(type) ...
zy2011019190023-callmejoy
ipv4/helper_unix.go
Go
multiple
1,079
// Copyright 2012 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // +build darwin freebsd linux netbsd openbsd windows package ipv4 import ( "net" "syscall" ) // MulticastTTL returns the time-to-live field value for out...
zy2011019190023-callmejoy
ipv4/dgramopt_posix.go
Go
multiple
2,967
// Copyright 2012 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package ipv4 import ( "net" "syscall" "time" ) // A Conn represents a network endpoint that uses the IPv4 transport. // It is used to control basic IP-lev...
zy2011019190023-callmejoy
ipv4/endpoint.go
Go
multiple
4,589
// Copyright 2012 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package ipv4 import ( "errors" "fmt" "net" "runtime" "syscall" "unsafe" ) var ( errMissingAddress = errors.New("missing address") errMissingHeader ...
zy2011019190023-callmejoy
ipv4/header.go
Go
multiple
6,748
// Copyright 2012 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Package ipv4 implements IP-level socket options for the Internet // Protocol version 4. // // The package provides IP-level socket options that allow // man...
zy2011019190023-callmejoy
ipv4/doc.go
Go
multiple
6,269
// Copyright 2012 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package ipv4 import ( "net" "syscall" ) // A packetHandler represents the IPv4 datagram handler. type packetHandler struct { c *net.IPConn rawOpt } func...
zy2011019190023-callmejoy
ipv4/packet.go
Go
multiple
2,753
// Copyright 2012 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Package idna implements IDNA2008 (Internationalized Domain Names for // Applications), defined in RFC 5890, RFC 5891, RFC 5892, RFC 5893 and // RFC 5894. pac...
zy2011019190023-callmejoy
idna/idna.go
Go
multiple
1,774
// Copyright 2012 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package idna // This file implements the Punycode algorithm from RFC 3492. import ( "fmt" "math" "strings" "unicode/utf8" ) // These parameter values are...
zy2011019190023-callmejoy
idna/punycode.go
Go
multiple
4,447
// Copyright 2010 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Package dict implements the Dictionary Server Protocol // as defined in RFC 2229. package dict import ( "net/textproto" "strconv" "strings" ) // A Clie...
zy2011019190023-callmejoy
dict/dict.go
Go
multiple
4,554
/** jquery.color.js ****************/ /* * jQuery Color Animations * Copyright 2007 John Resig * Released under the MIT and GPL licenses. */ (function(jQuery){ // We override the animation for all of these color styles jQuery.each(['backgroundColor', 'borderBottomColor', 'borderLeftColor', 'borderRightColor', '...
zzant
trunk/zzant/src/main/webapp/resources/js/menu.js
JavaScript
epl
16,157
(function (jQuery) { var daysInWeek = ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"]; var shortMonthsInYear = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]; var longMonthsInYear = ["January", "February", "March", "April", "May", "June", ...
zzant
trunk/zzant/src/main/webapp/resources/js/jquery.dateFormat-1.0.js
JavaScript
epl
13,922
/* * maskMoney plugin for jQuery * http://plentz.github.com/jquery-maskmoney/ * version: 2.1.2 * Licensed under the MIT license */ ;(function($) { if(!$.browser){ $.browser = {}; $.browser.mozilla = /mozilla/.test(navigator.userAgent.toLowerCase()) && !/webkit/.test(navigator.userAgent.toLowerCase()); $.browser....
zzant
trunk/zzant/src/main/webapp/resources/js/jquery.maskMoney.js
JavaScript
epl
11,017
BODY { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 8pt; } #fm{ margin:0; padding:10px 20px; } #orderitemform{ margin:0; padding:10px 20px; } .ftitle{ font-size:14px; font-weight:bold; color:#666; padding:5px 0; margin-bottom:10px; border-bottom:1px solid #ccc; ...
zzant
trunk/zzant/src/main/webapp/resources/theme/zzant.css
CSS
epl
3,445
.accordion{ background:#fff; overflow:hidden; } .accordion .accordion-header{ background:#E0ECFF; border-top-width:0; cursor:pointer; } .accordion .accordion-header .panel-title{ font-weight:normal; } .accordion .accordion-header-selected .panel-title{ font-weight:bold; } .accordion-noborder .acco...
zzant
trunk/zzant/src/main/webapp/resources/theme/easyui_backup.css
CSS
epl
33,406
.icon-blank{ background:url('icons/blank.gif') no-repeat; } .icon-add{ background:url('icons/edit_add.png') no-repeat; } .icon-edit{ background:url('icons/pencil.png') no-repeat; } .icon-remove{ background:url('icons/edit_remove.png') no-repeat; } .icon-save{ background:url('icons/filesave.png') no-re...
zzant
trunk/zzant/src/main/webapp/resources/theme/icon.css
CSS
epl
2,080
.icon-blank{ background:url('icons/blank.gif') no-repeat; } .icon-add{ background:url('icons/edit_add.png') no-repeat; } .icon-edit{ background:url('icons/pencil.png') no-repeat; } .icon-remove{ background:url('icons/edit_remove.png') no-repeat; } .icon-save{ background:url('icons/filesave.png') no-re...
zzant
trunk/zzant/src/main/webapp/resources/theme/icon_backup.css
CSS
epl
2,080
.accordion{ background:#fff; overflow:hidden; } .accordion .accordion-header{ background:#E0ECFF; border-top-width:0; cursor:pointer; } .accordion .accordion-header .panel-title{ font-weight:normal; } .accordion .accordion-header-selected .panel-title{ font-weight:bold; } .accordion-noborder .acco...
zzant
trunk/zzant/src/main/webapp/resources/theme/easyui.css
CSS
epl
33,421
/** ********************************************* * Prototype of styles for horizontal CSS-menu * @data 30.06.2009 ********************************************* * (X)HTML-scheme: * <div id="menu"> * <ul class="menu"> * <li><a href="#" class="parent"><span>level 1</span></a> * ...
zzant
trunk/zzant/src/main/webapp/resources/theme/menu.css
CSS
epl
4,189
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> <%-- Redirected because we can't set the welcome page to a virtual URL. --%> <c:redirect url="/zzant/home"/>
zzant
trunk/zzant/src/main/webapp/WEB-INF/index.jsp
Java Server Pages
epl
177
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> <!-- <a href="http://www.springframework.org"> <img src="<c:url value="/images/powered-by-spring.png" />" /> </a> --> <div id="copyright" style="padding:0px;height:50px;width:100%;text-align:center;"> Menu Copyright &copy; 2012 <a href="http://apy...
zzant
trunk/zzant/src/main/webapp/WEB-INF/layouts/footer.jsp
Java Server Pages
epl
361
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> <!-- <div id="welcome"> Welcome to the Spring Travel application. </div> <div id="branding" class="spring"> <img src="<c:url value="/images/header.jpg"/>" /> </div> --> <style type="text/css"> div#apycommenu { margin:10px auto; } div#copyright { ...
zzant
trunk/zzant/src/main/webapp/WEB-INF/layouts/header.jsp
Java Server Pages
epl
7,173
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> <!-- <ul> <li> <a href="<c:url value="/app/hotels/index" />">Hotels</a> </li> </ul> --> <!-- <div style="padding:3px;background:#A0CFEC;width:112px;height:100%;border:0px solid #ccc"> --> <div style="padding:3px;background:#566D7E;width:112px;hei...
zzant
trunk/zzant/src/main/webapp/WEB-INF/layouts/navigation.jsp
Java Server Pages
epl
1,003
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> <%@ taglib prefix="tiles" uri="http://tiles.apache.org/tags-tiles" %> <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html...
zzant
trunk/zzant/src/main/webapp/WEB-INF/layouts/standard.jsp
Java Server Pages
epl
1,761
<div id="todo_screen" class="easyui-tabs" style="padding:1px;height=200px;overflow:false;"> <div title="Artist ToDo List" closable="false" style="overflow:hidden;"> <div style="padding: 10px"> <table id="artist_todo" ></table> </div> </div> <div title="Admin ToDo List" closable="false"...
zzant
trunk/zzant/src/main/webapp/WEB-INF/views/todolist.jsp
Java Server Pages
epl
15,559
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> <%@ page session="false" %> <html> <head> <title>Home</title> </head> <body> <h1> Hello world! </h1> <P> The time on the server is ${serverTime}. </P> </body> </html>
zzant
trunk/zzant/src/main/webapp/WEB-INF/views/home.jsp
Java Server Pages
epl
238
<link rel="stylesheet" type="text/css" href="resources/theme/cupertino/jquery-ui-1.9.0.custom.min.css"></link> <script src="resources/js/jquery-ui-1.9.0.custom.min.js" type="text/javascript"> </script> <script src="resources/js/jquery-maskedinput-1.3.min.js" type="text/javascript"> </script> <script src="reso...
zzant
trunk/zzant/src/main/webapp/WEB-INF/views/newgarmentorder.jsp
Java Server Pages
epl
36,763
orderlist
zzant
trunk/zzant/src/main/webapp/WEB-INF/views/orderlist.jsp
Java Server Pages
epl
9
package com.bps.zzant.model; import static javax.persistence.GenerationType.IDENTITY; import java.io.Serializable; import java.math.BigDecimal; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.T...
zzant
trunk/zzant/src/main/java/com/bps/zzant/model/Product.java
Java
epl
2,699
package com.bps.zzant.model; import static javax.persistence.GenerationType.IDENTITY; import java.io.Serializable; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.Table; import org.hibernate....
zzant
trunk/zzant/src/main/java/com/bps/zzant/model/Customer.java
Java
epl
4,753
package com.bps.zzant.model; import java.io.Serializable; import java.util.Date; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.Table; import javax.persistence.Column; import javax.persistence.GeneratedValue; import org.hibernate.validator.constraints.NotEmpty; i...
zzant
trunk/zzant/src/main/java/com/bps/zzant/model/ToDo.java
Java
epl
2,506
package com.bps.zzant.model; import java.io.Serializable; public class CustomerSelection implements Serializable { private int id; private String name; public int getId() { return id; } public void setId(int id) { this.id = id; } public String getName() { return name; } public void se...
zzant
trunk/zzant/src/main/java/com/bps/zzant/model/CustomerSelection.java
Java
epl
379
package com.bps.zzant.model; import static javax.persistence.GenerationType.IDENTITY; import java.io.Serializable; import java.math.BigDecimal; import java.util.Date; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.GeneratedVal...
zzant
trunk/zzant/src/main/java/com/bps/zzant/model/Payment.java
Java
epl
2,638
package com.bps.zzant.model; import java.io.Serializable; import java.math.BigDecimal; import java.util.Date; public class OrderForm implements Serializable { /** * */ private static final long serialVersionUID = 7920005558984534650L; private int orderId; private int customerId; private Stri...
zzant
trunk/zzant/src/main/java/com/bps/zzant/model/OrderForm.java
Java
epl
4,025
package com.bps.zzant.model; import static javax.persistence.GenerationType.IDENTITY; import java.io.Serializable; import java.math.BigDecimal; import java.text.ParsePosition; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import java.util.HashSet; import java.util.It...
zzant
trunk/zzant/src/main/java/com/bps/zzant/model/OrderGarment.java
Java
epl
9,299
package com.bps.zzant.model; import static javax.persistence.GenerationType.IDENTITY; import java.io.Serializable; import java.math.BigDecimal; import javax.persistence.Column; import javax.persistence.JoinColumn; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistenc...
zzant
trunk/zzant/src/main/java/com/bps/zzant/model/OrderGarmentItem.java
Java
epl
3,058
package com.bps.zzant.controller; import java.text.DateFormat; import java.util.Date; import java.util.Locale; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.RequestMapping; ...
zzant
trunk/zzant/src/main/java/com/bps/zzant/controller/HomeController.java
Java
epl
1,098
package com.bps.zzant.controller; import java.util.List; import java.util.Locale; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springfr...
zzant
trunk/zzant/src/main/java/com/bps/zzant/controller/OrderListController.java
Java
epl
1,136
package com.bps.zzant.controller; import java.util.List; import java.util.Locale; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springfr...
zzant
trunk/zzant/src/main/java/com/bps/zzant/controller/ToDoController.java
Java
epl
1,252
package com.bps.zzant.controller; import java.util.Locale; import javax.servlet.http.HttpServletRequest; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.RequestMapp...
zzant
trunk/zzant/src/main/java/com/bps/zzant/controller/CleanUnfinishedOrderController.java
Java
epl
896
package com.bps.zzant.controller; import java.util.Locale; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import javax.servlet.http.HttpServletRequest; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.RequestMappin...
zzant
trunk/zzant/src/main/java/com/bps/zzant/controller/GarmentOrderController.java
Java
epl
877
package com.bps.zzant.json; import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Enumeration; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.slf4j.Logger; im...
zzant
trunk/zzant/src/main/java/com/bps/zzant/json/CustomerJSON.java
Java
epl
2,546
package com.bps.zzant.json; import java.math.BigDecimal; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import javax.servlet.http.HttpServletRequest; import javax.se...
zzant
trunk/zzant/src/main/java/com/bps/zzant/json/OrderJSON.java
Java
epl
9,700
package com.bps.zzant.json; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Locale; import java.util.Map; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse;...
zzant
trunk/zzant/src/main/java/com/bps/zzant/json/ToDoJSON.java
Java
epl
7,755
package com.bps.zzant.json; import java.util.ArrayList; import java.util.Enumeration; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.slf4j.Logger; import org.slf4j.LoggerFactory...
zzant
trunk/zzant/src/main/java/com/bps/zzant/json/ProductJSON.java
Java
epl
1,804
package com.bps.zzant.dao; import java.util.List; public interface CustomerDAO { List getCustomersByName(String customerName); }
zzant
trunk/zzant/src/main/java/com/bps/zzant/dao/CustomerDAO.java
Java
epl
139
package com.bps.zzant.dao; import java.util.List; import com.bps.zzant.model.OrderGarment; public interface OrderDAO { public void updateGarmentOrder( OrderGarment order); public void deleteGarmentOrder(OrderGarment order); public void saveGarmentOrder(OrderGarment order); public OrderGarment getOrde...
zzant
trunk/zzant/src/main/java/com/bps/zzant/dao/OrderDAO.java
Java
epl
422
package com.bps.zzant.dao; import java.util.List; import org.hibernate.SessionFactory; import org.hibernate.criterion.Order; import org.hibernate.criterion.Restrictions; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Repository; import com.bps.zzant.mod...
zzant
trunk/zzant/src/main/java/com/bps/zzant/dao/OrderDAOImpl.java
Java
epl
2,191
package com.bps.zzant.dao; import java.util.List; import org.hibernate.SessionFactory; import org.hibernate.criterion.Restrictions; import org.springframework.beans.factory.annotation.Autowired; import com.bps.zzant.model.Customer; public class CustomerDAOImpl implements CustomerDAO { @Autowired pri...
zzant
trunk/zzant/src/main/java/com/bps/zzant/dao/CustomerDAOImpl.java
Java
epl
905
package com.bps.zzant.dao; import java.util.Date; import java.util.List; import com.bps.zzant.model.ToDo; public interface ToDoDAO { public List<ToDo> getToDoList(String owner, String status); public void updateToDo(ToDo toDo); public void deleteToDo(ToDo toDo); public void saveToDo(ToDo toDo); pub...
zzant
trunk/zzant/src/main/java/com/bps/zzant/dao/ToDoDAO.java
Java
epl
491
package com.bps.zzant.dao; import java.util.List; import org.hibernate.SessionFactory; import org.hibernate.criterion.Restrictions; import org.springframework.beans.factory.annotation.Autowired; import com.bps.zzant.model.Product; public class ProductDAOImpl implements ProductDAO { @Autowired private ...
zzant
trunk/zzant/src/main/java/com/bps/zzant/dao/ProductDAOImpl.java
Java
epl
671
package com.bps.zzant.dao; import java.util.List; public interface ProductDAO { List getProductByStyleNo(String styleNo); }
zzant
trunk/zzant/src/main/java/com/bps/zzant/dao/ProductDAO.java
Java
epl
134
package com.bps.zzant.dao; import java.util.Date; import java.util.List; import org.hibernate.Query; import org.hibernate.SessionFactory; import org.hibernate.criterion.Order; import org.hibernate.criterion.Restrictions; import org.springframework.beans.factory.annotation.Autowired; import org.springframewo...
zzant
trunk/zzant/src/main/java/com/bps/zzant/dao/ToDoDAOImpl.java
Java
epl
4,028
package com.bps.zzant.services; import java.util.List; public interface ProductService { List getProductByStyleNo(String styleNo); }
zzant
trunk/zzant/src/main/java/com/bps/zzant/services/ProductService.java
Java
epl
143
package com.bps.zzant.services; import java.util.Date; import java.util.List; import com.bps.zzant.model.ToDo; public interface ToDoService { public List<ToDo> getToDoList(String owner, String status); public void updateToDo(ToDo toDo); public void deleteToDo(ToDo toDo); public void saveToDo(ToDo to...
zzant
trunk/zzant/src/main/java/com/bps/zzant/services/ToDoService.java
Java
epl
499
package com.bps.zzant.services; import java.util.Date; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import com.bps.zzant.dao.ToDoDAO; import com.bps.z...
zzant
trunk/zzant/src/main/java/com/bps/zzant/services/ToDoServiceImpl.java
Java
epl
1,318
package com.bps.zzant.services; import java.util.List; import com.bps.zzant.model.OrderGarment; public interface OrderService { public void updateGarmentOrder( OrderGarment order); public void deleteGarmentOrder(OrderGarment order); public void saveGarmentOrder(OrderGarment order); public OrderGarment ...
zzant
trunk/zzant/src/main/java/com/bps/zzant/services/OrderService.java
Java
epl
429
package com.bps.zzant.services; import java.util.List; import com.bps.zzant.model.Customer; public interface CustomerService { public List<Customer> getCustomersByName(String customerName); }
zzant
trunk/zzant/src/main/java/com/bps/zzant/services/CustomerService.java
Java
epl
203
package com.bps.zzant.services; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import com.bps.zzant.dao.CustomerDAO; import com.bps.zzant.model.Customer; ...
zzant
trunk/zzant/src/main/java/com/bps/zzant/services/CustomerServiceImpl.java
Java
epl
922
package com.bps.zzant.services; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import com.bps.zzant.dao.OrderDAO; import com.bps.zzant.model.OrderGarment; ...
zzant
trunk/zzant/src/main/java/com/bps/zzant/services/OrderServiceImpl.java
Java
epl
1,129
package com.bps.zzant.model; import java.io.Serializable; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; //ignore "bytes" when return json format @JsonIgnoreProperties({"bytes"}) public class FileMeta implements Serializable { private String fileName; private String fileSize; priv...
zzant
truck/zzant/src/com/bps/zzant/model/FileMeta.java
Java
epl
933
package com.bps.zzant.model; import static javax.persistence.GenerationType.IDENTITY; import java.io.Serializable; import java.math.BigDecimal; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.T...
zzant
truck/zzant/src/com/bps/zzant/model/Product.java
Java
epl
2,240
package com.bps.zzant.model; import static javax.persistence.GenerationType.IDENTITY; import java.io.Serializable; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.Table; import org.hibernate....
zzant
truck/zzant/src/com/bps/zzant/model/Customer.java
Java
epl
5,873
package com.bps.zzant.model; import java.io.Serializable; import java.util.Date; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.Table; import javax.persistence.Column; import javax.persistence.GeneratedValue; import org.hibernate.validator.constraints.NotEmpty; i...
zzant
truck/zzant/src/com/bps/zzant/model/ToDo.java
Java
epl
2,506