JBoss Rich Faces SVN: r22330 - in modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer: converter and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: ppitonak(a)redhat.com
Date: 2011-03-29 12:51:04 -0400 (Tue, 29 Mar 2011)
New Revision: 22330
Added:
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/converter/CollectionConverter.java
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/converter/TemplateNameConverter.java
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/converter/TemplatesListConverter.java
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/converter/ValueConverter.java
Removed:
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/CollectionConverter.java
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/TemplateNameConverter.java
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/TemplatesListConverter.java
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/ValueConverter.java
Modified:
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/Attribute.java
Log:
converters moved to separate package
Modified: modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/Attribute.java
===================================================================
--- modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/Attribute.java 2011-03-29 16:50:19 UTC (rev 22329)
+++ modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/Attribute.java 2011-03-29 16:51:04 UTC (rev 22330)
@@ -34,6 +34,7 @@
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;
+import org.richfaces.tests.metamer.converter.CollectionConverter;
/**
* Representation an attribute of a JSF component.
Deleted: modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/CollectionConverter.java
===================================================================
--- modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/CollectionConverter.java 2011-03-29 16:50:19 UTC (rev 22329)
+++ modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/CollectionConverter.java 2011-03-29 16:51:04 UTC (rev 22330)
@@ -1,107 +0,0 @@
-/*******************************************************************************
- * JBoss, Home of Professional Open Source
- * Copyright 2010-2011, Red Hat, Inc. and individual contributors
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- *******************************************************************************/
-package org.richfaces.tests.metamer;
-
-import java.util.Arrays;
-import java.util.Collection;
-import java.util.Collections;
-import java.util.LinkedList;
-import java.util.Set;
-import java.util.TreeSet;
-
-import org.apache.commons.lang.StringUtils;
-
-/**
- * @author <a href="mailto:lfryc@redhat.com">Pavol Pitonak</a>
- * @version $Revision$
- */
-public final class CollectionConverter<E, C extends Collection<E>> {
-
- Class<C> collectionClass;
- Class<E> memberClass;
-
- public CollectionConverter(Class<?> collectionClass, Class<?> memberClass) {
- this.collectionClass = (Class<C>) collectionClass;
- this.memberClass = (Class<E>) memberClass;
- }
-
- public static <E, C extends Collection<E>> CollectionConverter<E, Collection<E>> getInstance(
- Class<E> collectionClass, Class<C> memberClass) {
- return new CollectionConverter<E, Collection<E>>(collectionClass, memberClass);
- }
-
- public C convert(Object value) {
- Collection<?> collection = getTransformedValue(value);
-
- if (collection.isEmpty()) {
- return createCollection();
- }
-
- ValueConverter<E> memberConverter = ValueConverter.getInstance(memberClass);
-
- C result = createCollection();
-
- for (Object object : collection) {
- result.add(memberConverter.convert(object));
- }
-
- return result;
- }
-
- private Collection<? extends Object> getTransformedValue(Object value) {
- if (value == null) {
- return Collections.EMPTY_LIST;
- } else if (value instanceof String) {
- String[] splitted = StringUtils.split((String) value, ",[] ");
- return Arrays.asList(splitted);
- } else if (value instanceof Collection) {
- return (Collection) value;
- } else {
- throw new UnsupportedOperationException("the value '" + value + "' of class " + value.getClass()
- + " is not supported in collection transformer");
- }
- }
-
- private C createCollection() {
- try {
- return getConcreteClass().newInstance();
- } catch (Exception e) {
- throw new IllegalStateException("wasn't able to construct new collection of given type ("
- + collectionClass.getName() + ")");
- }
- }
-
- @SuppressWarnings("unchecked")
- private Class<? extends C> getConcreteClass() {
- if (!collectionClass.isInterface()) {
- return collectionClass;
- } else {
- if (Set.class.isAssignableFrom(collectionClass)) {
- return (Class<? extends C>) (Object) TreeSet.class;
- }
- if (Collection.class.isAssignableFrom(collectionClass)) {
- return (Class<? extends C>) (Object) LinkedList.class;
- }
- throw new IllegalStateException("Unsupported collection of interface '" + collectionClass.getName() + "'");
- }
- }
-}
Deleted: modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/TemplateNameConverter.java
===================================================================
--- modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/TemplateNameConverter.java 2011-03-29 16:50:19 UTC (rev 22329)
+++ modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/TemplateNameConverter.java 2011-03-29 16:51:04 UTC (rev 22330)
@@ -1,65 +0,0 @@
-/*******************************************************************************
- * JBoss, Home of Professional Open Source
- * Copyright 2010-2011, Red Hat, Inc. and individual contributors
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- *******************************************************************************/
-
-package org.richfaces.tests.metamer;
-
-import javax.faces.FacesException;
-import javax.faces.component.UIComponent;
-import javax.faces.context.FacesContext;
-import javax.faces.convert.Converter;
-import javax.faces.convert.FacesConverter;
-
-/**
- * Converter used for view parameter "template".
- *
- * @author <a href="mailto:ppitonak@redhat.com">Pavol Pitonak</a>
- * @version $Revision$
- */
-@FacesConverter(value = "templateNameConverter")
-public class TemplateNameConverter implements Converter {
-
- /**
- * {@inheritDoc}
- */
- public Object getAsObject(FacesContext context, UIComponent component, String value) {
- try {
- return Template.valueOf(value.toUpperCase());
- } catch (IllegalArgumentException iae) {
- throw new FacesException("Cannot convert parameter \"" + value + "\" to the name of template.", iae);
- }
- }
-
- /**
- * {@inheritDoc}
- */
- public String getAsString(FacesContext context, UIComponent component, Object value) {
- if (value instanceof String) {
- return (String) value;
- }
-
- if (value instanceof Template) {
- return ((Template) value).toString();
- }
-
- throw new FacesException("Cannot convert parameter \"" + value + "\" to the name of template.");
- }
-}
Deleted: modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/TemplatesListConverter.java
===================================================================
--- modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/TemplatesListConverter.java 2011-03-29 16:50:19 UTC (rev 22329)
+++ modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/TemplatesListConverter.java 2011-03-29 16:51:04 UTC (rev 22330)
@@ -1,71 +0,0 @@
-/*******************************************************************************
- * JBoss, Home of Professional Open Source
- * Copyright 2010-2011, Red Hat, Inc. and individual contributors
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- *******************************************************************************/
-
-package org.richfaces.tests.metamer;
-
-import javax.faces.FacesException;
-import javax.faces.component.UIComponent;
-import javax.faces.context.FacesContext;
-import javax.faces.convert.Converter;
-import javax.faces.convert.FacesConverter;
-
-/**
- * Converter used for view parameter "template".
- *
- * @author <a href="mailto:ppitonak@redhat.com">Pavol Pitonak</a>
- * @version $Revision$
- */
-@FacesConverter(value = "templatesListConverter")
-public class TemplatesListConverter implements Converter {
-
- /**
- * {@inheritDoc}
- */
- public Object getAsObject(FacesContext context, UIComponent component, String value) {
- try {
- TemplatesList list = new TemplatesList();
-
- for (String template : value.split(",")) {
- list.add(Template.valueOf(template.toUpperCase()));
- }
-
- return list;
- } catch (IllegalArgumentException iae) {
- throw new FacesException("Cannot convert parameter \"" + value + "\" to the list of templates.", iae);
- }
- }
-
- /**
- * {@inheritDoc}
- */
- public String getAsString(FacesContext context, UIComponent component, Object value) {
- if (value instanceof String) {
- return (String) value;
- }
-
- if (value instanceof TemplatesList) {
- return value.toString();
- }
-
- throw new FacesException("Cannot convert parameter \"" + value + "\" to the list of templates.");
- }
-}
Deleted: modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/ValueConverter.java
===================================================================
--- modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/ValueConverter.java 2011-03-29 16:50:19 UTC (rev 22329)
+++ modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/ValueConverter.java 2011-03-29 16:51:04 UTC (rev 22330)
@@ -1,74 +0,0 @@
-/*******************************************************************************
- * JBoss, Home of Professional Open Source
- * Copyright 2010-2011, Red Hat, Inc. and individual contributors
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- *******************************************************************************/
-package org.richfaces.tests.metamer;
-
-import java.lang.reflect.Constructor;
-
-/**
- * @author <a href="mailto:lfryc@redhat.com">Lukas Fryc</a>
- * @version $Revision$
- */
-public final class ValueConverter<T> {
-
- Class<T> type;
-
- private ValueConverter(Class<?> type) {
- this.type = (Class<T>) type;
- }
-
- public static <T> ValueConverter<T> getInstance(Class<T> type) {
- return new ValueConverter<T>(type);
- }
-
- public T convert(Object value) {
- if (value == null) {
- return null;
- } else if (type.isAssignableFrom(String.class)) {
- return (T) value;
- } else if (value instanceof String) {
- return construct(value);
- } else {
- throw new UnsupportedOperationException("Can't convert the object of '" + value.getClass().getName()
- + "' to '" + type.getName() + "'");
- }
- }
-
- private T construct(Object value) {
- try {
- return getConstructor().newInstance(value);
- } catch (Exception e) {
- throw new UnsupportedOperationException("Can't construct the object of class '" + type.getName()
- + "' from String");
- }
-
- }
-
- public Constructor<T> getConstructor() {
- try {
- return type.getConstructor(String.class);
- } catch (Exception e) {
- throw new UnsupportedOperationException("Can't construct the object of class '" + type.getName()
- + "' from String");
- }
- }
-
-}
Copied: modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/converter/CollectionConverter.java (from rev 22329, modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/CollectionConverter.java)
===================================================================
--- modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/converter/CollectionConverter.java (rev 0)
+++ modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/converter/CollectionConverter.java 2011-03-29 16:51:04 UTC (rev 22330)
@@ -0,0 +1,107 @@
+/*******************************************************************************
+ * JBoss, Home of Professional Open Source
+ * Copyright 2010-2011, Red Hat, Inc. and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ *******************************************************************************/
+package org.richfaces.tests.metamer.converter;
+
+import java.util.Arrays;
+import java.util.Collection;
+import java.util.Collections;
+import java.util.LinkedList;
+import java.util.Set;
+import java.util.TreeSet;
+
+import org.apache.commons.lang.StringUtils;
+
+/**
+ * @author <a href="mailto:lfryc@redhat.com">Lukas Fryc</a>
+ * @version $Revision$
+ */
+public final class CollectionConverter<E, C extends Collection<E>> {
+
+ Class<C> collectionClass;
+ Class<E> memberClass;
+
+ public CollectionConverter(Class<?> collectionClass, Class<?> memberClass) {
+ this.collectionClass = (Class<C>) collectionClass;
+ this.memberClass = (Class<E>) memberClass;
+ }
+
+ public static <E, C extends Collection<E>> CollectionConverter<E, Collection<E>> getInstance(
+ Class<E> collectionClass, Class<C> memberClass) {
+ return new CollectionConverter<E, Collection<E>>(collectionClass, memberClass);
+ }
+
+ public C convert(Object value) {
+ Collection<?> collection = getTransformedValue(value);
+
+ if (collection.isEmpty()) {
+ return createCollection();
+ }
+
+ ValueConverter<E> memberConverter = ValueConverter.getInstance(memberClass);
+
+ C result = createCollection();
+
+ for (Object object : collection) {
+ result.add(memberConverter.convert(object));
+ }
+
+ return result;
+ }
+
+ private Collection<? extends Object> getTransformedValue(Object value) {
+ if (value == null) {
+ return Collections.EMPTY_LIST;
+ } else if (value instanceof String) {
+ String[] splitted = StringUtils.split((String) value, ",[] ");
+ return Arrays.asList(splitted);
+ } else if (value instanceof Collection) {
+ return (Collection) value;
+ } else {
+ throw new UnsupportedOperationException("the value '" + value + "' of class " + value.getClass()
+ + " is not supported in collection transformer");
+ }
+ }
+
+ private C createCollection() {
+ try {
+ return getConcreteClass().newInstance();
+ } catch (Exception e) {
+ throw new IllegalStateException("wasn't able to construct new collection of given type ("
+ + collectionClass.getName() + ")");
+ }
+ }
+
+ @SuppressWarnings("unchecked")
+ private Class<? extends C> getConcreteClass() {
+ if (!collectionClass.isInterface()) {
+ return collectionClass;
+ } else {
+ if (Set.class.isAssignableFrom(collectionClass)) {
+ return (Class<? extends C>) (Object) TreeSet.class;
+ }
+ if (Collection.class.isAssignableFrom(collectionClass)) {
+ return (Class<? extends C>) (Object) LinkedList.class;
+ }
+ throw new IllegalStateException("Unsupported collection of interface '" + collectionClass.getName() + "'");
+ }
+ }
+}
Copied: modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/converter/TemplateNameConverter.java (from rev 22329, modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/TemplateNameConverter.java)
===================================================================
--- modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/converter/TemplateNameConverter.java (rev 0)
+++ modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/converter/TemplateNameConverter.java 2011-03-29 16:51:04 UTC (rev 22330)
@@ -0,0 +1,66 @@
+/*******************************************************************************
+ * JBoss, Home of Professional Open Source
+ * Copyright 2010-2011, Red Hat, Inc. and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ *******************************************************************************/
+
+package org.richfaces.tests.metamer.converter;
+
+import javax.faces.FacesException;
+import javax.faces.component.UIComponent;
+import javax.faces.context.FacesContext;
+import javax.faces.convert.Converter;
+import javax.faces.convert.FacesConverter;
+import org.richfaces.tests.metamer.Template;
+
+/**
+ * Converter used for view parameter "template".
+ *
+ * @author <a href="mailto:ppitonak@redhat.com">Pavol Pitonak</a>
+ * @version $Revision$
+ */
+@FacesConverter(value = "templateNameConverter")
+public class TemplateNameConverter implements Converter {
+
+ /**
+ * {@inheritDoc}
+ */
+ public Object getAsObject(FacesContext context, UIComponent component, String value) {
+ try {
+ return Template.valueOf(value.toUpperCase());
+ } catch (IllegalArgumentException iae) {
+ throw new FacesException("Cannot convert parameter \"" + value + "\" to the name of template.", iae);
+ }
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public String getAsString(FacesContext context, UIComponent component, Object value) {
+ if (value instanceof String) {
+ return (String) value;
+ }
+
+ if (value instanceof Template) {
+ return ((Template) value).toString();
+ }
+
+ throw new FacesException("Cannot convert parameter \"" + value + "\" to the name of template.");
+ }
+}
Copied: modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/converter/TemplatesListConverter.java (from rev 22329, modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/TemplatesListConverter.java)
===================================================================
--- modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/converter/TemplatesListConverter.java (rev 0)
+++ modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/converter/TemplatesListConverter.java 2011-03-29 16:51:04 UTC (rev 22330)
@@ -0,0 +1,73 @@
+/*******************************************************************************
+ * JBoss, Home of Professional Open Source
+ * Copyright 2010-2011, Red Hat, Inc. and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ *******************************************************************************/
+
+package org.richfaces.tests.metamer.converter;
+
+import javax.faces.FacesException;
+import javax.faces.component.UIComponent;
+import javax.faces.context.FacesContext;
+import javax.faces.convert.Converter;
+import javax.faces.convert.FacesConverter;
+import org.richfaces.tests.metamer.Template;
+import org.richfaces.tests.metamer.TemplatesList;
+
+/**
+ * Converter used for view parameter "template".
+ *
+ * @author <a href="mailto:ppitonak@redhat.com">Pavol Pitonak</a>
+ * @version $Revision$
+ */
+@FacesConverter(value = "templatesListConverter")
+public class TemplatesListConverter implements Converter {
+
+ /**
+ * {@inheritDoc}
+ */
+ public Object getAsObject(FacesContext context, UIComponent component, String value) {
+ try {
+ TemplatesList list = new TemplatesList();
+
+ for (String template : value.split(",")) {
+ list.add(Template.valueOf(template.toUpperCase()));
+ }
+
+ return list;
+ } catch (IllegalArgumentException iae) {
+ throw new FacesException("Cannot convert parameter \"" + value + "\" to the list of templates.", iae);
+ }
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public String getAsString(FacesContext context, UIComponent component, Object value) {
+ if (value instanceof String) {
+ return (String) value;
+ }
+
+ if (value instanceof TemplatesList) {
+ return value.toString();
+ }
+
+ throw new FacesException("Cannot convert parameter \"" + value + "\" to the list of templates.");
+ }
+}
Copied: modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/converter/ValueConverter.java (from rev 22329, modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/ValueConverter.java)
===================================================================
--- modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/converter/ValueConverter.java (rev 0)
+++ modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/converter/ValueConverter.java 2011-03-29 16:51:04 UTC (rev 22330)
@@ -0,0 +1,74 @@
+/*******************************************************************************
+ * JBoss, Home of Professional Open Source
+ * Copyright 2010-2011, Red Hat, Inc. and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ *******************************************************************************/
+package org.richfaces.tests.metamer.converter;
+
+import java.lang.reflect.Constructor;
+
+/**
+ * @author <a href="mailto:lfryc@redhat.com">Lukas Fryc</a>
+ * @version $Revision$
+ */
+public final class ValueConverter<T> {
+
+ Class<T> type;
+
+ private ValueConverter(Class<?> type) {
+ this.type = (Class<T>) type;
+ }
+
+ public static <T> ValueConverter<T> getInstance(Class<T> type) {
+ return new ValueConverter<T>(type);
+ }
+
+ public T convert(Object value) {
+ if (value == null) {
+ return null;
+ } else if (type.isAssignableFrom(String.class)) {
+ return (T) value;
+ } else if (value instanceof String) {
+ return construct(value);
+ } else {
+ throw new UnsupportedOperationException("Can't convert the object of '" + value.getClass().getName()
+ + "' to '" + type.getName() + "'");
+ }
+ }
+
+ private T construct(Object value) {
+ try {
+ return getConstructor().newInstance(value);
+ } catch (Exception e) {
+ throw new UnsupportedOperationException("Can't construct the object of class '" + type.getName()
+ + "' from String");
+ }
+
+ }
+
+ public Constructor<T> getConstructor() {
+ try {
+ return type.getConstructor(String.class);
+ } catch (Exception e) {
+ throw new UnsupportedOperationException("Can't construct the object of class '" + type.getName()
+ + "' from String");
+ }
+ }
+
+}
13 years, 9 months
JBoss Rich Faces SVN: r22329 - modules/tests/metamer/trunk/application/src/main/webapp/components/richHashParam.
by richfaces-svn-commits@lists.jboss.org
Author: ppitonak(a)redhat.com
Date: 2011-03-29 12:50:19 -0400 (Tue, 29 Mar 2011)
New Revision: 22329
Modified:
modules/tests/metamer/trunk/application/src/main/webapp/components/richHashParam/simple.xhtml
Log:
description in hash param sample fixed
Modified: modules/tests/metamer/trunk/application/src/main/webapp/components/richHashParam/simple.xhtml
===================================================================
--- modules/tests/metamer/trunk/application/src/main/webapp/components/richHashParam/simple.xhtml 2011-03-29 08:29:24 UTC (rev 22328)
+++ modules/tests/metamer/trunk/application/src/main/webapp/components/richHashParam/simple.xhtml 2011-03-29 16:50:19 UTC (rev 22329)
@@ -56,8 +56,8 @@
<h:outputText value="150px" />
</h:panelGrid>
<p>Also panel getting centered by using:</p>
- <p><a4j:param noEscape="true" name="left" value="(screen.width/2)-250"/></p>
- <p><a4j:param noEscape="true" name="top" value="(screen.height/2)-150"/></p>
+ <p><a4j:param noEscape="true" name="left" value="33+44"/></p>
+ <p><a4j:param noEscape="true" name="top" value="55-33"/></p>
<fieldset>
<legend><b>NOTE</b></legend>
13 years, 9 months
JBoss Rich Faces SVN: r22328 - in modules/tests/metamer/trunk: ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richAccordion and 2 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: ppitonak(a)redhat.com
Date: 2011-03-29 04:29:24 -0400 (Tue, 29 Mar 2011)
New Revision: 22328
Modified:
modules/tests/metamer/trunk/application/src/main/resources/org/richfaces/tests/metamer/bean/RichAccordionBean.properties
modules/tests/metamer/trunk/application/src/main/resources/org/richfaces/tests/metamer/bean/RichAccordionItemBean.properties
modules/tests/metamer/trunk/application/src/main/resources/org/richfaces/tests/metamer/bean/RichCollapsiblePanelBean.properties
modules/tests/metamer/trunk/application/src/main/resources/org/richfaces/tests/metamer/bean/RichPanelMenuBean.properties
modules/tests/metamer/trunk/application/src/main/resources/org/richfaces/tests/metamer/bean/RichPanelMenuGroupBean.properties
modules/tests/metamer/trunk/application/src/main/resources/org/richfaces/tests/metamer/bean/RichPanelMenuItemBean.properties
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richAccordion/TestRichAccordion.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richAccordionItem/TestRichAccordionItem.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richCollapsiblePanel/TestRichCollapsiblePanel.java
Log:
added icon "chevron" to all panels and tests
Modified: modules/tests/metamer/trunk/application/src/main/resources/org/richfaces/tests/metamer/bean/RichAccordionBean.properties
===================================================================
--- modules/tests/metamer/trunk/application/src/main/resources/org/richfaces/tests/metamer/bean/RichAccordionBean.properties 2011-03-29 08:28:13 UTC (rev 22327)
+++ modules/tests/metamer/trunk/application/src/main/resources/org/richfaces/tests/metamer/bean/RichAccordionBean.properties 2011-03-29 08:29:24 UTC (rev 22328)
@@ -10,6 +10,7 @@
attr.itemActiveLeftIcon.none=none
attr.itemActiveLeftIcon.grid=grid
attr.itemActiveLeftIcon.disc=disc
+attr.itemActiveLeftIcon.chevron=chevron
attr.itemActiveLeftIcon.chevronUp=chevronUp
attr.itemActiveLeftIcon.chevronDown=chevronDown
attr.itemActiveLeftIcon.triangle=triangle
@@ -22,6 +23,7 @@
attr.itemDisabledLeftIcon.none=none
attr.itemDisabledLeftIcon.grid=grid
attr.itemDisabledLeftIcon.disc=disc
+attr.itemDisabledLeftIcon.chevron=chevron
attr.itemDisabledLeftIcon.chevronUp=chevronUp
attr.itemDisabledLeftIcon.chevronDown=chevronDown
attr.itemDisabledLeftIcon.triangle=triangle
@@ -34,6 +36,7 @@
attr.itemInactiveLeftIcon.none=none
attr.itemInactiveLeftIcon.grid=grid
attr.itemInactiveLeftIcon.disc=disc
+attr.itemInactiveLeftIcon.chevron=chevron
attr.itemInactiveLeftIcon.chevronUp=chevronUp
attr.itemInactiveLeftIcon.chevronDown=chevronDown
attr.itemInactiveLeftIcon.triangle=triangle
@@ -46,6 +49,7 @@
attr.itemActiveRightIcon.none=none
attr.itemActiveRightIcon.grid=grid
attr.itemActiveRightIcon.disc=disc
+attr.itemActiveRightIcon.chevron=chevron
attr.itemActiveRightIcon.chevronUp=chevronUp
attr.itemActiveRightIcon.chevronDown=chevronDown
attr.itemActiveRightIcon.triangle=triangle
@@ -58,6 +62,7 @@
attr.itemDisabledRightIcon.none=none
attr.itemDisabledRightIcon.grid=grid
attr.itemDisabledRightIcon.disc=disc
+attr.itemDisabledRightIcon.chevron=chevron
attr.itemDisabledRightIcon.chevronUp=chevronUp
attr.itemDisabledRightIcon.chevronDown=chevronDown
attr.itemDisabledRightIcon.triangle=triangle
@@ -70,6 +75,7 @@
attr.itemInactiveRightIcon.none=none
attr.itemInactiveRightIcon.grid=grid
attr.itemInactiveRightIcon.disc=disc
+attr.itemInactiveRightIcon.chevron=chevron
attr.itemInactiveRightIcon.chevronUp=chevronUp
attr.itemInactiveRightIcon.chevronDown=chevronDown
attr.itemInactiveRightIcon.triangle=triangle
Modified: modules/tests/metamer/trunk/application/src/main/resources/org/richfaces/tests/metamer/bean/RichAccordionItemBean.properties
===================================================================
--- modules/tests/metamer/trunk/application/src/main/resources/org/richfaces/tests/metamer/bean/RichAccordionItemBean.properties 2011-03-29 08:28:13 UTC (rev 22327)
+++ modules/tests/metamer/trunk/application/src/main/resources/org/richfaces/tests/metamer/bean/RichAccordionItemBean.properties 2011-03-29 08:29:24 UTC (rev 22328)
@@ -10,6 +10,7 @@
attr.leftActiveIcon.none=none
attr.leftActiveIcon.grid=grid
attr.leftActiveIcon.disc=disc
+attr.leftActiveIcon.chevron=chevron
attr.leftActiveIcon.chevronUp=chevronUp
attr.leftActiveIcon.chevronDown=chevronDown
attr.leftActiveIcon.triangle=triangle
@@ -22,6 +23,7 @@
attr.leftDisabledIcon.none=none
attr.leftDisabledIcon.grid=grid
attr.leftDisabledIcon.disc=disc
+attr.leftDisabledIcon.chevron=chevron
attr.leftDisabledIcon.chevronUp=chevronUp
attr.leftDisabledIcon.chevronDown=chevronDown
attr.leftDisabledIcon.triangle=triangle
@@ -34,6 +36,7 @@
attr.leftInactiveIcon.none=none
attr.leftInactiveIcon.grid=grid
attr.leftInactiveIcon.disc=disc
+attr.leftInactiveIcon.chevron=chevron
attr.leftInactiveIcon.chevronUp=chevronUp
attr.leftInactiveIcon.chevronDown=chevronDown
attr.leftInactiveIcon.triangle=triangle
@@ -46,6 +49,7 @@
attr.rightActiveIcon.none=none
attr.rightActiveIcon.grid=grid
attr.rightActiveIcon.disc=disc
+attr.rightActiveIcon.chevron=chevron
attr.rightActiveIcon.chevronUp=chevronUp
attr.rightActiveIcon.chevronDown=chevronDown
attr.rightActiveIcon.triangle=triangle
@@ -58,6 +62,7 @@
attr.rightDisabledIcon.none=none
attr.rightDisabledIcon.grid=grid
attr.rightDisabledIcon.disc=disc
+attr.rightDisabledIcon.chevron=chevron
attr.rightDisabledIcon.chevronUp=chevronUp
attr.rightDisabledIcon.chevronDown=chevronDown
attr.rightDisabledIcon.triangle=triangle
@@ -70,6 +75,7 @@
attr.rightInactiveIcon.none=none
attr.rightInactiveIcon.grid=grid
attr.rightInactiveIcon.disc=disc
+attr.rightInactiveIcon.chevron=chevron
attr.rightInactiveIcon.chevronUp=chevronUp
attr.rightInactiveIcon.chevronDown=chevronDown
attr.rightInactiveIcon.triangle=triangle
Modified: modules/tests/metamer/trunk/application/src/main/resources/org/richfaces/tests/metamer/bean/RichCollapsiblePanelBean.properties
===================================================================
--- modules/tests/metamer/trunk/application/src/main/resources/org/richfaces/tests/metamer/bean/RichCollapsiblePanelBean.properties 2011-03-29 08:28:13 UTC (rev 22327)
+++ modules/tests/metamer/trunk/application/src/main/resources/org/richfaces/tests/metamer/bean/RichCollapsiblePanelBean.properties 2011-03-29 08:29:24 UTC (rev 22328)
@@ -5,6 +5,7 @@
attr.leftCollapsedIcon.none=none
attr.leftCollapsedIcon.grid=grid
attr.leftCollapsedIcon.disc=disc
+attr.leftCollapsedIcon.chevron=chevron
attr.leftCollapsedIcon.chevronUp=chevronUp
attr.leftCollapsedIcon.chevronDown=chevronDown
attr.leftCollapsedIcon.triangle=triangle
@@ -17,6 +18,7 @@
attr.leftExpandedIcon.none=none
attr.leftExpandedIcon.grid=grid
attr.leftExpandedIcon.disc=disc
+attr.leftExpandedIcon.chevron=chevron
attr.leftExpandedIcon.chevronUp=chevronUp
attr.leftExpandedIcon.chevronDown=chevronDown
attr.leftExpandedIcon.triangle=triangle
@@ -29,6 +31,7 @@
attr.rightCollapsedIcon.none=none
attr.rightCollapsedIcon.grid=grid
attr.rightCollapsedIcon.disc=disc
+attr.rightCollapsedIcon.chevron=chevron
attr.rightCollapsedIcon.chevronUp=chevronUp
attr.rightCollapsedIcon.chevronDown=chevronDown
attr.rightCollapsedIcon.triangle=triangle
@@ -41,6 +44,7 @@
attr.rightExpandedIcon.none=none
attr.rightExpandedIcon.grid=grid
attr.rightExpandedIcon.disc=disc
+attr.rightExpandedIcon.chevron=chevron
attr.rightExpandedIcon.chevronUp=chevronUp
attr.rightExpandedIcon.chevronDown=chevronDown
attr.rightExpandedIcon.triangle=triangle
Modified: modules/tests/metamer/trunk/application/src/main/resources/org/richfaces/tests/metamer/bean/RichPanelMenuBean.properties
===================================================================
--- modules/tests/metamer/trunk/application/src/main/resources/org/richfaces/tests/metamer/bean/RichPanelMenuBean.properties 2011-03-29 08:28:13 UTC (rev 22327)
+++ modules/tests/metamer/trunk/application/src/main/resources/org/richfaces/tests/metamer/bean/RichPanelMenuBean.properties 2011-03-29 08:29:24 UTC (rev 22328)
@@ -2,12 +2,15 @@
attr.groupMode.ajax=ajax
attr.groupMode.server=server
attr.groupMode.null=
+
attr.itemMode.client=client
attr.itemMode.ajax=ajax
attr.itemMode.server=server
attr.itemMode.null=
+
attr.groupCollapsedLeftIcon.grid=grid
attr.groupCollapsedLeftIcon.disc=disc
+attr.groupCollapsedLeftIcon.chevron=chevron
attr.groupCollapsedLeftIcon.chevronUp=chevronUp
attr.groupCollapsedLeftIcon.chevronDown=chevronDown
attr.groupCollapsedLeftIcon.triangle=triangle
@@ -15,8 +18,10 @@
attr.groupCollapsedLeftIcon.triangleDown=triangleDown
attr.groupCollapsedLeftIcon.customURL=/resources/images/loading.gif
attr.groupCollapsedLeftIcon.null=
+
attr.groupCollapsedRightIcon.grid=grid
attr.groupCollapsedRightIcon.disc=disc
+attr.groupCollapsedRightIcon.chevron=chevron
attr.groupCollapsedRightIcon.chevronUp=chevronUp
attr.groupCollapsedRightIcon.chevronDown=chevronDown
attr.groupCollapsedRightIcon.triangle=triangle
@@ -24,8 +29,10 @@
attr.groupCollapsedRightIcon.triangleDown=triangleDown
attr.groupCollapsedRightIcon.customURL=/resources/images/loading.gif
attr.groupCollapsedRightIcon.null=
+
attr.groupDisabledLeftIcon.grid=grid
attr.groupDisabledLeftIcon.disc=disc
+attr.groupDisabledLeftIcon.chevron=chevron
attr.groupDisabledLeftIcon.chevronUp=chevronUp
attr.groupDisabledLeftIcon.chevronDown=chevronDown
attr.groupDisabledLeftIcon.triangle=triangle
@@ -33,8 +40,10 @@
attr.groupDisabledLeftIcon.triangleDown=triangleDown
attr.groupDisabledLeftIcon.customURL=/resources/images/loading.gif
attr.groupDisabledLeftIcon.null=
+
attr.groupDisabledRightIcon.grid=grid
attr.groupDisabledRightIcon.disc=disc
+attr.groupDisabledRightIcon.chevron=chevron
attr.groupDisabledRightIcon.chevronUp=chevronUp
attr.groupDisabledRightIcon.chevronDown=chevronDown
attr.groupDisabledRightIcon.triangle=triangle
@@ -42,8 +51,10 @@
attr.groupDisabledRightIcon.triangleDown=triangleDown
attr.groupDisabledRightIcon.customURL=/resources/images/loading.gif
attr.groupDisabledRightIcon.null=
+
attr.groupExpandedLeftIcon.grid=grid
attr.groupExpandedLeftIcon.disc=disc
+attr.groupExpandedLeftIcon.chevron=chevron
attr.groupExpandedLeftIcon.chevronUp=chevronUp
attr.groupExpandedLeftIcon.chevronDown=chevronDown
attr.groupExpandedLeftIcon.triangle=triangle
@@ -51,8 +62,10 @@
attr.groupExpandedLeftIcon.triangleDown=triangleDown
attr.groupExpandedLeftIcon.customURL=/resources/images/loading.gif
attr.groupExpandedLeftIcon.null=
+
attr.groupExpandedRightIcon.grid=grid
attr.groupExpandedRightIcon.disc=disc
+attr.groupExpandedRightIcon.chevron=chevron
attr.groupExpandedRightIcon.chevronUp=chevronUp
attr.groupExpandedRightIcon.chevronDown=chevronDown
attr.groupExpandedRightIcon.triangle=triangle
@@ -60,8 +73,10 @@
attr.groupExpandedRightIcon.triangleDown=triangleDown
attr.groupExpandedRightIcon.customURL=/resources/images/loading.gif
attr.groupExpandedRightIcon.null=
+
attr.itemDisabledLeftIcon.grid=grid
attr.itemDisabledLeftIcon.disc=disc
+attr.itemDisabledLeftIcon.chevron=chevron
attr.itemDisabledLeftIcon.chevronUp=chevronUp
attr.itemDisabledLeftIcon.chevronDown=chevronDown
attr.itemDisabledLeftIcon.triangle=triangle
@@ -69,8 +84,10 @@
attr.itemDisabledLeftIcon.triangleDown=triangleDown
attr.itemDisabledLeftIcon.customURL=/resources/images/loading.gif
attr.itemDisabledLeftIcon.null=
+
attr.itemDisabledRightIcon.grid=grid
attr.itemDisabledRightIcon.disc=disc
+attr.itemDisabledRightIcon.chevron=chevron
attr.itemDisabledRightIcon.chevronUp=chevronUp
attr.itemDisabledRightIcon.chevronDown=chevronDown
attr.itemDisabledRightIcon.triangle=triangle
@@ -78,8 +95,10 @@
attr.itemDisabledRightIcon.triangleDown=triangleDown
attr.itemDisabledRightIcon.customURL=/resources/images/loading.gif
attr.itemDisabledRightIcon.null=
+
attr.itemLeftIcon.grid=grid
attr.itemLeftIcon.disc=disc
+attr.itemLeftIcon.chevron=chevron
attr.itemLeftIcon.chevronUp=chevronUp
attr.itemLeftIcon.chevronDown=chevronDown
attr.itemLeftIcon.triangle=triangle
@@ -87,8 +106,10 @@
attr.itemLeftIcon.triangleDown=triangleDown
attr.itemLeftIcon.customURL=/resources/images/loading.gif
attr.itemLeftIcon.null=
+
attr.itemRightIcon.grid=grid
attr.itemRightIcon.disc=disc
+attr.itemRightIcon.chevron=chevron
attr.itemRightIcon.chevronUp=chevronUp
attr.itemRightIcon.chevronDown=chevronDown
attr.itemRightIcon.triangle=triangle
@@ -96,8 +117,10 @@
attr.itemRightIcon.triangleDown=triangleDown
attr.itemRightIcon.customURL=/resources/images/loading.gif
attr.itemRightIcon.null=
+
attr.topGroupCollapsedLeftIcon.grid=grid
attr.topGroupCollapsedLeftIcon.disc=disc
+attr.topGroupCollapsedLeftIcon.chevron=chevron
attr.topGroupCollapsedLeftIcon.chevronUp=chevronUp
attr.topGroupCollapsedLeftIcon.chevronDown=chevronDown
attr.topGroupCollapsedLeftIcon.triangle=triangle
@@ -105,17 +128,22 @@
attr.topGroupCollapsedLeftIcon.triangleDown=triangleDown
attr.topGroupCollapsedLeftIcon.customURL=/resources/images/loading.gif
attr.topGroupCollapsedLeftIcon.null=
+
attr.topGroupCollapsedRightIcon.grid=grid
attr.topGroupCollapsedRightIcon.disc=disc
+attr.topGroupCollapsedRightIcon.chevron=chevron
attr.topGroupCollapsedRightIcon.chevronUp=chevronUp
+attr.topGroupCollapsedRightIcon.chevronUp=chevronUp
attr.topGroupCollapsedRightIcon.chevronDown=chevronDown
attr.topGroupCollapsedRightIcon.triangle=triangle
attr.topGroupCollapsedRightIcon.triangleUp=triangleUp
attr.topGroupCollapsedRightIcon.triangleDown=triangleDown
attr.topGroupCollapsedRightIcon.customURL=/resources/images/loading.gif
attr.topGroupCollapsedRightIcon.null=
+
attr.topGroupDisabledLeftIcon.grid=grid
attr.topGroupDisabledLeftIcon.disc=disc
+attr.topGroupDisabledLeftIcon.chevron=chevron
attr.topGroupDisabledLeftIcon.chevronUp=chevronUp
attr.topGroupDisabledLeftIcon.chevronDown=chevronDown
attr.topGroupDisabledLeftIcon.triangle=triangle
@@ -123,8 +151,10 @@
attr.topGroupDisabledLeftIcon.triangleDown=triangleDown
attr.topGroupDisabledLeftIcon.customURL=/resources/images/loading.gif
attr.topGroupDisabledLeftIcon.null=
+
attr.topGroupDisabledRightIcon.grid=grid
attr.topGroupDisabledRightIcon.disc=disc
+attr.topGroupDisabledRightIcon.chevron=chevron
attr.topGroupDisabledRightIcon.chevronUp=chevronUp
attr.topGroupDisabledRightIcon.chevronDown=chevronDown
attr.topGroupDisabledRightIcon.triangle=triangle
@@ -132,8 +162,10 @@
attr.topGroupDisabledRightIcon.triangleDown=triangleDown
attr.topGroupDisabledRightIcon.customURL=/resources/images/loading.gif
attr.topGroupDisabledRightIcon.null=
+
attr.topGroupExpandedLeftIcon.grid=grid
attr.topGroupExpandedLeftIcon.disc=disc
+attr.topGroupExpandedLeftIcon.chevron=chevron
attr.topGroupExpandedLeftIcon.chevronUp=chevronUp
attr.topGroupExpandedLeftIcon.chevronDown=chevronDown
attr.topGroupExpandedLeftIcon.triangle=triangle
@@ -141,8 +173,10 @@
attr.topGroupExpandedLeftIcon.triangleDown=triangleDown
attr.topGroupExpandedLeftIcon.customURL=/resources/images/loading.gif
attr.topGroupExpandedLeftIcon.null=
+
attr.topGroupExpandedRightIcon.grid=grid
attr.topGroupExpandedRightIcon.disc=disc
+attr.topGroupExpandedRightIcon.chevron=chevron
attr.topGroupExpandedRightIcon.chevronUp=chevronUp
attr.topGroupExpandedRightIcon.chevronDown=chevronDown
attr.topGroupExpandedRightIcon.triangle=triangle
@@ -150,8 +184,10 @@
attr.topGroupExpandedRightIcon.triangleDown=triangleDown
attr.topGroupExpandedRightIcon.customURL=/resources/images/loading.gif
attr.topGroupExpandedRightIcon.null=
+
attr.topItemDisabledLeftIcon.grid=grid
attr.topItemDisabledLeftIcon.disc=disc
+attr.topItemDisabledLeftIcon.chevron=chevron
attr.topItemDisabledLeftIcon.chevronUp=chevronUp
attr.topItemDisabledLeftIcon.chevronDown=chevronDown
attr.topItemDisabledLeftIcon.triangle=triangle
@@ -159,8 +195,10 @@
attr.topItemDisabledLeftIcon.triangleDown=triangleDown
attr.topItemDisabledLeftIcon.customURL=/resources/images/loading.gif
attr.topItemDisabledLeftIcon.null=
+
attr.topItemDisabledRightIcon.grid=grid
attr.topItemDisabledRightIcon.disc=disc
+attr.topItemDisabledRightIcon.chevron=chevron
attr.topItemDisabledRightIcon.chevronUp=chevronUp
attr.topItemDisabledRightIcon.chevronDown=chevronDown
attr.topItemDisabledRightIcon.triangle=triangle
@@ -168,8 +206,10 @@
attr.topItemDisabledRightIcon.triangleDown=triangleDown
attr.topItemDisabledRightIcon.customURL=/resources/images/loading.gif
attr.topItemDisabledRightIcon.null=
+
attr.topItemLeftIcon.grid=grid
attr.topItemLeftIcon.disc=disc
+attr.topItemLeftIcon.chevron=chevron
attr.topItemLeftIcon.chevronUp=chevronUp
attr.topItemLeftIcon.chevronDown=chevronDown
attr.topItemLeftIcon.triangle=triangle
@@ -177,8 +217,10 @@
attr.topItemLeftIcon.triangleDown=triangleDown
attr.topItemLeftIcon.customURL=/resources/images/loading.gif
attr.topItemLeftIcon.null=
+
attr.topItemRightIcon.grid=grid
attr.topItemRightIcon.disc=disc
+attr.topItemRightIcon.chevron=chevron
attr.topItemRightIcon.chevronUp=chevronUp
attr.topItemRightIcon.chevronDown=chevronDown
attr.topItemRightIcon.triangle=triangle
Modified: modules/tests/metamer/trunk/application/src/main/resources/org/richfaces/tests/metamer/bean/RichPanelMenuGroupBean.properties
===================================================================
--- modules/tests/metamer/trunk/application/src/main/resources/org/richfaces/tests/metamer/bean/RichPanelMenuGroupBean.properties 2011-03-29 08:28:13 UTC (rev 22327)
+++ modules/tests/metamer/trunk/application/src/main/resources/org/richfaces/tests/metamer/bean/RichPanelMenuGroupBean.properties 2011-03-29 08:29:24 UTC (rev 22328)
@@ -2,8 +2,10 @@
attr.mode.ajax=ajax
attr.mode.server=server
attr.mode.null=
+
attr.leftCollapsedIcon.grid=grid
attr.leftCollapsedIcon.disc=disc
+attr.leftCollapsedIcon.chevron=chevron
attr.leftCollapsedIcon.chevronUp=chevronUp
attr.leftCollapsedIcon.chevronDown=chevronDown
attr.leftCollapsedIcon.triangle=triangle
@@ -11,8 +13,10 @@
attr.leftCollapsedIcon.triangleDown=triangleDown
attr.leftCollapsedIcon.customURL=/resources/images/loading.gif
attr.leftCollapsedIcon.null=
+
attr.leftExpandedIcon.grid=grid
attr.leftExpandedIcon.disc=disc
+attr.leftExpandedIcon.chevron=chevron
attr.leftExpandedIcon.chevronUp=chevronUp
attr.leftExpandedIcon.chevronDown=chevronDown
attr.leftExpandedIcon.triangle=triangle
@@ -20,8 +24,10 @@
attr.leftExpandedIcon.triangleDown=triangleDown
attr.leftExpandedIcon.customURL=/resources/images/loading.gif
attr.leftExpandedIcon.null=
+
attr.leftDisabledIcon.grid=grid
attr.leftDisabledIcon.disc=disc
+attr.leftDisabledIcon.chevron=chevron
attr.leftDisabledIcon.chevronUp=chevronUp
attr.leftDisabledIcon.chevronDown=chevronDown
attr.leftDisabledIcon.triangle=triangle
@@ -29,8 +35,10 @@
attr.leftDisabledIcon.triangleDown=triangleDown
attr.leftDisabledIcon.customURL=/resources/images/loading.gif
attr.leftDisabledIcon.null=
+
attr.rightCollapsedIcon.grid=grid
attr.rightCollapsedIcon.disc=disc
+attr.rightCollapsedIcon.chevron=chevron
attr.rightCollapsedIcon.chevronUp=chevronUp
attr.rightCollapsedIcon.chevronDown=chevronDown
attr.rightCollapsedIcon.triangle=triangle
@@ -38,8 +46,10 @@
attr.rightCollapsedIcon.triangleDown=triangleDown
attr.rightCollapsedIcon.customURL=/resources/images/loading.gif
attr.rightCollapsedIcon.null=
+
attr.rightExpandedIcon.grid=grid
attr.rightExpandedIcon.disc=disc
+attr.rightExpandedIcon.chevron=chevron
attr.rightExpandedIcon.chevronUp=chevronUp
attr.rightExpandedIcon.chevronDown=chevronDown
attr.rightExpandedIcon.triangle=triangle
@@ -47,12 +57,14 @@
attr.rightExpandedIcon.triangleDown=triangleDown
attr.rightExpandedIcon.customURL=/resources/images/loading.gif
attr.rightExpandedIcon.null=
+
attr.rightDisabledIcon.grid=grid
attr.rightDisabledIcon.disc=disc
+attr.rightDisabledIcon.chevron=chevron
attr.rightDisabledIcon.chevronUp=chevronUp
attr.rightDisabledIcon.chevronDown=chevronDown
attr.rightDisabledIcon.triangle=triangle
attr.rightDisabledIcon.triangleUp=triangleUp
attr.rightDisabledIcon.triangleDown=triangleDown
attr.rightDisabledIcon.customURL=/resources/images/loading.gif
-attr.rightDisabledIcon.null=
\ No newline at end of file
+attr.rightDisabledIcon.null=
Modified: modules/tests/metamer/trunk/application/src/main/resources/org/richfaces/tests/metamer/bean/RichPanelMenuItemBean.properties
===================================================================
--- modules/tests/metamer/trunk/application/src/main/resources/org/richfaces/tests/metamer/bean/RichPanelMenuItemBean.properties 2011-03-29 08:28:13 UTC (rev 22327)
+++ modules/tests/metamer/trunk/application/src/main/resources/org/richfaces/tests/metamer/bean/RichPanelMenuItemBean.properties 2011-03-29 08:29:24 UTC (rev 22328)
@@ -2,8 +2,10 @@
attr.mode.ajax=ajax
attr.mode.server=server
attr.mode.null=
+
attr.leftIcon.grid=grid
attr.leftIcon.disc=disc
+attr.leftIcon.chevron=chevron
attr.leftIcon.chevronUp=chevronUp
attr.leftIcon.chevronDown=chevronDown
attr.leftIcon.triangle=triangle
@@ -11,8 +13,10 @@
attr.leftIcon.triangleDown=triangleDown
attr.leftIcon.customURL=/resources/images/loading.gif
attr.leftIcon.null=
+
attr.leftDisabledIcon.grid=grid
attr.leftDisabledIcon.disc=disc
+attr.leftDisabledIcon.chevron=chevron
attr.leftDisabledIcon.chevronUp=chevronUp
attr.leftDisabledIcon.chevronDown=chevronDown
attr.leftDisabledIcon.triangle=triangle
@@ -20,8 +24,10 @@
attr.leftDisabledIcon.triangleDown=triangleDown
attr.leftDisabledIcon.customURL=/resources/images/loading.gif
attr.leftDisabledIcon.null=
+
attr.rightIcon.grid=grid
attr.rightIcon.disc=disc
+attr.rightIcon.chevron=chevron
attr.rightIcon.chevronUp=chevronUp
attr.rightIcon.chevronDown=chevronDown
attr.rightIcon.triangle=triangle
@@ -29,12 +35,14 @@
attr.rightIcon.triangleDown=triangleDown
attr.rightIcon.customURL=/resources/images/loading.gif
attr.rightIcon.null=
+
attr.rightDisabledIcon.grid=grid
attr.rightDisabledIcon.disc=disc
+attr.rightDisabledIcon.chevron=chevron
attr.rightDisabledIcon.chevronUp=chevronUp
attr.rightDisabledIcon.chevronDown=chevronDown
attr.rightDisabledIcon.triangle=triangle
attr.rightDisabledIcon.triangleUp=triangleUp
attr.rightDisabledIcon.triangleDown=triangleDown
attr.rightDisabledIcon.customURL=/resources/images/loading.gif
-attr.rightDisabledIcon.null=
\ No newline at end of file
+attr.rightDisabledIcon.null=
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richAccordion/TestRichAccordion.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richAccordion/TestRichAccordion.java 2011-03-29 08:28:13 UTC (rev 22327)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richAccordion/TestRichAccordion.java 2011-03-29 08:29:24 UTC (rev 22328)
@@ -464,6 +464,14 @@
imageNameSuffix = "Disabled";
}
+ selenium.select(input, optionLabel("chevron"));
+ selenium.waitForPageToLoad();
+ assertTrue(selenium.belongsClass(icon, "rf-ico-chevron" + classSuffix),
+ "Div should have set class rf-ico-chevron" + classSuffix + ".");
+ assertTrue(
+ selenium.getStyle(icon, CssProperty.BACKGROUND_IMAGE).contains("chevron" + imageNameSuffix + ".png"),
+ "Icon should contain a chevron.");
+
selenium.select(input, optionLabel("chevronDown"));
selenium.waitForPageToLoad();
assertTrue(selenium.belongsClass(icon, "rf-ico-chevron-down" + classSuffix),
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richAccordionItem/TestRichAccordionItem.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richAccordionItem/TestRichAccordionItem.java 2011-03-29 08:28:13 UTC (rev 22327)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richAccordionItem/TestRichAccordionItem.java 2011-03-29 08:29:24 UTC (rev 22328)
@@ -419,6 +419,11 @@
imageNameSuffix = "Disabled";
}
+ selenium.select(input, optionLabel("chevron"));
+ selenium.waitForPageToLoad();
+ assertTrue(selenium.belongsClass(icon, "rf-ico-chevron-hdr" + classSuffix), "Div should have set class rf-ico-chevron" + classSuffix + ".");
+ assertTrue(selenium.getStyle(icon, CssProperty.BACKGROUND_IMAGE).contains("chevron" + imageNameSuffix + ".png"), "Icon should contain a chevron.");
+
selenium.select(input, optionLabel("chevronDown"));
selenium.waitForPageToLoad();
assertTrue(selenium.belongsClass(icon, "rf-ico-chevron-down-hdr" + classSuffix), "Div should have set class rf-ico-chevron-down" + classSuffix + ".");
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richCollapsiblePanel/TestRichCollapsiblePanel.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richCollapsiblePanel/TestRichCollapsiblePanel.java 2011-03-29 08:28:13 UTC (rev 22327)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richCollapsiblePanel/TestRichCollapsiblePanel.java 2011-03-29 08:29:24 UTC (rev 22328)
@@ -370,6 +370,13 @@
}
private void verifyStandardIcons(JQueryLocator input, JQueryLocator icon, JQueryLocator image) {
+ selenium.select(input, optionLabel("chevron"));
+ selenium.waitForPageToLoad();
+ assertTrue(selenium.belongsClass(icon, "rf-ico-chevron-hdr"),
+ "Div should have set class rf-ico-chevron-hdr.");
+ assertTrue(selenium.getStyle(icon, CssProperty.BACKGROUND_IMAGE).contains("chevron.png"),
+ "Icon should contain a chevron.");
+
selenium.select(input, optionLabel("chevronDown"));
selenium.waitForPageToLoad();
assertTrue(selenium.belongsClass(icon, "rf-ico-chevron-down-hdr"),
13 years, 9 months
JBoss Rich Faces SVN: r22327 - in modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest: richPanelMenuItem and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: ppitonak(a)redhat.com
Date: 2011-03-29 04:28:13 -0400 (Tue, 29 Mar 2011)
New Revision: 22327
Modified:
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHCommandButton.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHCommandLink.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richPanelMenuItem/TestPanelMenuItemClientSideHandlers.java
Log:
issue tracking updated
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHCommandButton.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHCommandButton.java 2011-03-28 20:04:23 UTC (rev 22326)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHCommandButton.java 2011-03-29 08:28:13 UTC (rev 22327)
@@ -27,6 +27,7 @@
import org.jboss.test.selenium.locator.JQueryLocator;
import org.richfaces.tests.metamer.ftest.annotations.IssueTracking;
+import org.richfaces.tests.metamer.ftest.annotations.RegressionTest;
import org.testng.annotations.Test;
/**
@@ -35,7 +36,7 @@
* @author <a href="mailto:ppitonak@redhat.com">Pavol Pitonak</a>
* @version $Revision$
*/
-@IssueTracking("https://issues.jboss.org/browse/RF-10482")
+@RegressionTest("https://issues.jboss.org/browse/RF-10482")
public class TestHCommandButton extends AbstractTestCommand {
private JQueryLocator button = pjq("input[type=submit][id$=commandButton]");
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHCommandLink.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHCommandLink.java 2011-03-28 20:04:23 UTC (rev 22326)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHCommandLink.java 2011-03-29 08:28:13 UTC (rev 22327)
@@ -27,6 +27,7 @@
import org.jboss.test.selenium.locator.JQueryLocator;
import org.richfaces.tests.metamer.ftest.annotations.IssueTracking;
+import org.richfaces.tests.metamer.ftest.annotations.RegressionTest;
import org.testng.annotations.Test;
/**
@@ -35,7 +36,7 @@
* @author <a href="mailto:ppitonak@redhat.com">Pavol Pitonak</a>
* @version $Revision$
*/
-@IssueTracking("https://issues.jboss.org/browse/RF-10482")
+@RegressionTest("https://issues.jboss.org/browse/RF-10482")
public class TestHCommandLink extends AbstractTestCommand {
private JQueryLocator link = pjq("a[id$=commandLink]");
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richPanelMenuItem/TestPanelMenuItemClientSideHandlers.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richPanelMenuItem/TestPanelMenuItemClientSideHandlers.java 2011-03-28 20:04:23 UTC (rev 22326)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richPanelMenuItem/TestPanelMenuItemClientSideHandlers.java 2011-03-29 08:28:13 UTC (rev 22327)
@@ -30,7 +30,7 @@
import org.richfaces.tests.metamer.ftest.AbstractMetamerTest;
import org.richfaces.tests.metamer.ftest.annotations.Inject;
-import org.richfaces.tests.metamer.ftest.annotations.IssueTracking;
+import org.richfaces.tests.metamer.ftest.annotations.RegressionTest;
import org.richfaces.tests.metamer.ftest.annotations.Use;
import org.richfaces.tests.metamer.ftest.model.PanelMenu;
import org.testng.annotations.Test;
@@ -39,7 +39,7 @@
* @author <a href="mailto:lfryc@redhat.com">Lukas Fryc</a>
* @version $Revision$
*/
-@IssueTracking("https://issues.jboss.org/browse/RF-10486")
+@RegressionTest("https://issues.jboss.org/browse/RF-10486")
public class TestPanelMenuItemClientSideHandlers extends AbstractMetamerTest {
PanelMenuItemAttributes attributes = new PanelMenuItemAttributes();
13 years, 9 months
JBoss Rich Faces SVN: r22326 - branches/4.0.X/examples/richfaces-showcase/src/main/java/org/richfaces/demo/validation.
by richfaces-svn-commits@lists.jboss.org
Author: artdaw
Date: 2011-03-28 16:04:23 -0400 (Mon, 28 Mar 2011)
New Revision: 22326
Modified:
branches/4.0.X/examples/richfaces-showcase/src/main/java/org/richfaces/demo/validation/PasswordValidationBean.java
Log:
RF-10819: bean should be SessionScoped
Modified: branches/4.0.X/examples/richfaces-showcase/src/main/java/org/richfaces/demo/validation/PasswordValidationBean.java
===================================================================
--- branches/4.0.X/examples/richfaces-showcase/src/main/java/org/richfaces/demo/validation/PasswordValidationBean.java 2011-03-28 20:03:41 UTC (rev 22325)
+++ branches/4.0.X/examples/richfaces-showcase/src/main/java/org/richfaces/demo/validation/PasswordValidationBean.java 2011-03-28 20:04:23 UTC (rev 22326)
@@ -1,15 +1,15 @@
package org.richfaces.demo.validation;
import javax.faces.application.FacesMessage;
-import javax.faces.bean.ApplicationScoped;
import javax.faces.bean.ManagedBean;
+import javax.faces.bean.SessionScoped;
import javax.faces.context.FacesContext;
import javax.validation.constraints.AssertTrue;
import javax.validation.constraints.Size;
import java.io.Serializable;
@ManagedBean
-@ApplicationScoped
+@SessionScoped
public class PasswordValidationBean implements Cloneable, Serializable{
/**
*
13 years, 9 months
JBoss Rich Faces SVN: r22325 - branches/4.0.X/examples/richfaces-showcase/src/main/java/org/richfaces/demo/validation.
by richfaces-svn-commits@lists.jboss.org
Author: artdaw
Date: 2011-03-28 16:03:41 -0400 (Mon, 28 Mar 2011)
New Revision: 22325
Modified:
branches/4.0.X/examples/richfaces-showcase/src/main/java/org/richfaces/demo/validation/PasswordValidationBean.java
Log:
RF-10819: clone() method is overridden
Modified: branches/4.0.X/examples/richfaces-showcase/src/main/java/org/richfaces/demo/validation/PasswordValidationBean.java
===================================================================
--- branches/4.0.X/examples/richfaces-showcase/src/main/java/org/richfaces/demo/validation/PasswordValidationBean.java 2011-03-28 17:12:58 UTC (rev 22324)
+++ branches/4.0.X/examples/richfaces-showcase/src/main/java/org/richfaces/demo/validation/PasswordValidationBean.java 2011-03-28 20:03:41 UTC (rev 22325)
@@ -1,16 +1,15 @@
package org.richfaces.demo.validation;
-import java.io.Serializable;
-
import javax.faces.application.FacesMessage;
+import javax.faces.bean.ApplicationScoped;
import javax.faces.bean.ManagedBean;
-import javax.faces.bean.SessionScoped;
import javax.faces.context.FacesContext;
import javax.validation.constraints.AssertTrue;
import javax.validation.constraints.Size;
+import java.io.Serializable;
@ManagedBean
-@SessionScoped
+@ApplicationScoped
public class PasswordValidationBean implements Cloneable, Serializable{
/**
*
@@ -45,5 +44,11 @@
public String getConfirm() {
return confirm;
- }
+ }
+
+ @Override
+ public Object clone() throws CloneNotSupportedException {
+ return super.clone();
+ }
+
}
13 years, 9 months
JBoss Rich Faces SVN: r22324 - in modules/build/resources/trunk/vdl-doc: src/main/properties and 1 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2011-03-28 13:12:58 -0400 (Mon, 28 Mar 2011)
New Revision: 22324
Modified:
modules/build/resources/trunk/vdl-doc/pom.xml
modules/build/resources/trunk/vdl-doc/src/main/properties/properties.xml
modules/build/resources/trunk/vdl-doc/src/main/xsl/tag.html.xsl
modules/build/resources/trunk/vdl-doc/src/main/xsl/tld-frame.html.xsl
Log:
https://issues.jboss.org/browse/RF-10598 Get a basic tld document build going with the files as they are
Modified: modules/build/resources/trunk/vdl-doc/pom.xml
===================================================================
--- modules/build/resources/trunk/vdl-doc/pom.xml 2011-03-28 15:18:43 UTC (rev 22323)
+++ modules/build/resources/trunk/vdl-doc/pom.xml 2011-03-28 17:12:58 UTC (rev 22324)
@@ -2,13 +2,15 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
- <groupId>org.richfaces.vdl</groupId>
- <artifactId>vdl-doc</artifactId>
- <version>1.0-SNAPSHOT</version>
+ <groupId>org.richfaces.build.resources</groupId>
+ <artifactId>faces-vdl-documentation</artifactId>
+ <version>1-SNAPSHOT</version>
- <name>vdl-doc</name>
+ <name>RichFaces VDl Documentation</name>
<url>http://richfaces.org</url>
+ <description>Richfaces Resources for VDL generation</description>
+
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
@@ -216,15 +218,6 @@
<outputDirectory>${project.build.directory}/taglibs/</outputDirectory>
</configuration>
</plugin>
- <plugin>
- <artifactId>maven-assembly-plugin</artifactId>
- <version>2.2.1</version>
- <configuration>
- <descriptors>
- <descriptor>src/assembly/distribution.xml</descriptor>
- </descriptors>
- </configuration>
- </plugin>
</plugins>
</build>
</project>
Modified: modules/build/resources/trunk/vdl-doc/src/main/properties/properties.xml
===================================================================
--- modules/build/resources/trunk/vdl-doc/src/main/properties/properties.xml 2011-03-28 15:18:43 UTC (rev 22323)
+++ modules/build/resources/trunk/vdl-doc/src/main/properties/properties.xml 2011-03-28 17:12:58 UTC (rev 22324)
@@ -8,13 +8,13 @@
<display-name>Ajax4JSF</display-name>
<doc-title>Ajax4JSF VDL Documentation</doc-title>
<path>../../../target/taglibs/META-INF/a4j.taglib.xml</path>
- <description>description</description>
+ <description>Represents core Ajax functionality, and page wide Ajax controls and utility components.</description>
</taglib>
<taglib short-name="rich">
<display-name>RichFaces</display-name>
<doc-title>RichFaces VDL Documentation</doc-title>
<path>../../../target/taglibs/META-INF/rich.taglib.xml</path>
- <description>description</description>
+ <description>Represents self-contained and advanced UI components with out-of-the-box Ajax functionality.</description>
</taglib>
</taglibs>
</properties>
\ No newline at end of file
Modified: modules/build/resources/trunk/vdl-doc/src/main/xsl/tag.html.xsl
===================================================================
--- modules/build/resources/trunk/vdl-doc/src/main/xsl/tag.html.xsl 2011-03-28 15:18:43 UTC (rev 22323)
+++ modules/build/resources/trunk/vdl-doc/src/main/xsl/tag.html.xsl 2011-03-28 17:12:58 UTC (rev 22324)
@@ -264,6 +264,27 @@
</td>
</tr>
</table>
+
+
+ <!--xsl:choose>
+ <xsl:when test="javaee:component/javaee:component-extension/cdk:extension/cdk:facets">
+ <table border="1" cellpadding="3" cellspacing="0" width="100%">
+ <tr bgcolor="#CCCCFF" class="TableHeadingColor">
+ <td colspan="5">
+ <font size="+2">
+ <b>Supported Facets</b>
+ </font>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="5"><xsl:value-of select="javaee:component/javaee:component-extension/cdk:extension/cdk:facets" /></td>
+ </tr>
+ </table>
+ <br/>
+ <p/>
+ </xsl:when>
+ </xsl:choose-->
+
</xsl:when>
<xsl:when test="javaee:behavior">
<xsl:value-of select="javaee:behavior/javaee:description" disable-output-escaping="yes"/>
@@ -333,27 +354,9 @@
</table>
</xsl:when>
</xsl:choose>
-
-
<br/>
- <p/>
- <table border="1" cellpadding="3" cellspacing="0" width="100%">
- <tr bgcolor="#CCCCFF" class="TableHeadingColor">
- <td colspan="5">
- <font size="+2">
- <b>Supported Facets</b>
- </font>
- </td>
- </tr>
- <tr>
- <td colspan="5">No facets</td>
- </tr>
+ <p/>
- </table>
- <br/>
- <p/>
-
-
<table border="1" cellpadding="3" cellspacing="0" width="100%">
<tr bgcolor="#CCCCFF" class="TableHeadingColor">
<td colspan="5">
Modified: modules/build/resources/trunk/vdl-doc/src/main/xsl/tld-frame.html.xsl
===================================================================
--- modules/build/resources/trunk/vdl-doc/src/main/xsl/tld-frame.html.xsl 2011-03-28 15:18:43 UTC (rev 22323)
+++ modules/build/resources/trunk/vdl-doc/src/main/xsl/tld-frame.html.xsl 2011-03-28 17:12:58 UTC (rev 22324)
@@ -47,7 +47,7 @@
xmlns:fo="http://www.w3.org/1999/XSL/Format">
<xsl:output method="html" indent="yes" name="html"/>
- <!--<xsl:param name="facelet-taglib-shortNamespace">default</xsl:param>-->
+
<xsl:param name="output-dir" />
<xsl:variable name="window-title">
<xsl:value-of select="properties/window-title"/>
@@ -97,7 +97,7 @@
<title>
<xsl:value-of select="$taglibfull"/>
</title>
- <meta name="keywords" content="$taglibfull"/>
+ <meta name="keywords" content="$taglibname"/>
<link rel="stylesheet" type="text/css" href="../stylesheet.css"
title="Style"/>
<script>
@@ -110,7 +110,7 @@
<body bgcolor="white" onload="asd();">
<font size="+1" class="FrameTitleFont">
<a href="tld-summary.html" target="tagFrame">
- <xsl:value-of select="$taglibfull"/>
+ <xsl:value-of select="$taglibname"/>
</a>
</font>
<table border="0" width="100%">
13 years, 9 months
JBoss Rich Faces SVN: r22323 - in modules/build/resources/trunk/vdl-doc: src and 3 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2011-03-28 11:18:43 -0400 (Mon, 28 Mar 2011)
New Revision: 22323
Added:
modules/build/resources/trunk/vdl-doc/pom.xml
modules/build/resources/trunk/vdl-doc/src/
modules/build/resources/trunk/vdl-doc/src/main/
modules/build/resources/trunk/vdl-doc/src/main/properties/
modules/build/resources/trunk/vdl-doc/src/main/properties/properties.xml
modules/build/resources/trunk/vdl-doc/src/main/xsl/
modules/build/resources/trunk/vdl-doc/src/main/xsl/alltags-frame.html.xsl
modules/build/resources/trunk/vdl-doc/src/main/xsl/alltags-noframe.html.xsl
modules/build/resources/trunk/vdl-doc/src/main/xsl/function.html.xsl
modules/build/resources/trunk/vdl-doc/src/main/xsl/help-doc.html.xsl
modules/build/resources/trunk/vdl-doc/src/main/xsl/index.html.xsl
modules/build/resources/trunk/vdl-doc/src/main/xsl/overview-frame.html.xsl
modules/build/resources/trunk/vdl-doc/src/main/xsl/overview-summary.html.xsl
modules/build/resources/trunk/vdl-doc/src/main/xsl/stylesheet.css
modules/build/resources/trunk/vdl-doc/src/main/xsl/tag.html.xsl
modules/build/resources/trunk/vdl-doc/src/main/xsl/tld-frame.html.xsl
modules/build/resources/trunk/vdl-doc/src/main/xsl/tld-summary.html.xsl
Log:
https://issues.jboss.org/browse/RF-10598 Get a basic tld document build going with the files as they are
Added: modules/build/resources/trunk/vdl-doc/pom.xml
===================================================================
--- modules/build/resources/trunk/vdl-doc/pom.xml (rev 0)
+++ modules/build/resources/trunk/vdl-doc/pom.xml 2011-03-28 15:18:43 UTC (rev 22323)
@@ -0,0 +1,230 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <groupId>org.richfaces.vdl</groupId>
+ <artifactId>vdl-doc</artifactId>
+ <version>1.0-SNAPSHOT</version>
+
+ <name>vdl-doc</name>
+ <url>http://richfaces.org</url>
+
+ <properties>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ </properties>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.richfaces.ui</groupId>
+ <artifactId>richfaces-components-ui</artifactId>
+ <version>4.0.0-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <!-- To define the plugin version in your parent POM -->
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>xml-maven-plugin</artifactId>
+ <version>1.0</version>
+ <executions>
+ <execution>
+ <goals>
+ <goal>transform</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <transformationSets>
+ <transformationSet>
+ <dir>src/main/properties</dir>
+ <stylesheet>src/main/xsl/tld-frame.html.xsl</stylesheet>
+ <parameters>
+ <parameter>
+ <name>output-dir</name>
+ <value>target/vdldoc</value>
+ </parameter>
+ </parameters>
+ <fileMappers>
+ <fileMapper
+ implementation="org.codehaus.plexus.components.io.filemappers.RegExpFileMapper">
+ <pattern>^(.*)\.(.*)$</pattern>
+ <replacement>tld-frame-list.txt</replacement>
+ </fileMapper>
+ </fileMappers>
+ </transformationSet>
+ <transformationSet>
+ <dir>src/main/properties</dir>
+ <stylesheet>src/main/xsl/tld-summary.html.xsl</stylesheet>
+ <parameters>
+ <parameter>
+ <name>output-dir</name>
+ <value>target/vdldoc</value>
+ </parameter>
+ </parameters>
+ <fileMappers>
+ <fileMapper
+ implementation="org.codehaus.plexus.components.io.filemappers.RegExpFileMapper">
+ <pattern>^(.*)\.(.*)$</pattern>
+ <replacement>tld-summary-list.txt</replacement>
+ </fileMapper>
+ </fileMappers>
+ </transformationSet>
+ <transformationSet>
+ <dir>src/main/properties</dir>
+ <stylesheet>src/main/xsl/tag.html.xsl</stylesheet>
+ <parameters>
+ <parameter>
+ <name>output-dir</name>
+ <value>target/vdldoc</value>
+ </parameter>
+ </parameters>
+ <fileMappers>
+ <fileMapper
+ implementation="org.codehaus.plexus.components.io.filemappers.RegExpFileMapper">
+ <pattern>^(.*)\.(.*)$</pattern>
+ <replacement>tag-list.txt</replacement>
+ </fileMapper>
+ </fileMappers>
+ </transformationSet>
+
+ <transformationSet>
+ <dir>src/main/properties</dir>
+ <outputDir>${project.build.directory}/vdldoc</outputDir>
+ <stylesheet>src/main/xsl/alltags-frame.html.xsl</stylesheet>
+ <fileMappers>
+ <fileMapper
+ implementation="org.codehaus.plexus.components.io.filemappers.RegExpFileMapper">
+ <pattern>^(.*)\.(.*)$</pattern>
+ <replacement>alltags-frame.html</replacement>
+ </fileMapper>
+ </fileMappers>
+ </transformationSet>
+ <transformationSet>
+ <dir>src/main/properties</dir>
+ <outputDir>${project.build.directory}/vdldoc</outputDir>
+ <stylesheet>src/main/xsl/alltags-noframe.html.xsl</stylesheet>
+ <fileMappers>
+ <fileMapper
+ implementation="org.codehaus.plexus.components.io.filemappers.RegExpFileMapper">
+ <pattern>^(.*)\.(.*)$</pattern>
+ <replacement>alltags-noframe.html</replacement>
+ </fileMapper>
+ </fileMappers>
+ </transformationSet>
+ <transformationSet>
+ <dir>src/main/properties</dir>
+ <outputDir>${project.build.directory}/vdldoc</outputDir>
+ <stylesheet>src/main/xsl/index.html.xsl</stylesheet>
+ <fileMappers>
+ <fileMapper
+ implementation="org.codehaus.plexus.components.io.filemappers.RegExpFileMapper">
+ <pattern>^(.*)\.(.*)$</pattern>
+ <replacement>index.html</replacement>
+ </fileMapper>
+ </fileMappers>
+ </transformationSet>
+ <transformationSet>
+ <dir>src/main/properties</dir>
+ <outputDir>${project.build.directory}/vdldoc</outputDir>
+ <stylesheet>src/main/xsl/help-doc.html.xsl</stylesheet>
+ <fileMappers>
+ <fileMapper
+ implementation="org.codehaus.plexus.components.io.filemappers.RegExpFileMapper">
+ <pattern>^(.*)\.(.*)$</pattern>
+ <replacement>help-doc.html</replacement>
+ </fileMapper>
+ </fileMappers>
+ </transformationSet>
+ <transformationSet>
+ <dir>src/main/properties</dir>
+ <outputDir>${project.build.directory}/vdldoc</outputDir>
+ <stylesheet>src/main/xsl/overview-frame.html.xsl</stylesheet>
+ <fileMappers>
+ <fileMapper
+ implementation="org.codehaus.plexus.components.io.filemappers.RegExpFileMapper">
+ <pattern>^(.*)\.(.*)$</pattern>
+ <replacement>overview-frame.html</replacement>
+ </fileMapper>
+ </fileMappers>
+ </transformationSet>
+ <transformationSet>
+ <dir>src/main/properties</dir>
+ <outputDir>${project.build.directory}/vdldoc</outputDir>
+ <stylesheet>src/main/xsl/overview-summary.html.xsl</stylesheet>
+ <fileMappers>
+ <fileMapper
+ implementation="org.codehaus.plexus.components.io.filemappers.RegExpFileMapper">
+ <pattern>^(.*)\.(.*)$</pattern>
+ <replacement>overview-summary.html</replacement>
+ </fileMapper>
+ </fileMappers>
+ </transformationSet>
+ <transformationSet>
+ <dir>src/main/properties</dir>
+ <stylesheet>src/main/xsl/function.html.xsl</stylesheet>
+ <parameters>
+ <parameter>
+ <name>output-dir</name>
+ <value>target/vdldoc/</value>
+ </parameter>
+ </parameters>
+ <fileMappers>
+ <fileMapper
+ implementation="org.codehaus.plexus.components.io.filemappers.RegExpFileMapper">
+ <pattern>^(.*)\.(.*)$</pattern>
+ <replacement>function-list.txt</replacement>
+ </fileMapper>
+ </fileMappers>
+ </transformationSet>
+
+ </transformationSets>
+
+ </configuration>
+ <dependencies>
+ <dependency>
+ <groupId>net.sf.saxon</groupId>
+ <artifactId>saxon</artifactId>
+ <version>8.7</version>
+ </dependency>
+
+
+ </dependencies>
+ </plugin>
+ <plugin>
+ <!-- unpack necessary dependencies for collecting jsdoc and javadocs -->
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>deps</id>
+ <phase>process-sources</phase>
+ <goals>
+ <goal>unpack</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <artifactItems>
+ <artifactItem>
+ <groupId>org.richfaces.ui</groupId>
+ <artifactId>richfaces-components-ui</artifactId>
+ </artifactItem>
+ </artifactItems>
+ <includes>**/*.taglib.xml</includes>
+ <outputDirectory>${project.build.directory}/taglibs/</outputDirectory>
+ </configuration>
+ </plugin>
+ <plugin>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <version>2.2.1</version>
+ <configuration>
+ <descriptors>
+ <descriptor>src/assembly/distribution.xml</descriptor>
+ </descriptors>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+</project>
Added: modules/build/resources/trunk/vdl-doc/src/main/properties/properties.xml
===================================================================
--- modules/build/resources/trunk/vdl-doc/src/main/properties/properties.xml (rev 0)
+++ modules/build/resources/trunk/vdl-doc/src/main/properties/properties.xml 2011-03-28 15:18:43 UTC (rev 22323)
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<properties>
+ <window-title>VDL Documentation</window-title>
+ <doc-title>Tag Library Documentation Generator - Generated Documentation</doc-title>
+
+ <taglibs>
+ <taglib short-name="a4j">
+ <display-name>Ajax4JSF</display-name>
+ <doc-title>Ajax4JSF VDL Documentation</doc-title>
+ <path>../../../target/taglibs/META-INF/a4j.taglib.xml</path>
+ <description>description</description>
+ </taglib>
+ <taglib short-name="rich">
+ <display-name>RichFaces</display-name>
+ <doc-title>RichFaces VDL Documentation</doc-title>
+ <path>../../../target/taglibs/META-INF/rich.taglib.xml</path>
+ <description>description</description>
+ </taglib>
+ </taglibs>
+</properties>
\ No newline at end of file
Added: modules/build/resources/trunk/vdl-doc/src/main/xsl/alltags-frame.html.xsl
===================================================================
--- modules/build/resources/trunk/vdl-doc/src/main/xsl/alltags-frame.html.xsl (rev 0)
+++ modules/build/resources/trunk/vdl-doc/src/main/xsl/alltags-frame.html.xsl 2011-03-28 15:18:43 UTC (rev 22323)
@@ -0,0 +1,107 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<!--
+ - <license>
+ - Copyright (c) 2003-2004, Sun Microsystems, Inc.
+ - All rights reserved.
+ -
+ - Redistribution and use in source and binary forms, with or without
+ - modification, are permitted provided that the following conditions are met:
+ -
+ - * Redistributions of source code must retain the above copyright
+ - notice, this list of conditions and the following disclaimer.
+ - * 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.
+ - * Neither the name of Sun Microsystems, Inc. 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 OWNER OR
+ - CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ - EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ - ROCUREMENT 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.
+ - </license>
+ -->
+
+<!--
+ Document : alltags-frame.html.xsl
+ Created on : October 1, 2002, 5:37 PM
+ Author : mroth
+ Description:
+ Creates the all tags frame (lower left corner), listing all tags
+ and functions included in all tag libraries for this generation.
+-->
+
+<xsl:stylesheet version="1.0"
+ xmlns:javaee="http://java.sun.com/xml/ns/javaee"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:fo="http://www.w3.org/1999/XSL/Format">
+
+ <xsl:output method="html" indent="yes"/>
+
+ <!-- template rule matching source root element -->
+ <xsl:template match="/">
+ <html>
+ <head>
+ <title>All Tags / Functions</title>
+ <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"/>
+ </head>
+ <script>
+ function asd()
+ {
+ parent.document.title="All Tags / Functions";
+ }
+ </script>
+ <body bgcolor="white" onload="asd();">
+ <font size="+1" class="FrameHeadingFont">
+ <b>All Tags / Functions</b></font>
+ <br/>
+ <table border="0" width="100%">
+ <tr>
+ <td nowrap="true"><font class="FrameItemFont">
+ <xsl:for-each select="/properties/taglibs/taglib">
+ <xsl:apply-templates
+ select="document(path)//javaee:tag|document(path)//javaee:function">
+ <xsl:sort select="/javaee:facelet-taglib/@id"/>
+ <xsl:sort select="javaee:tag-name"/>
+ <xsl:sort select="javaee:function-name"/>
+ </xsl:apply-templates>
+ </xsl:for-each>
+ </font></td>
+ </tr>
+ </table>
+ </body>
+ </html>
+ </xsl:template>
+
+ <xsl:template match="javaee:tag">
+ <xsl:element name="a">
+ <xsl:attribute name="href"><xsl:value-of select="/javaee:facelet-taglib/@id"/>/<xsl:value-of select="javaee:tag-name"/>.html</xsl:attribute>
+ <xsl:attribute name="target">tagFrame</xsl:attribute>
+ <xsl:value-of select="/javaee:facelet-taglib/@id"/>:<xsl:value-of select="javaee:tag-name"/>
+ </xsl:element>
+ <br/>
+ </xsl:template>
+
+ <!--
+ - Same as above, but add the () to indicate it's a function
+ - and change the HTML to .fn.html
+ -->
+ <xsl:template match="javaee:function">
+ <xsl:element name="a">
+ <xsl:attribute name="href"><xsl:value-of select="/javaee:facelet-taglib/@id"/>/<xsl:value-of select="javaee:function-name"/>.fn.html</xsl:attribute>
+ <xsl:attribute name="target">tagFrame</xsl:attribute>
+ <i><xsl:value-of select="/javaee:facelet-taglib/@id"/>:<xsl:value-of select="javaee:function-name"/>()</i>
+ </xsl:element>
+ <br/>
+ </xsl:template>
+
+</xsl:stylesheet>
Added: modules/build/resources/trunk/vdl-doc/src/main/xsl/alltags-noframe.html.xsl
===================================================================
--- modules/build/resources/trunk/vdl-doc/src/main/xsl/alltags-noframe.html.xsl (rev 0)
+++ modules/build/resources/trunk/vdl-doc/src/main/xsl/alltags-noframe.html.xsl 2011-03-28 15:18:43 UTC (rev 22323)
@@ -0,0 +1,105 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<!--
+ - <license>
+ - Copyright (c) 2003-2004, Sun Microsystems, Inc.
+ - All rights reserved.
+ -
+ - Redistribution and use in source and binary forms, with or without
+ - modification, are permitted provided that the following conditions are met:
+ -
+ - * Redistributions of source code must retain the above copyright
+ - notice, this list of conditions and the following disclaimer.
+ - * 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.
+ - * Neither the name of Sun Microsystems, Inc. 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 OWNER OR
+ - CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ - EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ - ROCUREMENT 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.
+ - </license>
+ -->
+
+<!--
+ Document : alltags-frame.html.xsl
+ Created on : October 1, 2002, 5:37 PM
+ Author : mroth
+ Description:
+ Creates the all tags page, listing all tags
+ and functions included in all tag libraries for this generation.
+-->
+
+<xsl:stylesheet version="1.0"
+ xmlns:javaee="http://java.sun.com/xml/ns/javaee"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:fo="http://www.w3.org/1999/XSL/Format">
+
+ <xsl:output method="html" indent="yes"/>
+
+ <!-- template rule matching source root element -->
+ <xsl:template match="/">
+ <html>
+ <head>
+ <title>All Tags / Functions</title>
+ <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"/>
+ </head>
+ <script>
+ function asd()
+ {
+ parent.document.title="All Tags / Functions";
+ }
+ </script>
+ <body bgcolor="white" onload="asd();">
+ <font size="+1" class="FrameHeadingFont">
+ <b>All Tags / Functions</b></font>
+ <br/>
+ <table border="0" width="100%">
+ <tr>
+ <td nowrap="true"><font class="FrameItemFont">
+ <xsl:for-each select="/properties/taglibs/taglib">
+ <xsl:apply-templates
+ select="document(path)//javaee:tag|document(path)//javaee:function">
+ <xsl:sort select="/javaee:facelet-taglib/@id"/>
+ <xsl:sort select="javaee:tag-name"/>
+ <xsl:sort select="javaee:function-name"/>
+ </xsl:apply-templates>
+ </xsl:for-each>
+ </font></td>
+ </tr>
+ </table>
+ </body>
+ </html>
+ </xsl:template>
+
+ <xsl:template match="javaee:tag">
+ <xsl:element name="a">
+ <xsl:attribute name="href"><xsl:value-of select="/javaee:facelet-taglib/@id"/>/<xsl:value-of select="javaee:tag-name"/>.html</xsl:attribute>
+ <xsl:attribute name="target"></xsl:attribute>
+ <xsl:value-of select="/javaee:facelet-taglib/@id"/>:<xsl:value-of select="javaee:tag-name"/></xsl:element>
+ <br/>
+ </xsl:template>
+
+ <!--
+ - Same as above, but add the () to indicate it's a function
+ - and change the HTML to .fn.html
+ -->
+ <xsl:template match="javaee:function">
+ <xsl:element name="a">
+ <xsl:attribute name="href"><xsl:value-of select="/javaee:facelet-taglib/@id"/>/<xsl:value-of select="javaee:function-name"/>.fn.html</xsl:attribute>
+ <xsl:attribute name="target"></xsl:attribute>
+ <i><xsl:value-of select="/javaee:facelet-taglib/@id"/>:<xsl:value-of select="javaee:function-name"/>()</i></xsl:element>
+ <br/>
+ </xsl:template>
+
+</xsl:stylesheet>
Added: modules/build/resources/trunk/vdl-doc/src/main/xsl/function.html.xsl
===================================================================
--- modules/build/resources/trunk/vdl-doc/src/main/xsl/function.html.xsl (rev 0)
+++ modules/build/resources/trunk/vdl-doc/src/main/xsl/function.html.xsl 2011-03-28 15:18:43 UTC (rev 22323)
@@ -0,0 +1,371 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<!--
+ - <license>
+ - Copyright (c) 2003-2004, Sun Microsystems, Inc.
+ - All rights reserved.
+ -
+ - Redistribution and use in source and binary forms, with or without
+ - modification, are permitted provided that the following conditions are met:
+ -
+ - * Redistributions of source code must retain the above copyright
+ - notice, this list of conditions and the following disclaimer.
+ - * 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.
+ - * Neither the name of Sun Microsystems, Inc. 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 OWNER OR
+ - CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ - EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ - ROCUREMENT 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.
+ - </license>
+ -->
+
+<!--
+ Document : function.html.xsl
+ Created on : Februrary 25, 2003, 7:39 PM
+ Author : mroth
+ Description:
+ Creates the function detail page (right frame), listing the known
+ information for a given function in a tag library.
+-->
+
+<xsl:stylesheet version="1.0" xmlns:javaee="http://java.sun.com/xml/ns/javaee"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format">
+ <xsl:output method="text" indent="no"/>
+ <xsl:output method="html" indent="yes" name="html"/>
+
+ <xsl:param name="output-dir">default</xsl:param>
+ <xsl:variable name="window-title">
+ <xsl:value-of select="properties/window-title"/>
+ </xsl:variable>
+
+ <!-- template rule matching source root element -->
+ <xsl:template match="/">
+ <xsl:for-each select="/properties/taglibs/taglib">
+ <xsl:apply-templates select="document(path)/javaee:facelet-taglib"/>
+ </xsl:for-each>
+ </xsl:template>
+
+ <xsl:template match="javaee:facelet-taglib">
+ <xsl:for-each select="//javaee:function">
+ <xsl:variable name="filename"
+ select="concat($output-dir,'/', /javaee:facelet-taglib/@id, '/',javaee:function-name,'.fn.html')"/>
+ <xsl:value-of select="$filename"/>
+ ---
+ <xsl:result-document href="{$filename}" format="html">
+ <xsl:apply-templates select="."/>
+ </xsl:result-document>
+ </xsl:for-each>
+ </xsl:template>
+
+ <xsl:template match="javaee:function">
+ <xsl:variable name="tldname">
+ <xsl:choose>
+ <xsl:when test="display-name!=''">
+ <xsl:value-of select="display-name"/>
+ </xsl:when>
+ <xsl:when test="../@id!=''">
+ <xsl:value-of select="../@id"/>
+ </xsl:when>
+ <xsl:otherwise>
+ Unnamed TLD
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+ <xsl:variable name="title">
+ <xsl:value-of select="javaee:function-name"/>
+ (<xsl:value-of select="$window-title"/>)
+ </xsl:variable>
+ <html>
+ <head>
+ <title>
+ <xsl:value-of select="$title"/>
+ </title>
+ <meta name="keywords" content="$title"/>
+ <link rel="stylesheet" type="text/css" href="../stylesheet.css"
+ title="Style"/>
+ </head>
+ <script>
+ function asd()
+ {
+ parent.document.title="<xsl:value-of select="normalize-space($title)"/>";
+ }
+ </script>
+ <body bgcolor="white" onload="asd();">
+ <!-- =========== START OF NAVBAR =========== -->
+ <a name="navbar_top"><!-- --></a>
+ <table border="0" width="100%" cellpadding="1" cellspacing="0">
+ <tr>
+ <td COLSPAN="3" BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+ <a NAME="navbar_top_firstrow"><!-- --></a>
+ <table BORDER="0" CELLPADDING="0" CELLSPACING="3">
+ <tr ALIGN="center" VALIGN="top">
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">  
+ <a href="../overview-summary.html">
+ <font CLASS="NavBarFont1">
+ <b>Overview</b>
+ </font>
+ </a>
+  
+ </td>
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">  
+ <a href="tld-summary.html">
+ <font CLASS="NavBarFont1">
+ <b>Library</b>
+ </font>
+ </a>
+  
+ </td>
+ <td BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev">  <font CLASS="NavBarFont1Rev">
+  Tag </font> 
+ </td>
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">  
+ <a HREF="../help-doc.html">
+ <font CLASS="NavBarFont1">
+ <b>Help</b>
+ </font>
+ </a>
+  
+ </td>
+ </tr>
+ </table>
+ </td>
+ <td ALIGN="right" VALIGN="top" ROWSPAN="3">
+ <em>
+ </em>
+ </td>
+ </tr>
+ <tr>
+ <td BGCOLOR="white" CLASS="NavBarCell2">
+ <font SIZE="-2">
+ <!-- PREV TAGLIB -->
+ <!-- NEXT TAGLIB -->
+ </font>
+ </td>
+ <td BGCOLOR="white" CLASS="NavBarCell2">
+ <font SIZE="-2">
+  
+ <a HREF="../index.html" TARGET="_top">
+ <b>FRAMES</b>
+ </a>
+  
+  
+ <xsl:element name="a">
+ <xsl:attribute name="href"><xsl:value-of select="javaee:function-name"/>.fn.html
+ </xsl:attribute>
+ <xsl:attribute name="target">_top</xsl:attribute>
+ <b>NO FRAMES</b>
+ </xsl:element>
+  
+ <script>
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="alltags-noframe.html" TARGET=""><B>All Tags</B></A>');
+ }
+ //-->
+ </script>
+ <noscript>
+ <a HREF="../alltags-noframe.html" TARGET="">
+ <b>All Tags</b>
+ </a>
+ </noscript>
+ </font>
+ </td>
+ </tr>
+ </table>
+ <!-- =========== END OF NAVBAR =========== -->
+
+ <hr/>
+ <h2>
+ <font size="-1">
+ <xsl:value-of select="$tldname"/>
+ </font>
+ <br/>
+ Function
+ <xsl:value-of select="javaee:function-name"/>
+ </h2>
+ <code>
+ <xsl:value-of select='substring-before(normalize-space(javaee:function-signature)," ")'/>
+ <b> <xsl:value-of select="javaee:function-name"/>
+ </b>
+ (<xsl:value-of
+ select='substring-after(normalize-space(javaee:function-signature),"(")'/>
+ </code>
+ <hr/>
+ <xsl:value-of select="javaee:description" disable-output-escaping="yes"/>
+ <br/>
+ <p/>
+ <xsl:if test="javaee:example!=''">
+ <b>Example:</b>
+ <br/>
+ <pre>
+ <xsl:value-of select="javaee:example"/>
+ </pre>
+ <p/>
+ </xsl:if>
+ <hr/>
+
+ <!-- Function Information -->
+ <table border="1" cellpadding="3" cellspacing="0" width="100%">
+ <tr bgcolor="#CCCCFF" class="TableHeadingColor">
+ <td colspan="2">
+ <font size="+2">
+ <b>Function Information</b>
+ </font>
+ </td>
+ </tr>
+ <tr>
+ <td>Function Class</td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="javaee:function-class!=''">
+ <xsl:value-of select="javaee:function-class"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <i>None</i>
+ </xsl:otherwise>
+ </xsl:choose>
+ </td>
+ </tr>
+ <tr>
+ <td>Function Signature</td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="javaee:function-signature!=''">
+ <xsl:value-of select="javaee:function-signature"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <i>None</i>
+ </xsl:otherwise>
+ </xsl:choose>
+ </td>
+ </tr>
+ <tr>
+ <td>Display Name</td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="javaee:display-name!=''">
+ <xsl:value-of select="javaee:display-name"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <i>None</i>
+ </xsl:otherwise>
+ </xsl:choose>
+ </td>
+ </tr>
+ </table>
+ <br/>
+ <p/>
+
+ <!-- =========== START OF NAVBAR =========== -->
+ <a name="navbar_bottom"><!-- --></a>
+ <table border="0" width="100%" cellpadding="1" cellspacing="0">
+ <tr>
+ <td COLSPAN="3" BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+ <a NAME="navbar_bottom_firstrow"><!-- --></a>
+ <table BORDER="0" CELLPADDING="0" CELLSPACING="3">
+ <tr ALIGN="center" VALIGN="top">
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">  
+ <a href="../overview-summary.html">
+ <font CLASS="NavBarFont1">
+ <b>Overview</b>
+ </font>
+ </a>
+  
+ </td>
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">  
+ <a href="tld-summary.html">
+ <font CLASS="NavBarFont1">
+ <b>Library</b>
+ </font>
+ </a>
+  
+ </td>
+ <td BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev">  <font CLASS="NavBarFont1Rev">
+  Tag </font> 
+ </td>
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">  
+ <a HREF="../help-doc.html">
+ <font CLASS="NavBarFont1">
+ <b>Help</b>
+ </font>
+ </a>
+  
+ </td>
+ </tr>
+ </table>
+ </td>
+ <td ALIGN="right" VALIGN="top" ROWSPAN="3">
+ <em>
+ </em>
+ </td>
+ </tr>
+ <tr>
+ <td BGCOLOR="white" CLASS="NavBarCell2">
+ <font SIZE="-2">
+ <!-- PREV TAGLIB -->
+ <!-- NEXT TAGLIB -->
+ </font>
+ </td>
+ <td BGCOLOR="white" CLASS="NavBarCell2">
+ <font SIZE="-2">
+  
+ <a HREF="../index.html" TARGET="_top">
+ <b>FRAMES</b>
+ </a>
+  
+  
+ <xsl:element name="a">
+ <xsl:attribute name="href"><xsl:value-of select="javaee:function-name"/>.fn.html
+ </xsl:attribute>
+ <xsl:attribute name="target">_top</xsl:attribute>
+ <b>NO FRAMES</b>
+ </xsl:element>
+  
+ <script>
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="alltags-noframe.html" TARGET=""><B>All Tags</B></A>');
+ }
+ //-->
+ </script>
+ <noscript>
+ <a HREF="../alltags-noframe.html" TARGET="">
+ <b>All Tags</b>
+ </a>
+ </noscript>
+ </font>
+ </td>
+ </tr>
+ </table>
+ <!-- =========== END OF NAVBAR =========== -->
+ <hr/>
+ <small>
+ <i>
+ Output Generated by
+ <a href="http://taglibrarydoc.dev.java.net/" target="_blank">Tag Library Documentation
+ Generator</a>.
+ Java, JSP, and JavaServer Pages are trademarks or
+ registered trademarks of Sun Microsystems, Inc. in the US and other
+ countries. Copyright 2002-4 Sun Microsystems, Inc.
+ 4150 Network Circle
+ Santa Clara, CA 95054, U.S.A.
+ All Rights Reserved.
+ </i>
+ </small>
+ </body>
+ </html>
+ </xsl:template>
+
+</xsl:stylesheet>
Added: modules/build/resources/trunk/vdl-doc/src/main/xsl/help-doc.html.xsl
===================================================================
--- modules/build/resources/trunk/vdl-doc/src/main/xsl/help-doc.html.xsl (rev 0)
+++ modules/build/resources/trunk/vdl-doc/src/main/xsl/help-doc.html.xsl 2011-03-28 15:18:43 UTC (rev 22323)
@@ -0,0 +1,235 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<!--
+ - <license>
+ - Copyright (c) 2003-2004, Sun Microsystems, Inc.
+ - All rights reserved.
+ -
+ - Redistribution and use in source and binary forms, with or without
+ - modification, are permitted provided that the following conditions are met:
+ -
+ - * Redistributions of source code must retain the above copyright
+ - notice, this list of conditions and the following disclaimer.
+ - * 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.
+ - * Neither the name of Sun Microsystems, Inc. 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 OWNER OR
+ - CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ - EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ - ROCUREMENT 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.
+ - </license>
+ -->
+
+<!--
+ Document : help-doc.html.xsl
+ Created on : October 2, 2002, 5:37 PM
+ Author : mroth
+ Description:
+ Creates the help-doc page for Tag Library Documentation Generator
+-->
+
+<xsl:stylesheet version="1.0"
+ xmlns:javaee="http://java.sun.com/xml/ns/javaee"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:fo="http://www.w3.org/1999/XSL/Format">
+
+ <xsl:output method="html" indent="yes"/>
+
+ <!-- template rule matching source root element -->
+ <xsl:template match="/">
+ <HTML>
+ <HEAD>
+ <TITLE>
+ API Help (<xsl:value-of select="properties/window-title"/>)
+ </TITLE>
+ <LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style"/>
+ </HEAD>
+ <SCRIPT>
+ function asd() {
+ parent.document.title="API Help (<xsl:value-of select="normalize-space(properties/window-title)"/>)";
+ }
+ </SCRIPT>
+ <BODY BGCOLOR="white" onload="asd();">
+ <a name="navbar_top"><!-- --></a>
+ <table border="0" width="100%" cellpadding="1" cellspacing="0">
+ <tr>
+ <td COLSPAN="3" BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+ <a NAME="navbar_top_firstrow"><!-- --></a>
+ <table BORDER="0" CELLPADDING="0" CELLSPACING="3">
+ <tr ALIGN="center" VALIGN="top">
+ <td BGCOLOR="#FFFFFF" CLASS="NavBarCell1">  <a href="overview-summary.html"><font CLASS="NavBarFont1"><b>Overview</b></font></a> </td>
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <font CLASS="NavBarFont1"> Library </font></td>
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <font CLASS="NavBarFont1"> Tag </font></td>
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1Rev">  <font CLASS="NavBarFont1Rev"><b>Help</b></font> </td>
+ </tr>
+ </table>
+ </td>
+ <td ALIGN="right" VALIGN="top" ROWSPAN="3"><em>
+ </em>
+ </td>
+ </tr>
+ <tr>
+ <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
+  PREV 
+  NEXT 
+ </font></td>
+ <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
+  <a HREF="index.html" TARGET="_top"><b>FRAMES</b></a> 
+  <a HREF="help-doc.html" TARGET="_top"><b>NO FRAMES</b></a> 
+ <script>
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="alltags-noframe.html" TARGET=""><B>All Tags</B></A>');
+ }
+ //-->
+ </script>
+ <noscript>
+ <a HREF="alltags-noframe.html" TARGET=""><b>All Tags</b></a>
+ </noscript>
+ </font></td>
+ </tr>
+ </table>
+ <HR/>
+ <CENTER>
+ <H1>How This Tag Library Document Is Organized</H1>
+ </CENTER>
+ This TLD (Tag Library Descriptor) document has pages corresponding
+ to the items in the navigation bar, described as follows.
+ <H3>Overview</H3>
+ <BLOCKQUOTE>
+ <P/>
+ The <A HREF="overview-summary.html">Overview</A> page is the front
+ page of this TLD document and provides a list of all tag libraries
+ with a summary for each.
+ </BLOCKQUOTE>
+ <H3>Library</H3>
+ <BLOCKQUOTE>
+ <P/>
+ Each tag library has a page that contains a list of its
+ validator, listeners, tags, and functions, with a summary for each.
+ This page can contain four categories:
+ <UL>
+ <li>Validator</li>
+ <li>Listeners</li>
+ <li>Tags</li>
+ <li>Functions</li>
+ </UL>
+ </BLOCKQUOTE>
+ <H3>Validator</H3>
+ <BLOCKQUOTE>
+ <P/>
+ A tag library can have at most one validator. If a tag library
+ has a validator, it has its own page describing the validator,
+ the class that implements the validator, and the available
+ initialization parameters.
+ </BLOCKQUOTE>
+ <h3>Listeners</h3>
+ <blockquote>
+ <p/>
+ A tag library can have zero or more listeners. If a tag library
+ has at least one listener, a page is generated that lists all
+ listener classes registered for the tag library.
+ </blockquote>
+ <h3>Tags</h3>
+ <blockquote>
+ <p/>
+ A tag library can have zero or more tags. Each tag has its own
+ page that describes the tag, its display name, its unique action
+ name, the class that implements the tag, the TagExtraInfo class,
+ the body content type, scripting variable information, attributes,
+ whether the tag supports dynamic attributes, and an optional
+ example use of the tag.
+ </blockquote>
+ <h3>Functions</h3>
+ <blockquote>
+ <p/>
+ A tag library can contain zero or more EL functions. If a tag
+ library has at least one function, a page is generated that lists
+ all functions, the class that implements the function, the
+ function signature, and an optional example use of the function.
+ </blockquote>
+ <!--
+ <H3>Index</H3>
+ <BLOCKQUOTE>
+ The <A HREF="index-files/index-1.html">Index</A> contains an
+ alphabetic list of all validators, listeners, tags, functions,
+ variables, and attributes.
+ </BLOCKQUOTE>
+ -->
+ <H3>Prev/Next</H3>
+ <blockquote>
+ These links take you to the next or previous validator, listener,
+ tag, function, or related page.
+ </blockquote>
+ <H3>Frames/No Frames</H3>
+ <blockquote>
+ These links show and hide the HTML frames. All pages are available
+ with or without frames.
+ </blockquote>
+ <BR/>
+ <HR/>
+ <a name="navbar_bottom"><!-- --></a>
+ <table border="0" width="100%" cellpadding="1" cellspacing="0">
+ <tr>
+ <td COLSPAN="3" BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+ <a NAME="navbar_bottom_firstrow"><!-- --></a>
+ <table BORDER="0" CELLPADDING="0" CELLSPACING="3">
+ <tr ALIGN="center" VALIGN="top">
+ <td BGCOLOR="#FFFFFF" CLASS="NavBarCell1">  <a href="overview-summary.html"><font CLASS="NavBarFont1"><b>Overview</b></font></a> </td>
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <font CLASS="NavBarFont1"> Library </font></td>
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <font CLASS="NavBarFont1"> Tag </font></td>
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1Rev">  <font CLASS="NavBarFont1Rev"><b>Help</b></font> </td>
+ </tr>
+ </table>
+ </td>
+ <td ALIGN="right" VALIGN="top" ROWSPAN="3"><em>
+ </em>
+ </td>
+ </tr>
+ <tr>
+ <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
+  PREV 
+  NEXT 
+ </font></td>
+ <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
+  <a HREF="index.html" TARGET="_top"><b>FRAMES</b></a> 
+  <a HREF="help-doc.html" TARGET="_top"><b>NO FRAMES</b></a> 
+ <script>
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="alltags-noframe.html" TARGET=""><B>All Tags</B></A>');
+ }
+ //-->
+ </script>
+ <noscript>
+ <a HREF="alltags-noframe.html" TARGET=""><b>All Tags</b></a>
+ </noscript>
+ </font></td>
+ </tr>
+ </table>
+ <HR/>
+ <small><i>
+ Output Generated by
+ <a href="http://taglibrarydoc.dev.java.net/" target="_blank">Tag Library Documentation Generator</a>.
+ Java, JSP, and JavaServer Pages are trademarks or
+ registered trademarks of Sun Microsystems, Inc. in the US and other
+ countries. Copyright 2002-4 Sun Microsystems, Inc.
+ 4150 Network Circle
+ Santa Clara, CA 95054, U.S.A.
+ All Rights Reserved.
+ </i></small>
+ </BODY>
+ </HTML>
+ </xsl:template>
+</xsl:stylesheet>
Added: modules/build/resources/trunk/vdl-doc/src/main/xsl/index.html.xsl
===================================================================
--- modules/build/resources/trunk/vdl-doc/src/main/xsl/index.html.xsl (rev 0)
+++ modules/build/resources/trunk/vdl-doc/src/main/xsl/index.html.xsl 2011-03-28 15:18:43 UTC (rev 22323)
@@ -0,0 +1,75 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<!--
+ - <license>
+ - Copyright (c) 2003-2004, Sun Microsystems, Inc.
+ - All rights reserved.
+ -
+ - Redistribution and use in source and binary forms, with or without
+ - modification, are permitted provided that the following conditions are met:
+ -
+ - * Redistributions of source code must retain the above copyright
+ - notice, this list of conditions and the following disclaimer.
+ - * 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.
+ - * Neither the name of Sun Microsystems, Inc. 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 OWNER OR
+ - CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ - EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ - ROCUREMENT 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.
+ - </license>
+ -->
+
+<!--
+ Document : index.html.xsl
+ Created on : October 1, 2002, 5:37 PM
+ Author : mroth
+ Description:
+ Creates the index page for Tag Library Documentation Generator
+-->
+
+<xsl:stylesheet version="1.0"
+ xmlns:javaee="http://java.sun.com/xml/ns/javaee"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:fo="http://www.w3.org/1999/XSL/Format">
+
+ <xsl:output method="html" indent="yes"/>
+
+ <!-- template rule matching source root element -->
+ <xsl:template match="/">
+ <html>
+ <head>
+ <title>
+ <xsl:value-of select="properties/window-title"/>
+ </title>
+ </head>
+ <frameset cols="20%,80%">
+ <frameset rows="30%,70%">
+ <frame src="overview-frame.html" name="tldListFrame"/>
+ <frame src="alltags-frame.html" name="tldFrame"/>
+ </frameset>
+ <frame src="overview-summary.html" name="tagFrame"/>
+ </frameset>
+ <noframes>
+ <h2>Frame Alert</h2>
+ <p/>
+ This document is designed to be viewed using the frames feature.
+ If you see this message, you are using a non-frame-capable web
+ client.
+ <br/>
+ Link to <a href="overview-summary.html">Non-frame version.</a>
+ </noframes>
+ </html>
+ </xsl:template>
+</xsl:stylesheet>
Added: modules/build/resources/trunk/vdl-doc/src/main/xsl/overview-frame.html.xsl
===================================================================
--- modules/build/resources/trunk/vdl-doc/src/main/xsl/overview-frame.html.xsl (rev 0)
+++ modules/build/resources/trunk/vdl-doc/src/main/xsl/overview-frame.html.xsl 2011-03-28 15:18:43 UTC (rev 22323)
@@ -0,0 +1,114 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<!--
+ - <license>
+ - Copyright (c) 2003-2004, Sun Microsystems, Inc.
+ - All rights reserved.
+ -
+ - Redistribution and use in source and binary forms, with or without
+ - modification, are permitted provided that the following conditions are met:
+ -
+ - * Redistributions of source code must retain the above copyright
+ - notice, this list of conditions and the following disclaimer.
+ - * 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.
+ - * Neither the name of Sun Microsystems, Inc. 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 OWNER OR
+ - CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ - EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ - ROCUREMENT 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.
+ - </license>
+ -->
+
+<!--
+ Document : overview-frame.html.xsl
+ Created on : October 1, 2002, 5:37 PM
+ Author : mroth
+ Description:
+ Creates the overview frame (upper left corner), listing all tag
+ libraries included in this generation.
+-->
+
+<xsl:stylesheet version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:fo="http://www.w3.org/1999/XSL/Format"
+ xmlns:javaee="http://java.sun.com/xml/ns/javaee">
+
+ <xsl:output method="html" indent="yes"/>
+
+ <!-- template rule matching source root element -->
+ <xsl:template match="/">
+ <html>
+ <head>
+ <title>
+ Overview (<xsl:value-of select="properties/window-title"/>)
+ </title>
+ <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"/>
+ </head>
+ <script>
+ function asd() {
+ parent.document.title="Overview (<xsl:value-of select="normalize-space(properties/window-title)"/>)";
+ }
+ </script>
+ <body bgcolor="white" onload="asd();">
+ <table border="0" width="100%">
+ <tr>
+ <td nowrap="true">
+ <font size="+1" class="FrameTitleFont">
+ <b><xsl:value-of select="properties/doc-title"/></b>
+ </font>
+ </td>
+ </tr>
+ </table>
+ <table border="0" width="100%">
+ <tr>
+ <td nowrap="true">
+ <font class="FrameItemFont">
+ <a href="alltags-frame.html" target="tldFrame"><xsl:text>All Tags / Functions</xsl:text></a>
+ </font>
+ <p/>
+ <font size="+1" class="FrameHeadingFont">
+ Tag Libraries
+ </font>
+ <br/>
+ <xsl:apply-templates select="/properties/taglibs/taglib"/>
+ </td>
+ </tr>
+ </table>
+ <p/>
+ </body>
+ </html>
+ </xsl:template>
+
+ <xsl:template match="taglib">
+ <font class="FrameItemFont">
+ <xsl:element name="a">
+ <xsl:attribute name="href"><xsl:value-of select="@short-name"/>/tld-frame.html</xsl:attribute>
+ <xsl:attribute name="target">tldFrame</xsl:attribute>
+ <xsl:choose>
+ <xsl:when test="display-name!=''">
+ <xsl:value-of select="display-name"/>
+ </xsl:when>
+ <xsl:when test="@short-name!=''">
+ <xsl:value-of select="@short-name"/>
+ </xsl:when>
+ <xsl:otherwise>
+ Unnamed TLD
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:element>
+ </font>
+ <br/>
+ </xsl:template>
+</xsl:stylesheet>
Added: modules/build/resources/trunk/vdl-doc/src/main/xsl/overview-summary.html.xsl
===================================================================
--- modules/build/resources/trunk/vdl-doc/src/main/xsl/overview-summary.html.xsl (rev 0)
+++ modules/build/resources/trunk/vdl-doc/src/main/xsl/overview-summary.html.xsl 2011-03-28 15:18:43 UTC (rev 22323)
@@ -0,0 +1,208 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<!--
+ - <license>
+ - Copyright (c) 2003-2004, Sun Microsystems, Inc.
+ - All rights reserved.
+ -
+ - Redistribution and use in source and binary forms, with or without
+ - modification, are permitted provided that the following conditions are met:
+ -
+ - * Redistributions of source code must retain the above copyright
+ - notice, this list of conditions and the following disclaimer.
+ - * 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.
+ - * Neither the name of Sun Microsystems, Inc. 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 OWNER OR
+ - CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ - EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ - ROCUREMENT 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.
+ - </license>
+ -->
+
+<!--
+ Document : overview-summary.html.xsl
+ Created on : October 1, 2002, 5:37 PM
+ Author : mroth
+ Description:
+ Creates an overview summary (right frame), listing all tag
+ libraries included in this generation.
+-->
+
+<xsl:stylesheet version="1.0"
+ xmlns:javaee="http://java.sun.com/xml/ns/javaee"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:fo="http://www.w3.org/1999/XSL/Format">
+
+ <xsl:output method="html" indent="yes"/>
+
+ <!-- template rule matching source root element -->
+ <xsl:template match="/">
+ <html>
+ <head>
+ <title>
+ Overview (<xsl:value-of select="properties/window-title"/>)
+ </title>
+ <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"/>
+ </head>
+ <script>
+ function asd() {
+ parent.document.title="Overview (<xsl:value-of select="normalize-space(properties/window-title)"/>)";
+ }
+ </script>
+ <body bgcolor="white" onload="asd();">
+ <!-- =========== START OF NAVBAR =========== -->
+ <a name="navbar_top"><!-- --></a>
+ <table border="0" width="100%" cellpadding="1" cellspacing="0">
+ <tr>
+ <td COLSPAN="3" BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+ <a NAME="navbar_top_firstrow"><!-- --></a>
+ <table BORDER="0" CELLPADDING="0" CELLSPACING="3">
+ <tr ALIGN="center" VALIGN="top">
+ <td BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <font CLASS="NavBarFont1Rev"><b> Overview </b></font></td>
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <font CLASS="NavBarFont1"> Library </font></td>
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <font CLASS="NavBarFont1"> Tag </font></td>
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">  <a HREF="help-doc.html"><font CLASS="NavBarFont1"><b>Help</b></font></a> </td>
+ </tr>
+ </table>
+ </td>
+ <td ALIGN="right" VALIGN="top" ROWSPAN="3"><em>
+ </em>
+ </td>
+ </tr>
+ <tr>
+ <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
+ <!-- PREV -->
+ <!-- NEXT -->
+ </font></td>
+ <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
+  <a HREF="index.html" TARGET="_top"><b>FRAMES</b></a> 
+  <a HREF="overview-summary.html" TARGET="_top"><b>NO FRAMES</b></a> 
+ <script>
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="alltags-noframe.html" TARGET=""><B>All Tags</B></A>');
+ }
+ //-->
+ </script>
+ <noscript>
+ <a HREF="alltags-noframe.html" TARGET=""><b>All Tags</b></a>
+ </noscript>
+ </font></td>
+ </tr>
+ </table>
+ <!-- =========== END OF NAVBAR =========== -->
+ <hr/>
+ <center>
+ <h2><xsl:value-of select="properties/doc-title"/></h2>
+ </center>
+ <table BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
+ <tr BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+ <td COLSPAN="2"><font SIZE="+2">
+ <b>Tag Libraries</b>
+ </font></td>
+ </tr>
+ <xsl:apply-templates select="/properties/taglibs/taglib"/>
+ </table>
+ <p/>
+ <hr/>
+ <!-- =========== START OF NAVBAR =========== -->
+ <a name="navbar_bottom"><!-- --></a>
+ <table border="0" width="100%" cellpadding="1" cellspacing="0">
+ <tr>
+ <td COLSPAN="3" BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+ <a NAME="navbar_bottom_firstrow"><!-- --></a>
+ <table BORDER="0" CELLPADDING="0" CELLSPACING="3">
+ <tr ALIGN="center" VALIGN="top">
+ <td BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <font CLASS="NavBarFont1Rev"><b> Overview </b></font></td>
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <font CLASS="NavBarFont1"> Library </font></td>
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <font CLASS="NavBarFont1"> Tag </font></td>
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">  <a HREF="help-doc.html"><font CLASS="NavBarFont1"><b>Help</b></font></a> </td>
+ </tr>
+ </table>
+ </td>
+ <td ALIGN="right" VALIGN="top" ROWSPAN="3"><em>
+ </em>
+ </td>
+ </tr>
+ <tr>
+ <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
+ <!-- PREV -->
+ <!-- NEXT -->
+ </font></td>
+ <td BGCOLOR="white" CLASS="NavBarCell2"><font SIZE="-2">
+  <a HREF="index.html" TARGET="_top"><b>FRAMES</b></a> 
+  <a HREF="overview-summary.html" TARGET="_top"><b>NO FRAMES</b></a> 
+ <script>
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="alltags-noframe.html" TARGET=""><B>All Tags</B></A>');
+ }
+ //-->
+ </script>
+ <noscript>
+ <a HREF="alltags-noframe.html" TARGET=""><b>All Tags</b></a>
+ </noscript>
+ </font></td>
+ </tr>
+ </table>
+ <!-- =========== END OF NAVBAR =========== -->
+ <hr/>
+ <small><i>
+ Output Generated by
+ <a href="http://taglibrarydoc.dev.java.net/" target="_blank">Tag Library Documentation Generator</a>.
+ Java, JSP, and JavaServer Pages are trademarks or
+ registered trademarks of Sun Microsystems, Inc. in the US and other
+ countries. Copyright 2002-4 Sun Microsystems, Inc.
+ 4150 Network Circle
+ Santa Clara, CA 95054, U.S.A.
+ All Rights Reserved.
+ </i></small>
+ </body>
+ </html>
+ </xsl:template>
+
+ <xsl:template match="taglib">
+ <tr BGCOLOR="white" valign="top" CLASS="TableRowColor">
+ <td WIDTH="20%"><b>
+ <xsl:element name="a">
+ <xsl:attribute name="href"><xsl:value-of select="@short-name"/>/tld-summary.html</xsl:attribute>
+ <xsl:choose>
+ <xsl:when test="display-name!=''">
+ <xsl:value-of select="display-name"/>
+ </xsl:when>
+ <xsl:when test="@short-name!=''">
+ <xsl:value-of select="@short-name"/>
+ </xsl:when>
+ <xsl:otherwise>
+ Unnamed TLD
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:element>
+ </b></td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="description!=''">
+ <pre>
+ <xsl:value-of select="description" disable-output-escaping="yes"/>
+ </pre>
+ </xsl:when>
+ <xsl:otherwise>
+ <i>No Description</i>
+ </xsl:otherwise>
+ </xsl:choose>
+ </td>
+ </tr>
+ </xsl:template>
+</xsl:stylesheet>
Added: modules/build/resources/trunk/vdl-doc/src/main/xsl/stylesheet.css
===================================================================
--- modules/build/resources/trunk/vdl-doc/src/main/xsl/stylesheet.css (rev 0)
+++ modules/build/resources/trunk/vdl-doc/src/main/xsl/stylesheet.css 2011-03-28 15:18:43 UTC (rev 22323)
@@ -0,0 +1,60 @@
+/* Javadoc style sheet */
+
+/*
+ * <license>
+ * Copyright (c) 2003-2004, Sun Microsystems, Inc.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *
+ * * Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * * 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.
+ * * Neither the name of Sun Microsystems, Inc. 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 OWNER OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * ROCUREMENT 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.
+ * </license>
+ */
+
+/* Define colors, fonts and other style attributes here to override the defaults */
+
+/* Page background color */
+body { background-color: #FFFFFF }
+
+/* Table colors */
+.TableHeadingColor { background: #CCCCFF } /* Dark mauve */
+.TableSubHeadingColor { background: #EEEEFF } /* Light mauve */
+.TableRowColor { background: #FFFFFF } /* White */
+
+/* Font used in left-hand frame lists */
+.FrameTitleFont { font-size: 10pts; font-family: Helvetica, Arial, san-serif }
+.FrameHeadingFont { font-size: 10pts; font-family: Helvetica, Arial, san-serif }
+.FrameItemFont { font-size: 10pts; font-family: Helvetica, Arial, san-serif }
+
+/* Example of smaller, sans-serif font in frames */
+/* .FrameItemFont { font-size: 10pt; font-family: Helvetica, Arial, sans-serif } */
+
+/* Navigation bar fonts and colors */
+.NavBarCell1 { background-color:#EEEEFF;}/* Light mauve */
+.NavBarCell1Rev { background-color:#00008B;}/* Dark Blue */
+.NavBarFont1 { font-family: Arial, Helvetica, sans-serif; color:#000000;}
+.NavBarFont1Rev { font-family: Arial, Helvetica, sans-serif; color:#FFFFFF;}
+
+.NavBarCell2 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF;}
+.NavBarCell3 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF;}
+
Added: modules/build/resources/trunk/vdl-doc/src/main/xsl/tag.html.xsl
===================================================================
--- modules/build/resources/trunk/vdl-doc/src/main/xsl/tag.html.xsl (rev 0)
+++ modules/build/resources/trunk/vdl-doc/src/main/xsl/tag.html.xsl 2011-03-28 15:18:43 UTC (rev 22323)
@@ -0,0 +1,527 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Copyright (c) 2003-2004,-2010 Oracle and/or its affiliates. All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+
+ - Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+
+ - 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.
+
+ - Neither the name of Oracle 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 OWNER 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.
+
+-->
+
+<!--
+ Document : tag.html.xsl
+ Created on : December 18, 2002, 5:22 PM
+ Author : mroth
+ Description:
+ Creates the tag detail page (right frame), listing the known
+ information for a given tag in a tag library.
+-->
+<xsl:stylesheet
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:javaee="http://java.sun.com/xml/ns/javaee"
+ version="2.0">
+
+ <xsl:output method="html" indent="yes" name="html"/>
+
+ <xsl:param name="output-dir"/>
+
+ <xsl:variable name="window-title">
+ <xsl:value-of select="properties/window-title"/>
+ </xsl:variable>
+
+ <xsl:template match="/">
+ <xsl:for-each select="/properties/taglibs/taglib">
+ <xsl:apply-templates select="document(path)/javaee:facelet-taglib"/>
+ </xsl:for-each>
+ </xsl:template>
+
+ <xsl:template match="javaee:facelet-taglib">
+
+ <xsl:variable name="namespace" select="/javaee:facelet-taglib/@id"/>
+
+ <xsl:for-each select="//javaee:tag">
+ <xsl:variable name="tagname">
+ <xsl:value-of select="javaee:tag-name"/>
+ </xsl:variable>
+ <xsl:variable name="filename"
+ select="concat($output-dir,'/',$namespace,'/',javaee:tag-name,'.html')"/>
+ <!--<xsl:value-of select="$filename"/>-->
+ <!-- Creating -->
+ <xsl:result-document href="{$filename}" format="html">
+ <xsl:apply-templates select=".">
+ <xsl:with-param name="namespace" select="$namespace"/>
+ <xsl:with-param name="tagname" select="$tagname"/>
+ </xsl:apply-templates>
+ </xsl:result-document>
+ </xsl:for-each>
+ </xsl:template>
+
+ <xsl:template match="javaee:tag">
+ <xsl:param name="namespace"/>
+ <xsl:param name="tagname"/>
+ <xsl:variable name="title">
+ <xsl:value-of select="$tagname"/>
+ (<xsl:value-of select="$window-title"/>)
+ </xsl:variable>
+ <html>
+ <head>
+ <title>
+ <xsl:value-of select="$title"/>
+ </title>
+ <meta name="keywords" content="$tagname"/>
+ <link rel="stylesheet" type="text/css" href="../stylesheet.css"
+ title="Style"/>
+ </head>
+ <script>
+ function asd()
+ {
+ parent.document.title="<xsl:value-of select="normalize-space($title)"/>";
+ }
+ </script>
+ <body bgcolor="white" onload="asd();">
+ <!-- =========== START OF NAVBAR =========== -->
+ <a name="navbar_top"><!-- --></a>
+ <table border="0" width="100%" cellpadding="1" cellspacing="0">
+ <tr>
+ <td COLSPAN="3" BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+ <a NAME="navbar_top_firstrow"><!-- --></a>
+ <table BORDER="0" CELLPADDING="0" CELLSPACING="3">
+ <tr ALIGN="center" VALIGN="top">
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">  
+ <a href="../overview-summary.html">
+ <font CLASS="NavBarFont1">
+ <b>Overview</b>
+ </font>
+ </a>
+  
+ </td>
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">  
+ <a href="tld-summary.html">
+ <font CLASS="NavBarFont1">
+ <b>Library</b>
+ </font>
+ </a>
+  
+ </td>
+ <td BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev">  <font
+ CLASS="NavBarFont1Rev"> Tag </font> 
+ </td>
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">  
+ <a HREF="../help-doc.html">
+ <font CLASS="NavBarFont1">
+ <b>Help</b>
+ </font>
+ </a>
+  
+ </td>
+ </tr>
+ </table>
+ </td>
+ <td ALIGN="right" VALIGN="top" ROWSPAN="3">
+ <em>
+ </em>
+ </td>
+ </tr>
+ <tr>
+ <td BGCOLOR="white" CLASS="NavBarCell2">
+ <font SIZE="-2">
+ <!-- PREV TAGLIB -->
+ <!-- NEXT TAGLIB -->
+ </font>
+ </td>
+ <td BGCOLOR="white" CLASS="NavBarCell2">
+ <font SIZE="-2">
+  
+ <a HREF="../index.html" TARGET="_top">
+ <b>FRAMES</b>
+ </a>
+  
+  
+ <xsl:element name="a">
+ <xsl:attribute name="href"><xsl:value-of select="javaee:tag-name"/>.html</xsl:attribute>
+ <xsl:attribute name="target">_top</xsl:attribute>
+ <b>NO FRAMES</b>
+ </xsl:element>
+  
+ <script>
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="alltags-noframe.html" TARGET=""><B>All Tags</B></A>');
+ }
+ //-->
+ </script>
+ <noscript>
+ <a HREF="../alltags-noframe.html" TARGET="">
+ <b>All Tags</b>
+ </a>
+ </noscript>
+ </font>
+ </td>
+ </tr>
+ </table>
+ <!-- =========== END OF NAVBAR =========== -->
+
+ <hr/>
+ <h2>
+ <font size="-1">
+ <xsl:value-of select="$namespace"/>
+ </font>
+ <br/>
+ Tag
+ <xsl:value-of select="javaee:tag-name"/>
+ </h2>
+ <hr/>
+ <xsl:choose>
+ <xsl:when test="javaee:component">
+
+ <xsl:value-of select="javaee:component/javaee:description" disable-output-escaping="yes"/>
+ <br/>
+ <p/>
+ <hr/>
+
+ <!-- Tag Information -->
+ <table border="1" cellpadding="3" cellspacing="0" width="100%">
+ <tr bgcolor="#CCCCFF" class="TableHeadingColor">
+ <td colspan="2">
+ <font size="+2">
+ <b>Tag Information</b>
+ </font>
+ </td>
+ </tr>
+
+
+ <tr>
+ <td>Component type</td>
+ <td>
+ <xsl:variable name="component-type">
+ <xsl:value-of select="javaee:component/javaee:component-type"/>
+ </xsl:variable>
+ <xsl:choose>
+ <xsl:when test="$component-type!=''">
+ <xsl:value-of select="$component-type"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <i>None</i>
+ </xsl:otherwise>
+ </xsl:choose>
+ </td>
+ </tr>
+ <tr>
+ <td>Tag Name</td>
+ <td>
+ <xsl:variable name="fulltagname" select="concat($namespace,':',$tagname)"/>
+ <xsl:value-of select="$fulltagname"/>
+ </td>
+ </tr>
+ <tr>
+ <td>Renderer Type</td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="javaee:component/javaee:renderer-type!=''">
+ <xsl:value-of select="javaee:component/javaee:renderer-type"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <i>None</i>
+ </xsl:otherwise>
+ </xsl:choose>
+ </td>
+ </tr>
+ <tr>
+ <td>Handler Class</td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="javaee:component/javaee:handler-class!=''">
+ <xsl:value-of select="javaee:component/javaee:handler-class"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <i>None</i>
+ </xsl:otherwise>
+ </xsl:choose>
+ </td>
+ </tr>
+ </table>
+ </xsl:when>
+ <xsl:when test="javaee:behavior">
+ <xsl:value-of select="javaee:behavior/javaee:description" disable-output-escaping="yes"/>
+ <br/>
+ <p/>
+ <hr/>
+
+ <!-- Tag Information -->
+ <table border="1" cellpadding="3" cellspacing="0" width="100%">
+ <tr bgcolor="#CCCCFF" class="TableHeadingColor">
+ <td colspan="2">
+ <font size="+2">
+ <b>Tag Information</b>
+ </font>
+ </td>
+ </tr>
+
+
+ <tr>
+ <td>Handler Id</td>
+ <td>
+ <xsl:variable name="handler-id">
+ <xsl:value-of select="javaee:behavior/javaee:behavior-id"/>
+ </xsl:variable>
+ <xsl:choose>
+ <xsl:when test="$handler-id!=''">
+ <xsl:value-of select="$handler-id"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <i>None</i>
+ </xsl:otherwise>
+ </xsl:choose>
+ </td>
+ </tr>
+
+ <tr>
+ <td>Handler Class</td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="javaee:behavior/javaee:handler-class!=''">
+ <xsl:value-of select="javaee:behavior/javaee:handler-class"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <i>None</i>
+ </xsl:otherwise>
+ </xsl:choose>
+ </td>
+ </tr>
+ </table>
+ </xsl:when>
+ <xsl:when test="javaee:handler-class">
+ <table border="1" cellpadding="3" cellspacing="0" width="100%">
+ <tr bgcolor="#CCCCFF" class="TableHeadingColor">
+ <td colspan="2">
+ <font size="+2">
+ <b>Tag Information</b>
+ </font>
+ </td>
+ </tr>
+
+ <tr>
+ <td>Handler Class</td>
+ <td>
+ <xsl:value-of select="javaee:handler-class"/>
+ </td>
+ </tr>
+ </table>
+ </xsl:when>
+ </xsl:choose>
+
+
+ <br/>
+ <p/>
+ <table border="1" cellpadding="3" cellspacing="0" width="100%">
+ <tr bgcolor="#CCCCFF" class="TableHeadingColor">
+ <td colspan="5">
+ <font size="+2">
+ <b>Supported Facets</b>
+ </font>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="5">No facets</td>
+ </tr>
+
+ </table>
+ <br/>
+ <p/>
+
+
+ <table border="1" cellpadding="3" cellspacing="0" width="100%">
+ <tr bgcolor="#CCCCFF" class="TableHeadingColor">
+ <td colspan="5">
+ <font size="+2">
+ <b>Attributes</b>
+ </font>
+ </td>
+ </tr>
+ <xsl:choose>
+ <xsl:when test="count(javaee:attribute)>0">
+ <tr>
+ <td>
+ <b>Name</b>
+ </td>
+ <td>
+ <b>Required</b>
+ </td>
+
+ <td>
+ <b>Type</b>
+ </td>
+ <td>
+ <b>Description</b>
+ </td>
+ </tr>
+ <xsl:apply-templates select="javaee:attribute"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <td colspan="5">
+ <i>No Attributes Defined.</i>
+ </td>
+ </xsl:otherwise>
+ </xsl:choose>
+ </table>
+ <br/>
+ <p/>
+
+
+ <!-- =========== START OF NAVBAR =========== -->
+ <a name="navbar_bottom"><!-- --></a>
+ <table border="0" width="100%" cellpadding="1" cellspacing="0">
+ <tr>
+ <td COLSPAN="3" BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+ <a NAME="navbar_bottom_firstrow"><!-- --></a>
+ <table BORDER="0" CELLPADDING="0" CELLSPACING="3">
+ <tr ALIGN="center" VALIGN="top">
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">  
+ <a href="../overview-summary.html">
+ <font CLASS="NavBarFont1">
+ <b>Overview</b>
+ </font>
+ </a>
+  
+ </td>
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">  
+ <a href="tld-summary.html">
+ <font CLASS="NavBarFont1">
+ <b>Library</b>
+ </font>
+ </a>
+  
+ </td>
+ <td BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev">  <font
+ CLASS="NavBarFont1Rev"> Tag </font> 
+ </td>
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">  
+ <a HREF="../help-doc.html">
+ <font CLASS="NavBarFont1">
+ <b>Help</b>
+ </font>
+ </a>
+  
+ </td>
+ </tr>
+ </table>
+ </td>
+ <td ALIGN="right" VALIGN="top" ROWSPAN="3">
+ <em>
+ </em>
+ </td>
+ </tr>
+ <tr>
+ <td BGCOLOR="white" CLASS="NavBarCell2">
+ <font SIZE="-2">
+ <!-- PREV TAGLIB -->
+ <!-- NEXT TAGLIB -->
+ </font>
+ </td>
+ <td BGCOLOR="white" CLASS="NavBarCell2">
+ <font SIZE="-2">
+  
+ <a HREF="../index.html" TARGET="_top">
+ <b>FRAMES</b>
+ </a>
+  
+  
+ <xsl:element name="a">
+ <xsl:attribute name="href"><xsl:value-of select="javaee:tag-name"/>.html
+ </xsl:attribute>
+ <xsl:attribute name="target">_top</xsl:attribute>
+ <b>NO FRAMES</b>
+ </xsl:element>
+  
+ <script>
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="alltags-noframe.html" TARGET=""><B>All Tags</B></A>');
+ }
+ //-->
+ </script>
+ <noscript>
+ <a HREF="../alltags-noframe.html" TARGET="">
+ <b>All Tags</b>
+ </a>
+ </noscript>
+ </font>
+ </td>
+ </tr>
+ </table>
+ <!-- =========== END OF NAVBAR =========== -->
+ <hr/>
+ <small>
+ <i>
+ Output Generated by
+ <a href="http://taglibrarydoc.dev.java.net/" target="_blank">Tag Library Documentation
+ Generator</a>.
+ </i>
+ </small>
+ </body>
+ </html>
+
+ </xsl:template>
+
+ <xsl:template match="javaee:attribute">
+ <tr valign="top">
+ <td>
+ <xsl:apply-templates select="javaee:name"/>
+ </td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="javaee:required!=''">
+ <xsl:value-of select="javaee:required"/>
+ </xsl:when>
+ <xsl:otherwise>false</xsl:otherwise>
+ </xsl:choose>
+ </td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="javaee:type!=''">
+ <code>
+ <xsl:value-of select="javaee:type"/>
+ </code>
+ </xsl:when>
+ <xsl:otherwise>
+ <code>java.lang.String</code>
+ </xsl:otherwise>
+ </xsl:choose>
+ </td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="javaee:description!=''">
+ <xsl:value-of select="javaee:description" disable-output-escaping="yes"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <i>No Description</i>
+ </xsl:otherwise>
+ </xsl:choose>
+ </td>
+ </tr>
+ </xsl:template>
+</xsl:stylesheet>
\ No newline at end of file
Added: modules/build/resources/trunk/vdl-doc/src/main/xsl/tld-frame.html.xsl
===================================================================
--- modules/build/resources/trunk/vdl-doc/src/main/xsl/tld-frame.html.xsl (rev 0)
+++ modules/build/resources/trunk/vdl-doc/src/main/xsl/tld-frame.html.xsl 2011-03-28 15:18:43 UTC (rev 22323)
@@ -0,0 +1,168 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+
+ Copyright (c) 2003-2004,-2010 Oracle and/or its affiliates. All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+
+ - Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+
+ - 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.
+
+ - Neither the name of Oracle 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 OWNER 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.
+
+-->
+
+<!--
+ Document : tld-frame.html.xsl
+ Created on : December 18, 2002, 11:40 AM
+ Author : mroth
+ Description:
+ Creates the TLD frame (lower-left hand corner), listing the tags
+ and functions that are in this particular tag library.
+-->
+
+<xsl:stylesheet version="1.0"
+ xmlns:javaee="http://java.sun.com/xml/ns/javaee"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:fo="http://www.w3.org/1999/XSL/Format">
+
+ <xsl:output method="html" indent="yes" name="html"/>
+ <!--<xsl:param name="facelet-taglib-shortNamespace">default</xsl:param>-->
+ <xsl:param name="output-dir" />
+ <xsl:variable name="window-title">
+ <xsl:value-of select="properties/window-title"/>
+ </xsl:variable>
+
+
+ <xsl:template match="/">
+ <xsl:for-each select="/properties/taglibs/taglib">
+ <xsl:apply-templates select="document(path)/javaee:facelet-taglib">
+ <xsl:with-param name="display-name" select="display-name" />
+ <xsl:with-param name="description" select="description" />
+ </xsl:apply-templates>
+ </xsl:for-each>
+ </xsl:template>
+
+ <xsl:template match="javaee:facelet-taglib">
+ <xsl:param name="display-name" />
+ <xsl:param name="description" />
+ <xsl:variable name="taglibname">
+ <xsl:choose>
+ <xsl:when test="$display-name!=''">
+ <xsl:value-of select="$display-name"/>
+ </xsl:when>
+ <xsl:otherwise>
+ Unnamed TLD
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+ <xsl:variable name="taglibfull">
+ <xsl:value-of select="$taglibname"/>
+ <xsl:choose>
+ <xsl:when test="$description!=''">
+ (<xsl:value-of select="$description" disable-output-escaping="yes"/>)
+ </xsl:when>
+ <xsl:otherwise>
+ No Description
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+ <xsl:variable name="filename"
+ select="concat($output-dir,'/', @id, '/tld-frame.html')"/>
+ <xsl:value-of select="$filename"/>
+
+ <xsl:result-document href="{$filename}" format="html">
+ <html>
+ <head>
+ <title>
+ <xsl:value-of select="$taglibfull"/>
+ </title>
+ <meta name="keywords" content="$taglibfull"/>
+ <link rel="stylesheet" type="text/css" href="../stylesheet.css"
+ title="Style"/>
+ <script>
+ function asd()
+ {
+ parent.document.title="<xsl:value-of select="normalize-space($taglibfull)"/>";
+ }
+ </script>
+ </head>
+ <body bgcolor="white" onload="asd();">
+ <font size="+1" class="FrameTitleFont">
+ <a href="tld-summary.html" target="tagFrame">
+ <xsl:value-of select="$taglibfull"/>
+ </a>
+ </font>
+ <table border="0" width="100%">
+ <xsl:if test="(count(javaee:tag))>0">
+ <tr>
+ <td nowrap="true">
+ <font size="+1" class="FrameHeadingFont">
+ Tags
+ </font> 
+ <font class="FrameItemFont">
+ <!--<xsl:apply-templates select="javaee:tag|javaee:tag-file"/>-->
+ <xsl:apply-templates select="javaee:tag"/>
+ </font>
+ </td>
+ </tr>
+ </xsl:if>
+ <xsl:if test="count(javaee:function)>0">
+ <tr>
+ <td nowrap="true">
+ <font size="+1" class="FrameHeadingFont">
+ Functions
+ </font> 
+ <font class="FrameItemFont">
+ <xsl:apply-templates select="javaee:function"/>
+ </font>
+ </td>
+ </tr>
+ </xsl:if>
+
+ </table>
+ <!-- <table ... -->
+ </body>
+ </html>
+ </xsl:result-document>
+ </xsl:template>
+
+ <xsl:template match="javaee:tag">
+ <br/>
+ <xsl:element name="a">
+ <xsl:attribute name="href"><xsl:value-of select="javaee:tag-name"/>.html</xsl:attribute>
+ <xsl:attribute name="target">tagFrame</xsl:attribute>
+ <xsl:value-of select="../@id"/>:<xsl:value-of select="javaee:tag-name"/>
+ </xsl:element>
+ </xsl:template>
+
+ <xsl:template match="javaee:function">
+ <br/>
+ <xsl:element name="a">
+ <xsl:attribute name="href"><xsl:value-of select="javaee:function-name"/>.fn.html</xsl:attribute>
+ <xsl:attribute name="target">tagFrame</xsl:attribute>
+ <i><xsl:value-of select="../@id"/>:<xsl:value-of select="javaee:function-name"/>()</i>
+ </xsl:element>
+ </xsl:template>
+
+</xsl:stylesheet>
Added: modules/build/resources/trunk/vdl-doc/src/main/xsl/tld-summary.html.xsl
===================================================================
--- modules/build/resources/trunk/vdl-doc/src/main/xsl/tld-summary.html.xsl (rev 0)
+++ modules/build/resources/trunk/vdl-doc/src/main/xsl/tld-summary.html.xsl 2011-03-28 15:18:43 UTC (rev 22323)
@@ -0,0 +1,458 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<!--
+ - <license>
+ - Copyright (c) 2003-2004, Sun Microsystems, Inc.
+ - All rights reserved.
+ -
+ - Redistribution and use in source and binary forms, with or without
+ - modification, are permitted provided that the following conditions are met:
+ -
+ - * Redistributions of source code must retain the above copyright
+ - notice, this list of conditions and the following disclaimer.
+ - * 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.
+ - * Neither the name of Sun Microsystems, Inc. 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 OWNER OR
+ - CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ - EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ - ROCUREMENT 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.
+ - </license>
+ -->
+
+<!--
+ Document : tld-summary.html.xsl
+ Created on : December 18, 2002, 3:46 PM
+ Author : mroth
+ Description:
+ Creates the TLD summary (right frame), listing the tags
+ and functions that are in this particular tag library and
+ their descriptions.
+-->
+
+<xsl:stylesheet version="1.0"
+ xmlns:javaee="http://java.sun.com/xml/ns/javaee"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:fo="http://www.w3.org/1999/XSL/Format">
+
+ <xsl:output method="html" indent="yes" name="html"/>
+
+ <xsl:param name="output-dir"/>
+ <xsl:variable name="window-title">
+ <xsl:value-of select="properties/window-title"/>
+ </xsl:variable>
+
+
+
+ <!-- template rule matching source root element -->
+ <xsl:template match="/">
+ <xsl:for-each select="/properties/taglibs/taglib">
+ <xsl:apply-templates select="document(path)/javaee:facelet-taglib">
+ <xsl:with-param name="display-name" select="display-name" />
+ <xsl:with-param name="description" select="description" />
+ </xsl:apply-templates>
+ </xsl:for-each>
+ </xsl:template>
+
+ <xsl:template match="javaee:facelet-taglib">
+ <xsl:param name="display-name" />
+ <xsl:param name="description" />
+ <xsl:variable name="taglibname">
+ <xsl:choose>
+ <xsl:when test="$display-name!=''">
+ <xsl:value-of select="$display-name"/>
+ </xsl:when>
+ <xsl:otherwise>
+ Unnamed TLD
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+ <xsl:variable name="taglibshortname">
+ <xsl:value-of select="@id"/>
+ </xsl:variable>
+ <xsl:variable name="title">
+ <xsl:value-of select="$taglibname"/>
+ (<xsl:value-of select="$description" />)
+ </xsl:variable>
+ <xsl:variable name="filename"
+ select="concat($output-dir,'/', @id, '/tld-summary.html')"/>
+ <xsl:value-of select="$filename"/>
+ <xsl:result-document href="{$filename}" format="html">
+ <html>
+ <head>
+ <title>
+ <xsl:value-of select="$title"/>
+ </title>
+ <link rel="stylesheet" type="text/css" href="../stylesheet.css"
+ title="styie"/>
+ </head>
+ <script>
+ function asd()
+ {
+ parent.document.title="<xsl:value-of select="normalize-space($title)"/>";
+ }
+ </script>
+ <body bgcolor="white" onload="asd();">
+ <!-- =========== START OF NAVBAR =========== -->
+ <a name="navbar_top"><!-- --></a>
+ <table border="0" width="100%" cellpadding="1" cellspacing="0">
+ <tr>
+ <td COLSPAN="3" BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+ <a NAME="navbar_top_firstrow"><!-- --></a>
+ <table BORDER="0" CELLPADDING="0" CELLSPACING="3">
+ <tr ALIGN="center" VALIGN="top">
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">  
+ <a href="../overview-summary.html">
+ <font CLASS="NavBarFont1">
+ <b>Overview</b>
+ </font>
+ </a>
+  
+ </td>
+ <td BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev">  <font
+ CLASS="NavBarFont1Rev"> Library </font> 
+ </td>
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+ <font CLASS="NavBarFont1"> Tag </font>
+ </td>
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">  
+ <a HREF="../help-doc.html">
+ <font CLASS="NavBarFont1">
+ <b>Help</b>
+ </font>
+ </a>
+  
+ </td>
+ </tr>
+ </table>
+ </td>
+ <td ALIGN="right" VALIGN="top" ROWSPAN="3">
+ <em>
+ </em>
+ </td>
+ </tr>
+ <tr>
+ <td BGCOLOR="white" CLASS="NavBarCell2">
+ <font SIZE="-2">
+ <!-- PREV TAGLIB -->
+ <!-- NEXT TAGLIB -->
+ </font>
+ </td>
+ <td BGCOLOR="white" CLASS="NavBarCell2">
+ <font SIZE="-2">
+  
+ <a HREF="../index.html" TARGET="_top">
+ <b>FRAMES</b>
+ </a>
+  
+  
+ <a HREF="tld-summary.html" TARGET="_top">
+ <b>NO FRAMES</b>
+ </a>
+  
+ <script>
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="alltags-noframe.html" TARGET=""><B>All Tags</B></A>');
+ }
+ //-->
+ </script>
+ <noscript>
+ <a HREF="../alltags-noframe.html" TARGET="">
+ <b>All Tags</b>
+ </a>
+ </noscript>
+ </font>
+ </td>
+ </tr>
+ </table>
+ <!-- =========== END OF NAVBAR =========== -->
+
+ <hr/>
+ <h2>
+ <xsl:value-of select="$taglibshortname"/>
+ </h2>
+ <hr/>
+ <xsl:if test="(javaee:namespace!='') and ($taglibshortname!='')">
+ <b>XML Syntax:</b>
+ <br/>
+ <code>
+     
+ <xsl:choose>
+ <xsl:when test='starts-with(javaee:uri,"/WEB-INF/tags")'>
+ <anyxmlelement xmlns:<xsl:value-of
+ select="$taglibshortname"/>="urn:jsptagdir:<xsl:value-of select="javaee:namespace"/>"
+ />
+ <br/>
+ </xsl:when>
+ <xsl:when test='starts-with(javaee:uri,"/")'>
+ <anyxmlelement xmlns:<xsl:value-of
+ select="$taglibshortname"/>="urn:jsptld:<xsl:value-of select="javaee:namespace"/>" />
+ <br/>
+ </xsl:when>
+ <xsl:otherwise>
+ <anyxmlelement xmlns:<xsl:value-of select="$taglibshortname"/>="<xsl:value-of
+ select="javaee:namespace"/>" />
+ <br/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </code>
+ <hr/>
+ </xsl:if>
+ <xsl:choose>
+ <xsl:when test="$description!=''">
+ <pre>
+ <xsl:value-of select="$description" disable-output-escaping="yes"/>
+ </pre>
+ </xsl:when>
+ <xsl:otherwise>
+ No Description
+ </xsl:otherwise>
+ </xsl:choose>
+ <p/>
+ <table border="1" cellpadding="3" cellspacing="0" width="100%">
+ <tr bgcolor="#CCCCFF" class="TableHeadingColor">
+ <td colspan="2">
+ <font size="+2">
+ <b>Tag Library Information</b>
+ </font>
+ </td>
+ </tr>
+ <tr>
+ <td>Display Name</td>
+ <xsl:choose>
+ <xsl:when test="$display-name!=''">
+ <td>
+ <xsl:value-of select="$display-name"/>
+ </td>
+ </xsl:when>
+ <xsl:otherwise>
+ <td>
+ <i>None</i>
+ </td>
+ </xsl:otherwise>
+ </xsl:choose>
+ </tr>
+
+ <tr>
+ <td>Short Name</td>
+ <xsl:choose>
+ <xsl:when test="$taglibshortname!=''">
+ <td>
+ <xsl:value-of select="$taglibshortname"/>
+ </td>
+ </xsl:when>
+ <xsl:otherwise>
+ <td>
+ <i>None</i>
+ </td>
+ </xsl:otherwise>
+ </xsl:choose>
+ </tr>
+ <tr>
+ <td>URI</td>
+ <xsl:choose>
+ <xsl:when test="javaee:namespace!=''">
+ <td>
+ <xsl:value-of select="javaee:namespace"/>
+ </td>
+ </xsl:when>
+ <xsl:otherwise>
+ <td>
+ <i>None</i>
+ </td>
+ </xsl:otherwise>
+ </xsl:choose>
+ </tr>
+ </table>
+  
+ <p/>
+ <!-- tags and tag files -->
+ <xsl:if test="(count(javaee:tag)) > 0">
+ <table border="1" cellpadding="3" cellspacing="0" width="100%">
+ <tr bgcolor="#CCCCFF" class="TableHeadingColor">
+ <td colspan="2">
+ <font size="+2">
+ <b>Tag Summary</b>
+ </font>
+ </td>
+ </tr>
+ <xsl:apply-templates select="javaee:tag"/>
+ </table>
+  
+ <p/>
+ </xsl:if>
+ <!-- functions -->
+ <xsl:if test="count(javaee:function) > 0">
+ <table border="1" cellpadding="3" cellspacing="0" width="100%">
+ <tr bgcolor="#CCCCFF" class="TableHeadingColor">
+ <td colspan="3">
+ <font size="+2">
+ <b>Function Summary</b>
+ </font>
+ </td>
+ </tr>
+ <xsl:apply-templates select="javaee:function"/>
+ </table>
+  
+ <p/>
+ </xsl:if>
+ <!-- taglib-extensions -->
+
+ <!-- =========== START OF NAVBAR =========== -->
+ <a name="navbar_bottom"><!-- --></a>
+ <table border="0" width="100%" cellpadding="1" cellspacing="0">
+ <tr>
+ <td COLSPAN="3" BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+ <a NAME="navbar_bottom_firstrow"><!-- --></a>
+ <table BORDER="0" CELLPADDING="0" CELLSPACING="3">
+ <tr ALIGN="center" VALIGN="top">
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">  
+ <a href="../overview-summary.html">
+ <font CLASS="NavBarFont1">
+ <b>Overview</b>
+ </font>
+ </a>
+  
+ </td>
+ <td BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev">  <font
+ CLASS="NavBarFont1Rev"> Library </font> 
+ </td>
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+ <font CLASS="NavBarFont1"> Tag </font>
+ </td>
+ <td BGCOLOR="#EEEEFF" CLASS="NavBarCell1">  
+ <a HREF="../help-doc.html">
+ <font CLASS="NavBarFont1">
+ <b>Help</b>
+ </font>
+ </a>
+  
+ </td>
+ </tr>
+ </table>
+ </td>
+ <td ALIGN="right" VALIGN="top" ROWSPAN="3">
+ <em>
+ </em>
+ </td>
+ </tr>
+ <tr>
+ <td BGCOLOR="white" CLASS="NavBarCell2">
+ <font SIZE="-2">
+ <!-- PREV TAGLIB -->
+ <!-- NEXT TAGLIB -->
+ </font>
+ </td>
+ <td BGCOLOR="white" CLASS="NavBarCell2">
+ <font SIZE="-2">
+  
+ <a HREF="../index.html" TARGET="_top">
+ <b>FRAMES</b>
+ </a>
+  
+  
+ <a HREF="tld-summary.html" TARGET="_top">
+ <b>NO FRAMES</b>
+ </a>
+  
+ <script>
+ <!--
+ if(window==top) {
+ document.writeln('<A HREF="alltags-noframe.html" TARGET=""><B>All Tags</B></A>');
+ }
+ //-->
+ </script>
+ <noscript>
+ <a HREF="../alltags-noframe.html" TARGET="">
+ <b>All Tags</b>
+ </a>
+ </noscript>
+ </font>
+ </td>
+ </tr>
+ </table>
+ <!-- =========== END OF NAVBAR =========== -->
+ <hr/>
+ <small>
+ <i>
+ Java, JSP, and JavaServer Pages are trademarks or registered
+ trademarks of Sun Microsystems, Inc. in the US and other countries.
+ Copyright 2002-3 Sun Microsystems, Inc.
+ 4150 Network Circle
+ Santa Clara, CA 95054, U.S.A.
+ All Rights Reserved.
+ </i>
+ </small>
+ </body>
+ </html>
+ </xsl:result-document>
+ </xsl:template>
+
+ <xsl:template match="javaee:tag">
+ <tr bgcolor="white" class="TableRowColor">
+ <td width="15%">
+ <b>
+ <xsl:element name="a">
+ <xsl:attribute name="href"><xsl:value-of select="javaee:tag-name"/>.html</xsl:attribute>
+ <xsl:value-of select="javaee:tag-name"/>
+ </xsl:element>
+ </b>
+ </td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="javaee:component/javaee:description!=''">
+ <xsl:value-of select="javaee:component/javaee:description" disable-output-escaping="yes"/>
+ </xsl:when>
+ <xsl:when test="javaee:behavior/javaee:description!=''">
+ <xsl:value-of select="javaee:behavior/javaee:description" disable-output-escaping="yes"/>
+ </xsl:when>
+
+ <xsl:otherwise>
+ <i>No Description</i>
+ </xsl:otherwise>
+ </xsl:choose>
+ </td>
+ </tr>
+ </xsl:template>
+
+ <xsl:template match="javaee:function">
+ <tr bgcolor="white" class="TableRowColor">
+ <td width="15%" nowrap="" align="right">
+ <code><xsl:value-of select='substring-before(normalize-space(javaee:function-signature)," ")'/></code>
+ </td>
+ <td width="15%" nowrap="">
+ <code><b>
+ <xsl:element name="a">
+ <xsl:attribute name="href"><xsl:value-of select="javaee:function-name"/>.fn.html</xsl:attribute>
+ <xsl:value-of select="javaee:function-name"/>
+ </xsl:element>
+ </b>( <xsl:value-of select='substring-after(normalize-space(javaee:function-signature),"(")'/>
+ </code>
+ </td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="javaee:description!=''">
+ <xsl:value-of select="javaee:description" disable-output-escaping="yes"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <i>No Description</i>
+ </xsl:otherwise>
+ </xsl:choose>
+ </td>
+ </tr>
+ </xsl:template>
+
+
+</xsl:stylesheet>
13 years, 9 months
JBoss Rich Faces SVN: r22322 - branches/4.0.X/examples/richfaces-showcase/src/main/webapp-gae/WEB-INF.
by richfaces-svn-commits@lists.jboss.org
Author: artdaw
Date: 2011-03-28 08:07:30 -0400 (Mon, 28 Mar 2011)
New Revision: 22322
Modified:
branches/4.0.X/examples/richfaces-showcase/src/main/webapp-gae/WEB-INF/appengine-web.xml
Log:
RF-10753: wrong application name is fixed
Modified: branches/4.0.X/examples/richfaces-showcase/src/main/webapp-gae/WEB-INF/appengine-web.xml
===================================================================
--- branches/4.0.X/examples/richfaces-showcase/src/main/webapp-gae/WEB-INF/appengine-web.xml 2011-03-28 11:54:33 UTC (rev 22321)
+++ branches/4.0.X/examples/richfaces-showcase/src/main/webapp-gae/WEB-INF/appengine-web.xml 2011-03-28 12:07:30 UTC (rev 22322)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<appengine-web-app xmlns="http://appengine.google.com/ns/1.0">
- <application>travelcurve</application>
+ <application>richfaces-showcase</application>
<version>28</version>
<sessions-enabled>true</sessions-enabled>
13 years, 9 months
JBoss Rich Faces SVN: r22321 - in branches/4.0.X/examples/richfaces-showcase/src/main: webapp/richfaces and 33 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: artdaw
Date: 2011-03-28 07:54:33 -0400 (Mon, 28 Mar 2011)
New Revision: 22321
Modified:
branches/4.0.X/examples/richfaces-showcase/src/main/java/org/richfaces/demo/components/sh/SyntaxHighlighter.java
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/accordion/samples/simple-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/ajax/selectsUpdates.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/autocomplete/samples/clientFilter-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/calendar/samples/calendar-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/calendar/samples/clientStylingDisablement-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/calendar/samples/dataModel-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/clientValidation/samples/jsfValidators-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/clientValidation/samples/jsr303-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/collapsiblePanel/samples/simple-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/commandButton/samples/commandButton-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/commandLink/samples/commandLink-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/component-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/componentControl/samples/tableFilteringAPI-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/dataGrid/samples/grid-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/dataScroller/samples/dataScrollerAPI-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/dataScroller/samples/simpleScrolling-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/dataTable/samples/dataTableEdit-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/dataTable/samples/tableSorting-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/dataTable/samples/tableStyling-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/dragDrop/samples/dragIndicator-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/dropDownMenu/samples/sideMenu-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/dropDownMenu/samples/topMenu-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/fileUpload/samples/imgUpload-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/graphValidator/samples/passwordValidation-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/jquery/samples/jquery-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/mediaOutput/samples/flashUsage-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/mediaOutput/samples/imgUsage-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/outputPanel/samples/compositemessages-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/outputPanel/samples/simple-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/panel/samples/lookCustomization-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/panel/samples/simple-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/panelMenu/samples/panelMenu-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/progressBar/samples/clientProgressBar-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/queue/samples/queue-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/repeat/samples/simpleGrid-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/standardSkinning/standardSkinning.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/status/samples/referencedusage-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/status/samples/simple-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/status/samples/viewusage-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/tabPanel/samples/simple-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/togglePanel/samples/simple-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/togglePanel/samples/wizard-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/togglePanel/samples/wizard.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/toolBar/samples/toolBar-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/toolBar/samples/toolBarIcons-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/tooltip/samples/tooltip-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/tree/samples/tree-sample.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/templates/includes/source-view.xhtml
branches/4.0.X/examples/richfaces-showcase/src/main/webapp/templates/main.xhtml
Log:
RF-10810: w3c validation errors are fixed for RichFaces Showcase
Modified: branches/4.0.X/examples/richfaces-showcase/src/main/java/org/richfaces/demo/components/sh/SyntaxHighlighter.java
===================================================================
--- branches/4.0.X/examples/richfaces-showcase/src/main/java/org/richfaces/demo/components/sh/SyntaxHighlighter.java 2011-03-27 14:42:19 UTC (rev 22320)
+++ branches/4.0.X/examples/richfaces-showcase/src/main/java/org/richfaces/demo/components/sh/SyntaxHighlighter.java 2011-03-28 11:54:33 UTC (rev 22321)
@@ -1,8 +1,6 @@
package org.richfaces.demo.components.sh;
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.InputStreamReader;
+import org.ajax4jsf.javascript.JSFunction;
import javax.faces.FacesException;
import javax.faces.application.ResourceDependencies;
@@ -12,9 +10,10 @@
import javax.faces.context.ExternalContext;
import javax.faces.context.FacesContext;
import javax.faces.context.ResponseWriter;
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.InputStreamReader;
-import org.ajax4jsf.javascript.JSFunction;
-
@FacesComponent(value = "syntaxHighlighter")
@ResourceDependencies({ @ResourceDependency(library = "js", name = "shCore.js"),
@ResourceDependency(name = "jquery.js"),
@@ -87,6 +86,7 @@
writer.endElement("pre");
JSFunction function = new JSFunction("SyntaxHighlighter.all");
writer.startElement("script", null);
+ writer.writeAttribute("type", "text/javascript", null);
writer.write("var brs = $('#" + this.getClientId(context).replaceAll(":", "\\\\\\\\:") + "').find('br');");
writer.write("brs.length && brs.replaceWith('\\n');");
writer.write(function.toScript());
Modified: branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/accordion/samples/simple-sample.xhtml
===================================================================
--- branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/accordion/samples/simple-sample.xhtml 2011-03-27 14:42:19 UTC (rev 22320)
+++ branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/accordion/samples/simple-sample.xhtml 2011-03-28 11:54:33 UTC (rev 22321)
@@ -5,19 +5,20 @@
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
- <style>
-.rf-ac{
- width: 500px;
-}
-.rf-ac-itm-c {
- height: 220px;
-}
-</style>
+ <h:outputStylesheet>
+ .rf-ac {
+ width: 500px;
+ }
+
+ .rf-ac-itm-c {
+ height: 220px;
+ }
+ </h:outputStylesheet>
<h:form>
<rich:accordion switchType="client">
<rich:accordionItem header="Overview:">
<h:graphicImage value="/images/icons/common/rf.png"
- style="float:right" />
+ style="float:right" alt="rf"/>
RichFaces is a component library for JSF and an advanced framework for
easily integrating AJAX capabilities into business applications.
<ul>
Modified: branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/ajax/selectsUpdates.xhtml
===================================================================
--- branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/ajax/selectsUpdates.xhtml 2011-03-27 14:42:19 UTC (rev 22320)
+++ branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/ajax/selectsUpdates.xhtml 2011-03-28 11:54:33 UTC (rev 22321)
@@ -6,7 +6,7 @@
xmlns:a4j="http://richfaces.org/a4j">
<ui:composition>
- <p>This is a slightly more complex use-case for <b>arj:ajax</b> involving
+ <p>This is a slightly more complex use-case for <b>a4j:ajax</b> involving
dependent select components. When you choose a value from the first select
component, the second select component is rendered with dynamic content
based on you first choice. </p>
Modified: branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/autocomplete/samples/clientFilter-sample.xhtml
===================================================================
--- branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/autocomplete/samples/clientFilter-sample.xhtml 2011-03-27 14:42:19 UTC (rev 22320)
+++ branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/autocomplete/samples/clientFilter-sample.xhtml 2011-03-28 11:54:33 UTC (rev 22321)
@@ -5,14 +5,14 @@
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
- <script>
+ <h:outputScript>
function customFilter(subString, value){
if(subString.length>=1) {
if(value.indexOf(subString)!=-1)
return true;
}else return false;
};
- </script>
+ </h:outputScript>
<h:form>
<rich:autocomplete mode="client" minChars="0" autofill="false"
clientFilterFunction="customFilter"
Modified: branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/calendar/samples/calendar-sample.xhtml
===================================================================
--- branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/calendar/samples/calendar-sample.xhtml 2011-03-27 14:42:19 UTC (rev 22320)
+++ branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/calendar/samples/calendar-sample.xhtml 2011-03-28 11:54:33 UTC (rev 22321)
@@ -5,22 +5,22 @@
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
- <style type="text/css">
-.ecol1 {
- vertical-align: top;
- padding-right: 25px
-}
+ <h:outputStylesheet>
+ .ecol1 {
+ vertical-align: top;
+ padding-right: 25px
+ }
-.ecol2 {
- vertical-align: top;
- border-left: #ACBECE 1px solid;
- padding-left: 10px
-}
+ .ecol2 {
+ vertical-align: top;
+ border-left: #ACBECE 1px solid;
+ padding-left: 10px
+ }
-.rich-calendar-tool-btn {
- font-family: Arial, Verdana;
-}
-</style>
+ .rich-calendar-tool-btn {
+ font-family: Arial, Verdana;
+ }
+ </h:outputStylesheet>
<h:form>
<h:panelGrid id="panel" columns="2" columnClasses="ecol1, ecol2">
Modified: branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/calendar/samples/clientStylingDisablement-sample.xhtml
===================================================================
--- branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/calendar/samples/clientStylingDisablement-sample.xhtml 2011-03-27 14:42:19 UTC (rev 22320)
+++ branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/calendar/samples/clientStylingDisablement-sample.xhtml 2011-03-28 11:54:33 UTC (rev 22321)
@@ -5,17 +5,17 @@
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
- <style>
-.everyThirdDay {
- background-color: gray;
-}
+ <h:outputStylesheet>
+ .everyThirdDay {
+ background-color: gray;
+ }
-.weekendBold {
- font-weight: bold;
- font-style: italic;
-}
-</style>
- <script type="text/javascript">
+ .weekendBold {
+ font-weight: bold;
+ font-style: italic;
+ }
+ </h:outputStylesheet>
+ <h:outputScript>
var curDt = new Date();
function disablementFunction(day){
if (day.isWeekend) return false;
@@ -31,7 +31,7 @@
if (day.day%3==0) res+='everyThirdDay';
return res;
}
- </script>
+ </h:outputScript>
<rich:calendar dayDisableFunction="disablementFunction"
dayClassFunction="disabledClassesProv" boundaryDatesMode="scroll" />
</ui:composition>
\ No newline at end of file
Modified: branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/calendar/samples/dataModel-sample.xhtml
===================================================================
--- branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/calendar/samples/dataModel-sample.xhtml 2011-03-27 14:42:19 UTC (rev 22320)
+++ branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/calendar/samples/dataModel-sample.xhtml 2011-03-28 11:54:33 UTC (rev 22321)
@@ -5,16 +5,16 @@
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
- <style>
-.bdc {
- background-color: gray;
-}
+ <h:outputStylesheet>
+ .bdc {
+ background-color: gray;
+ }
-.wdc {
- font-weight: bold;
- font-style: italic;
-}
-</style>
+ .wdc {
+ font-weight: bold;
+ font-style: italic;
+ }
+ </h:outputStylesheet>
<h:form>
<rich:calendar mode="ajax" boundaryDatesMode="scroll"
dataModel="#{calendarModel}" />
Modified: branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/clientValidation/samples/jsfValidators-sample.xhtml
===================================================================
--- branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/clientValidation/samples/jsfValidators-sample.xhtml 2011-03-27 14:42:19 UTC (rev 22320)
+++ branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/clientValidation/samples/jsfValidators-sample.xhtml 2011-03-28 11:54:33 UTC (rev 22321)
@@ -12,7 +12,7 @@
<h:outputText value="User information" />
<a4j:status>
<f:facet name="start">
- <h:graphicImage value="/images/ai.gif" style="height:12px;width:12px;"/>
+ <h:graphicImage value="/images/ai.gif" style="height:12px;width:12px;" alt="ai"/>
</f:facet>
</a4j:status>
</h:panelGroup>
Modified: branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/clientValidation/samples/jsr303-sample.xhtml
===================================================================
--- branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/clientValidation/samples/jsr303-sample.xhtml 2011-03-27 14:42:19 UTC (rev 22320)
+++ branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/clientValidation/samples/jsr303-sample.xhtml 2011-03-28 11:54:33 UTC (rev 22321)
@@ -12,7 +12,7 @@
<h:outputText value="User information" />
<a4j:status>
<f:facet name="start">
- <h:graphicImage value="/images/ai.gif" alt="" style="height:12px;width:12px;"/>
+ <h:graphicImage value="/images/ai.gif" alt="ai" style="height:12px;width:12px;"/>
</f:facet>
</a4j:status>
</h:panelGroup>
Modified: branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/collapsiblePanel/samples/simple-sample.xhtml
===================================================================
--- branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/collapsiblePanel/samples/simple-sample.xhtml 2011-03-27 14:42:19 UTC (rev 22320)
+++ branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/collapsiblePanel/samples/simple-sample.xhtml 2011-03-28 11:54:33 UTC (rev 22321)
@@ -10,7 +10,7 @@
<rich:collapsiblePanel header="Overview" switchType="client">
<h:graphicImage value="/images/icons/common/rf.png"
- style="float:right" />
+ style="float:right" alt="rf" />
RichFaces is a component library for JSF and an advanced framework for
easily integrating AJAX capabilities into business applications.
<ul>
Modified: branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/commandButton/samples/commandButton-sample.xhtml
===================================================================
--- branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/commandButton/samples/commandButton-sample.xhtml 2011-03-27 14:42:19 UTC (rev 22320)
+++ branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/commandButton/samples/commandButton-sample.xhtml 2011-03-28 11:54:33 UTC (rev 22321)
@@ -5,11 +5,11 @@
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
- <style>
-.outhello {
- font-weight: bold;
-}
-</style>
+ <h:outputStylesheet>
+ .outhello {
+ font-weight: bold;
+ }
+ </h:outputStylesheet>
<h:form>
<h:panelGrid columns="3">
<h:outputText value="Name:" />
Modified: branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/commandLink/samples/commandLink-sample.xhtml
===================================================================
--- branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/commandLink/samples/commandLink-sample.xhtml 2011-03-27 14:42:19 UTC (rev 22320)
+++ branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/commandLink/samples/commandLink-sample.xhtml 2011-03-28 11:54:33 UTC (rev 22321)
@@ -5,12 +5,12 @@
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
- <style>
-.outhello {
- font-weight: bold;
-}
-</style>
- <h:form>
+ <h:outputStylesheet>
+ .outhello {
+ font-weight: bold;
+ }
+ </h:outputStylesheet>
+ <h:form>
<h:panelGrid columns="3">
<h:outputText value="Name:" />
<h:inputText value="#{userBean.name}" />
Modified: branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/component-sample.xhtml
===================================================================
--- branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/component-sample.xhtml 2011-03-27 14:42:19 UTC (rev 22320)
+++ branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/component-sample.xhtml 2011-03-28 11:54:33 UTC (rev 22321)
@@ -8,11 +8,11 @@
<ui:composition template="/templates/main.xhtml">
<ui:define name="body">
- <style>
+ <h:outputStylesheet>
.navigation .rf-tab-hdr-brd,.navigation .rf-tab {
display: none;
}
-</style>
+</h:outputStylesheet>
<rich:tabPanel switchType="client" styleClass="navigation"
activeItem="#{demoNavigator.currentSample.id}"
onbeforeitemchange="return false;">
Modified: branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/componentControl/samples/tableFilteringAPI-sample.xhtml
===================================================================
--- branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/componentControl/samples/tableFilteringAPI-sample.xhtml 2011-03-27 14:42:19 UTC (rev 22320)
+++ branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/componentControl/samples/tableFilteringAPI-sample.xhtml 2011-03-28 11:54:33 UTC (rev 22321)
@@ -6,11 +6,11 @@
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich"
xmlns:fn="http://java.sun.com/jsp/jstl/functions">
- <style>
-.atop {
- vertical-align: top;
-}
-</style>
+ <h:outputStylesheet>
+ .atop {
+ vertical-align: top;
+ }
+ </h:outputStylesheet>
<h:form id="form">
<h:panelGrid columns="2" columnClasses="atop">
<rich:panel>
Modified: branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/dataGrid/samples/grid-sample.xhtml
===================================================================
--- branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/dataGrid/samples/grid-sample.xhtml 2011-03-27 14:42:19 UTC (rev 22320)
+++ branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/dataGrid/samples/grid-sample.xhtml 2011-03-28 11:54:33 UTC (rev 22321)
@@ -5,7 +5,7 @@
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
- <style>
+ <h:outputStylesheet>
.label {
font-weight: bold;
}
@@ -15,7 +15,7 @@
.pbody {
width: 180px;
}
-</style>
+</h:outputStylesheet>
<rich:panel>
<f:facet name="header">
<h:outputText value="Car Store"></h:outputText>
Modified: branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/dataScroller/samples/dataScrollerAPI-sample.xhtml
===================================================================
--- branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/dataScroller/samples/dataScrollerAPI-sample.xhtml 2011-03-27 14:42:19 UTC (rev 22320)
+++ branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/dataScroller/samples/dataScrollerAPI-sample.xhtml 2011-03-28 11:54:33 UTC (rev 22321)
@@ -5,22 +5,22 @@
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
- <style>
+ <h:outputStylesheet>
.calign {
text-align: center;
}
-</style>
+</h:outputStylesheet>
<h:form id="form">
<h:panelGrid columns="1" rowClasses="calign">
<h:panelGrid columns="3" id="repeat">
<h:graphicImage value="/images/icons/scroller/arr_left.png"
- onclick="#{rich:component('ds')}.previous()" />
+ onclick="#{rich:component('ds')}.previous()" alt="arr_left"/>
<a4j:repeat rows="3" value="#{slidesBean.pictures}" var="pic"
id="pics">
- <h:graphicImage value="#{pic.uri}" style="" width="175"/>
+ <h:graphicImage value="#{pic.uri}" style="" width="175" alt="uri"/>
</a4j:repeat>
<h:graphicImage value="/images/icons/scroller/arr_right.png"
- onclick="#{rich:component('ds')}.next()" />
+ onclick="#{rich:component('ds')}.next()" alt="arr_right"/>
</h:panelGrid>
<rich:dataScroller for="pics" id="ds" render="repeat"
stepControls="hide" boundaryControls="hide" fastControls="hide"
Modified: branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/dataScroller/samples/simpleScrolling-sample.xhtml
===================================================================
--- branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/dataScroller/samples/simpleScrolling-sample.xhtml 2011-03-27 14:42:19 UTC (rev 22320)
+++ branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/dataScroller/samples/simpleScrolling-sample.xhtml 2011-03-28 11:54:33 UTC (rev 22321)
@@ -5,14 +5,14 @@
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
-<style>
+<h:outputStylesheet>
.rf-dt{
width:400px;
}
.acent{
text-align: center;
}
-</style>
+</h:outputStylesheet>
<h:form id="form">
<h:panelGrid columnClasses="acent">
<rich:dataScroller for="table" maxPages="5" />
Modified: branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/dataTable/samples/dataTableEdit-sample.xhtml
===================================================================
--- branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/dataTable/samples/dataTableEdit-sample.xhtml 2011-03-27 14:42:19 UTC (rev 22320)
+++ branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/dataTable/samples/dataTableEdit-sample.xhtml 2011-03-28 11:54:33 UTC (rev 22321)
@@ -6,11 +6,11 @@
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
- <style>
+ <h:outputStylesheet>
a.no-decor>img {
border: none;
}
-</style>
+</h:outputStylesheet>
<a4j:status onstart="#{rich:component('statPane')}.show()"
onstop="#{rich:component('statPane')}.hide()" />
<h:form id="form">
@@ -43,13 +43,13 @@
<rich:column>
<a4j:commandLink styleClass="no-decor" execute="@this"
render="@none" oncomplete="#{rich:component('confirmPane')}.show()">
- <h:graphicImage value="/images/icons/delete.gif" />
+ <h:graphicImage value="/images/icons/delete.gif" alt="delete" />
<a4j:param value="#{it.index}"
assignTo="#{carsBean.currentCarIndex}" />
</a4j:commandLink>
<a4j:commandLink styleClass="no-decor" render="editGrid"
execute="@this" oncomplete="#{rich:component('editPane')}.show()">
- <h:graphicImage value="/images/icons/edit.gif" />
+ <h:graphicImage value="/images/icons/edit.gif" alt="edit"/>
<a4j:param value="#{it.index}"
assignTo="#{carsBean.currentCarIndex}" />
<f:setPropertyActionListener target="#{carsBean.editedCar}"
@@ -66,7 +66,7 @@
oncomplete="#{rich:component('confirmPane')}.hide();" />
<rich:popupPanel id="statPane" autosized="true">
- <h:graphicImage value="/images/ai.gif" />
+ <h:graphicImage value="/images/ai.gif" alt="ai" />
Please wait...
</rich:popupPanel>
Modified: branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/dataTable/samples/tableSorting-sample.xhtml
===================================================================
--- branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/dataTable/samples/tableSorting-sample.xhtml 2011-03-27 14:42:19 UTC (rev 22320)
+++ branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/dataTable/samples/tableSorting-sample.xhtml 2011-03-28 11:54:33 UTC (rev 22321)
@@ -11,7 +11,7 @@
<f:facet name="header">
State Flag
</f:facet>
- <h:graphicImage value="#{cap.stateFlag}" />
+ <h:graphicImage value="#{cap.stateFlag}" alt="flag" />
</rich:column>
<rich:column sortBy="#{cap.name}" id="name"
sortOrder="#{capitalsSortingBean.capitalsOrder}">
Modified: branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/dataTable/samples/tableStyling-sample.xhtml
===================================================================
--- branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/dataTable/samples/tableStyling-sample.xhtml 2011-03-27 14:42:19 UTC (rev 22320)
+++ branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/dataTable/samples/tableStyling-sample.xhtml 2011-03-28 11:54:33 UTC (rev 22321)
@@ -5,7 +5,7 @@
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
- <style>
+ <h:outputStylesheet>
.even-row {
background-color: #FCFFFE;
}
@@ -18,7 +18,7 @@
background-color: #FFEBDA !important;
cursor: pointer;
}
-</style>
+</h:outputStylesheet>
<h:form id="form">
<rich:dataTable value="#{carsBean.allInventoryItems}" var="car"
id="table" rows="20" rowClasses="odd-row, even-row"
Modified: branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/dragDrop/samples/dragIndicator-sample.xhtml
===================================================================
--- branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/dragDrop/samples/dragIndicator-sample.xhtml 2011-03-27 14:42:19 UTC (rev 22320)
+++ branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/dragDrop/samples/dragIndicator-sample.xhtml 2011-03-28 11:54:33 UTC (rev 22321)
@@ -6,7 +6,7 @@
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
- <style>
+ <h:outputStylesheet>
.panelc { width:25%; }
.valign { vertical-align:top; }
.dropTargetPanel { width: 90%; }
@@ -40,7 +40,7 @@
background-position: 5px;
background-repeat: no-repeat;
}
- </style>
+ </h:outputStylesheet>
<rich:dragIndicator id="ind" acceptClass="accept" rejectClass="reject" draggingClass="default">
Drag the item to proper area..
</rich:dragIndicator>
Modified: branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/dropDownMenu/samples/sideMenu-sample.xhtml
===================================================================
--- branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/dropDownMenu/samples/sideMenu-sample.xhtml 2011-03-27 14:42:19 UTC (rev 22320)
+++ branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/dropDownMenu/samples/sideMenu-sample.xhtml 2011-03-28 11:54:33 UTC (rev 22321)
@@ -7,7 +7,7 @@
xmlns:rich="http://richfaces.org/rich">
<ui:composition>
- <style>
+ <h:outputStylesheet>
.optionList {
height: 22px;
}
@@ -15,7 +15,7 @@
.vertical-menu-cell {
padding: 0px 4px 0px 4px;
}
-</style>
+</h:outputStylesheet>
<h:panelGrid styleClass="vertical-menu-cell" columnClasses="optionList"
columns="1" cellspacing="0" cellpadding="0">
<rich:dropDownMenu
@@ -24,7 +24,7 @@
<rich:menuItem label="Suboption 1-1" />
<rich:menuItem label="Suboption 1-2">
<f:facet name="icon">
- <h:graphicImage value="/images/icons/print.gif" />
+ <h:graphicImage value="/images/icons/print.gif" alt="print"/>
</f:facet>
</rich:menuItem>
<rich:menuItem label="Suboption 1-3" />
Modified: branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/dropDownMenu/samples/topMenu-sample.xhtml
===================================================================
--- branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/dropDownMenu/samples/topMenu-sample.xhtml 2011-03-27 14:42:19 UTC (rev 22320)
+++ branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/dropDownMenu/samples/topMenu-sample.xhtml 2011-03-28 11:54:33 UTC (rev 22321)
@@ -8,7 +8,7 @@
<ui:composition>
- <style>
+ <h:outputStylesheet>
.pic {
margin-bottom: -4px;
margin-right: 2px;
@@ -20,14 +20,14 @@
border-color: transparent;
cursor: default;
}
-</style>
+</h:outputStylesheet>
<h:form>
<rich:toolbar height="26px">
<rich:dropDownMenu mode="ajax">
<f:facet name="label">
<h:panelGroup>
- <h:graphicImage value="/images/icons/copy.gif" styleClass="pic" />
+ <h:graphicImage value="/images/icons/copy.gif" styleClass="pic" alt="copy" />
<h:outputText value="File" />
</h:panelGroup>
</f:facet>
@@ -42,7 +42,7 @@
<rich:menuItem label="Save All"
action="#{dropDownMenuBean.doSaveAll}">
<f:facet name="icon">
- <h:graphicImage value="/images/icons/save_all.gif" />
+ <h:graphicImage value="/images/icons/save_all.gif" alt="save_all"/>
</f:facet>
</rich:menuItem>
</rich:menuGroup>
Modified: branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/fileUpload/samples/imgUpload-sample.xhtml
===================================================================
--- branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/fileUpload/samples/imgUpload-sample.xhtml 2011-03-27 14:42:19 UTC (rev 22320)
+++ branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/fileUpload/samples/imgUpload-sample.xhtml 2011-03-28 11:54:33 UTC (rev 22321)
@@ -8,7 +8,7 @@
<ui:composition>
- <style>
+ <h:outputStylesheet>
.top {
vertical-align: top;
}
@@ -17,14 +17,14 @@
height: 202px;
overflow: auto;
}
-</style>
+</h:outputStylesheet>
<h:form>
<h:panelGrid columns="2" columnClasses="top,top">
<rich:fileUpload fileUploadListener="#{fileUploadBean.listener}"
id="upload" acceptedTypes="jpg, gif, png, bmp">
<a4j:ajax event="uploadcomplete" execute="@none" render="info" />
</rich:fileUpload>
- <h:panelGroup id="info">
+ <h:panelGroup id="info" layout="block">
<rich:panel bodyClass="info">
<f:facet name="header">
<h:outputText value="Uploaded Files Info" />
Modified: branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/graphValidator/samples/passwordValidation-sample.xhtml
===================================================================
--- branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/graphValidator/samples/passwordValidation-sample.xhtml 2011-03-27 14:42:19 UTC (rev 22320)
+++ branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/graphValidator/samples/passwordValidation-sample.xhtml 2011-03-28 11:54:33 UTC (rev 22321)
@@ -6,7 +6,7 @@
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
- <style>
+ <h:outputStylesheet>
.red {
color: red;
}
@@ -14,7 +14,7 @@
.green {
color: green;
}
-</style>
+</h:outputStylesheet>
<h:form>
<rich:graphValidator value="#{passwordValidationBean}" id="gv">
<rich:panel header="Change password" style="width:500px">
Modified: branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/jquery/samples/jquery-sample.xhtml
===================================================================
--- branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/jquery/samples/jquery-sample.xhtml 2011-03-27 14:42:19 UTC (rev 22320)
+++ branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/jquery/samples/jquery-sample.xhtml 2011-03-28 11:54:33 UTC (rev 22321)
@@ -5,7 +5,7 @@
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
- <style type="text/css">
+ <h:outputStylesheet>
.pic-normal {
width: 120px;
border: 2px solid #ACBECE;
@@ -16,21 +16,21 @@
height: 130px;
float: left;
}
-</style>
+</h:outputStylesheet>
<br />
<a4j:outputPanel id="gallery">
- <h:graphicImage value="/images/nature/pic1.jpg" />
- <h:graphicImage value="/images/nature/pic2.jpg" />
- <h:graphicImage value="/images/nature/pic3.jpg" />
- <h:graphicImage value="/images/nature/pic4.jpg" />
- <h:graphicImage value="/images/nature/pic5.jpg" />
- <h:graphicImage value="/images/nature/pic6.jpg" />
- <h:graphicImage value="/images/nature/pic7.jpg" />
- <h:graphicImage value="/images/nature/pic8.jpg" />
- <h:graphicImage value="/images/nature/pic9.jpg" />
+ <h:graphicImage value="/images/nature/pic1.jpg" alt="pic" />
+ <h:graphicImage value="/images/nature/pic2.jpg" alt="pic" />
+ <h:graphicImage value="/images/nature/pic3.jpg" alt="pic" />
+ <h:graphicImage value="/images/nature/pic4.jpg" alt="pic" />
+ <h:graphicImage value="/images/nature/pic5.jpg" alt="pic" />
+ <h:graphicImage value="/images/nature/pic6.jpg" alt="pic" />
+ <h:graphicImage value="/images/nature/pic7.jpg" alt="pic" />
+ <h:graphicImage value="/images/nature/pic8.jpg" alt="pic" />
+ <h:graphicImage value="/images/nature/pic9.jpg" alt="pic" />
</a4j:outputPanel>
<br style="clear: both" />
Modified: branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/mediaOutput/samples/flashUsage-sample.xhtml
===================================================================
--- branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/mediaOutput/samples/flashUsage-sample.xhtml 2011-03-27 14:42:19 UTC (rev 22320)
+++ branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/mediaOutput/samples/flashUsage-sample.xhtml 2011-03-28 11:54:33 UTC (rev 22321)
@@ -21,12 +21,12 @@
alt="Get Adobe Flash player" /> </a>
</a4j:outputPanel>
- <script type="text/javascript">
+ <h:outputScript>
var flashvars = {};
var params = {};
var attributes = {};
swfobject.embedSWF(document.getElementById('page:swfLink').href, document.getElementById('myFlashContent'), "200", "200", "9.0.0", false, flashvars, params, attributes);
- </script>
+ </h:outputScript>
</a4j:outputPanel>
</ui:composition>
\ No newline at end of file
Modified: branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/mediaOutput/samples/imgUsage-sample.xhtml
===================================================================
--- branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/mediaOutput/samples/imgUsage-sample.xhtml 2011-03-27 14:42:19 UTC (rev 22320)
+++ branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/mediaOutput/samples/imgUsage-sample.xhtml 2011-03-28 11:54:33 UTC (rev 22321)
@@ -37,6 +37,6 @@
</h:panelGrid>
<a4j:mediaOutput element="img" cacheable="false" session="true" id="img"
createContent="#{mediaBean.process}" value="#{mediaData}"
- mimeType="image/jpeg" />
+ mimeType="image/jpeg" alt="img" />
</h:form>
</ui:composition>
\ No newline at end of file
Modified: branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/outputPanel/samples/compositemessages-sample.xhtml
===================================================================
--- branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/outputPanel/samples/compositemessages-sample.xhtml 2011-03-27 14:42:19 UTC (rev 22320)
+++ branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/outputPanel/samples/compositemessages-sample.xhtml 2011-03-28 11:54:33 UTC (rev 22321)
@@ -19,7 +19,7 @@
</h:inputText>
<h:outputText value="Address:" />
<h:inputTextarea value="#{userBean.address}" label="Address"
- required="true">
+ required="true" rows="3" cols="17">
<f:validateLength maximum="100" />
</h:inputTextarea>
</h:panelGrid>
Modified: branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/outputPanel/samples/simple-sample.xhtml
===================================================================
--- branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/outputPanel/samples/simple-sample.xhtml 2011-03-27 14:42:19 UTC (rev 22320)
+++ branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/outputPanel/samples/simple-sample.xhtml 2011-03-28 11:54:33 UTC (rev 22321)
@@ -5,14 +5,14 @@
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
- <style type="text/css">
+ <h:outputStylesheet>
.col {
width: 50%;
padding: 10px;
padding: 0px 30px 0px 0px;
vertical-align: top;
}
-</style>
+</h:outputStylesheet>
<h:panelGrid columns="2" width="100%" columnClasses="col">
<f:verbatim>
Modified: branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/panel/samples/lookCustomization-sample.xhtml
===================================================================
--- branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/panel/samples/lookCustomization-sample.xhtml 2011-03-27 14:42:19 UTC (rev 22320)
+++ branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/panel/samples/lookCustomization-sample.xhtml 2011-03-28 11:54:33 UTC (rev 22321)
@@ -5,7 +5,7 @@
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
- <style>
+ <h:outputStylesheet>
.rf-panel-header {
color: #0054BD;
}
@@ -33,7 +33,7 @@
height: 100px;
overflow: auto;
}
-</style>
+</h:outputStylesheet>
<h:panelGrid columnClasses="panel" border="0" columns="2">
<rich:panel>
<f:facet name="header">
Modified: branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/panel/samples/simple-sample.xhtml
===================================================================
--- branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/panel/samples/simple-sample.xhtml 2011-03-27 14:42:19 UTC (rev 22320)
+++ branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/panel/samples/simple-sample.xhtml 2011-03-28 11:54:33 UTC (rev 22321)
@@ -7,7 +7,7 @@
xmlns:rich="http://richfaces.org/rich">
<rich:panel header="Panel with default Look-n-feel">
<h:graphicImage value="/images/icons/common/rf.png"
- style="float:right" />
+ style="float:right" alt="rf"/>
RichFaces is a component library for JSF and an advanced framework for
easily integrating AJAX capabilities into business applications.
<ul>
Modified: branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/panelMenu/samples/panelMenu-sample.xhtml
===================================================================
--- branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/panelMenu/samples/panelMenu-sample.xhtml 2011-03-27 14:42:19 UTC (rev 22320)
+++ branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/panelMenu/samples/panelMenu-sample.xhtml 2011-03-28 11:54:33 UTC (rev 22321)
@@ -5,11 +5,11 @@
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
- <style>
+ <h:outputStylesheet>
.cols {
vertical-align: top;
}
-</style>
+</h:outputStylesheet>
<h:form id="form">
<h:panelGrid columns="2" columnClasses="cols,cols" width="400">
<rich:panelMenu style="width:200px" itemMode="ajax" groupMode="ajax"
Modified: branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/progressBar/samples/clientProgressBar-sample.xhtml
===================================================================
--- branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/progressBar/samples/clientProgressBar-sample.xhtml 2011-03-27 14:42:19 UTC (rev 22320)
+++ branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/progressBar/samples/clientProgressBar-sample.xhtml 2011-03-28 11:54:33 UTC (rev 22321)
@@ -5,34 +5,34 @@
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
- <script>
-//<![CDATA[
- var counter = 1;
- var intervalID;
- function updateProgress(i) {
- #{rich:component('progressBar')}.setValue(counter*5);
- if ((counter++)>20){
- clearInterval(intervalID);
+ <h:outputScript>
+//<![CDATA[
+ var counter = 1;
+ var intervalID;
+ function updateProgress(i) {
+ #{rich:component('progressBar')}.setValue(counter*5);
+ if ((counter++)>20){
+ clearInterval(intervalID);
#{rich:element('start')}.disabled=false;
#{rich:element('pause')}.disabled=true;
- counter=1;
- }
- }
- function startProgress(){
+ counter=1;
+ }
+ }
+ function startProgress(){
#{rich:element('start')}.disabled=true;
#{rich:element('pause')}.disabled=false;
- #{rich:component('progressBar')}.enable();
- #{rich:component('progressBar')}.setValue(counter*5);
- intervalID = setInterval(updateProgress,2000);
+ #{rich:component('progressBar')}.enable();
+ #{rich:component('progressBar')}.setValue(counter*5);
+ intervalID = setInterval(updateProgress,2000);
}
function pauseProgress(){
#{rich:element('start')}.disabled=false;
#{rich:element('pause')}.disabled=true;
#{rich:component('progressBar')}.disable();
clearInterval(intervalID);
- }
-//]]>
- </script>
+ }
+//]]>
+ </h:outputScript>
<h:form id="form2">
<rich:progressBar mode="client" id="progressBar" value="-1">
<f:facet name="initial">
Modified: branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/queue/samples/queue-sample.xhtml
===================================================================
--- branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/queue/samples/queue-sample.xhtml 2011-03-27 14:42:19 UTC (rev 22320)
+++ branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/queue/samples/queue-sample.xhtml 2011-03-28 11:54:33 UTC (rev 22321)
@@ -44,7 +44,7 @@
</h:panelGrid>
</h:form>
</rich:panel>
- <script type="text/javascript">
+ <h:outputScript>
var events = 0;
var updates = 0;
var outEvents = #{rich:element('events')};
@@ -67,5 +67,5 @@
outUpdates.innerHTML=updates;
outRequests.innerHTML=requests;
}
- </script>
+ </h:outputScript>
</ui:composition>
\ No newline at end of file
Modified: branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/repeat/samples/simpleGrid-sample.xhtml
===================================================================
--- branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/repeat/samples/simpleGrid-sample.xhtml 2011-03-27 14:42:19 UTC (rev 22320)
+++ branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/repeat/samples/simpleGrid-sample.xhtml 2011-03-28 11:54:33 UTC (rev 22321)
@@ -13,7 +13,7 @@
<rich:panel style="float:left; width:200px; padding:5px;">
<f:facet name="header">
<h:panelGroup>
- <h:graphicImage value="#{cap.stateFlag}" />
+ <h:graphicImage value="#{cap.stateFlag}" alt="flag" />
<h:outputText value="#{cap.state}" style="font-weight:bold" />
</h:panelGroup>
</f:facet>
Modified: branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/standardSkinning/standardSkinning.xhtml
===================================================================
--- branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/standardSkinning/standardSkinning.xhtml 2011-03-27 14:42:19 UTC (rev 22320)
+++ branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/standardSkinning/standardSkinning.xhtml 2011-03-28 11:54:33 UTC (rev 22321)
@@ -51,7 +51,7 @@
<h:outputText value="Enter Name:" />
<h:inputText id="input" />
<h:outputText value="Enter you interests:" />
- <h:inputTextarea />
+ <h:inputTextarea cols="17" rows="3"/>
<h:outputText value="Choose your favourite color" />
<h:selectOneMenu>
<f:selectItem itemLabel="Red" itemValue="0" />
Modified: branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/status/samples/referencedusage-sample.xhtml
===================================================================
--- branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/status/samples/referencedusage-sample.xhtml 2011-03-27 14:42:19 UTC (rev 22320)
+++ branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/status/samples/referencedusage-sample.xhtml 2011-03-28 11:54:33 UTC (rev 22321)
@@ -19,7 +19,7 @@
<a4j:status name="nameStatus">
<f:facet name="start">
<h:graphicImage value="/images/ai.gif"
- style="width:16px; height:16px;" />
+ style="width:16px; height:16px;" alt="ai" />
</f:facet>
</a4j:status>
<h:outputText value="Adress:" />
@@ -29,7 +29,7 @@
<a4j:status name="adressStatus">
<f:facet name="start">
<h:graphicImage value="/images/ai.gif"
- style="width:16px; height:16px;" />
+ style="width:16px; height:16px;" alt="ai" />
</f:facet>
</a4j:status>
</h:panelGrid>
Modified: branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/status/samples/simple-sample.xhtml
===================================================================
--- branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/status/samples/simple-sample.xhtml 2011-03-27 14:42:19 UTC (rev 22320)
+++ branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/status/samples/simple-sample.xhtml 2011-03-28 11:54:33 UTC (rev 22321)
@@ -21,7 +21,7 @@
</h:panelGrid>
<a4j:status>
<f:facet name="start">
- <h:graphicImage value="/images/ai.gif" />
+ <h:graphicImage value="/images/ai.gif" alt="ai" />
</f:facet>
</a4j:status>
</h:panelGrid>
Modified: branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/status/samples/viewusage-sample.xhtml
===================================================================
--- branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/status/samples/viewusage-sample.xhtml 2011-03-27 14:42:19 UTC (rev 22320)
+++ branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/status/samples/viewusage-sample.xhtml 2011-03-28 11:54:33 UTC (rev 22321)
@@ -37,7 +37,7 @@
</h:form>
<a4j:status>
<f:facet name="start">
- <h:graphicImage value="/images/ai.gif" />
+ <h:graphicImage value="/images/ai.gif" alt="ai"/>
</f:facet>
</a4j:status>
</h:panelGrid>
Modified: branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/tabPanel/samples/simple-sample.xhtml
===================================================================
--- branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/tabPanel/samples/simple-sample.xhtml 2011-03-27 14:42:19 UTC (rev 22320)
+++ branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/tabPanel/samples/simple-sample.xhtml 2011-03-28 11:54:33 UTC (rev 22321)
@@ -10,7 +10,7 @@
<rich:tabPanel switchType="client">
<rich:tab header="Overview">
<h:graphicImage value="/images/icons/common/rf.png"
- style="float:right" />
+ style="float:right" alt="rf" />
RichFaces is a component library for JSF and an advanced framework for
easily integrating AJAX capabilities into business applications.
<ul>
Modified: branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/togglePanel/samples/simple-sample.xhtml
===================================================================
--- branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/togglePanel/samples/simple-sample.xhtml 2011-03-27 14:42:19 UTC (rev 22320)
+++ branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/togglePanel/samples/simple-sample.xhtml 2011-03-28 11:54:33 UTC (rev 22321)
@@ -5,7 +5,7 @@
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
- <style type="text/css">
+ <h:outputStylesheet>
.rf-tgp-itm {
border: 1px solid #{richSkin.panelBorderColor};
padding: 5px;
@@ -19,7 +19,7 @@
padding-left: 5px;
float: left;
}
- </style>
+ </h:outputStylesheet>
<h:form>
<rich:togglePanel id="panel1" activeItem="item1" render="tabs" itemChangeListener="#{panelMenuBean.updateCurrent}">
<rich:togglePanelItem name="item1">
@@ -48,6 +48,5 @@
style="#{rich:findComponent('panel1').activeItem == 'item2' ? 'font-weight:bold' : 'font-weight:normal'}" />
</a4j:outputPanel>
</a4j:outputPanel>
- <br clear="both"/>
</h:form>
</ui:composition>
\ No newline at end of file
Modified: branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/togglePanel/samples/wizard-sample.xhtml
===================================================================
--- branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/togglePanel/samples/wizard-sample.xhtml 2011-03-27 14:42:19 UTC (rev 22320)
+++ branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/togglePanel/samples/wizard-sample.xhtml 2011-03-28 11:54:33 UTC (rev 22321)
@@ -5,7 +5,7 @@
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
- <style type="text/css">
+ <h:outputStylesheet>
.col1 { vertical-align:top; }
.col2 { vertical-align:top; width:450px; }
.wizard { width:400px; }
@@ -24,7 +24,7 @@
padding:2px;
}
- </style>
+ </h:outputStylesheet>
<br/>
<h:panelGrid width="100%" columns="2" columnClasses="col1,col2">
<rich:panel styleClass="wizard">
Modified: branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/togglePanel/samples/wizard.xhtml
===================================================================
--- branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/togglePanel/samples/wizard.xhtml 2011-03-27 14:42:19 UTC (rev 22320)
+++ branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/togglePanel/samples/wizard.xhtml 2011-03-28 11:54:33 UTC (rev 22321)
@@ -5,7 +5,7 @@
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
- <style type="text/css">
+ <h:outputStylesheet>
.col1 { vertical-align:top; }
.col2 { vertical-align:top; width:450px; }
.wizard { width:400px; }
@@ -24,7 +24,7 @@
padding:2px;
}
- </style>
+ </h:outputStylesheet>
<br/>
<h:panelGrid width="100%" columns="2" columnClasses="col1,col2">
<a4j:keepAlive beanName="profile" />
Modified: branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/toolBar/samples/toolBar-sample.xhtml
===================================================================
--- branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/toolBar/samples/toolBar-sample.xhtml 2011-03-27 14:42:19 UTC (rev 22320)
+++ branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/toolBar/samples/toolBar-sample.xhtml 2011-03-28 11:54:33 UTC (rev 22321)
@@ -5,7 +5,7 @@
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
- <style>
+ <h:outputStylesheet>
.pic {
margin-right: 2px;
}
@@ -21,19 +21,19 @@
}
;
}
-</style>
+</h:outputStylesheet>
<rich:toolbar height="26" itemSeparator="grid">
<rich:toolbarGroup>
- <h:graphicImage value="/images/icons/create_doc.gif" styleClass="pic" />
+ <h:graphicImage value="/images/icons/create_doc.gif" styleClass="pic" alt="create_doc" />
<h:graphicImage value="/images/icons/create_folder.gif"
- styleClass="pic" />
- <h:graphicImage value="/images/icons/copy.gif" styleClass="pic" />
+ styleClass="pic" alt="create_folder" />
+ <h:graphicImage value="/images/icons/copy.gif" styleClass="pic" alt="copy" />
</rich:toolbarGroup>
<rich:toolbarGroup>
- <h:graphicImage value="/images/icons/save.gif" styleClass="pic" />
- <h:graphicImage value="/images/icons/save_as.gif" styleClass="pic" />
- <h:graphicImage value="/images/icons/save_all.gif" styleClass="pic" />
+ <h:graphicImage value="/images/icons/save.gif" styleClass="pic" alt="save" />
+ <h:graphicImage value="/images/icons/save_as.gif" styleClass="pic" alt="save_all" />
+ <h:graphicImage value="/images/icons/save_all.gif" styleClass="pic" alt="save_all" />
</rich:toolbarGroup>
<rich:toolbarGroup location="right">
<h:inputText styleClass="barsearch" />
Modified: branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/toolBar/samples/toolBarIcons-sample.xhtml
===================================================================
--- branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/toolBar/samples/toolBarIcons-sample.xhtml 2011-03-27 14:42:19 UTC (rev 22320)
+++ branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/toolBar/samples/toolBarIcons-sample.xhtml 2011-03-28 11:54:33 UTC (rev 22321)
@@ -72,7 +72,7 @@
</rich:panel>
</h:panelGrid>
</h:form>
- <a4j:outputPanel ajaxRendered="true">
+ <a4j:outputPanel ajaxRendered="true" layout="block">
<rich:toolbar id="bar" height="30"
itemSeparator="#{toolBarBean.groupSeparator}">
<rich:toolbarGroup itemSeparator="#{toolBarBean.groupItemSeparator}">
Modified: branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/tooltip/samples/tooltip-sample.xhtml
===================================================================
--- branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/tooltip/samples/tooltip-sample.xhtml 2011-03-27 14:42:19 UTC (rev 22320)
+++ branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/tooltip/samples/tooltip-sample.xhtml 2011-03-28 11:54:33 UTC (rev 22321)
@@ -5,7 +5,7 @@
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
- <style>
+ <h:outputStylesheet>
.tooltip {
background-color: #{ richSkin.generalBackgroundColor};
border-width:3px;
@@ -27,7 +27,7 @@
.tooltipData {
font-weight: bold;
}
-</style>
+</h:outputStylesheet>
<h:panelGrid columns="2">
<rich:panel id="sample1" styleClass="tooltip-text"
Modified: branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/tree/samples/tree-sample.xhtml
===================================================================
--- branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/tree/samples/tree-sample.xhtml 2011-03-27 14:42:19 UTC (rev 22320)
+++ branches/4.0.X/examples/richfaces-showcase/src/main/webapp/richfaces/tree/samples/tree-sample.xhtml 2011-03-28 11:54:33 UTC (rev 22321)
@@ -5,7 +5,7 @@
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
- <style>
+ <h:outputStylesheet>
.top{
vertical-align: top;
width: 50%;
@@ -13,7 +13,7 @@
.bold{
font-weight: bold;
}
- </style>
+ </h:outputStylesheet>
<h:panelGrid columns="2" columnClasses="top,top" width="60%">
<h:form>
<rich:tree id="tree" nodeType="#{node.type}" var="node"
Modified: branches/4.0.X/examples/richfaces-showcase/src/main/webapp/templates/includes/source-view.xhtml
===================================================================
--- branches/4.0.X/examples/richfaces-showcase/src/main/webapp/templates/includes/source-view.xhtml 2011-03-27 14:42:19 UTC (rev 22320)
+++ branches/4.0.X/examples/richfaces-showcase/src/main/webapp/templates/includes/source-view.xhtml 2011-03-28 11:54:33 UTC (rev 22321)
@@ -9,11 +9,11 @@
<ui:composition>
<f:subview>
- <style>
+ <h:outputStylesheet>
.sourceView{
padding-top: 10px;
}
- </style>
+ </h:outputStylesheet>
<a4j:outputPanel styleClass="sourceView" layout="block">
<a4j:outputPanel layout="block" id="show">
<h:outputLink value="#"
@@ -35,7 +35,7 @@
<h:outputText value="#{empty hideLabel?'Hide Source' : hideLabel }" />
</h:outputLink>
</a4j:outputPanel>
- </a4j:outputPanel>
+ </a4j:outputPanel>
</f:subview>
</ui:composition>
</html>
\ No newline at end of file
Modified: branches/4.0.X/examples/richfaces-showcase/src/main/webapp/templates/main.xhtml
===================================================================
--- branches/4.0.X/examples/richfaces-showcase/src/main/webapp/templates/main.xhtml 2011-03-27 14:42:19 UTC (rev 22320)
+++ branches/4.0.X/examples/richfaces-showcase/src/main/webapp/templates/main.xhtml 2011-03-28 11:54:33 UTC (rev 22321)
@@ -7,7 +7,7 @@
<f:view contentType="text/html">
<h:head>
<title>RichFaces Showcase</title>
-<script type="text/javascript">
+<h:outputScript>
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-7306415-4']);
_gaq.push(['_trackPageview']);
@@ -17,7 +17,7 @@
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
-</script>
+</h:outputScript>
<h:outputStylesheet library="css" name="application.css"/>
</h:head>
<h:body>
13 years, 9 months