diff --git a/.classpath b/.classpath index 6458c5d..c3ba08e 100644 --- a/.classpath +++ b/.classpath @@ -7,21 +7,15 @@ + + - - - - - - - - - - - + + + @@ -40,48 +34,51 @@ - - - + - - + + + - + + + - - + + - - - - - - + + + + + - - + - - - - + + + + + + + + diff --git a/application.properties b/application.properties new file mode 100644 index 0000000..0ece6d5 --- /dev/null +++ b/application.properties @@ -0,0 +1,4 @@ +#Do not edit app.grails.* properties, they may change automatically. DO NOT put application configuration in here, it is not the right place! +#Thu Jan 31 15:18:41 GMT 2008 +app.grails.version=1.0-final-SNAPSHOT +app.name=bookmarks diff --git a/bookmarks.launch b/bookmarks.launch index 7bed01e..2ff669a 100644 --- a/bookmarks.launch +++ b/bookmarks.launch @@ -1,20 +1,20 @@ + - - - + + + - + - diff --git a/src/templates/war/web.xml b/src/templates/war/web.xml index 8de1abc..35ea4c3 100644 --- a/src/templates/war/web.xml +++ b/src/templates/war/web.xml @@ -91,6 +91,16 @@ /services/* + + + index.html + index.jsp + index.gsp + + http://java.sun.com/jstl/core /WEB-INF/tld/c.tld diff --git a/web-app/WEB-INF/applicationContext.xml b/web-app/WEB-INF/applicationContext.xml index 066da35..ecd41ea 100644 --- a/web-app/WEB-INF/applicationContext.xml +++ b/web-app/WEB-INF/applicationContext.xml @@ -12,13 +12,15 @@ http://www.springframework.org/schema/beans http://www.springframework.org/schem A bean that manages Grails plugins - - classpath*:**/plugins/**/*GrailsPlugin.groovy - - - - - + + + + + + + + + diff --git a/web-app/WEB-INF/tld/spring.tld b/web-app/WEB-INF/tld/spring.tld index a6f7bff..1bc7091 100644 --- a/web-app/WEB-INF/tld/spring.tld +++ b/web-app/WEB-INF/tld/spring.tld @@ -1,311 +1,311 @@ - - - - - - 1.1.1 - - 1.2 - - Spring - - http://www.springframework.org/tags - - Spring Framework JSP Tag Library. Authors: Rod Johnson, Juergen Hoeller - - - - - htmlEscape - org.springframework.web.servlet.tags.HtmlEscapeTag - JSP - - - Sets default HTML escape value for the current page. - Overrides a "defaultHtmlEscape" context-param in web.xml, if any. - - - - defaultHtmlEscape - true - true - - - - - - - - escapeBody - org.springframework.web.servlet.tags.EscapeBodyTag - JSP - - - Escapes its enclosed body content, applying HTML escaping and/or JavaScript escaping. - The HTML escaping flag participates in a page-wide or application-wide setting - (i.e. by HtmlEscapeTag or a "defaultHtmlEscape" context-param in web.xml). - - - - htmlEscape - false - true - - - - javaScriptEscape - false - true - - - - - - - - message - org.springframework.web.servlet.tags.MessageTag - JSP - - - Retrieves the message with the given code, or text if code isn't resolvable. - The HTML escaping flag participates in a page-wide or application-wide setting - (i.e. by HtmlEscapeTag or a "defaultHtmlEscape" context-param in web.xml). - - - - code - false - true - - - - arguments - false - true - - - - text - false - true - - - - var - false - true - - - - scope - false - true - - - - htmlEscape - false - true - - - - javaScriptEscape - false - true - - - - - - - - theme - org.springframework.web.servlet.tags.ThemeTag - JSP - - - Retrieves the theme message with the given code, or text if code isn't resolvable. - The HTML escaping flag participates in a page-wide or application-wide setting - (i.e. by HtmlEscapeTag or a "defaultHtmlEscape" context-param in web.xml). - - - - code - false - true - - - - arguments - false - true - - - - text - false - true - - - - var - false - true - - - - scope - false - true - - - - htmlEscape - false - true - - - - javaScriptEscape - false - true - - - - - - - - hasBindErrors - org.springframework.web.servlet.tags.BindErrorsTag - JSP - - - Provides Errors instance in case of bind errors. - The HTML escaping flag participates in a page-wide or application-wide setting - (i.e. by HtmlEscapeTag or a "defaultHtmlEscape" context-param in web.xml). - - - - errors - org.springframework.validation.Errors - - - - name - true - true - - - - htmlEscape - false - true - - - - - - - - nestedPath - org.springframework.web.servlet.tags.NestedPathTag - JSP - - - Sets a nested path to be used by the bind tag's path. - - - - nestedPath - java.lang.String - - - - path - true - true - - - - - - - - bind - org.springframework.web.servlet.tags.BindTag - JSP - - - Provides BindStatus object for the given bind path. - The HTML escaping flag participates in a page-wide or application-wide setting - (i.e. by HtmlEscapeTag or a "defaultHtmlEscape" context-param in web.xml). - - - - status - org.springframework.web.servlet.support.BindStatus - - - - path - true - true - - - - ignoreNestedPath - false - true - - - - htmlEscape - false - true - - - - - - - - transform - org.springframework.web.servlet.tags.TransformTag - JSP - - - Provides transformation of variables to Strings, using an appropriate - custom PropertyEditor from BindTag (can only be used inside BindTag). - The HTML escaping flag participates in a page-wide or application-wide setting - (i.e. by HtmlEscapeTag or a "defaultHtmlEscape" context-param in web.xml). - - - - value - true - true - - - - var - false - true - - - - scope - false - true - - - - htmlEscape - false - true - - - - - + + + + + + 1.1.1 + + 1.2 + + Spring + + http://www.springframework.org/tags + + Spring Framework JSP Tag Library. Authors: Rod Johnson, Juergen Hoeller + + + + + htmlEscape + org.springframework.web.servlet.tags.HtmlEscapeTag + JSP + + + Sets default HTML escape value for the current page. + Overrides a "defaultHtmlEscape" context-param in web.xml, if any. + + + + defaultHtmlEscape + true + true + + + + + + + + escapeBody + org.springframework.web.servlet.tags.EscapeBodyTag + JSP + + + Escapes its enclosed body content, applying HTML escaping and/or JavaScript escaping. + The HTML escaping flag participates in a page-wide or application-wide setting + (i.e. by HtmlEscapeTag or a "defaultHtmlEscape" context-param in web.xml). + + + + htmlEscape + false + true + + + + javaScriptEscape + false + true + + + + + + + + message + org.springframework.web.servlet.tags.MessageTag + JSP + + + Retrieves the message with the given code, or text if code isn't resolvable. + The HTML escaping flag participates in a page-wide or application-wide setting + (i.e. by HtmlEscapeTag or a "defaultHtmlEscape" context-param in web.xml). + + + + code + false + true + + + + arguments + false + true + + + + text + false + true + + + + var + false + true + + + + scope + false + true + + + + htmlEscape + false + true + + + + javaScriptEscape + false + true + + + + + + + + theme + org.springframework.web.servlet.tags.ThemeTag + JSP + + + Retrieves the theme message with the given code, or text if code isn't resolvable. + The HTML escaping flag participates in a page-wide or application-wide setting + (i.e. by HtmlEscapeTag or a "defaultHtmlEscape" context-param in web.xml). + + + + code + false + true + + + + arguments + false + true + + + + text + false + true + + + + var + false + true + + + + scope + false + true + + + + htmlEscape + false + true + + + + javaScriptEscape + false + true + + + + + + + + hasBindErrors + org.springframework.web.servlet.tags.BindErrorsTag + JSP + + + Provides Errors instance in case of bind errors. + The HTML escaping flag participates in a page-wide or application-wide setting + (i.e. by HtmlEscapeTag or a "defaultHtmlEscape" context-param in web.xml). + + + + errors + org.springframework.validation.Errors + + + + name + true + true + + + + htmlEscape + false + true + + + + + + + + nestedPath + org.springframework.web.servlet.tags.NestedPathTag + JSP + + + Sets a nested path to be used by the bind tag's path. + + + + nestedPath + java.lang.String + + + + path + true + true + + + + + + + + bind + org.springframework.web.servlet.tags.BindTag + JSP + + + Provides BindStatus object for the given bind path. + The HTML escaping flag participates in a page-wide or application-wide setting + (i.e. by HtmlEscapeTag or a "defaultHtmlEscape" context-param in web.xml). + + + + status + org.springframework.web.servlet.support.BindStatus + + + + path + true + true + + + + ignoreNestedPath + false + true + + + + htmlEscape + false + true + + + + + + + + transform + org.springframework.web.servlet.tags.TransformTag + JSP + + + Provides transformation of variables to Strings, using an appropriate + custom PropertyEditor from BindTag (can only be used inside BindTag). + The HTML escaping flag participates in a page-wide or application-wide setting + (i.e. by HtmlEscapeTag or a "defaultHtmlEscape" context-param in web.xml). + + + + value + true + true + + + + var + false + true + + + + scope + false + true + + + + htmlEscape + false + true + + + + + diff --git a/web-app/WEB-INF/web.template.xml b/web-app/WEB-INF/web.template.xml deleted file mode 100644 index 8de1abc..0000000 --- a/web-app/WEB-INF/web.template.xml +++ /dev/null @@ -1,113 +0,0 @@ - - - - - - log4jConfigLocation - /WEB-INF/log4j.properties - - - - contextConfigLocation - /WEB-INF/applicationContext.xml - classpath:org/codehaus/xfire/spring/xfire.xml - - - - sitemesh - org.codehaus.groovy.grails.web.sitemesh.GrailsPageFilter - - - - charEncodingFilter - org.springframework.web.filter.DelegatingFilterProxy - - targetBeanName - characterEncodingFilter - - - targetFilterLifecycle - true - - - - - Acegi Filter Chain Proxy - - org.acegisecurity.util.FilterToBeanProxy - - - targetClass - - org.acegisecurity.util.FilterChainProxy - - - - - - Acegi Filter Chain Proxy - /* - - - - charEncodingFilter - /* - - - - sitemesh - /* - - - - - org.springframework.web.util.Log4jConfigListener - - - org.codehaus.groovy.grails.web.context.GrailsContextLoaderListener - - - - - grails - org.codehaus.groovy.grails.web.servlet.GrailsDispatcherServlet - 3 - - - - - gsp - org.codehaus.groovy.grails.web.pages.GroovyPagesServlet - - - - gsp - *.gsp - - - - - grails - /services/* - - - - http://java.sun.com/jstl/core - /WEB-INF/tld/c.tld - - - - http://java.sun.com/jstl/fmt - /WEB-INF/tld/fmt.tld - - - - http://www.springframework.org/tags - /WEB-INF/tld/spring.tld - - - - http://grails.codehaus.org/tags - /WEB-INF/tld/grails.tld - - \ No newline at end of file diff --git a/web-app/WEB-INF/web.xml b/web-app/WEB-INF/web.xml deleted file mode 100644 index 359cb6e..0000000 --- a/web-app/WEB-INF/web.xml +++ /dev/null @@ -1,9 +0,0 @@ -log4jConfigLocation/WEB-INF/log4j.propertieslog4jRefreshInterval1000contextConfigLocation/WEB-INF/applicationContext.xml - classpath:org/codehaus/xfire/spring/xfire.xmlsitemeshorg.codehaus.groovy.grails.web.sitemesh.GrailsPageFiltercharEncodingFilterorg.springframework.web.filter.DelegatingFilterProxytargetBeanNamecharacterEncodingFiltertargetFilterLifecycletrueAcegi Filter Chain Proxy - org.acegisecurity.util.FilterToBeanProxy - targetClass - org.acegisecurity.util.FilterChainProxy - grailsWebRequestorg.codehaus.groovy.grails.web.servlet.mvc.GrailsWebRequestFilterurlMappingorg.codehaus.groovy.grails.web.mapping.filter.UrlMappingsFilterreloadFilterorg.codehaus.groovy.grails.web.servlet.filter.GrailsReloadServletFilterAcegi Filter Chain Proxy/*charEncodingFilter/*grailsWebRequest/*reloadFilter/*sitemesh/*urlMapping/*org.springframework.web.util.Log4jConfigListenerorg.codehaus.groovy.grails.web.context.GrailsContextLoaderListenergrailsorg.codehaus.groovy.grails.web.servlet.GrailsDispatcherServlet3gsporg.codehaus.groovy.grails.web.pages.GroovyPagesServlet - Allows developers to view the intermediade source code, when they pass - a spillGroovy argument in the URL. - showSource1gsp*.gspgrails*.dispatchgrails/services/*grails*.dispatchhttp://java.sun.com/jstl/core/WEB-INF/tld/c.tldhttp://java.sun.com/jstl/fmt/WEB-INF/tld/fmt.tldhttp://www.springframework.org/tags/WEB-INF/tld/spring.tldhttp://grails.codehaus.org/tags/WEB-INF/tld/grails.tld \ No newline at end of file diff --git a/web-app/js/prototype/sound.js b/web-app/js/prototype/sound.js new file mode 100644 index 0000000..9dd6e9f --- /dev/null +++ b/web-app/js/prototype/sound.js @@ -0,0 +1,55 @@ +// script.aculo.us sound.js v1.8.0, Tue Nov 06 15:01:40 +0300 2007 + +// Copyright (c) 2005-2007 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us) +// +// Based on code created by Jules Gravinese (http://www.webveteran.com/) +// +// script.aculo.us is freely distributable under the terms of an MIT-style license. +// For details, see the script.aculo.us web site: http://script.aculo.us/ + +Sound = { + tracks: {}, + _enabled: true, + template: + new Template(''), + enable: function(){ + Sound._enabled = true; + }, + disable: function(){ + Sound._enabled = false; + }, + play: function(url){ + if(!Sound._enabled) return; + var options = Object.extend({ + track: 'global', url: url, replace: false + }, arguments[1] || {}); + + if(options.replace && this.tracks[options.track]) { + $R(0, this.tracks[options.track].id).each(function(id){ + var sound = $('sound_'+options.track+'_'+id); + sound.Stop && sound.Stop(); + sound.remove(); + }) + this.tracks[options.track] = null; + } + + if(!this.tracks[options.track]) + this.tracks[options.track] = { id: 0 } + else + this.tracks[options.track].id++; + + options.id = this.tracks[options.track].id; + $$('body')[0].insert( + Prototype.Browser.IE ? new Element('bgsound',{ + id: 'sound_'+options.track+'_'+options.id, + src: options.url, loop: 1, autostart: true + }) : Sound.template.evaluate(options)); + } +}; + +if(Prototype.Browser.Gecko && navigator.userAgent.indexOf("Win") > 0){ + if(navigator.plugins && $A(navigator.plugins).detect(function(p){ return p.name.indexOf('QuickTime') != -1 })) + Sound.template = new Template('') + else + Sound.play = function(){} +}