|
From: <sim...@us...> - 2007-05-21 23:14:52
|
Revision: 306
http://svn.sourceforge.net/zkforge/?rev=306&view=rev
Author: simon_massey
Date: 2007-05-21 16:14:38 -0700 (Mon, 21 May 2007)
Log Message:
-----------
Added the license. Why do I always forget that until after I commit the first version of the file... :)
Modified Paths:
--------------
trunk/foodToGo/src/main/webapp/zul/load-dummy-data.zs
trunk/foodToGo/src/main/webapp/zul/restaurant-macro.zs
trunk/foodToGo/src/main/webapp/zul/restaurant.zul
Modified: trunk/foodToGo/src/main/webapp/zul/load-dummy-data.zs
===================================================================
--- trunk/foodToGo/src/main/webapp/zul/load-dummy-data.zs 2007-05-21 23:10:00 UTC (rev 305)
+++ trunk/foodToGo/src/main/webapp/zul/load-dummy-data.zs 2007-05-21 23:14:38 UTC (rev 306)
@@ -1,7 +1,23 @@
/*
-If the database was empty create some sample data
+ZK Food To Go :: A realistic example of using ZK with POJOs, Spring and Hibernate.
+Copyright (C) 2006 Simon Massey
+
+This program is free software; you can redistribute it and/or
+modify it under the terms of the GNU General Public License
+as published by the Free Software Foundation; either version 2
+of the License, or (at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program; if not, write to the Free Software
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
if( 0 == restaurants.size() ) {
+ //If the database was empty create some sample data
menuList = new java.util.ArrayList();
dummyMenuItem = new net.chrisrichardson.foodToGo.domain.MenuItem();
dummyMenuItem.setName("Cannelloni");
Modified: trunk/foodToGo/src/main/webapp/zul/restaurant-macro.zs
===================================================================
--- trunk/foodToGo/src/main/webapp/zul/restaurant-macro.zs 2007-05-21 23:10:00 UTC (rev 305)
+++ trunk/foodToGo/src/main/webapp/zul/restaurant-macro.zs 2007-05-21 23:14:38 UTC (rev 306)
@@ -1,3 +1,21 @@
+/*
+ZK Food To Go :: A realistic example of using ZK with POJOs, Spring and Hibernate.
+Copyright (C) 2007 Simon Massey
+
+This program is free software; you can redistribute it and/or
+modify it under the terms of the GNU General Public License
+as published by the Free Software Foundation; either version 2
+of the License, or (at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program; if not, write to the Free Software
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+*/
import org.zkoss.zk.ui.*;
import org.zkoss.zul.*;
public class RestaurantMacro extends HtmlMacroComponent {
Modified: trunk/foodToGo/src/main/webapp/zul/restaurant.zul
===================================================================
--- trunk/foodToGo/src/main/webapp/zul/restaurant.zul 2007-05-21 23:10:00 UTC (rev 305)
+++ trunk/foodToGo/src/main/webapp/zul/restaurant.zul 2007-05-21 23:14:38 UTC (rev 306)
@@ -1,3 +1,21 @@
+<!--
+ZK Food To Go :: A realistic example of using ZK with POJOs, Spring and Hibernate.
+Copyright (C) 2007 Simon Massey
+
+This program is free software; you can redistribute it and/or
+modify it under the terms of the GNU General Public License
+as published by the Free Software Foundation; either version 2
+of the License, or (at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program; if not, write to the Free Software
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+-->
<grid>
<rows>
<row>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|