http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/samples/forum/src/main/java/org/qi4j/samples/forum/rest/resource/administration/AdministrationResource.java ---------------------------------------------------------------------- diff --git a/samples/forum/src/main/java/org/qi4j/samples/forum/rest/resource/administration/AdministrationResource.java b/samples/forum/src/main/java/org/qi4j/samples/forum/rest/resource/administration/AdministrationResource.java index 954c430..53c94cd 100644 --- a/samples/forum/src/main/java/org/qi4j/samples/forum/rest/resource/administration/AdministrationResource.java +++ b/samples/forum/src/main/java/org/qi4j/samples/forum/rest/resource/administration/AdministrationResource.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.qi4j.samples.forum.rest.resource.administration; import org.qi4j.library.rest.server.api.ContextResource;
http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/samples/forum/src/main/java/org/qi4j/samples/forum/rest/resource/administration/ForumsResource.java ---------------------------------------------------------------------- diff --git a/samples/forum/src/main/java/org/qi4j/samples/forum/rest/resource/administration/ForumsResource.java b/samples/forum/src/main/java/org/qi4j/samples/forum/rest/resource/administration/ForumsResource.java index a0e5eba..c2cecc8 100644 --- a/samples/forum/src/main/java/org/qi4j/samples/forum/rest/resource/administration/ForumsResource.java +++ b/samples/forum/src/main/java/org/qi4j/samples/forum/rest/resource/administration/ForumsResource.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.qi4j.samples.forum.rest.resource.administration; import org.qi4j.library.rest.server.api.ContextResource; http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/samples/forum/src/main/java/org/qi4j/samples/forum/rest/resource/administration/UsersResource.java ---------------------------------------------------------------------- diff --git a/samples/forum/src/main/java/org/qi4j/samples/forum/rest/resource/administration/UsersResource.java b/samples/forum/src/main/java/org/qi4j/samples/forum/rest/resource/administration/UsersResource.java index 7b3c6ba..3aa09fb 100644 --- a/samples/forum/src/main/java/org/qi4j/samples/forum/rest/resource/administration/UsersResource.java +++ b/samples/forum/src/main/java/org/qi4j/samples/forum/rest/resource/administration/UsersResource.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.qi4j.samples.forum.rest.resource.administration; import org.qi4j.api.query.Query; http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/samples/forum/src/main/java/org/qi4j/samples/forum/rest/resource/forum/BoardResource.java ---------------------------------------------------------------------- diff --git a/samples/forum/src/main/java/org/qi4j/samples/forum/rest/resource/forum/BoardResource.java b/samples/forum/src/main/java/org/qi4j/samples/forum/rest/resource/forum/BoardResource.java index e84f53e..f408927 100644 --- a/samples/forum/src/main/java/org/qi4j/samples/forum/rest/resource/forum/BoardResource.java +++ b/samples/forum/src/main/java/org/qi4j/samples/forum/rest/resource/forum/BoardResource.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.qi4j.samples.forum.rest.resource.forum; import org.qi4j.library.rest.server.api.ContextResource; http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/samples/forum/src/main/java/org/qi4j/samples/forum/rest/resource/forum/ForumResource.java ---------------------------------------------------------------------- diff --git a/samples/forum/src/main/java/org/qi4j/samples/forum/rest/resource/forum/ForumResource.java b/samples/forum/src/main/java/org/qi4j/samples/forum/rest/resource/forum/ForumResource.java index a5aa760..36864d7 100644 --- a/samples/forum/src/main/java/org/qi4j/samples/forum/rest/resource/forum/ForumResource.java +++ b/samples/forum/src/main/java/org/qi4j/samples/forum/rest/resource/forum/ForumResource.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.qi4j.samples.forum.rest.resource.forum; import org.qi4j.library.rest.server.api.ContextResource; http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/samples/forum/src/main/java/org/qi4j/samples/forum/rest/resource/forum/ForumsResource.java ---------------------------------------------------------------------- diff --git a/samples/forum/src/main/java/org/qi4j/samples/forum/rest/resource/forum/ForumsResource.java b/samples/forum/src/main/java/org/qi4j/samples/forum/rest/resource/forum/ForumsResource.java index 384e037..c48a28a 100644 --- a/samples/forum/src/main/java/org/qi4j/samples/forum/rest/resource/forum/ForumsResource.java +++ b/samples/forum/src/main/java/org/qi4j/samples/forum/rest/resource/forum/ForumsResource.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.qi4j.samples.forum.rest.resource.forum; import org.qi4j.library.rest.server.api.ContextResource; http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/samples/forum/src/main/java/org/qi4j/samples/forum/rest/resource/login/LoginResource.java ---------------------------------------------------------------------- diff --git a/samples/forum/src/main/java/org/qi4j/samples/forum/rest/resource/login/LoginResource.java b/samples/forum/src/main/java/org/qi4j/samples/forum/rest/resource/login/LoginResource.java index 5509f3d..76c4457 100644 --- a/samples/forum/src/main/java/org/qi4j/samples/forum/rest/resource/login/LoginResource.java +++ b/samples/forum/src/main/java/org/qi4j/samples/forum/rest/resource/login/LoginResource.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.qi4j.samples.forum.rest.resource.login; import org.qi4j.library.rest.server.api.ContextResource; http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/samples/forum/src/main/java/org/qi4j/samples/forum/rest/resource/signup/SignupResource.java ---------------------------------------------------------------------- diff --git a/samples/forum/src/main/java/org/qi4j/samples/forum/rest/resource/signup/SignupResource.java b/samples/forum/src/main/java/org/qi4j/samples/forum/rest/resource/signup/SignupResource.java index 713ea2e..69a341a 100644 --- a/samples/forum/src/main/java/org/qi4j/samples/forum/rest/resource/signup/SignupResource.java +++ b/samples/forum/src/main/java/org/qi4j/samples/forum/rest/resource/signup/SignupResource.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.qi4j.samples.forum.rest.resource.signup; import org.qi4j.library.rest.server.api.ContextResource; http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/samples/forum/src/main/java/org/qi4j/samples/forum/service/BootstrapData.java ---------------------------------------------------------------------- diff --git a/samples/forum/src/main/java/org/qi4j/samples/forum/service/BootstrapData.java b/samples/forum/src/main/java/org/qi4j/samples/forum/service/BootstrapData.java index 8776a00..6800e6b 100644 --- a/samples/forum/src/main/java/org/qi4j/samples/forum/service/BootstrapData.java +++ b/samples/forum/src/main/java/org/qi4j/samples/forum/service/BootstrapData.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.qi4j.samples.forum.service; import org.qi4j.api.activation.ActivatorAdapter; http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/samples/forum/src/main/webapp/WEB-INF/web.xml ---------------------------------------------------------------------- diff --git a/samples/forum/src/main/webapp/WEB-INF/web.xml b/samples/forum/src/main/webapp/WEB-INF/web.xml index e69de29..a8f6a82 100644 --- a/samples/forum/src/main/webapp/WEB-INF/web.xml +++ b/samples/forum/src/main/webapp/WEB-INF/web.xml @@ -0,0 +1,16 @@ +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/samples/forum/src/test/java/org/qi4j/samples/forum/web/Main.java ---------------------------------------------------------------------- diff --git a/samples/forum/src/test/java/org/qi4j/samples/forum/web/Main.java b/samples/forum/src/test/java/org/qi4j/samples/forum/web/Main.java index 623ac12..298e66e 100644 --- a/samples/forum/src/test/java/org/qi4j/samples/forum/web/Main.java +++ b/samples/forum/src/test/java/org/qi4j/samples/forum/web/Main.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.qi4j.samples.forum.web; import org.qi4j.api.structure.Application; http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/samples/rental/build.gradle ---------------------------------------------------------------------- diff --git a/samples/rental/build.gradle b/samples/rental/build.gradle index 766876a..a065815 100644 --- a/samples/rental/build.gradle +++ b/samples/rental/build.gradle @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + description = "Sample of implementation of a Car Rental application." apply plugin: 'war' http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/samples/rental/src/main/resources/org/qi4j/sample/rental/index.html ---------------------------------------------------------------------- diff --git a/samples/rental/src/main/resources/org/qi4j/sample/rental/index.html b/samples/rental/src/main/resources/org/qi4j/sample/rental/index.html index e69de29..a8f6a82 100644 --- a/samples/rental/src/main/resources/org/qi4j/sample/rental/index.html +++ b/samples/rental/src/main/resources/org/qi4j/sample/rental/index.html @@ -0,0 +1,16 @@ +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/samples/rental/src/main/resources/org/qi4j/sample/rental/web/BookingPage.html ---------------------------------------------------------------------- diff --git a/samples/rental/src/main/resources/org/qi4j/sample/rental/web/BookingPage.html b/samples/rental/src/main/resources/org/qi4j/sample/rental/web/BookingPage.html index c5407fe..e777524 100644 --- a/samples/rental/src/main/resources/org/qi4j/sample/rental/web/BookingPage.html +++ b/samples/rental/src/main/resources/org/qi4j/sample/rental/web/BookingPage.html @@ -1,3 +1,19 @@ +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en" xmlns:qi="http://www.qi4j.org/ns/2009/quikit" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/samples/rental/src/main/resources/org/qi4j/sample/rental/web/MainPage.html ---------------------------------------------------------------------- diff --git a/samples/rental/src/main/resources/org/qi4j/sample/rental/web/MainPage.html b/samples/rental/src/main/resources/org/qi4j/sample/rental/web/MainPage.html index 210a42d..a86b8ad 100644 --- a/samples/rental/src/main/resources/org/qi4j/sample/rental/web/MainPage.html +++ b/samples/rental/src/main/resources/org/qi4j/sample/rental/web/MainPage.html @@ -1,4 +1,20 @@ <?xml version="1.0" ?> +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en" xmlns:qi="http://www.qi4j.org/ns/2009/quikit" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/samples/rental/src/main/resources/resolve.properties ---------------------------------------------------------------------- diff --git a/samples/rental/src/main/resources/resolve.properties b/samples/rental/src/main/resources/resolve.properties index def6598..0184c5d 100644 --- a/samples/rental/src/main/resources/resolve.properties +++ b/samples/rental/src/main/resources/resolve.properties @@ -1,2 +1,17 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + http\://www.w3.org/2002/08/xhtml/xhtml1-strict.xsd=xhtml1-strict.xsd http\://www.w3.org/2001/xml.xsd=xml.xsd \ No newline at end of file http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/samples/rental/src/main/webapp/WEB-INF/web.xml ---------------------------------------------------------------------- diff --git a/samples/rental/src/main/webapp/WEB-INF/web.xml b/samples/rental/src/main/webapp/WEB-INF/web.xml index ea6025e..67a2248 100644 --- a/samples/rental/src/main/webapp/WEB-INF/web.xml +++ b/samples/rental/src/main/webapp/WEB-INF/web.xml @@ -1,4 +1,20 @@ <?xml version="1.0" encoding="UTF-8"?> +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> <web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/samples/sql-support/build.gradle ---------------------------------------------------------------------- diff --git a/samples/sql-support/build.gradle b/samples/sql-support/build.gradle index a7044c8..286e6fe 100644 --- a/samples/sql-support/build.gradle +++ b/samples/sql-support/build.gradle @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + description = "SQL Support Sample." jar { manifest { name = "Qi4j Sample - SQL Support" }} http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/samples/sql-support/src/main/resources/entitystore-postgresql.properties ---------------------------------------------------------------------- diff --git a/samples/sql-support/src/main/resources/entitystore-postgresql.properties b/samples/sql-support/src/main/resources/entitystore-postgresql.properties index 9b73610..ea8d622 100644 --- a/samples/sql-support/src/main/resources/entitystore-postgresql.properties +++ b/samples/sql-support/src/main/resources/entitystore-postgresql.properties @@ -1,2 +1,17 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + schemaName=sql_sample_entitystore http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/samples/sql-support/src/main/resources/indexing-sql.properties ---------------------------------------------------------------------- diff --git a/samples/sql-support/src/main/resources/indexing-sql.properties b/samples/sql-support/src/main/resources/indexing-sql.properties index db8ea8f..83c837a 100644 --- a/samples/sql-support/src/main/resources/indexing-sql.properties +++ b/samples/sql-support/src/main/resources/indexing-sql.properties @@ -1,2 +1,17 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + schemaName=sql_sample_indexing http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/samples/sql-support/src/main/resources/logback.xml ---------------------------------------------------------------------- diff --git a/samples/sql-support/src/main/resources/logback.xml b/samples/sql-support/src/main/resources/logback.xml index 98adf3d..e9fbe43 100644 --- a/samples/sql-support/src/main/resources/logback.xml +++ b/samples/sql-support/src/main/resources/logback.xml @@ -1,4 +1,20 @@ <?xml version="1.0" encoding="UTF-8"?> +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> <configuration> <appender name="stdout" class="ch.qos.logback.core.ConsoleAppender"> http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/samples/sql-support/src/main/resources/postgresql-es-datasource.properties ---------------------------------------------------------------------- diff --git a/samples/sql-support/src/main/resources/postgresql-es-datasource.properties b/samples/sql-support/src/main/resources/postgresql-es-datasource.properties index a906d84..f7d7ad5 100644 --- a/samples/sql-support/src/main/resources/postgresql-es-datasource.properties +++ b/samples/sql-support/src/main/resources/postgresql-es-datasource.properties @@ -1,3 +1,18 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + enabled=true url=jdbc:postgresql://localhost:5432/jdbc_test_db driver=org.postgresql.Driver http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/samples/sql-support/src/main/resources/postgresql-index-datasource.properties ---------------------------------------------------------------------- diff --git a/samples/sql-support/src/main/resources/postgresql-index-datasource.properties b/samples/sql-support/src/main/resources/postgresql-index-datasource.properties index a906d84..f7d7ad5 100644 --- a/samples/sql-support/src/main/resources/postgresql-index-datasource.properties +++ b/samples/sql-support/src/main/resources/postgresql-index-datasource.properties @@ -1,3 +1,18 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + enabled=true url=jdbc:postgresql://localhost:5432/jdbc_test_db driver=org.postgresql.Driver http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/samples/struts2Hello/build.gradle ---------------------------------------------------------------------- diff --git a/samples/struts2Hello/build.gradle b/samples/struts2Hello/build.gradle index 9ba2559..e7da3c3 100644 --- a/samples/struts2Hello/build.gradle +++ b/samples/struts2Hello/build.gradle @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + description = "Sample of how to use the Struts2 integration." jar { manifest { name = "Qi4j Sample - Struts2" }} http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/samples/struts2Hello/src/main/java/org/qi4j/library/struts2/example/Item.java ---------------------------------------------------------------------- diff --git a/samples/struts2Hello/src/main/java/org/qi4j/library/struts2/example/Item.java b/samples/struts2Hello/src/main/java/org/qi4j/library/struts2/example/Item.java index 468a48a..1a86e0f 100644 --- a/samples/struts2Hello/src/main/java/org/qi4j/library/struts2/example/Item.java +++ b/samples/struts2Hello/src/main/java/org/qi4j/library/struts2/example/Item.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.qi4j.library.struts2.example; import org.qi4j.api.entity.EntityComposite; http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/samples/struts2Hello/src/main/java/org/qi4j/library/struts2/example/JettyLauncher.java ---------------------------------------------------------------------- diff --git a/samples/struts2Hello/src/main/java/org/qi4j/library/struts2/example/JettyLauncher.java b/samples/struts2Hello/src/main/java/org/qi4j/library/struts2/example/JettyLauncher.java index 6f10b29..ea5a838 100644 --- a/samples/struts2Hello/src/main/java/org/qi4j/library/struts2/example/JettyLauncher.java +++ b/samples/struts2Hello/src/main/java/org/qi4j/library/struts2/example/JettyLauncher.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.qi4j.library.struts2.example; import org.eclipse.jetty.server.Server; http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/samples/struts2Hello/src/main/java/org/qi4j/library/struts2/example/Nameable.java ---------------------------------------------------------------------- diff --git a/samples/struts2Hello/src/main/java/org/qi4j/library/struts2/example/Nameable.java b/samples/struts2Hello/src/main/java/org/qi4j/library/struts2/example/Nameable.java index f2a533a..ccced4a 100644 --- a/samples/struts2Hello/src/main/java/org/qi4j/library/struts2/example/Nameable.java +++ b/samples/struts2Hello/src/main/java/org/qi4j/library/struts2/example/Nameable.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.qi4j.library.struts2.example; import org.qi4j.api.property.Property; http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/samples/struts2Hello/src/main/java/org/qi4j/library/struts2/example/actions/AddItem.java ---------------------------------------------------------------------- diff --git a/samples/struts2Hello/src/main/java/org/qi4j/library/struts2/example/actions/AddItem.java b/samples/struts2Hello/src/main/java/org/qi4j/library/struts2/example/actions/AddItem.java index 700ce72..3604f1a 100644 --- a/samples/struts2Hello/src/main/java/org/qi4j/library/struts2/example/actions/AddItem.java +++ b/samples/struts2Hello/src/main/java/org/qi4j/library/struts2/example/actions/AddItem.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.qi4j.library.struts2.example.actions; import org.apache.struts2.config.Result; http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/samples/struts2Hello/src/main/java/org/qi4j/library/struts2/example/actions/EditItem.java ---------------------------------------------------------------------- diff --git a/samples/struts2Hello/src/main/java/org/qi4j/library/struts2/example/actions/EditItem.java b/samples/struts2Hello/src/main/java/org/qi4j/library/struts2/example/actions/EditItem.java index dc77b4a..128ea70 100644 --- a/samples/struts2Hello/src/main/java/org/qi4j/library/struts2/example/actions/EditItem.java +++ b/samples/struts2Hello/src/main/java/org/qi4j/library/struts2/example/actions/EditItem.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.qi4j.library.struts2.example.actions; import com.opensymphony.xwork2.ActionSupport; http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/samples/struts2Hello/src/main/java/org/qi4j/library/struts2/example/actions/ListItems.java ---------------------------------------------------------------------- diff --git a/samples/struts2Hello/src/main/java/org/qi4j/library/struts2/example/actions/ListItems.java b/samples/struts2Hello/src/main/java/org/qi4j/library/struts2/example/actions/ListItems.java index e9a3a79..989fd6d 100644 --- a/samples/struts2Hello/src/main/java/org/qi4j/library/struts2/example/actions/ListItems.java +++ b/samples/struts2Hello/src/main/java/org/qi4j/library/struts2/example/actions/ListItems.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.qi4j.library.struts2.example.actions; import org.apache.struts2.config.Result; http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/samples/struts2Hello/src/main/resources/log4j.properties ---------------------------------------------------------------------- diff --git a/samples/struts2Hello/src/main/resources/log4j.properties b/samples/struts2Hello/src/main/resources/log4j.properties index d973f20..eb69425 100644 --- a/samples/struts2Hello/src/main/resources/log4j.properties +++ b/samples/struts2Hello/src/main/resources/log4j.properties @@ -1,3 +1,18 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + log4j.rootLogger = DEBUG, stdout log4j.category.com.opensymphony.sitemesh=DEBUG http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/samples/struts2Hello/src/main/resources/struts.properties ---------------------------------------------------------------------- diff --git a/samples/struts2Hello/src/main/resources/struts.properties b/samples/struts2Hello/src/main/resources/struts.properties index f802775..00dab45 100644 --- a/samples/struts2Hello/src/main/resources/struts.properties +++ b/samples/struts2Hello/src/main/resources/struts.properties @@ -1,3 +1,18 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # struts.configuration=org.apache.struts2.config.DefaultConfiguration # struts.locale=en_US http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/samples/struts2Hello/src/main/resources/struts.xml ---------------------------------------------------------------------- diff --git a/samples/struts2Hello/src/main/resources/struts.xml b/samples/struts2Hello/src/main/resources/struts.xml index fd487b3..6fc40d1 100644 --- a/samples/struts2Hello/src/main/resources/struts.xml +++ b/samples/struts2Hello/src/main/resources/struts.xml @@ -1,6 +1,22 @@ <!DOCTYPE struts PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN" "http://struts.apache.org/dtds/struts-2.0.dtd"> +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> <struts> <constant name="struts.configuration.classpath.disableActionScanning" value="true"/> <constant name="struts.configuration.classpath.defaultParentPackage" value="example-base"/> http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/samples/struts2Hello/src/main/webapp/WEB-INF/decorators.xml ---------------------------------------------------------------------- diff --git a/samples/struts2Hello/src/main/webapp/WEB-INF/decorators.xml b/samples/struts2Hello/src/main/webapp/WEB-INF/decorators.xml index f630e64..fe9f6d5 100644 --- a/samples/struts2Hello/src/main/webapp/WEB-INF/decorators.xml +++ b/samples/struts2Hello/src/main/webapp/WEB-INF/decorators.xml @@ -1,5 +1,20 @@ <?xml version="1.0" encoding="ISO-8859-1"?> - +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> <decorators defaultdir="/WEB-INF/decorators"> <!-- Any urls that are excluded will never be decorated by Sitemesh --> <excludes> http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/samples/struts2Hello/src/main/webapp/WEB-INF/decorators/main.jsp ---------------------------------------------------------------------- diff --git a/samples/struts2Hello/src/main/webapp/WEB-INF/decorators/main.jsp b/samples/struts2Hello/src/main/webapp/WEB-INF/decorators/main.jsp index 426ff17..d79e21b 100644 --- a/samples/struts2Hello/src/main/webapp/WEB-INF/decorators/main.jsp +++ b/samples/struts2Hello/src/main/webapp/WEB-INF/decorators/main.jsp @@ -1,3 +1,19 @@ +<%-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--%> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/samples/struts2Hello/src/main/webapp/WEB-INF/dwr.xml ---------------------------------------------------------------------- diff --git a/samples/struts2Hello/src/main/webapp/WEB-INF/dwr.xml b/samples/struts2Hello/src/main/webapp/WEB-INF/dwr.xml index 912f1b7..1ed0900 100644 --- a/samples/struts2Hello/src/main/webapp/WEB-INF/dwr.xml +++ b/samples/struts2Hello/src/main/webapp/WEB-INF/dwr.xml @@ -1,5 +1,21 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE dwr PUBLIC "-//GetAhead Limited//DTD Direct Web Remoting 1.0//EN" "http://www.getahead.ltd.uk/dwr/dwr10.dtd"> +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> <dwr> <allow> <create creator="new" javascript="validator"> http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/samples/struts2Hello/src/main/webapp/WEB-INF/sitemesh.xml ---------------------------------------------------------------------- diff --git a/samples/struts2Hello/src/main/webapp/WEB-INF/sitemesh.xml b/samples/struts2Hello/src/main/webapp/WEB-INF/sitemesh.xml index 6aac707..e0112aa 100644 --- a/samples/struts2Hello/src/main/webapp/WEB-INF/sitemesh.xml +++ b/samples/struts2Hello/src/main/webapp/WEB-INF/sitemesh.xml @@ -1,5 +1,20 @@ <?xml version="1.0" encoding="UTF-8" ?> - +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> <sitemesh> <property name="decorators-file" value="/WEB-INF/decorators.xml"/> <excludes file="${decorators-file}"/> http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/samples/struts2Hello/src/main/webapp/WEB-INF/web.xml ---------------------------------------------------------------------- diff --git a/samples/struts2Hello/src/main/webapp/WEB-INF/web.xml b/samples/struts2Hello/src/main/webapp/WEB-INF/web.xml index ebb60d0..416c9ce 100644 --- a/samples/struts2Hello/src/main/webapp/WEB-INF/web.xml +++ b/samples/struts2Hello/src/main/webapp/WEB-INF/web.xml @@ -1,5 +1,20 @@ <?xml version="1.0" encoding="UTF-8"?> - +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> <web-app id="starter" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/samples/struts2Hello/src/main/webapp/index.jsp ---------------------------------------------------------------------- diff --git a/samples/struts2Hello/src/main/webapp/index.jsp b/samples/struts2Hello/src/main/webapp/index.jsp index 7be3471..f0100d3 100644 --- a/samples/struts2Hello/src/main/webapp/index.jsp +++ b/samples/struts2Hello/src/main/webapp/index.jsp @@ -1 +1,17 @@ +<%-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--%> <% response.sendRedirect( "index.action" ); %> http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/samples/struts2Hello/src/main/webapp/jsp/addItem.jsp ---------------------------------------------------------------------- diff --git a/samples/struts2Hello/src/main/webapp/jsp/addItem.jsp b/samples/struts2Hello/src/main/webapp/jsp/addItem.jsp index 528821d..aac5ba4 100644 --- a/samples/struts2Hello/src/main/webapp/jsp/addItem.jsp +++ b/samples/struts2Hello/src/main/webapp/jsp/addItem.jsp @@ -1,3 +1,19 @@ +<%-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--%> <%@ taglib prefix="s" uri="/struts-tags" %> <html> http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/samples/struts2Hello/src/main/webapp/jsp/editItem.jsp ---------------------------------------------------------------------- diff --git a/samples/struts2Hello/src/main/webapp/jsp/editItem.jsp b/samples/struts2Hello/src/main/webapp/jsp/editItem.jsp index 0b46cab..23edb26 100644 --- a/samples/struts2Hello/src/main/webapp/jsp/editItem.jsp +++ b/samples/struts2Hello/src/main/webapp/jsp/editItem.jsp @@ -1,3 +1,19 @@ +<%-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--%> <%@ taglib prefix="s" uri="/struts-tags" %> <html> http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/samples/struts2Hello/src/main/webapp/jsp/helloWorld.jsp ---------------------------------------------------------------------- diff --git a/samples/struts2Hello/src/main/webapp/jsp/helloWorld.jsp b/samples/struts2Hello/src/main/webapp/jsp/helloWorld.jsp index aa3053a..197c92a 100644 --- a/samples/struts2Hello/src/main/webapp/jsp/helloWorld.jsp +++ b/samples/struts2Hello/src/main/webapp/jsp/helloWorld.jsp @@ -1,3 +1,19 @@ +<%-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--%> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/samples/struts2Hello/src/main/webapp/jsp/index.jsp ---------------------------------------------------------------------- diff --git a/samples/struts2Hello/src/main/webapp/jsp/index.jsp b/samples/struts2Hello/src/main/webapp/jsp/index.jsp index 57deb2c..db5ba7a 100644 --- a/samples/struts2Hello/src/main/webapp/jsp/index.jsp +++ b/samples/struts2Hello/src/main/webapp/jsp/index.jsp @@ -1,3 +1,19 @@ +<%-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--%> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <%@taglib prefix="s" uri="/struts-tags" %> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/samples/struts2Hello/src/main/webapp/jsp/listItems.jsp ---------------------------------------------------------------------- diff --git a/samples/struts2Hello/src/main/webapp/jsp/listItems.jsp b/samples/struts2Hello/src/main/webapp/jsp/listItems.jsp index 02d843c..ec31aac 100644 --- a/samples/struts2Hello/src/main/webapp/jsp/listItems.jsp +++ b/samples/struts2Hello/src/main/webapp/jsp/listItems.jsp @@ -1,3 +1,19 @@ +<%-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--%> <%@ taglib prefix="s" uri="/struts-tags" %> <html> http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/samples/struts2Hello/src/main/webapp/styles/forms.css ---------------------------------------------------------------------- diff --git a/samples/struts2Hello/src/main/webapp/styles/forms.css b/samples/struts2Hello/src/main/webapp/styles/forms.css index c795405..6b3cc9d 100644 --- a/samples/struts2Hello/src/main/webapp/styles/forms.css +++ b/samples/struts2Hello/src/main/webapp/styles/forms.css @@ -1,4 +1,32 @@ -/* A CSS Framework by Mike Stenhouse of Content with Style */ +/* +Copyright (c) 2005, Mike Stenhouse of Content with Style +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software without + specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ /* FORM ELEMENTS */ form http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/samples/struts2Hello/src/main/webapp/styles/layout-1col.css ---------------------------------------------------------------------- diff --git a/samples/struts2Hello/src/main/webapp/styles/layout-1col.css b/samples/struts2Hello/src/main/webapp/styles/layout-1col.css index 3e4ae06..1f15124 100644 --- a/samples/struts2Hello/src/main/webapp/styles/layout-1col.css +++ b/samples/struts2Hello/src/main/webapp/styles/layout-1col.css @@ -1,4 +1,32 @@ -/* A CSS Framework by Mike Stenhouse of Content with Style */ +/* +Copyright (c) 2005, Mike Stenhouse of Content with Style +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software without + specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ @import url("nav-horizontal.css"); http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/samples/struts2Hello/src/main/webapp/styles/layout-navleft-1col.css ---------------------------------------------------------------------- diff --git a/samples/struts2Hello/src/main/webapp/styles/layout-navleft-1col.css b/samples/struts2Hello/src/main/webapp/styles/layout-navleft-1col.css index 34aa873..b27613c 100644 --- a/samples/struts2Hello/src/main/webapp/styles/layout-navleft-1col.css +++ b/samples/struts2Hello/src/main/webapp/styles/layout-navleft-1col.css @@ -1,4 +1,32 @@ -/* A CSS Framework by Mike Stenhouse of Content with Style */ +/* +Copyright (c) 2005, Mike Stenhouse of Content with Style +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software without + specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ @import url("nav-vertical.css"); http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/samples/struts2Hello/src/main/webapp/styles/layout-navleft-2col.css ---------------------------------------------------------------------- diff --git a/samples/struts2Hello/src/main/webapp/styles/layout-navleft-2col.css b/samples/struts2Hello/src/main/webapp/styles/layout-navleft-2col.css index 1dc0f56..31d9f40 100644 --- a/samples/struts2Hello/src/main/webapp/styles/layout-navleft-2col.css +++ b/samples/struts2Hello/src/main/webapp/styles/layout-navleft-2col.css @@ -1,4 +1,32 @@ -/* A CSS Framework by Mike Stenhouse of Content with Style */ +/* +Copyright (c) 2005, Mike Stenhouse of Content with Style +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software without + specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ @import url("nav-vertical.css"); http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/samples/struts2Hello/src/main/webapp/styles/layout-navtop-1col.css ---------------------------------------------------------------------- diff --git a/samples/struts2Hello/src/main/webapp/styles/layout-navtop-1col.css b/samples/struts2Hello/src/main/webapp/styles/layout-navtop-1col.css index 697bcb9..c3ad08a 100644 --- a/samples/struts2Hello/src/main/webapp/styles/layout-navtop-1col.css +++ b/samples/struts2Hello/src/main/webapp/styles/layout-navtop-1col.css @@ -1,4 +1,32 @@ -/* A CSS Framework by Mike Stenhouse of Content with Style */ +/* +Copyright (c) 2005, Mike Stenhouse of Content with Style +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software without + specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ @import url("nav-horizontal.css"); http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/samples/struts2Hello/src/main/webapp/styles/layout-navtop-3col.css ---------------------------------------------------------------------- diff --git a/samples/struts2Hello/src/main/webapp/styles/layout-navtop-3col.css b/samples/struts2Hello/src/main/webapp/styles/layout-navtop-3col.css index 7e4ac6f..ccfd7a4 100644 --- a/samples/struts2Hello/src/main/webapp/styles/layout-navtop-3col.css +++ b/samples/struts2Hello/src/main/webapp/styles/layout-navtop-3col.css @@ -1,4 +1,32 @@ -/* A CSS Framework by Mike Stenhouse of Content with Style */ +/* +Copyright (c) 2005, Mike Stenhouse of Content with Style +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software without + specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ @import url("nav-horizontal.css"); http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/samples/struts2Hello/src/main/webapp/styles/layout-navtop-localleft.css ---------------------------------------------------------------------- diff --git a/samples/struts2Hello/src/main/webapp/styles/layout-navtop-localleft.css b/samples/struts2Hello/src/main/webapp/styles/layout-navtop-localleft.css index 92f56de..b91eb32 100644 --- a/samples/struts2Hello/src/main/webapp/styles/layout-navtop-localleft.css +++ b/samples/struts2Hello/src/main/webapp/styles/layout-navtop-localleft.css @@ -1,4 +1,32 @@ -/* A CSS Framework by Mike Stenhouse of Content with Style */ +/* +Copyright (c) 2005, Mike Stenhouse of Content with Style +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software without + specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ @import url("nav-horizontal.css"); http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/samples/struts2Hello/src/main/webapp/styles/layout-navtop-subright.css ---------------------------------------------------------------------- diff --git a/samples/struts2Hello/src/main/webapp/styles/layout-navtop-subright.css b/samples/struts2Hello/src/main/webapp/styles/layout-navtop-subright.css index 03e45b7..7ae8edb 100644 --- a/samples/struts2Hello/src/main/webapp/styles/layout-navtop-subright.css +++ b/samples/struts2Hello/src/main/webapp/styles/layout-navtop-subright.css @@ -1,4 +1,32 @@ -/* A CSS Framework by Mike Stenhouse of Content with Style */ +/* +Copyright (c) 2005, Mike Stenhouse of Content with Style +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software without + specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ @import url("nav-horizontal.css"); http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/samples/struts2Hello/src/main/webapp/styles/layout.css ---------------------------------------------------------------------- diff --git a/samples/struts2Hello/src/main/webapp/styles/layout.css b/samples/struts2Hello/src/main/webapp/styles/layout.css index 32bd9c8..5fe31c7 100644 --- a/samples/struts2Hello/src/main/webapp/styles/layout.css +++ b/samples/struts2Hello/src/main/webapp/styles/layout.css @@ -1,4 +1,32 @@ -/* A CSS Framework by Mike Stenhouse of Content with Style */ +/* +Copyright (c) 2005, Mike Stenhouse of Content with Style +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software without + specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ /* SITE SPECIFIC LAYOUT */ body http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/samples/struts2Hello/src/main/webapp/styles/main.css ---------------------------------------------------------------------- diff --git a/samples/struts2Hello/src/main/webapp/styles/main.css b/samples/struts2Hello/src/main/webapp/styles/main.css index e69c545..a0740a6 100644 --- a/samples/struts2Hello/src/main/webapp/styles/main.css +++ b/samples/struts2Hello/src/main/webapp/styles/main.css @@ -1,9 +1,21 @@ /* - Css Framework - ============= - - see http://www.contentwithstyle.co.uk/Articles/17/a-css-framework - for more info. -*/ + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ @import url("tools.css"); @import url("typo.css"); @import url("forms.css"); http://git-wip-us.apache.org/repos/asf/zest-qi4j/blob/bc50e1c9/samples/struts2Hello/src/main/webapp/styles/nav-horizontal.css ---------------------------------------------------------------------- diff --git a/samples/struts2Hello/src/main/webapp/styles/nav-horizontal.css b/samples/struts2Hello/src/main/webapp/styles/nav-horizontal.css index 8f91cfb..3b2ce89 100644 --- a/samples/struts2Hello/src/main/webapp/styles/nav-horizontal.css +++ b/samples/struts2Hello/src/main/webapp/styles/nav-horizontal.css @@ -1,4 +1,32 @@ -/* A CSS Framework by Mike Stenhouse of Content with Style */ +/* +Copyright (c) 2005, Mike Stenhouse of Content with Style +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software without + specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ /* NAV */ div#nav
