Repository: wicket Updated Branches: refs/heads/grails-maven-integration [created] c1da4aefc
http://git-wip-us.apache.org/repos/asf/wicket/blob/c1da4aef/wicket-user-guide/web-app/WEB-INF/tld/fmt.tld ---------------------------------------------------------------------- diff --git a/wicket-user-guide/web-app/WEB-INF/tld/fmt.tld b/wicket-user-guide/web-app/WEB-INF/tld/fmt.tld new file mode 100644 index 0000000..2ae4776 --- /dev/null +++ b/wicket-user-guide/web-app/WEB-INF/tld/fmt.tld @@ -0,0 +1,671 @@ +<?xml version="1.0" encoding="UTF-8" ?> + +<taglib 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-jsptaglibrary_2_1.xsd" + version="2.1"> + + <description>JSTL 1.2 i18n-capable formatting library</description> + <display-name>JSTL fmt</display-name> + <tlib-version>1.2</tlib-version> + <short-name>fmt</short-name> + <uri>http://java.sun.com/jsp/jstl/fmt</uri> + + <validator> + <description> + Provides core validation features for JSTL tags. + </description> + <validator-class> + org.apache.taglibs.standard.tlv.JstlFmtTLV + </validator-class> + </validator> + + <tag> + <description> + Sets the request character encoding + </description> + <name>requestEncoding</name> + <tag-class>org.apache.taglibs.standard.tag.rt.fmt.RequestEncodingTag</tag-class> + <body-content>empty</body-content> + <attribute> + <description> +Name of character encoding to be applied when +decoding request parameters. + </description> + <name>value</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + </tag> + + <tag> + <description> + Stores the given locale in the locale configuration variable + </description> + <name>setLocale</name> + <tag-class>org.apache.taglibs.standard.tag.rt.fmt.SetLocaleTag</tag-class> + <body-content>empty</body-content> + <attribute> + <description> +A String value is interpreted as the +printable representation of a locale, which +must contain a two-letter (lower-case) +language code (as defined by ISO-639), +and may contain a two-letter (upper-case) +country code (as defined by ISO-3166). +Language and country codes must be +separated by hyphen (-) or underscore +(_). + </description> + <name>value</name> + <required>true</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <description> +Vendor- or browser-specific variant. +See the java.util.Locale javadocs for +more information on variants. + </description> + <name>variant</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <description> +Scope of the locale configuration variable. + </description> + <name>scope</name> + <required>false</required> + <rtexprvalue>false</rtexprvalue> + </attribute> + </tag> + + <tag> + <description> + Specifies the time zone for any time formatting or parsing actions + nested in its body + </description> + <name>timeZone</name> + <tag-class>org.apache.taglibs.standard.tag.rt.fmt.TimeZoneTag</tag-class> + <body-content>JSP</body-content> + <attribute> + <description> +The time zone. A String value is interpreted as +a time zone ID. This may be one of the time zone +IDs supported by the Java platform (such as +"America/Los_Angeles") or a custom time zone +ID (such as "GMT-8"). See +java.util.TimeZone for more information on +supported time zone formats. + </description> + <name>value</name> + <required>true</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + </tag> + + <tag> + <description> + Stores the given time zone in the time zone configuration variable + </description> + <name>setTimeZone</name> + <tag-class>org.apache.taglibs.standard.tag.rt.fmt.SetTimeZoneTag</tag-class> + <body-content>empty</body-content> + <attribute> + <description> +The time zone. A String value is interpreted as +a time zone ID. This may be one of the time zone +IDs supported by the Java platform (such as +"America/Los_Angeles") or a custom time zone +ID (such as "GMT-8"). See java.util.TimeZone for +more information on supported time zone +formats. + </description> + <name>value</name> + <required>true</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <description> +Name of the exported scoped variable which +stores the time zone of type +java.util.TimeZone. + </description> + <name>var</name> + <required>false</required> + <rtexprvalue>false</rtexprvalue> + </attribute> + <attribute> + <description> +Scope of var or the time zone configuration +variable. + </description> + <name>scope</name> + <required>false</required> + <rtexprvalue>false</rtexprvalue> + </attribute> + </tag> + + <tag> + <description> + Loads a resource bundle to be used by its tag body + </description> + <name>bundle</name> + <tag-class>org.apache.taglibs.standard.tag.rt.fmt.BundleTag</tag-class> + <body-content>JSP</body-content> + <attribute> + <description> +Resource bundle base name. This is the bundle's +fully-qualified resource name, which has the same +form as a fully-qualified class name, that is, it uses +"." as the package component separator and does not +have any file type (such as ".class" or ".properties") +suffix. + </description> + <name>basename</name> + <required>true</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <description> +Prefix to be prepended to the value of the message +key of any nested <fmt:message> action. + </description> + <name>prefix</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + </tag> + + <tag> + <description> + Loads a resource bundle and stores it in the named scoped variable or + the bundle configuration variable + </description> + <name>setBundle</name> + <tag-class>org.apache.taglibs.standard.tag.rt.fmt.SetBundleTag</tag-class> + <body-content>empty</body-content> + <attribute> + <description> +Resource bundle base name. This is the bundle's +fully-qualified resource name, which has the same +form as a fully-qualified class name, that is, it uses +"." as the package component separator and does not +have any file type (such as ".class" or ".properties") +suffix. + </description> + <name>basename</name> + <required>true</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <description> +Name of the exported scoped variable which stores +the i18n localization context of type +javax.servlet.jsp.jstl.fmt.LocalizationC +ontext. + </description> + <name>var</name> + <required>false</required> + <rtexprvalue>false</rtexprvalue> + </attribute> + <attribute> + <description> +Scope of var or the localization context +configuration variable. + </description> + <name>scope</name> + <required>false</required> + <rtexprvalue>false</rtexprvalue> + </attribute> + </tag> + + <tag> + <description> + Maps key to localized message and performs parametric replacement + </description> + <name>message</name> + <tag-class>org.apache.taglibs.standard.tag.rt.fmt.MessageTag</tag-class> + <body-content>JSP</body-content> + <attribute> + <description> +Message key to be looked up. + </description> + <name>key</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <description> +Localization context in whose resource +bundle the message key is looked up. + </description> + <name>bundle</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <description> +Name of the exported scoped variable +which stores the localized message. + </description> + <name>var</name> + <required>false</required> + <rtexprvalue>false</rtexprvalue> + </attribute> + <attribute> + <description> +Scope of var. + </description> + <name>scope</name> + <required>false</required> + <rtexprvalue>false</rtexprvalue> + </attribute> + </tag> + + <tag> + <description> + Supplies an argument for parametric replacement to a containing + <message> tag + </description> + <name>param</name> + <tag-class>org.apache.taglibs.standard.tag.rt.fmt.ParamTag</tag-class> + <body-content>JSP</body-content> + <attribute> + <description> +Argument used for parametric replacement. + </description> + <name>value</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + </tag> + + <tag> + <description> + Formats a numeric value as a number, currency, or percentage + </description> + <name>formatNumber</name> + <tag-class>org.apache.taglibs.standard.tag.rt.fmt.FormatNumberTag</tag-class> + <body-content>JSP</body-content> + <attribute> + <description> +Numeric value to be formatted. + </description> + <name>value</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <description> +Specifies whether the value is to be +formatted as number, currency, or +percentage. + </description> + <name>type</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <description> +Custom formatting pattern. + </description> + <name>pattern</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <description> +ISO 4217 currency code. Applied only +when formatting currencies (i.e. if type is +equal to "currency"); ignored otherwise. + </description> + <name>currencyCode</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <description> +Currency symbol. Applied only when +formatting currencies (i.e. if type is equal +to "currency"); ignored otherwise. + </description> + <name>currencySymbol</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <description> +Specifies whether the formatted output +will contain any grouping separators. + </description> + <name>groupingUsed</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <description> +Maximum number of digits in the integer +portion of the formatted output. + </description> + <name>maxIntegerDigits</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <description> +Minimum number of digits in the integer +portion of the formatted output. + </description> + <name>minIntegerDigits</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <description> +Maximum number of digits in the +fractional portion of the formatted output. + </description> + <name>maxFractionDigits</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <description> +Minimum number of digits in the +fractional portion of the formatted output. + </description> + <name>minFractionDigits</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <description> +Name of the exported scoped variable +which stores the formatted result as a +String. + </description> + <name>var</name> + <required>false</required> + <rtexprvalue>false</rtexprvalue> + </attribute> + <attribute> + <description> +Scope of var. + </description> + <name>scope</name> + <required>false</required> + <rtexprvalue>false</rtexprvalue> + </attribute> + </tag> + + <tag> + <description> + Parses the string representation of a number, currency, or percentage + </description> + <name>parseNumber</name> + <tag-class>org.apache.taglibs.standard.tag.rt.fmt.ParseNumberTag</tag-class> + <body-content>JSP</body-content> + <attribute> + <description> +String to be parsed. + </description> + <name>value</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <description> +Specifies whether the string in the value +attribute should be parsed as a number, +currency, or percentage. + </description> + <name>type</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <description> +Custom formatting pattern that determines +how the string in the value attribute is to be +parsed. + </description> + <name>pattern</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <description> +Locale whose default formatting pattern (for +numbers, currencies, or percentages, +respectively) is to be used during the parse +operation, or to which the pattern specified +via the pattern attribute (if present) is +applied. + </description> + <name>parseLocale</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <description> +Specifies whether just the integer portion of +the given value should be parsed. + </description> + <name>integerOnly</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <description> +Name of the exported scoped variable which +stores the parsed result (of type +java.lang.Number). + </description> + <name>var</name> + <required>false</required> + <rtexprvalue>false</rtexprvalue> + </attribute> + <attribute> + <description> +Scope of var. + </description> + <name>scope</name> + <required>false</required> + <rtexprvalue>false</rtexprvalue> + </attribute> + </tag> + + <tag> + <description> + Formats a date and/or time using the supplied styles and pattern + </description> + <name>formatDate</name> + <tag-class>org.apache.taglibs.standard.tag.rt.fmt.FormatDateTag</tag-class> + <body-content>empty</body-content> + <attribute> + <description> +Date and/or time to be formatted. + </description> + <name>value</name> + <required>true</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <description> +Specifies whether the time, the date, or both +the time and date components of the given +date are to be formatted. + </description> + <name>type</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <description> +Predefined formatting style for dates. Follows +the semantics defined in class +java.text.DateFormat. Applied only +when formatting a date or both a date and +time (i.e. if type is missing or is equal to +"date" or "both"); ignored otherwise. + </description> + <name>dateStyle</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <description> +Predefined formatting style for times. Follows +the semantics defined in class +java.text.DateFormat. Applied only +when formatting a time or both a date and +time (i.e. if type is equal to "time" or "both"); +ignored otherwise. + </description> + <name>timeStyle</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <description> +Custom formatting style for dates and times. + </description> + <name>pattern</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <description> +Time zone in which to represent the formatted +time. + </description> + <name>timeZone</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <description> +Name of the exported scoped variable which +stores the formatted result as a String. + </description> + <name>var</name> + <required>false</required> + <rtexprvalue>false</rtexprvalue> + </attribute> + <attribute> + <description> +Scope of var. + </description> + <name>scope</name> + <required>false</required> + <rtexprvalue>false</rtexprvalue> + </attribute> + </tag> + + <tag> + <description> + Parses the string representation of a date and/or time + </description> + <name>parseDate</name> + <tag-class>org.apache.taglibs.standard.tag.rt.fmt.ParseDateTag</tag-class> + <body-content>JSP</body-content> + <attribute> + <description> +Date string to be parsed. + </description> + <name>value</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <description> +Specifies whether the date string in the +value attribute is supposed to contain a +time, a date, or both. + </description> + <name>type</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <description> +Predefined formatting style for days +which determines how the date +component of the date string is to be +parsed. Applied only when formatting a +date or both a date and time (i.e. if type +is missing or is equal to "date" or "both"); +ignored otherwise. + </description> + <name>dateStyle</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <description> +Predefined formatting styles for times +which determines how the time +component in the date string is to be +parsed. Applied only when formatting a +time or both a date and time (i.e. if type +is equal to "time" or "both"); ignored +otherwise. + </description> + <name>timeStyle</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <description> +Custom formatting pattern which +determines how the date string is to be +parsed. + </description> + <name>pattern</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <description> +Time zone in which to interpret any time +information in the date string. + </description> + <name>timeZone</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <description> +Locale whose predefined formatting styles +for dates and times are to be used during +the parse operation, or to which the +pattern specified via the pattern +attribute (if present) is applied. + </description> + <name>parseLocale</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <description> +Name of the exported scoped variable in +which the parsing result (of type +java.util.Date) is stored. + </description> + <name>var</name> + <required>false</required> + <rtexprvalue>false</rtexprvalue> + </attribute> + <attribute> + <description> +Scope of var. + </description> + <name>scope</name> + <required>false</required> + <rtexprvalue>false</rtexprvalue> + </attribute> + </tag> + +</taglib> http://git-wip-us.apache.org/repos/asf/wicket/blob/c1da4aef/wicket-user-guide/web-app/WEB-INF/tld/grails.tld ---------------------------------------------------------------------- diff --git a/wicket-user-guide/web-app/WEB-INF/tld/grails.tld b/wicket-user-guide/web-app/WEB-INF/tld/grails.tld new file mode 100644 index 0000000..9bd036b --- /dev/null +++ b/wicket-user-guide/web-app/WEB-INF/tld/grails.tld @@ -0,0 +1,550 @@ +<?xml version="1.0" encoding="UTF-8"?> +<taglib xmlns="http://java.sun.com/xml/ns/j2ee" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee + http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd" + version="2.0"> + <description>The Grails custom tag library</description> + <tlib-version>0.2</tlib-version> + <short-name>grails</short-name> + <uri>http://grails.codehaus.org/tags</uri> + + <tag> + <name>link</name> + <tag-class>org.codehaus.groovy.grails.web.taglib.jsp.JspLinkTag</tag-class> + <body-content>JSP</body-content> + <attribute> + <name>action</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>controller</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>id</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>url</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>params</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <dynamic-attributes>true</dynamic-attributes> + </tag> + <tag> + <name>form</name> + <tag-class>org.codehaus.groovy.grails.web.taglib.jsp.JspFormTag</tag-class> + <body-content>JSP</body-content> + <attribute> + <name>action</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>controller</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>id</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>url</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>method</name> + <required>true</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <dynamic-attributes>true</dynamic-attributes> + </tag> + <tag> + <name>select</name> + <tag-class>org.codehaus.groovy.grails.web.taglib.jsp.JspSelectTag</tag-class> + <body-content>JSP</body-content> + <attribute> + <name>name</name> + <required>true</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>value</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>optionKey</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>optionValue</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <dynamic-attributes>true</dynamic-attributes> + </tag> + <tag> + <name>datePicker</name> + <tag-class>org.codehaus.groovy.grails.web.taglib.jsp.JspDatePickerTag</tag-class> + <body-content>empty</body-content> + <attribute> + <name>name</name> + <required>true</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>value</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>precision</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <dynamic-attributes>false</dynamic-attributes> + </tag> + <tag> + <name>currencySelect</name> + <tag-class>org.codehaus.groovy.grails.web.taglib.jsp.JspCurrencySelectTag</tag-class> + <body-content>empty</body-content> + <attribute> + <name>name</name> + <required>true</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>value</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <dynamic-attributes>true</dynamic-attributes> + </tag> + <tag> + <name>localeSelect</name> + <tag-class>org.codehaus.groovy.grails.web.taglib.jsp.JspLocaleSelectTag</tag-class> + <body-content>empty</body-content> + <attribute> + <name>name</name> + <required>true</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>value</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <dynamic-attributes>true</dynamic-attributes> + </tag> + <tag> + <name>timeZoneSelect</name> + <tag-class>org.codehaus.groovy.grails.web.taglib.jsp.JspTimeZoneSelectTag</tag-class> + <body-content>empty</body-content> + <attribute> + <name>name</name> + <required>true</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>value</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <dynamic-attributes>true</dynamic-attributes> + </tag> + <tag> + <name>checkBox</name> + <tag-class>org.codehaus.groovy.grails.web.taglib.jsp.JspCheckboxTag</tag-class> + <body-content>empty</body-content> + <attribute> + <name>name</name> + <required>true</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>value</name> + <required>true</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <dynamic-attributes>true</dynamic-attributes> + </tag> + <tag> + <name>hasErrors</name> + <tag-class>org.codehaus.groovy.grails.web.taglib.jsp.JspHasErrorsTag</tag-class> + <body-content>JSP</body-content> + <attribute> + <name>model</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>bean</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>field</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <dynamic-attributes>false</dynamic-attributes> + </tag> + <tag> + <name>eachError</name> + <tag-class>org.codehaus.groovy.grails.web.taglib.jsp.JspEachErrorTag</tag-class> + <body-content>JSP</body-content> + <attribute> + <name>model</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>bean</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>field</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <dynamic-attributes>false</dynamic-attributes> + </tag> + <tag> + <name>renderErrors</name> + <tag-class>org.codehaus.groovy.grails.web.taglib.jsp.JspEachErrorTag</tag-class> + <body-content>JSP</body-content> + <attribute> + <name>model</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>bean</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>field</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>as</name> + <required>true</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <dynamic-attributes>false</dynamic-attributes> + </tag> + <tag> + <name>message</name> + <tag-class>org.codehaus.groovy.grails.web.taglib.jsp.JspMessageTag</tag-class> + <body-content>JSP</body-content> + <attribute> + <name>code</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>error</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>default</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <dynamic-attributes>false</dynamic-attributes> + </tag> + <tag> + <name>remoteFunction</name> + <tag-class>org.codehaus.groovy.grails.web.taglib.jsp.JspRemoteFunctionTag</tag-class> + <body-content>empty</body-content> + <attribute> + <name>before</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>after</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>action</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>controller</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>id</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>url</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>params</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>asynchronous</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>method</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>update</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>onSuccess</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>onFailure</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>onComplete</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>onLoading</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>onLoaded</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>onInteractive</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <dynamic-attributes>true</dynamic-attributes> + </tag> + <tag> + <name>remoteLink</name> + <tag-class>org.codehaus.groovy.grails.web.taglib.jsp.JspRemoteLinkTag</tag-class> + <body-content>JSP</body-content> + <attribute> + <name>before</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>after</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>action</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>controller</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>id</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>url</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>params</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>asynchronous</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>method</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>update</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>onSuccess</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>onFailure</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>onComplete</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>onLoading</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>onLoaded</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>onInteractive</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <dynamic-attributes>true</dynamic-attributes> + </tag> + <tag> + <name>formRemote</name> + <tag-class>org.codehaus.groovy.grails.web.taglib.jsp.JspFormRemoteTag</tag-class> + <body-content>JSP</body-content> + <attribute> + <name>before</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>after</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>action</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>controller</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>id</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>url</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>params</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>asynchronous</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>method</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>update</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>onSuccess</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>onFailure</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>onComplete</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>onLoading</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>onLoaded</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <attribute> + <name>onInteractive</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <dynamic-attributes>true</dynamic-attributes> + </tag> + <tag> + <name>invokeTag</name> + <tag-class>org.codehaus.groovy.grails.web.taglib.jsp.JspInvokeGrailsTagLibTag</tag-class> + <body-content>JSP</body-content> + <variable> + <name-given>it</name-given> + <variable-class>java.lang.Object</variable-class> + <declare>true</declare> + <scope>NESTED</scope> + </variable> + <attribute> + <name>tagName</name> + <required>true</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + <dynamic-attributes>true</dynamic-attributes> + </tag> +</taglib> + http://git-wip-us.apache.org/repos/asf/wicket/blob/c1da4aef/wicket-user-guide/web-app/WEB-INF/tld/spring.tld ---------------------------------------------------------------------- diff --git a/wicket-user-guide/web-app/WEB-INF/tld/spring.tld b/wicket-user-guide/web-app/WEB-INF/tld/spring.tld new file mode 100644 index 0000000..1bc7091 --- /dev/null +++ b/wicket-user-guide/web-app/WEB-INF/tld/spring.tld @@ -0,0 +1,311 @@ +<?xml version="1.0" encoding="ISO-8859-1" ?> +<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN" "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd"> + +<taglib> + + <tlib-version>1.1.1</tlib-version> + + <jsp-version>1.2</jsp-version> + + <short-name>Spring</short-name> + + <uri>http://www.springframework.org/tags</uri> + + <description>Spring Framework JSP Tag Library. Authors: Rod Johnson, Juergen Hoeller</description> + + + <tag> + + <name>htmlEscape</name> + <tag-class>org.springframework.web.servlet.tags.HtmlEscapeTag</tag-class> + <body-content>JSP</body-content> + + <description> + Sets default HTML escape value for the current page. + Overrides a "defaultHtmlEscape" context-param in web.xml, if any. + </description> + + <attribute> + <name>defaultHtmlEscape</name> + <required>true</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + + </tag> + + + <tag> + + <name>escapeBody</name> + <tag-class>org.springframework.web.servlet.tags.EscapeBodyTag</tag-class> + <body-content>JSP</body-content> + + <description> + 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). + </description> + + <attribute> + <name>htmlEscape</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + + <attribute> + <name>javaScriptEscape</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + + </tag> + + + <tag> + + <name>message</name> + <tag-class>org.springframework.web.servlet.tags.MessageTag</tag-class> + <body-content>JSP</body-content> + + <description> + 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). + </description> + + <attribute> + <name>code</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + + <attribute> + <name>arguments</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + + <attribute> + <name>text</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + + <attribute> + <name>var</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + + <attribute> + <name>scope</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + + <attribute> + <name>htmlEscape</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + + <attribute> + <name>javaScriptEscape</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + + </tag> + + + <tag> + + <name>theme</name> + <tag-class>org.springframework.web.servlet.tags.ThemeTag</tag-class> + <body-content>JSP</body-content> + + <description> + 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). + </description> + + <attribute> + <name>code</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + + <attribute> + <name>arguments</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + + <attribute> + <name>text</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + + <attribute> + <name>var</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + + <attribute> + <name>scope</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + + <attribute> + <name>htmlEscape</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + + <attribute> + <name>javaScriptEscape</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + + </tag> + + + <tag> + + <name>hasBindErrors</name> + <tag-class>org.springframework.web.servlet.tags.BindErrorsTag</tag-class> + <body-content>JSP</body-content> + + <description> + 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). + </description> + + <variable> + <name-given>errors</name-given> + <variable-class>org.springframework.validation.Errors</variable-class> + </variable> + + <attribute> + <name>name</name> + <required>true</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + + <attribute> + <name>htmlEscape</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + + </tag> + + + <tag> + + <name>nestedPath</name> + <tag-class>org.springframework.web.servlet.tags.NestedPathTag</tag-class> + <body-content>JSP</body-content> + + <description> + Sets a nested path to be used by the bind tag's path. + </description> + + <variable> + <name-given>nestedPath</name-given> + <variable-class>java.lang.String</variable-class> + </variable> + + <attribute> + <name>path</name> + <required>true</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + + </tag> + + + <tag> + + <name>bind</name> + <tag-class>org.springframework.web.servlet.tags.BindTag</tag-class> + <body-content>JSP</body-content> + + <description> + 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). + </description> + + <variable> + <name-given>status</name-given> + <variable-class>org.springframework.web.servlet.support.BindStatus</variable-class> + </variable> + + <attribute> + <name>path</name> + <required>true</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + + <attribute> + <name>ignoreNestedPath</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + + <attribute> + <name>htmlEscape</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + + </tag> + + + <tag> + + <name>transform</name> + <tag-class>org.springframework.web.servlet.tags.TransformTag</tag-class> + <body-content>JSP</body-content> + + <description> + 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). + </description> + + <attribute> + <name>value</name> + <required>true</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + + <attribute> + <name>var</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + + <attribute> + <name>scope</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + + <attribute> + <name>htmlEscape</name> + <required>false</required> + <rtexprvalue>true</rtexprvalue> + </attribute> + + </tag> + +</taglib> http://git-wip-us.apache.org/repos/asf/wicket/blob/c1da4aef/wicket-user-guide/web-app/css/.Rhistory ---------------------------------------------------------------------- diff --git a/wicket-user-guide/web-app/css/.Rhistory b/wicket-user-guide/web-app/css/.Rhistory new file mode 100644 index 0000000..e69de29 http://git-wip-us.apache.org/repos/asf/wicket/blob/c1da4aef/wicket-user-guide/web-app/css/errors.css ---------------------------------------------------------------------- diff --git a/wicket-user-guide/web-app/css/errors.css b/wicket-user-guide/web-app/css/errors.css new file mode 100644 index 0000000..bdb58bc --- /dev/null +++ b/wicket-user-guide/web-app/css/errors.css @@ -0,0 +1,109 @@ +h1, h2 { + margin: 10px 25px 5px; +} + +h2 { + font-size: 1.1em; +} + +.filename { + font-style: italic; +} + +.exceptionMessage { + margin: 10px; + border: 1px solid #000; + padding: 5px; + background-color: #E9E9E9; +} + +.stack, +.snippet { + margin: 0 25px 10px; +} + +.stack, +.snippet { + border: 1px solid #ccc; + -mox-box-shadow: 0 0 2px rgba(0,0,0,0.2); + -webkit-box-shadow: 0 0 2px rgba(0,0,0,0.2); + box-shadow: 0 0 2px rgba(0,0,0,0.2); +} + +/* error details */ +.error-details { + border-top: 1px solid #FFAAAA; + -mox-box-shadow: 0 0 2px rgba(0,0,0,0.2); + -webkit-box-shadow: 0 0 2px rgba(0,0,0,0.2); + box-shadow: 0 0 2px rgba(0,0,0,0.2); + border-bottom: 1px solid #FFAAAA; + -mox-box-shadow: 0 0 2px rgba(0,0,0,0.2); + -webkit-box-shadow: 0 0 2px rgba(0,0,0,0.2); + box-shadow: 0 0 2px rgba(0,0,0,0.2); + background-color:#FFF3F3; + line-height: 1.5; + overflow: hidden; + padding: 5px; + padding-left:25px; +} + +.error-details dt { + clear: left; + float: left; + font-weight: bold; + margin-right: 5px; +} + +.error-details dt:after { + content: ":"; +} + +.error-details dd { + display: block; +} + +/* stack trace */ +.stack { + padding: 5px; + overflow: auto; + height: 150px; +} + +/* code snippet */ +.snippet { + background-color: #fff; + font-family: monospace; +} + +.snippet .line { + display: block; +} + +.snippet .lineNumber { + background-color: #ddd; + color: #999; + display: inline-block; + margin-right: 5px; + padding: 0 3px; + text-align: right; + width: 3em; +} + +.snippet .error { + background-color: #fff3f3; + font-weight: bold; +} + +.snippet .error .lineNumber { + background-color: #faa; + color: #333; + font-weight: bold; +} + +.snippet .line:first-child .lineNumber { + padding-top: 5px; +} + +.snippet .line:last-child .lineNumber { + padding-bottom: 5px; +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/wicket/blob/c1da4aef/wicket-user-guide/web-app/css/main.css ---------------------------------------------------------------------- diff --git a/wicket-user-guide/web-app/css/main.css b/wicket-user-guide/web-app/css/main.css new file mode 100644 index 0000000..a55945d --- /dev/null +++ b/wicket-user-guide/web-app/css/main.css @@ -0,0 +1,596 @@ +/* FONT STACK */ +body, +input, select, textarea { + font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; +} + +h1, h2, h3, h4, h5, h6 { + line-height: 1.1; +} + +/* BASE LAYOUT */ + +html { + background-color: #ddd; + background-image: -moz-linear-gradient(center top, #aaa, #ddd); + background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #aaa), color-stop(1, #ddd)); + background-image: linear-gradient(top, #aaa, #ddd); + filter: progid:DXImageTransform.Microsoft.gradient(startColorStr = '#aaaaaa', EndColorStr = '#dddddd'); + background-repeat: no-repeat; + height: 100%; + /* change the box model to exclude the padding from the calculation of 100% height (IE8+) */ + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} + +html.no-cssgradients { + background-color: #aaa; +} + +.ie6 html { + height: 100%; +} + +html * { + margin: 0; +} + +body { + background: #ffffff; + color: #333333; + margin: 0 auto; + max-width: 960px; + overflow-x: hidden; /* prevents box-shadow causing a horizontal scrollbar in firefox when viewport < 960px wide */ + -moz-box-shadow: 0 0 0.3em #255b17; + -webkit-box-shadow: 0 0 0.3em #255b17; + box-shadow: 0 0 0.3em #255b17; +} + +#grailsLogo { + background-color: #abbf78; +} + +/* replace with .no-boxshadow body if you have modernizr available */ +.ie6 body, +.ie7 body, +.ie8 body { + border-color: #255b17; + border-style: solid; + border-width: 0 1px; +} + +.ie6 body { + height: 100%; +} + +a:link, a:visited, a:hover { + color: #48802c; +} + +a:hover, a:active { + outline: none; /* prevents outline in webkit on active links but retains it for tab focus */ +} + +h1 { + color: #48802c; + font-weight: normal; + font-size: 1.25em; + margin: 0.8em 0 0.3em 0; +} + +ul { + padding: 0; +} + +img { + border: 0; +} + +/* GENERAL */ + +#grailsLogo a { + display: inline-block; + margin: 1em; +} + +.content { +} + +.content h1 { + border-bottom: 1px solid #CCCCCC; + margin: 0.8em 1em 0.3em; + padding: 0 0.25em; +} + +.scaffold-list h1 { + border: none; +} + +.footer { + background: #abbf78; + color: #000; + clear: both; + font-size: 0.8em; + margin-top: 1.5em; + padding: 1em; + min-height: 1em; +} + +.footer a { + color: #255b17; +} + +.spinner { + background: url(../images/spinner.gif) 50% 50% no-repeat transparent; + height: 16px; + width: 16px; + padding: 0.5em; + position: absolute; + right: 0; + top: 0; + text-indent: -9999px; +} + +/* NAVIGATION MENU */ + +.nav { + background-color: #efefef; + padding: 0.5em 0.75em; + -moz-box-shadow: 0 0 3px 1px #aaaaaa; + -webkit-box-shadow: 0 0 3px 1px #aaaaaa; + box-shadow: 0 0 3px 1px #aaaaaa; + zoom: 1; +} + +.nav ul { + overflow: hidden; + padding-left: 0; + zoom: 1; +} + +.nav li { + display: block; + float: left; + list-style-type: none; + margin-right: 0.5em; + padding: 0; +} + +.nav a { + color: #666666; + display: block; + padding: 0.25em 0.7em; + text-decoration: none; + -moz-border-radius: 0.3em; + -webkit-border-radius: 0.3em; + border-radius: 0.3em; +} + +.nav a:active, .nav a:visited { + color: #666666; +} + +.nav a:focus, .nav a:hover { + background-color: #999999; + color: #ffffff; + outline: none; + text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.8); +} + +.no-borderradius .nav a:focus, .no-borderradius .nav a:hover { + background-color: transparent; + color: #444444; + text-decoration: underline; +} + +.nav a.home, .nav a.list, .nav a.create { + background-position: 0.7em center; + background-repeat: no-repeat; + text-indent: 25px; +} + +.nav a.home { + background-image: url(../images/skin/house.png); +} + +.nav a.list { + background-image: url(../images/skin/database_table.png); +} + +.nav a.create { + background-image: url(../images/skin/database_add.png); +} + +/* CREATE/EDIT FORMS AND SHOW PAGES */ + +fieldset, +.property-list { + margin: 0.6em 1.25em 0 1.25em; + padding: 0.3em 1.8em 1.25em; + position: relative; + zoom: 1; + border: none; +} + +.property-list .fieldcontain { + list-style: none; + overflow: hidden; + zoom: 1; +} + +.fieldcontain { + margin-top: 1em; +} + +.fieldcontain label, +.fieldcontain .property-label { + color: #666666; + text-align: right; + width: 25%; +} + +.fieldcontain .property-label { + float: left; +} + +.fieldcontain .property-value { + display: block; + margin-left: 27%; +} + +label { + cursor: pointer; + display: inline-block; + margin: 0 0.25em 0 0; +} + +input, select, textarea { + background-color: #fcfcfc; + border: 1px solid #cccccc; + font-size: 1em; + padding: 0.2em 0.4em; +} + +select { + padding: 0.2em 0.2em 0.2em 0; +} + +select[multiple] { + vertical-align: top; +} + +textarea { + width: 250px; + height: 150px; + overflow: auto; /* IE always renders vertical scrollbar without this */ + vertical-align: top; +} + +input[type=checkbox], input[type=radio] { + background-color: transparent; + border: 0; + padding: 0; +} + +input:focus, select:focus, textarea:focus { + background-color: #ffffff; + border: 1px solid #eeeeee; + outline: 0; + -moz-box-shadow: 0 0 0.5em #ffffff; + -webkit-box-shadow: 0 0 0.5em #ffffff; + box-shadow: 0 0 0.5em #ffffff; +} + +.required-indicator { + color: #48802C; + display: inline-block; + font-weight: bold; + margin-left: 0.3em; + position: relative; + top: 0.1em; +} + +ul.one-to-many { + display: inline-block; + list-style-position: inside; + vertical-align: top; +} + +.ie6 ul.one-to-many, .ie7 ul.one-to-many { + display: inline; + zoom: 1; +} + +ul.one-to-many li.add { + list-style-type: none; +} + +/* EMBEDDED PROPERTIES */ + +fieldset.embedded { + background-color: transparent; + border: 1px solid #CCCCCC; + margin-left: 0; + margin-right: 0; + padding-left: 0; + padding-right: 0; + -moz-box-shadow: none; + -webkit-box-shadow: none; + box-shadow: none; +} + +fieldset.embedded legend { + margin: 0 1em; +} + +/* MESSAGES AND ERRORS */ + +.errors, +.message { + font-size: 0.8em; + line-height: 2; + margin: 1em 2em; + padding: 0.25em; +} + +.message { + background: #f3f3ff; + border: 1px solid #b2d1ff; + color: #006dba; + -moz-box-shadow: 0 0 0.25em #b2d1ff; + -webkit-box-shadow: 0 0 0.25em #b2d1ff; + box-shadow: 0 0 0.25em #b2d1ff; +} + +.errors { + background: #fff3f3; + border: 1px solid #ffaaaa; + color: #cc0000; + -moz-box-shadow: 0 0 0.25em #ff8888; + -webkit-box-shadow: 0 0 0.25em #ff8888; + box-shadow: 0 0 0.25em #ff8888; +} + +.errors ul, +.message { + padding: 0; +} + +.errors li { + list-style: none; + background: transparent url(../images/skin/exclamation.png) 0.5em 50% no-repeat; + text-indent: 2.2em; +} + +.message { + background: transparent url(../images/skin/information.png) 0.5em 50% no-repeat; + text-indent: 2.2em; +} + +/* form fields with errors */ + +.error input, .error select, .error textarea { + background: #fff3f3; + border-color: #ffaaaa; + color: #cc0000; +} + +.error input:focus, .error select:focus, .error textarea:focus { + -moz-box-shadow: 0 0 0.5em #ffaaaa; + -webkit-box-shadow: 0 0 0.5em #ffaaaa; + box-shadow: 0 0 0.5em #ffaaaa; +} + +/* same effects for browsers that support HTML5 client-side validation (these have to be specified separately or IE will ignore the entire rule) */ + +input:invalid, select:invalid, textarea:invalid { + background: #fff3f3; + border-color: #ffaaaa; + color: #cc0000; +} + +input:invalid:focus, select:invalid:focus, textarea:invalid:focus { + -moz-box-shadow: 0 0 0.5em #ffaaaa; + -webkit-box-shadow: 0 0 0.5em #ffaaaa; + box-shadow: 0 0 0.5em #ffaaaa; +} + +/* TABLES */ + +table { + border-top: 1px solid #DFDFDF; + border-collapse: collapse; + width: 100%; + margin-bottom: 1em; +} + +tr { + border: 0; +} + +tr>td:first-child, tr>th:first-child { + padding-left: 1.25em; +} + +tr>td:last-child, tr>th:last-child { + padding-right: 1.25em; +} + +td, th { + line-height: 1.5em; + padding: 0.5em 0.6em; + text-align: left; + vertical-align: top; +} + +th { + background-color: #efefef; + background-image: -moz-linear-gradient(top, #ffffff, #eaeaea); + background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #ffffff), color-stop(1, #eaeaea)); + filter: progid:DXImageTransform.Microsoft.gradient(startColorStr = '#ffffff', EndColorStr = '#eaeaea'); + -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#ffffff', EndColorStr='#eaeaea')"; + color: #666666; + font-weight: bold; + line-height: 1.7em; + padding: 0.2em 0.6em; +} + +thead th { + white-space: nowrap; +} + +th a { + display: block; + text-decoration: none; +} + +th a:link, th a:visited { + color: #666666; +} + +th a:hover, th a:focus { + color: #333333; +} + +th.sortable a { + background-position: right; + background-repeat: no-repeat; + padding-right: 1.1em; +} + +th.asc a { + background-image: url(../images/skin/sorted_asc.gif); +} + +th.desc a { + background-image: url(../images/skin/sorted_desc.gif); +} + +.odd { + background: #f7f7f7; +} + +.even { + background: #ffffff; +} + +th:hover, tr:hover { + background: #E1F2B6; +} + +/* PAGINATION */ + +.pagination { + border-top: 0; + margin: 0; + padding: 0.3em 0.2em; + text-align: center; + -moz-box-shadow: 0 0 3px 1px #AAAAAA; + -webkit-box-shadow: 0 0 3px 1px #AAAAAA; + box-shadow: 0 0 3px 1px #AAAAAA; + background-color: #EFEFEF; +} + +.pagination a, +.pagination .currentStep { + color: #666666; + display: inline-block; + margin: 0 0.1em; + padding: 0.25em 0.7em; + text-decoration: none; + -moz-border-radius: 0.3em; + -webkit-border-radius: 0.3em; + border-radius: 0.3em; +} + +.pagination a:hover, .pagination a:focus, +.pagination .currentStep { + background-color: #999999; + color: #ffffff; + outline: none; + text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.8); +} + +.no-borderradius .pagination a:hover, .no-borderradius .pagination a:focus, +.no-borderradius .pagination .currentStep { + background-color: transparent; + color: #444444; + text-decoration: underline; +} + +/* ACTION BUTTONS */ + +.buttons { + background-color: #efefef; + overflow: hidden; + padding: 0.3em; + -moz-box-shadow: 0 0 3px 1px #aaaaaa; + -webkit-box-shadow: 0 0 3px 1px #aaaaaa; + box-shadow: 0 0 3px 1px #aaaaaa; + margin: 0.1em 0 0 0; + border: none; +} + +.buttons input, +.buttons a { + background-color: transparent; + border: 0; + color: #666666; + cursor: pointer; + display: inline-block; + margin: 0 0.25em 0; + overflow: visible; + padding: 0.25em 0.7em; + text-decoration: none; + + -moz-border-radius: 0.3em; + -webkit-border-radius: 0.3em; + border-radius: 0.3em; +} + +.buttons input:hover, .buttons input:focus, +.buttons a:hover, .buttons a:focus { + background-color: #999999; + color: #ffffff; + outline: none; + text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.8); + -moz-box-shadow: none; + -webkit-box-shadow: none; + box-shadow: none; +} + +.no-borderradius .buttons input:hover, .no-borderradius .buttons input:focus, +.no-borderradius .buttons a:hover, .no-borderradius .buttons a:focus { + background-color: transparent; + color: #444444; + text-decoration: underline; +} + +.buttons .delete, .buttons .edit, .buttons .save { + background-position: 0.7em center; + background-repeat: no-repeat; + text-indent: 25px; +} + +.ie6 .buttons input.delete, .ie6 .buttons input.edit, .ie6 .buttons input.save, +.ie7 .buttons input.delete, .ie7 .buttons input.edit, .ie7 .buttons input.save { + padding-left: 36px; +} + +.buttons .delete { + background-image: url(../images/skin/database_delete.png); +} + +.buttons .edit { + background-image: url(../images/skin/database_edit.png); +} + +.buttons .save { + background-image: url(../images/skin/database_save.png); +} + +a.skip { + position: absolute; + left: -9999px; +} http://git-wip-us.apache.org/repos/asf/wicket/blob/c1da4aef/wicket-user-guide/web-app/css/mobile.css ---------------------------------------------------------------------- diff --git a/wicket-user-guide/web-app/css/mobile.css b/wicket-user-guide/web-app/css/mobile.css new file mode 100644 index 0000000..167f502 --- /dev/null +++ b/wicket-user-guide/web-app/css/mobile.css @@ -0,0 +1,82 @@ +/* Styles for mobile devices */ + +@media screen and (max-width: 480px) { + .nav { + padding: 0.5em; + } + + .nav li { + margin: 0 0.5em 0 0; + padding: 0.25em; + } + + /* Hide individual steps in pagination, just have next & previous */ + .pagination .step, .pagination .currentStep { + display: none; + } + + .pagination .prevLink { + float: left; + } + + .pagination .nextLink { + float: right; + } + + /* pagination needs to wrap around floated buttons */ + .pagination { + overflow: hidden; + } + + /* slightly smaller margin around content body */ + fieldset, + .property-list { + padding: 0.3em 1em 1em; + } + + input, textarea { + width: 100%; + -moz-box-sizing: border-box; + -webkit-box-sizing: border-box; + -ms-box-sizing: border-box; + box-sizing: border-box; + } + + select, input[type=checkbox], input[type=radio], input[type=submit], input[type=button], input[type=reset] { + width: auto; + } + + /* hide all but the first column of list tables */ + .scaffold-list td:not(:first-child), + .scaffold-list th:not(:first-child) { + display: none; + } + + .scaffold-list thead th { + text-align: center; + } + + /* stack form elements */ + .fieldcontain { + margin-top: 0.6em; + } + + .fieldcontain label, + .fieldcontain .property-label, + .fieldcontain .property-value { + display: block; + float: none; + margin: 0 0 0.25em 0; + text-align: left; + width: auto; + } + + .errors ul, + .message p { + margin: 0.5em; + } + + .error ul { + margin-left: 0; + } +} http://git-wip-us.apache.org/repos/asf/wicket/blob/c1da4aef/wicket-user-guide/web-app/images/apple-touch-icon-retina.png ---------------------------------------------------------------------- diff --git a/wicket-user-guide/web-app/images/apple-touch-icon-retina.png b/wicket-user-guide/web-app/images/apple-touch-icon-retina.png new file mode 100644 index 0000000..5cc83ed Binary files /dev/null and b/wicket-user-guide/web-app/images/apple-touch-icon-retina.png differ http://git-wip-us.apache.org/repos/asf/wicket/blob/c1da4aef/wicket-user-guide/web-app/images/apple-touch-icon.png ---------------------------------------------------------------------- diff --git a/wicket-user-guide/web-app/images/apple-touch-icon.png b/wicket-user-guide/web-app/images/apple-touch-icon.png new file mode 100644 index 0000000..aba337f Binary files /dev/null and b/wicket-user-guide/web-app/images/apple-touch-icon.png differ http://git-wip-us.apache.org/repos/asf/wicket/blob/c1da4aef/wicket-user-guide/web-app/images/favicon.ico ---------------------------------------------------------------------- diff --git a/wicket-user-guide/web-app/images/favicon.ico b/wicket-user-guide/web-app/images/favicon.ico new file mode 100644 index 0000000..3dfcb92 Binary files /dev/null and b/wicket-user-guide/web-app/images/favicon.ico differ http://git-wip-us.apache.org/repos/asf/wicket/blob/c1da4aef/wicket-user-guide/web-app/images/grails_logo.jpg ---------------------------------------------------------------------- diff --git a/wicket-user-guide/web-app/images/grails_logo.jpg b/wicket-user-guide/web-app/images/grails_logo.jpg new file mode 100644 index 0000000..8be657c Binary files /dev/null and b/wicket-user-guide/web-app/images/grails_logo.jpg differ http://git-wip-us.apache.org/repos/asf/wicket/blob/c1da4aef/wicket-user-guide/web-app/images/grails_logo.png ---------------------------------------------------------------------- diff --git a/wicket-user-guide/web-app/images/grails_logo.png b/wicket-user-guide/web-app/images/grails_logo.png new file mode 100644 index 0000000..9836b93 Binary files /dev/null and b/wicket-user-guide/web-app/images/grails_logo.png differ http://git-wip-us.apache.org/repos/asf/wicket/blob/c1da4aef/wicket-user-guide/web-app/images/leftnav_btm.png ---------------------------------------------------------------------- diff --git a/wicket-user-guide/web-app/images/leftnav_btm.png b/wicket-user-guide/web-app/images/leftnav_btm.png new file mode 100644 index 0000000..582e1eb Binary files /dev/null and b/wicket-user-guide/web-app/images/leftnav_btm.png differ http://git-wip-us.apache.org/repos/asf/wicket/blob/c1da4aef/wicket-user-guide/web-app/images/leftnav_midstretch.png ---------------------------------------------------------------------- diff --git a/wicket-user-guide/web-app/images/leftnav_midstretch.png b/wicket-user-guide/web-app/images/leftnav_midstretch.png new file mode 100644 index 0000000..3cb8a51 Binary files /dev/null and b/wicket-user-guide/web-app/images/leftnav_midstretch.png differ http://git-wip-us.apache.org/repos/asf/wicket/blob/c1da4aef/wicket-user-guide/web-app/images/leftnav_top.png ---------------------------------------------------------------------- diff --git a/wicket-user-guide/web-app/images/leftnav_top.png b/wicket-user-guide/web-app/images/leftnav_top.png new file mode 100644 index 0000000..6afec7d Binary files /dev/null and b/wicket-user-guide/web-app/images/leftnav_top.png differ http://git-wip-us.apache.org/repos/asf/wicket/blob/c1da4aef/wicket-user-guide/web-app/images/skin/database_add.png ---------------------------------------------------------------------- diff --git a/wicket-user-guide/web-app/images/skin/database_add.png b/wicket-user-guide/web-app/images/skin/database_add.png new file mode 100644 index 0000000..802bd6c Binary files /dev/null and b/wicket-user-guide/web-app/images/skin/database_add.png differ http://git-wip-us.apache.org/repos/asf/wicket/blob/c1da4aef/wicket-user-guide/web-app/images/skin/database_delete.png ---------------------------------------------------------------------- diff --git a/wicket-user-guide/web-app/images/skin/database_delete.png b/wicket-user-guide/web-app/images/skin/database_delete.png new file mode 100644 index 0000000..cce652e Binary files /dev/null and b/wicket-user-guide/web-app/images/skin/database_delete.png differ http://git-wip-us.apache.org/repos/asf/wicket/blob/c1da4aef/wicket-user-guide/web-app/images/skin/database_edit.png ---------------------------------------------------------------------- diff --git a/wicket-user-guide/web-app/images/skin/database_edit.png b/wicket-user-guide/web-app/images/skin/database_edit.png new file mode 100644 index 0000000..e501b66 Binary files /dev/null and b/wicket-user-guide/web-app/images/skin/database_edit.png differ http://git-wip-us.apache.org/repos/asf/wicket/blob/c1da4aef/wicket-user-guide/web-app/images/skin/database_save.png ---------------------------------------------------------------------- diff --git a/wicket-user-guide/web-app/images/skin/database_save.png b/wicket-user-guide/web-app/images/skin/database_save.png new file mode 100644 index 0000000..44c06dd Binary files /dev/null and b/wicket-user-guide/web-app/images/skin/database_save.png differ http://git-wip-us.apache.org/repos/asf/wicket/blob/c1da4aef/wicket-user-guide/web-app/images/skin/database_table.png ---------------------------------------------------------------------- diff --git a/wicket-user-guide/web-app/images/skin/database_table.png b/wicket-user-guide/web-app/images/skin/database_table.png new file mode 100644 index 0000000..693709c Binary files /dev/null and b/wicket-user-guide/web-app/images/skin/database_table.png differ http://git-wip-us.apache.org/repos/asf/wicket/blob/c1da4aef/wicket-user-guide/web-app/images/skin/exclamation.png ---------------------------------------------------------------------- diff --git a/wicket-user-guide/web-app/images/skin/exclamation.png b/wicket-user-guide/web-app/images/skin/exclamation.png new file mode 100644 index 0000000..c37bd06 Binary files /dev/null and b/wicket-user-guide/web-app/images/skin/exclamation.png differ http://git-wip-us.apache.org/repos/asf/wicket/blob/c1da4aef/wicket-user-guide/web-app/images/skin/house.png ---------------------------------------------------------------------- diff --git a/wicket-user-guide/web-app/images/skin/house.png b/wicket-user-guide/web-app/images/skin/house.png new file mode 100644 index 0000000..fed6221 Binary files /dev/null and b/wicket-user-guide/web-app/images/skin/house.png differ http://git-wip-us.apache.org/repos/asf/wicket/blob/c1da4aef/wicket-user-guide/web-app/images/skin/information.png ---------------------------------------------------------------------- diff --git a/wicket-user-guide/web-app/images/skin/information.png b/wicket-user-guide/web-app/images/skin/information.png new file mode 100644 index 0000000..12cd1ae Binary files /dev/null and b/wicket-user-guide/web-app/images/skin/information.png differ http://git-wip-us.apache.org/repos/asf/wicket/blob/c1da4aef/wicket-user-guide/web-app/images/skin/shadow.jpg ---------------------------------------------------------------------- diff --git a/wicket-user-guide/web-app/images/skin/shadow.jpg b/wicket-user-guide/web-app/images/skin/shadow.jpg new file mode 100644 index 0000000..b7ed44f Binary files /dev/null and b/wicket-user-guide/web-app/images/skin/shadow.jpg differ http://git-wip-us.apache.org/repos/asf/wicket/blob/c1da4aef/wicket-user-guide/web-app/images/skin/sorted_asc.gif ---------------------------------------------------------------------- diff --git a/wicket-user-guide/web-app/images/skin/sorted_asc.gif b/wicket-user-guide/web-app/images/skin/sorted_asc.gif new file mode 100644 index 0000000..6b179c1 Binary files /dev/null and b/wicket-user-guide/web-app/images/skin/sorted_asc.gif differ http://git-wip-us.apache.org/repos/asf/wicket/blob/c1da4aef/wicket-user-guide/web-app/images/skin/sorted_desc.gif ---------------------------------------------------------------------- diff --git a/wicket-user-guide/web-app/images/skin/sorted_desc.gif b/wicket-user-guide/web-app/images/skin/sorted_desc.gif new file mode 100644 index 0000000..38b3a01 Binary files /dev/null and b/wicket-user-guide/web-app/images/skin/sorted_desc.gif differ http://git-wip-us.apache.org/repos/asf/wicket/blob/c1da4aef/wicket-user-guide/web-app/images/spinner.gif ---------------------------------------------------------------------- diff --git a/wicket-user-guide/web-app/images/spinner.gif b/wicket-user-guide/web-app/images/spinner.gif new file mode 100644 index 0000000..1ed786f Binary files /dev/null and b/wicket-user-guide/web-app/images/spinner.gif differ http://git-wip-us.apache.org/repos/asf/wicket/blob/c1da4aef/wicket-user-guide/web-app/images/springsource.png ---------------------------------------------------------------------- diff --git a/wicket-user-guide/web-app/images/springsource.png b/wicket-user-guide/web-app/images/springsource.png new file mode 100644 index 0000000..e806d00 Binary files /dev/null and b/wicket-user-guide/web-app/images/springsource.png differ http://git-wip-us.apache.org/repos/asf/wicket/blob/c1da4aef/wicket-user-guide/web-app/js/application.js ---------------------------------------------------------------------- diff --git a/wicket-user-guide/web-app/js/application.js b/wicket-user-guide/web-app/js/application.js new file mode 100644 index 0000000..b2adb96 --- /dev/null +++ b/wicket-user-guide/web-app/js/application.js @@ -0,0 +1,9 @@ +if (typeof jQuery !== 'undefined') { + (function($) { + $('#spinner').ajaxStart(function() { + $(this).fadeIn(); + }).ajaxStop(function() { + $(this).fadeOut(); + }); + })(jQuery); +}