JBoss Rich Faces SVN: r3648 - management/design/orderingList.
by richfaces-svn-commits@lists.jboss.org
Author: smukhina
Date: 2007-10-31 12:52:29 -0400 (Wed, 31 Oct 2007)
New Revision: 3648
Modified:
management/design/orderingList/FuncSpec - orderingList.doc
Log:
http://jira.jboss.com/jira/browse/RF-1183
spec is updated, for details see revisions section
Modified: management/design/orderingList/FuncSpec - orderingList.doc
===================================================================
(Binary files differ)
17 years, 1 month
JBoss Rich Faces SVN: r3647 - trunk/framework/impl/src/main/java/org/richfaces/webapp/taglib.
by richfaces-svn-commits@lists.jboss.org
Author: maksimkaszynski
Date: 2007-10-31 12:40:00 -0400 (Wed, 31 Oct 2007)
New Revision: 3647
Added:
trunk/framework/impl/src/main/java/org/richfaces/webapp/taglib/MethodExpressionMethodBindingAdaptor.java
Log:
http://jira.jboss.com/jira/browse/RF-775
Better handling of actionSource2 in CDK
Added: trunk/framework/impl/src/main/java/org/richfaces/webapp/taglib/MethodExpressionMethodBindingAdaptor.java
===================================================================
--- trunk/framework/impl/src/main/java/org/richfaces/webapp/taglib/MethodExpressionMethodBindingAdaptor.java (rev 0)
+++ trunk/framework/impl/src/main/java/org/richfaces/webapp/taglib/MethodExpressionMethodBindingAdaptor.java 2007-10-31 16:40:00 UTC (rev 3647)
@@ -0,0 +1,189 @@
+/**
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library 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 library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+package org.richfaces.webapp.taglib;
+
+import java.io.Serializable;
+
+import javax.el.ELContext;
+import javax.el.ELException;
+import javax.el.MethodExpression;
+import javax.el.MethodInfo;
+import javax.faces.FacesException;
+import javax.faces.component.StateHolder;
+import javax.faces.context.FacesContext;
+import javax.faces.el.EvaluationException;
+import javax.faces.el.MethodBinding;
+import javax.faces.el.MethodNotFoundException;
+
+/**
+ * @author Maksim Kaszynski
+ *
+ */
+@SuppressWarnings("deprecation")
+public class MethodExpressionMethodBindingAdaptor extends MethodExpression
+ implements StateHolder, Serializable {
+
+ private static final long serialVersionUID = 1L;
+
+ private MethodBinding binding;
+
+ private boolean tranzient;
+
+ public MethodExpressionMethodBindingAdaptor() {
+ }
+
+ public MethodExpressionMethodBindingAdaptor(MethodBinding binding) {
+ this.binding = binding;
+ }
+
+
+ /* (non-Javadoc)
+ * @see javax.el.MethodExpression#getMethodInfo(javax.el.ELContext)
+ */
+ @Override
+ public MethodInfo getMethodInfo(ELContext context) {
+ FacesContext context2 = (FacesContext) context.getContext(FacesContext.class);
+ try {
+
+ return new MethodInfo(null, binding.getType(context2), null);
+
+ } catch (MethodNotFoundException e) {
+ throw new javax.el.MethodNotFoundException(e);
+ } catch(EvaluationException e) {
+ throw new ELException(e);
+ }
+ }
+
+ /* (non-Javadoc)
+ * @see javax.el.MethodExpression#invoke(javax.el.ELContext, java.lang.Object[])
+ */
+ @Override
+ public Object invoke(ELContext context, Object[] params) {
+ FacesContext context2 = (FacesContext) context.getContext(FacesContext.class);
+ try {
+ return binding.invoke(context2, params);
+ } catch (MethodNotFoundException e) {
+ throw new javax.el.MethodNotFoundException(e);
+ } catch (EvaluationException e) {
+ throw new ELException(e);
+ }
+ }
+
+
+ /* (non-Javadoc)
+ * @see javax.el.Expression#getExpressionString()
+ */
+ @Override
+ public String getExpressionString() {
+ return binding.getExpressionString();
+ }
+
+
+ @Override
+ public int hashCode() {
+ final int prime = 31;
+ int result = 1;
+ result = prime * result + ((binding == null) ? 0 : binding.hashCode());
+ return result;
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (getClass() != obj.getClass())
+ return false;
+ MethodExpressionMethodBindingAdaptor other = (MethodExpressionMethodBindingAdaptor) obj;
+ if (binding == null) {
+ if (other.binding != null)
+ return false;
+ } else if (!binding.equals(other.binding))
+ return false;
+ return true;
+ }
+
+ /* (non-Javadoc)
+ * @see javax.el.Expression#isLiteralText()
+ */
+ @Override
+ public boolean isLiteralText() {
+ String expr = binding.getExpressionString();
+ return !(expr.startsWith("#{") && expr.endsWith("}"));
+ }
+
+ /* (non-Javadoc)
+ * @see javax.faces.component.StateHolder#isTransient()
+ */
+ public boolean isTransient() {
+ return tranzient;
+ }
+
+ /* (non-Javadoc)
+ * @see javax.faces.component.StateHolder#restoreState(javax.faces.context.FacesContext, java.lang.Object)
+ */
+ public void restoreState(FacesContext context, Object state) {
+ if (state instanceof MethodBinding) {
+ binding = (MethodBinding) state;
+ } else {
+ Object [] states = (Object[]) state;
+ String className = states[0].toString();
+ ClassLoader loader = Thread.currentThread().getContextClassLoader();
+ if (loader == null) {
+ loader = this.getClass().getClassLoader();
+ }
+ try {
+ Class<?> bindingClass = Class.forName(className, true, loader);
+ binding = (MethodBinding) bindingClass.newInstance();
+ ((StateHolder) binding).restoreState(context, states[1]);
+ } catch (Exception e) {
+ throw new FacesException(e);
+ }
+
+ }
+ }
+
+ /* (non-Javadoc)
+ * @see javax.faces.component.StateHolder#saveState(javax.faces.context.FacesContext)
+ */
+ public Object saveState(FacesContext context) {
+ if (binding instanceof StateHolder) {
+ Object[] state = new Object[2];
+ state[0] = binding.getClass().getName();
+ state[1] = ((StateHolder) binding).saveState(context);
+ return state;
+ } else {
+ return binding;
+ }
+ }
+
+ /* (non-Javadoc)
+ * @see javax.faces.component.StateHolder#setTransient(boolean)
+ */
+ public void setTransient(boolean newTransientValue) {
+ tranzient = newTransientValue;
+ }
+
+ public MethodBinding getBinding() {
+ return binding;
+ }
+
+}
17 years, 1 month
JBoss Rich Faces SVN: r3646 - trunk/cdk/maven-cdk-plugin/src/main/java/org/ajax4jsf/builder/mojo.
by richfaces-svn-commits@lists.jboss.org
Author: maksimkaszynski
Date: 2007-10-31 12:39:53 -0400 (Wed, 31 Oct 2007)
New Revision: 3646
Modified:
trunk/cdk/maven-cdk-plugin/src/main/java/org/ajax4jsf/builder/mojo/GenerateMojo.java
Log:
http://jira.jboss.com/jira/browse/RF-775
Better handling of actionSource2 in CDK
Modified: trunk/cdk/maven-cdk-plugin/src/main/java/org/ajax4jsf/builder/mojo/GenerateMojo.java
===================================================================
--- trunk/cdk/maven-cdk-plugin/src/main/java/org/ajax4jsf/builder/mojo/GenerateMojo.java 2007-10-31 16:39:47 UTC (rev 3645)
+++ trunk/cdk/maven-cdk-plugin/src/main/java/org/ajax4jsf/builder/mojo/GenerateMojo.java 2007-10-31 16:39:53 UTC (rev 3646)
@@ -27,6 +27,8 @@
import org.ajax4jsf.builder.config.BuilderConfig;
import org.ajax4jsf.builder.config.ParsingException;
import org.ajax4jsf.builder.generator.ComponentGenerator;
+import org.ajax4jsf.builder.generator.ComponentGenerator2;
+import org.ajax4jsf.builder.generator.ComponentTagGenerator;
import org.ajax4jsf.builder.generator.ConverterGenerator;
import org.ajax4jsf.builder.generator.ConverterTagGenerator;
import org.ajax4jsf.builder.generator.FaceletsTaglibGenerator;
@@ -38,7 +40,6 @@
import org.ajax4jsf.builder.generator.RenderKitBean;
import org.ajax4jsf.builder.generator.RendererGenerator;
import org.ajax4jsf.builder.generator.ResourcesConfigGenerator;
-import org.ajax4jsf.builder.generator.ComponentTagGenerator;
import org.ajax4jsf.builder.generator.TagHandlerGenerator;
import org.ajax4jsf.builder.generator.TaglibGenerator;
import org.ajax4jsf.builder.generator.ValidatorGenerator;
@@ -98,7 +99,7 @@
MavenLogger mavenLogger = new MavenLogger(getLog());
// TODO - parse sources by qdox for JavaDoc comments ?
// GenerateMojo components.
- ComponentGenerator compGenerator = new ComponentGenerator(this,
+ ComponentGenerator2 compGenerator = new ComponentGenerator2(this,
mavenLogger);
compGenerator.createFiles(config);
// GenerateMojo validators
17 years, 1 month
JBoss Rich Faces SVN: r3645 - in trunk/cdk/generator/src: main/java/org/ajax4jsf/builder/config and 5 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: maksimkaszynski
Date: 2007-10-31 12:39:47 -0400 (Wed, 31 Oct 2007)
New Revision: 3645
Added:
trunk/cdk/generator/src/main/java/org/ajax4jsf/builder/component/ActionSource2PropertyProcessor.java
trunk/cdk/generator/src/main/java/org/ajax4jsf/builder/config/ClassVisitor.java
trunk/cdk/generator/src/main/java/org/ajax4jsf/builder/config/ClassWalkingLogic.java
trunk/cdk/generator/src/main/java/org/ajax4jsf/builder/model/ClassImport.java
trunk/cdk/generator/src/main/java/org/ajax4jsf/builder/model/JavaImport.java
trunk/cdk/generator/src/main/java/org/ajax4jsf/builder/model/RuntimeImport.java
trunk/cdk/generator/src/main/resources/META-INF/templates12/snippets/get-action.vm
trunk/cdk/generator/src/main/resources/META-INF/templates12/snippets/set-action.vm
trunk/cdk/generator/src/test/java/org/ajax4jsf/builder/config/
trunk/cdk/generator/src/test/java/org/ajax4jsf/builder/config/ClassWalkingLogicTest.java
Modified:
trunk/cdk/generator/src/main/java/org/ajax4jsf/builder/component/ComponentModelBuilder.java
trunk/cdk/generator/src/main/java/org/ajax4jsf/builder/component/ComponentPropertyProcessor.java
trunk/cdk/generator/src/main/java/org/ajax4jsf/builder/component/ELPropertyProcessor.java
trunk/cdk/generator/src/main/java/org/ajax4jsf/builder/component/PrimitivePropertyProcessor.java
trunk/cdk/generator/src/main/java/org/ajax4jsf/builder/component/PropertyProcessor.java
trunk/cdk/generator/src/main/java/org/ajax4jsf/builder/config/ComponentBaseBean.java
trunk/cdk/generator/src/main/java/org/ajax4jsf/builder/model/JavaAnnotation.java
trunk/cdk/generator/src/main/java/org/ajax4jsf/builder/model/JavaClass.java
trunk/cdk/generator/src/main/java/org/ajax4jsf/builder/model/JavaLanguageElement.java
trunk/cdk/generator/src/main/java/org/ajax4jsf/builder/render/JavaClassRenderer.java
trunk/cdk/generator/src/main/java/org/ajax4jsf/builder/render/JavaLanguageElementRenderer.java
Log:
http://jira.jboss.com/jira/browse/RF-775
Better handling of actionSource2 in CDK
Added: trunk/cdk/generator/src/main/java/org/ajax4jsf/builder/component/ActionSource2PropertyProcessor.java
===================================================================
--- trunk/cdk/generator/src/main/java/org/ajax4jsf/builder/component/ActionSource2PropertyProcessor.java (rev 0)
+++ trunk/cdk/generator/src/main/java/org/ajax4jsf/builder/component/ActionSource2PropertyProcessor.java 2007-10-31 16:39:47 UTC (rev 3645)
@@ -0,0 +1,111 @@
+/**
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library 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 library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+package org.ajax4jsf.builder.component;
+
+import java.util.Arrays;
+import java.util.List;
+
+import javax.faces.component.ActionSource2;
+import javax.faces.el.MethodBinding;
+
+import org.ajax4jsf.builder.component.methods.VelocityMethodBody;
+import org.ajax4jsf.builder.config.PropertyBean;
+import org.ajax4jsf.builder.generator.GeneratorException;
+import org.ajax4jsf.builder.generator.JSFGeneratorConfiguration;
+import org.ajax4jsf.builder.model.JavaClass;
+import org.ajax4jsf.builder.model.JavaField;
+import org.ajax4jsf.builder.model.JavaLanguageElement;
+import org.ajax4jsf.builder.model.JavaMethod;
+
+/**
+ * @author Maksim Kaszynski
+ *
+ */
+@SuppressWarnings("deprecation")
+public class ActionSource2PropertyProcessor extends ComponentPropertyProcessor {
+
+ private static final List<String> ACCEPTED_NAMES = Arrays.asList("action", "actionListener", "actionExpression");
+
+ @Override
+ public boolean accept(PropertyBean propertyBean, JavaClass javaClass,
+ JSFGeneratorConfiguration configuration) {
+
+ boolean result = !propertyBean.isExist();
+
+ if (result) {
+ result = ActionSource2.class.isAssignableFrom(javaClass.getSuperClass());
+ if (result) {
+ result = ACCEPTED_NAMES.contains(propertyBean.getName());
+ }
+ }
+
+ return result;
+ }
+
+ @Override
+ public void process(PropertyBean propertyBean, JavaClass javaClass,
+ JSFGeneratorConfiguration configuration) {
+
+ JavaField field = getField(propertyBean, configuration);
+ JavaMethod accessor = getAccessor(configuration, propertyBean, field);
+ JavaMethod mutator = getMutator(configuration, propertyBean, field);
+
+ if("action".equals(propertyBean.getName())) {
+
+ try {
+ accessor.setMethodBody(new VelocityMethodBody(configuration) {
+ @Override
+ public String getTemplate() {
+ return "snippets/get-action.vm";
+ }
+ });
+ mutator.setMethodBody(new VelocityMethodBody(configuration) {
+ @Override
+ public String getTemplate() {
+ return "snippets/set-action.vm";
+ }
+ });
+
+ } catch (GeneratorException e) {
+ e.printStackTrace();
+ }
+
+ } else {
+ javaClass.addField(field);
+ }
+
+ if (field.getType().getName().equals(MethodBinding.class.getName())) {
+
+ for(JavaLanguageElement el : new JavaLanguageElement[] {field, accessor, mutator}) {
+ el.addAnnotation(SuppressWarnings.class, "\"deprecation\"");
+ }
+
+ }
+
+
+ //Do not add variable
+ javaClass.addMethod(accessor);
+ javaClass.addMethod(mutator);
+
+ }
+
+}
Modified: trunk/cdk/generator/src/main/java/org/ajax4jsf/builder/component/ComponentModelBuilder.java
===================================================================
--- trunk/cdk/generator/src/main/java/org/ajax4jsf/builder/component/ComponentModelBuilder.java 2007-10-31 16:35:48 UTC (rev 3644)
+++ trunk/cdk/generator/src/main/java/org/ajax4jsf/builder/component/ComponentModelBuilder.java 2007-10-31 16:39:47 UTC (rev 3645)
@@ -50,6 +50,7 @@
public class ComponentModelBuilder {
private PropertyProcessor[] propertyProcessors = {
+ new ActionSource2PropertyProcessor(),
new PrimitivePropertyProcessor(),
new ELPropertyProcessor(),
new ComponentPropertyProcessor()};
@@ -91,7 +92,7 @@
PropertyProcessor processor =
propertyProcessors[i];
- if (processor.accept(propertyBean)) {
+ if (processor.accept(propertyBean, javaClass, configuration)) {
proc = processor;
}
}
Modified: trunk/cdk/generator/src/main/java/org/ajax4jsf/builder/component/ComponentPropertyProcessor.java
===================================================================
--- trunk/cdk/generator/src/main/java/org/ajax4jsf/builder/component/ComponentPropertyProcessor.java 2007-10-31 16:35:48 UTC (rev 3644)
+++ trunk/cdk/generator/src/main/java/org/ajax4jsf/builder/component/ComponentPropertyProcessor.java 2007-10-31 16:39:47 UTC (rev 3645)
@@ -27,6 +27,7 @@
import org.ajax4jsf.builder.model.JavaClass;
import org.ajax4jsf.builder.model.JavaComment;
import org.ajax4jsf.builder.model.JavaField;
+import org.ajax4jsf.builder.model.JavaLanguageElement;
import org.ajax4jsf.builder.model.JavaMethod;
import org.ajax4jsf.builder.model.JavaModifier;
import org.ajax4jsf.builder.model.JavaPrimitive;
@@ -39,7 +40,7 @@
*/
public class ComponentPropertyProcessor implements PropertyProcessor {
- public boolean accept(PropertyBean propertyBean) {
+ public boolean accept(PropertyBean propertyBean, JavaClass javaClass, JSFGeneratorConfiguration configuration) {
return !propertyBean.isExist();
}
@@ -47,21 +48,21 @@
* @see org.ajax4jsf.builder.render.PropertyProcessor#process(org.ajax4jsf.builder.config.PropertyBean, org.ajax4jsf.builder.model.JavaClass)
*/
public void process(PropertyBean propertyBean, JavaClass javaClass, JSFGeneratorConfiguration configuration) {
- JavaField field = getField(propertyBean, configuration.getClassLoader());
+ JavaField field = getField(propertyBean, configuration);
javaClass.addField(field);
javaClass.addMethod(getAccessor(configuration, propertyBean, field));
javaClass.addMethod(getMutator(configuration, propertyBean, field));
}
- protected JavaField getField(PropertyBean propertyBean, ClassLoader classLoader) {
+ protected JavaField getField(PropertyBean propertyBean, JSFGeneratorConfiguration configuration) {
String name = propertyBean.getName();
String defaultvalue = propertyBean.getDefaultvalue();
- Class<?> propertyClass = getType(propertyBean, classLoader);
+ Class<?> propertyClass = getType(propertyBean, configuration.getClassLoader());
JavaField field = new JavaField(propertyClass, "_" + name, defaultvalue);
field.getComments().add(new JavaComment(propertyBean.getDescription()));
field.getModifiers().add(JavaModifier.PRIVATE);
-
+ handleDeprecation(field.getType(), field);
return field;
}
@@ -97,6 +98,7 @@
});
accessor.addModifier(JavaModifier.PUBLIC);
+ handleDeprecation(field.getType(), accessor);
return accessor;
}
@@ -113,8 +115,14 @@
}
});
+ handleDeprecation(field.getType(), mutator);
mutator.addModifier(JavaModifier.PUBLIC);
-
return mutator;
}
+
+ protected void handleDeprecation(Class<?> type, JavaLanguageElement element) {
+ if (type.isAnnotationPresent(Deprecated.class)) {
+ element.addAnnotation(SuppressWarnings.class, "\"deprecation\"");
+ }
+ }
}
Modified: trunk/cdk/generator/src/main/java/org/ajax4jsf/builder/component/ELPropertyProcessor.java
===================================================================
--- trunk/cdk/generator/src/main/java/org/ajax4jsf/builder/component/ELPropertyProcessor.java 2007-10-31 16:35:48 UTC (rev 3644)
+++ trunk/cdk/generator/src/main/java/org/ajax4jsf/builder/component/ELPropertyProcessor.java 2007-10-31 16:39:47 UTC (rev 3645)
@@ -25,6 +25,7 @@
import org.ajax4jsf.builder.config.PropertyBean;
import org.ajax4jsf.builder.generator.GeneratorException;
import org.ajax4jsf.builder.generator.JSFGeneratorConfiguration;
+import org.ajax4jsf.builder.model.JavaClass;
import org.ajax4jsf.builder.model.JavaField;
import org.ajax4jsf.builder.model.JavaMethod;
import org.ajax4jsf.builder.model.MethodBody;
@@ -37,7 +38,7 @@
public class ELPropertyProcessor extends ComponentPropertyProcessor {
@Override
- public boolean accept(PropertyBean propertyBean) {
+ public boolean accept(PropertyBean propertyBean, JavaClass javaClass, JSFGeneratorConfiguration configuration) {
return !(propertyBean.isExist() || propertyBean.isSimpleType() || propertyBean.isElonly()) && propertyBean.isEl() ;
}
Modified: trunk/cdk/generator/src/main/java/org/ajax4jsf/builder/component/PrimitivePropertyProcessor.java
===================================================================
--- trunk/cdk/generator/src/main/java/org/ajax4jsf/builder/component/PrimitivePropertyProcessor.java 2007-10-31 16:35:48 UTC (rev 3644)
+++ trunk/cdk/generator/src/main/java/org/ajax4jsf/builder/component/PrimitivePropertyProcessor.java 2007-10-31 16:39:47 UTC (rev 3645)
@@ -97,13 +97,13 @@
}
@Override
- public boolean accept(PropertyBean propertyBean) {
- return propertyBean.isSimpleType() && super.accept(propertyBean);
+ public boolean accept(PropertyBean propertyBean, JavaClass javaClass, JSFGeneratorConfiguration configuration) {
+ return propertyBean.isSimpleType() && super.accept(propertyBean, javaClass, configuration);
}
@Override
public void process(PropertyBean propertyBean, JavaClass javaClass, JSFGeneratorConfiguration configuration) {
- JavaField field = getField(propertyBean, configuration.getClassLoader());
+ JavaField field = getField(propertyBean, configuration);
JavaField field2 = new JavaField(boolean.class, field.getName() + "Set", "false");
field2.addModifier(JavaModifier.PRIVATE);
Modified: trunk/cdk/generator/src/main/java/org/ajax4jsf/builder/component/PropertyProcessor.java
===================================================================
--- trunk/cdk/generator/src/main/java/org/ajax4jsf/builder/component/PropertyProcessor.java 2007-10-31 16:35:48 UTC (rev 3644)
+++ trunk/cdk/generator/src/main/java/org/ajax4jsf/builder/component/PropertyProcessor.java 2007-10-31 16:39:47 UTC (rev 3645)
@@ -31,6 +31,6 @@
*
*/
public interface PropertyProcessor {
- boolean accept(PropertyBean propertyBean);
+ boolean accept(PropertyBean propertyBean, JavaClass javaClass, JSFGeneratorConfiguration configuration);
void process(PropertyBean propertyBean, JavaClass javaClass, JSFGeneratorConfiguration configuration);
}
Added: trunk/cdk/generator/src/main/java/org/ajax4jsf/builder/config/ClassVisitor.java
===================================================================
--- trunk/cdk/generator/src/main/java/org/ajax4jsf/builder/config/ClassVisitor.java (rev 0)
+++ trunk/cdk/generator/src/main/java/org/ajax4jsf/builder/config/ClassVisitor.java 2007-10-31 16:39:47 UTC (rev 3645)
@@ -0,0 +1,30 @@
+/**
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library 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 library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+package org.ajax4jsf.builder.config;
+
+/**
+ * @author Maksim Kaszynski
+ *
+ */
+public interface ClassVisitor {
+ public void visit(Class<?> clazz);
+}
Added: trunk/cdk/generator/src/main/java/org/ajax4jsf/builder/config/ClassWalkingLogic.java
===================================================================
--- trunk/cdk/generator/src/main/java/org/ajax4jsf/builder/config/ClassWalkingLogic.java (rev 0)
+++ trunk/cdk/generator/src/main/java/org/ajax4jsf/builder/config/ClassWalkingLogic.java 2007-10-31 16:39:47 UTC (rev 3645)
@@ -0,0 +1,53 @@
+/**
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library 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 library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+package org.ajax4jsf.builder.config;
+
+/**
+ * @author Maksim Kaszynski
+ *
+ */
+public class ClassWalkingLogic {
+ private Class<?> clazz;
+
+ public ClassWalkingLogic(Class<?> clazz) {
+ super();
+ this.clazz = clazz;
+ }
+
+ public void walk(ClassVisitor visitor) {
+ walkClass(clazz, visitor);
+ }
+
+ private void walkClass(Class<?> c, ClassVisitor visitor) {
+ if (c == null || Object.class.getName().equals(c.getName())) {
+ return;
+ }
+
+ Class<?>[] interfaces = c.getInterfaces();
+ for (Class<?> class1 : interfaces) {
+ walkClass(class1, visitor);
+ }
+ walkClass(c.getSuperclass(), visitor);
+
+ visitor.visit(c);
+ }
+}
Modified: trunk/cdk/generator/src/main/java/org/ajax4jsf/builder/config/ComponentBaseBean.java
===================================================================
--- trunk/cdk/generator/src/main/java/org/ajax4jsf/builder/config/ComponentBaseBean.java 2007-10-31 16:35:48 UTC (rev 3644)
+++ trunk/cdk/generator/src/main/java/org/ajax4jsf/builder/config/ComponentBaseBean.java 2007-10-31 16:39:47 UTC (rev 3645)
@@ -7,6 +7,7 @@
import java.util.Collection;
import java.util.HashMap;
import java.util.Map;
+import java.util.TreeMap;
import javax.faces.component.StateHolder;
import javax.faces.context.FacesContext;
@@ -49,7 +50,7 @@
/**
* Descriptions of component JavaBean properties
*/
- private Map<String,PropertyBean> properties = new HashMap<String,PropertyBean>();
+ private Map<String,PropertyBean> properties = new TreeMap<String,PropertyBean>();
/**
* Flag for generate component instance class
*/
@@ -141,17 +142,12 @@
{
Class <?> superClass = getLoader().loadClass(getSuperclass());
- Class<?> superSuperClass = superClass;
-
- while (null != superSuperClass ) {
- Class<?>[] interfaces = superSuperClass.getInterfaces();
- for (int i = 0; i < interfaces.length; i++) {
- Class<?> interfaceClass = interfaces[i];
- checkPropertiesForClass(interfaceClass);
- }
- superSuperClass = superSuperClass.getSuperclass();
- }
- checkPropertiesForClass(superClass);
+ new ClassWalkingLogic(superClass)
+ .walk(new ClassVisitor() {
+ public void visit(Class<?> clazz) {
+ checkPropertiesForClass(clazz);
+ }
+ });
}
} catch (ClassNotFoundException e) {
getLog().error("superclass not found for component "+getName(), e);
Added: trunk/cdk/generator/src/main/java/org/ajax4jsf/builder/model/ClassImport.java
===================================================================
--- trunk/cdk/generator/src/main/java/org/ajax4jsf/builder/model/ClassImport.java (rev 0)
+++ trunk/cdk/generator/src/main/java/org/ajax4jsf/builder/model/ClassImport.java 2007-10-31 16:39:47 UTC (rev 3645)
@@ -0,0 +1,40 @@
+/**
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library 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 library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+package org.ajax4jsf.builder.model;
+
+/**
+ * @author Maksim Kaszynski
+ *
+ */
+public class ClassImport implements JavaImport{
+ private Class<?> clazz;
+
+ public ClassImport(Class<?> clazz) {
+ super();
+ this.clazz = clazz;
+ }
+
+ public String getName() {
+ return clazz.getName();
+ }
+
+}
Modified: trunk/cdk/generator/src/main/java/org/ajax4jsf/builder/model/JavaAnnotation.java
===================================================================
--- trunk/cdk/generator/src/main/java/org/ajax4jsf/builder/model/JavaAnnotation.java 2007-10-31 16:35:48 UTC (rev 3644)
+++ trunk/cdk/generator/src/main/java/org/ajax4jsf/builder/model/JavaAnnotation.java 2007-10-31 16:39:47 UTC (rev 3645)
@@ -21,8 +21,12 @@
package org.ajax4jsf.builder.model;
+import java.util.ArrayList;
+import java.util.Arrays;
+import java.util.List;
+
/**
* Wrapper for '@annotations
* @author Maksim Kaszynski
@@ -31,14 +35,25 @@
public class JavaAnnotation {
private Class<?> type;
-
+
+ private List <String> arguments = new ArrayList <String>();
+
public JavaAnnotation(Class<?> type) {
super();
this.type = type;
}
+
+ public JavaAnnotation(Class<?> type, String ... parameters) {
+ this(type);
+ this.arguments = Arrays.asList(parameters);
+ }
public Class<?> getType() {
return type;
}
+ public List<String> getArguments() {
+ return arguments;
+ }
+
}
Modified: trunk/cdk/generator/src/main/java/org/ajax4jsf/builder/model/JavaClass.java
===================================================================
--- trunk/cdk/generator/src/main/java/org/ajax4jsf/builder/model/JavaClass.java 2007-10-31 16:35:48 UTC (rev 3644)
+++ trunk/cdk/generator/src/main/java/org/ajax4jsf/builder/model/JavaClass.java 2007-10-31 16:39:47 UTC (rev 3645)
@@ -36,9 +36,9 @@
public class JavaClass extends JavaLanguageElement{
private List<JavaField> fields = new ArrayList<JavaField>();
private List<JavaMethod> methods = new ArrayList<JavaMethod>();
- private Set<Class<?>> imports = new TreeSet<Class<?>>(
- new Comparator<Class<?>> () {
- public int compare(Class<?> o1, Class<?> o2) {
+ private Set<JavaImport> imports = new TreeSet<JavaImport>(
+ new Comparator<JavaImport> () {
+ public int compare(JavaImport o1, JavaImport o2) {
return o1.getName().compareTo(o2.getName());
}
});
@@ -56,9 +56,13 @@
this.pakg = pakg;
}
+ public void addImport(String name) {
+ imports.add(new RuntimeImport(name));
+ }
+
public void addImport(Class<?> claz) {
if (shouldAddToImports(claz)) {
- imports.add(claz);
+ imports.add(new ClassImport(claz));
}
}
@@ -140,7 +144,7 @@
public List<JavaMethod> getMethods() {
return methods;
}
- public Set<Class<?>> getImports() {
+ public Set<JavaImport> getImports() {
return imports;
}
Added: trunk/cdk/generator/src/main/java/org/ajax4jsf/builder/model/JavaImport.java
===================================================================
--- trunk/cdk/generator/src/main/java/org/ajax4jsf/builder/model/JavaImport.java (rev 0)
+++ trunk/cdk/generator/src/main/java/org/ajax4jsf/builder/model/JavaImport.java 2007-10-31 16:39:47 UTC (rev 3645)
@@ -0,0 +1,30 @@
+/**
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library 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 library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+package org.ajax4jsf.builder.model;
+
+/**
+ * @author Maksim Kaszynski
+ *
+ */
+public interface JavaImport {
+ public String getName();
+}
Modified: trunk/cdk/generator/src/main/java/org/ajax4jsf/builder/model/JavaLanguageElement.java
===================================================================
--- trunk/cdk/generator/src/main/java/org/ajax4jsf/builder/model/JavaLanguageElement.java 2007-10-31 16:35:48 UTC (rev 3644)
+++ trunk/cdk/generator/src/main/java/org/ajax4jsf/builder/model/JavaLanguageElement.java 2007-10-31 16:39:47 UTC (rev 3645)
@@ -65,6 +65,9 @@
public void addAnnotation(JavaAnnotation annotation) {
annotations.add(annotation);
}
+ public void addAnnotation(Class<?> annotation, String ... arguments) {
+ annotations.add(new JavaAnnotation(annotation, arguments));
+ }
public void addAnnotation(Class<?> annotation) {
annotations.add(new JavaAnnotation(annotation));
}
Added: trunk/cdk/generator/src/main/java/org/ajax4jsf/builder/model/RuntimeImport.java
===================================================================
--- trunk/cdk/generator/src/main/java/org/ajax4jsf/builder/model/RuntimeImport.java (rev 0)
+++ trunk/cdk/generator/src/main/java/org/ajax4jsf/builder/model/RuntimeImport.java 2007-10-31 16:39:47 UTC (rev 3645)
@@ -0,0 +1,43 @@
+/**
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library 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 library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+package org.ajax4jsf.builder.model;
+
+/**
+ * Implementation of import taht cannot be resolved in design time
+ * @author Maksim Kaszynski
+ *
+ */
+public class RuntimeImport implements JavaImport {
+
+ private String name;
+
+ public RuntimeImport(String name) {
+ super();
+ this.name = name;
+ }
+
+
+ public String getName() {
+ return name;
+ }
+
+}
Modified: trunk/cdk/generator/src/main/java/org/ajax4jsf/builder/render/JavaClassRenderer.java
===================================================================
--- trunk/cdk/generator/src/main/java/org/ajax4jsf/builder/render/JavaClassRenderer.java 2007-10-31 16:35:48 UTC (rev 3644)
+++ trunk/cdk/generator/src/main/java/org/ajax4jsf/builder/render/JavaClassRenderer.java 2007-10-31 16:39:47 UTC (rev 3645)
@@ -30,6 +30,7 @@
import org.ajax4jsf.builder.model.Argument;
import org.ajax4jsf.builder.model.JavaClass;
import org.ajax4jsf.builder.model.JavaField;
+import org.ajax4jsf.builder.model.JavaImport;
import org.ajax4jsf.builder.model.JavaMethod;
import org.ajax4jsf.builder.model.JavaModifier;
import org.ajax4jsf.builder.model.JavaPackage;
@@ -48,9 +49,9 @@
public void render(JavaClass javaClass, PrintWriter out){
out.println("package " + javaClass.getPackage().getName() + ";");
out.println();
- Set<Class<?>> imports = javaClass.getImports();
+ Set<JavaImport> imports = javaClass.getImports();
- for (Class<?> impord : imports) {
+ for (JavaImport impord : imports) {
out.println("import " + impord.getName() + ";");
}
Modified: trunk/cdk/generator/src/main/java/org/ajax4jsf/builder/render/JavaLanguageElementRenderer.java
===================================================================
--- trunk/cdk/generator/src/main/java/org/ajax4jsf/builder/render/JavaLanguageElementRenderer.java 2007-10-31 16:35:48 UTC (rev 3644)
+++ trunk/cdk/generator/src/main/java/org/ajax4jsf/builder/render/JavaLanguageElementRenderer.java 2007-10-31 16:39:47 UTC (rev 3645)
@@ -21,6 +21,7 @@
package org.ajax4jsf.builder.render;
import java.io.PrintWriter;
+import java.util.Iterator;
import java.util.List;
import java.util.Set;
@@ -52,9 +53,24 @@
List<JavaAnnotation> annotations = element.getAnnotations();
if (annotations != null) {
for (JavaAnnotation javaAnnotation : annotations) {
- out.println("@" + javaAnnotation.getType().getSimpleName());
+ out.print("@" + javaAnnotation.getType().getSimpleName());
+ List<String> arguments = javaAnnotation.getArguments();
+ if (arguments != null && !arguments.isEmpty()) {
+ out.print("(");
+ for (Iterator<String> iterator = arguments.iterator(); iterator
+ .hasNext();) {
+ String string = iterator.next();
+ out.print(string);
+ if (iterator.hasNext()) {
+ out.print(", ");
+ }
+ }
+ out.print(")");
+ }
+ out.println();
}
}
+
}
public void renderComments(T element, PrintWriter out) {
Added: trunk/cdk/generator/src/main/resources/META-INF/templates12/snippets/get-action.vm
===================================================================
--- trunk/cdk/generator/src/main/resources/META-INF/templates12/snippets/get-action.vm (rev 0)
+++ trunk/cdk/generator/src/main/resources/META-INF/templates12/snippets/get-action.vm 2007-10-31 16:39:47 UTC (rev 3645)
@@ -0,0 +1,7 @@
+ MethodExpression expression = getActionExpression();
+ if (expression instanceof org.richfaces.webapp.taglib.MethodExpressionMethodBindingAdaptor) {
+ return ((org.richfaces.webapp.taglib.MethodExpressionMethodBindingAdaptor) expression).getBinding();
+ } else if (expression != null) {
+ return new org.richfaces.webapp.taglib.MethodBindingMethodExpressionAdaptor(expression);
+ }
+ return null;
Added: trunk/cdk/generator/src/main/resources/META-INF/templates12/snippets/set-action.vm
===================================================================
--- trunk/cdk/generator/src/main/resources/META-INF/templates12/snippets/set-action.vm (rev 0)
+++ trunk/cdk/generator/src/main/resources/META-INF/templates12/snippets/set-action.vm 2007-10-31 16:39:47 UTC (rev 3645)
@@ -0,0 +1,5 @@
+ if (_action != null) {
+ setActionExpression(new org.richfaces.webapp.taglib.MethodExpressionMethodBindingAdaptor(_action));
+ } else {
+ setActionExpression(null);
+ }
Added: trunk/cdk/generator/src/test/java/org/ajax4jsf/builder/config/ClassWalkingLogicTest.java
===================================================================
--- trunk/cdk/generator/src/test/java/org/ajax4jsf/builder/config/ClassWalkingLogicTest.java (rev 0)
+++ trunk/cdk/generator/src/test/java/org/ajax4jsf/builder/config/ClassWalkingLogicTest.java 2007-10-31 16:39:47 UTC (rev 3645)
@@ -0,0 +1,58 @@
+/**
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library 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 library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+package org.ajax4jsf.builder.config;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import javax.faces.component.ActionSource;
+import javax.faces.component.StateHolder;
+import javax.faces.component.UIComponent;
+import javax.faces.component.html.HtmlCommandButton;
+
+import junit.framework.TestCase;
+
+/**
+ * @author Maksim Kaszynski
+ *
+ */
+public class ClassWalkingLogicTest extends TestCase {
+
+ public void testWalking() {
+
+ final List<String> l = new ArrayList<String>();
+
+ new ClassWalkingLogic(HtmlCommandButton.class)
+ .walk(new ClassVisitor() {
+ public void visit(Class<?> clazz) {
+ l.add(clazz.getName());
+ //System.out.println(clazz);
+ }
+ });
+ assertFalse(l.isEmpty());
+ assertTrue(l.contains(ActionSource.class.getName()));
+ assertTrue(l.contains(StateHolder.class.getName()));
+ assertTrue(l.contains(UIComponent.class.getName()));
+ assertTrue(l.contains(HtmlCommandButton.class.getName()));
+ assertFalse(l.contains(Object.class.getName()));
+ }
+}
17 years, 1 month
JBoss Rich Faces SVN: r3644 - trunk/ui/core/src/test/java/org/ajax4jsf/renderkit/html.
by richfaces-svn-commits@lists.jboss.org
Author: maksimkaszynski
Date: 2007-10-31 12:35:48 -0400 (Wed, 31 Oct 2007)
New Revision: 3644
Modified:
trunk/ui/core/src/test/java/org/ajax4jsf/renderkit/html/AjaxIncludeRendererTest.java
Log:
fixed test
Modified: trunk/ui/core/src/test/java/org/ajax4jsf/renderkit/html/AjaxIncludeRendererTest.java
===================================================================
--- trunk/ui/core/src/test/java/org/ajax4jsf/renderkit/html/AjaxIncludeRendererTest.java 2007-10-31 16:35:27 UTC (rev 3643)
+++ trunk/ui/core/src/test/java/org/ajax4jsf/renderkit/html/AjaxIncludeRendererTest.java 2007-10-31 16:35:48 UTC (rev 3644)
@@ -51,7 +51,7 @@
include1 = (UIInclude)application.createComponent(UIInclude.COMPONENT_TYPE);
include1.setId("include1");
- include1.setLayout(UIInclude.LAYOUT_INLINE);
+ include1.setLayout(UIInclude.LAYOUT_NONE);
UIOutput output = (UIOutput) application.createComponent(UIOutput.COMPONENT_TYPE);
output.setRendered(true);
17 years, 1 month
JBoss Rich Faces SVN: r3643 - in trunk/ui/core/src/main/java/org/ajax4jsf: taglib/html/facelets and 1 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: maksimkaszynski
Date: 2007-10-31 12:35:27 -0400 (Wed, 31 Oct 2007)
New Revision: 3643
Added:
trunk/ui/core/src/main/java/org/ajax4jsf/taglib/html/facelets/package-info.java
trunk/ui/core/src/main/java/org/ajax4jsf/taglib/html/jsp/package-info.java
Removed:
trunk/ui/core/src/main/java/org/ajax4jsf/renderkit/html/facelets/
trunk/ui/core/src/main/java/org/ajax4jsf/renderkit/html/jsp/
Modified:
trunk/ui/core/src/main/java/org/ajax4jsf/renderkit/html/package-info.java
Log:
fixed packages
Modified: trunk/ui/core/src/main/java/org/ajax4jsf/renderkit/html/package-info.java
===================================================================
--- trunk/ui/core/src/main/java/org/ajax4jsf/renderkit/html/package-info.java 2007-10-31 16:24:17 UTC (rev 3642)
+++ trunk/ui/core/src/main/java/org/ajax4jsf/renderkit/html/package-info.java 2007-10-31 16:35:27 UTC (rev 3643)
@@ -1,4 +1,4 @@
/**
* Tag library contains facelets tag handlers that are useful in creating dynamic reusable components
*/
-package org.ajax4jsf.taglib.html.facelets;
+package org.ajax4jsf.renderkit.html;
Copied: trunk/ui/core/src/main/java/org/ajax4jsf/taglib/html/facelets/package-info.java (from rev 3642, trunk/ui/core/src/main/java/org/ajax4jsf/renderkit/html/facelets/package-info.java)
===================================================================
--- trunk/ui/core/src/main/java/org/ajax4jsf/taglib/html/facelets/package-info.java (rev 0)
+++ trunk/ui/core/src/main/java/org/ajax4jsf/taglib/html/facelets/package-info.java 2007-10-31 16:35:27 UTC (rev 3643)
@@ -0,0 +1,4 @@
+/**
+ * Classes defining the rendering model for HTML
+ */
+package org.ajax4jsf.taglib.html.facelets;
Copied: trunk/ui/core/src/main/java/org/ajax4jsf/taglib/html/jsp/package-info.java (from rev 3642, trunk/ui/core/src/main/java/org/ajax4jsf/renderkit/html/jsp/package-info.java)
===================================================================
--- trunk/ui/core/src/main/java/org/ajax4jsf/taglib/html/jsp/package-info.java (rev 0)
+++ trunk/ui/core/src/main/java/org/ajax4jsf/taglib/html/jsp/package-info.java 2007-10-31 16:35:27 UTC (rev 3643)
@@ -0,0 +1,4 @@
+/**
+ * Tag library contains JSP tags that are useful in creating dynamic reusable components
+ */
+package org.ajax4jsf.taglib.html.jsp;
17 years, 1 month
JBoss Rich Faces SVN: r3642 - in trunk/ui/core/src/main/java/org: ajax4jsf/component and 35 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: vkorluzhenko
Date: 2007-10-31 12:24:17 -0400 (Wed, 31 Oct 2007)
New Revision: 3642
Added:
trunk/ui/core/src/main/java/org/ajax4jsf/component/html/
trunk/ui/core/src/main/java/org/ajax4jsf/component/html/package-info.java
trunk/ui/core/src/main/java/org/ajax4jsf/component/package-info.java
trunk/ui/core/src/main/java/org/ajax4jsf/renderkit/html/facelets/
trunk/ui/core/src/main/java/org/ajax4jsf/renderkit/html/facelets/package-info.java
trunk/ui/core/src/main/java/org/ajax4jsf/renderkit/html/jsp/
trunk/ui/core/src/main/java/org/ajax4jsf/renderkit/html/jsp/package-info.java
trunk/ui/core/src/main/java/org/ajax4jsf/renderkit/html/package-info.java
trunk/ui/core/src/main/java/org/ajax4jsf/renderkit/package-info.java
trunk/ui/core/src/main/java/org/richfaces/
trunk/ui/core/src/main/java/org/richfaces/component/
trunk/ui/core/src/main/java/org/richfaces/component/events/
trunk/ui/core/src/main/java/org/richfaces/component/events/package-info.java
trunk/ui/core/src/main/java/org/richfaces/component/html/
trunk/ui/core/src/main/java/org/richfaces/component/html/package-info.java
trunk/ui/core/src/main/java/org/richfaces/component/package-info.java
trunk/ui/core/src/main/java/org/richfaces/component/state/
trunk/ui/core/src/main/java/org/richfaces/component/state/events/
trunk/ui/core/src/main/java/org/richfaces/component/state/events/package-info.java
trunk/ui/core/src/main/java/org/richfaces/component/state/package-info.java
trunk/ui/core/src/main/java/org/richfaces/component/xml/
trunk/ui/core/src/main/java/org/richfaces/component/xml/package-info.java
trunk/ui/core/src/main/java/org/richfaces/convert/
trunk/ui/core/src/main/java/org/richfaces/convert/selection/
trunk/ui/core/src/main/java/org/richfaces/convert/selection/package-info.java
trunk/ui/core/src/main/java/org/richfaces/event/
trunk/ui/core/src/main/java/org/richfaces/event/package-info.java
trunk/ui/core/src/main/java/org/richfaces/event/sort/
trunk/ui/core/src/main/java/org/richfaces/event/sort/package-info.java
trunk/ui/core/src/main/java/org/richfaces/model/
trunk/ui/core/src/main/java/org/richfaces/model/internal/
trunk/ui/core/src/main/java/org/richfaces/model/internal/package-info.java
trunk/ui/core/src/main/java/org/richfaces/model/selection/
trunk/ui/core/src/main/java/org/richfaces/model/selection/package-info.java
trunk/ui/core/src/main/java/org/richfaces/renderkit/
trunk/ui/core/src/main/java/org/richfaces/renderkit/html/
trunk/ui/core/src/main/java/org/richfaces/renderkit/html/gradientimages/
trunk/ui/core/src/main/java/org/richfaces/renderkit/html/gradientimages/package-info.java
trunk/ui/core/src/main/java/org/richfaces/renderkit/html/iconimages/
trunk/ui/core/src/main/java/org/richfaces/renderkit/html/iconimages/package-info.java
trunk/ui/core/src/main/java/org/richfaces/renderkit/html/images/
trunk/ui/core/src/main/java/org/richfaces/renderkit/html/images/background/
trunk/ui/core/src/main/java/org/richfaces/renderkit/html/images/background/package-info.java
trunk/ui/core/src/main/java/org/richfaces/renderkit/html/images/buttons/
trunk/ui/core/src/main/java/org/richfaces/renderkit/html/images/buttons/package-info.java
trunk/ui/core/src/main/java/org/richfaces/renderkit/html/images/package-info.java
trunk/ui/core/src/main/java/org/richfaces/renderkit/html/package-info.java
trunk/ui/core/src/main/java/org/richfaces/renderkit/images/
trunk/ui/core/src/main/java/org/richfaces/renderkit/images/package-info.java
trunk/ui/core/src/main/java/org/richfaces/renderkit/package-info.java
trunk/ui/core/src/main/java/org/richfaces/taglib/
trunk/ui/core/src/main/java/org/richfaces/taglib/package-info.java
trunk/ui/core/src/main/java/org/richfaces/ui/
trunk/ui/core/src/main/java/org/richfaces/ui/component/
trunk/ui/core/src/main/java/org/richfaces/ui/component/html/
trunk/ui/core/src/main/java/org/richfaces/ui/component/html/package-info.java
trunk/ui/core/src/main/java/org/richfaces/ui/component/package-info.java
trunk/ui/core/src/main/java/org/richfaces/ui/renderkit/
trunk/ui/core/src/main/java/org/richfaces/ui/renderkit/html/
trunk/ui/core/src/main/java/org/richfaces/ui/renderkit/html/package-info.java
trunk/ui/core/src/main/java/org/richfaces/ui/taglib/
trunk/ui/core/src/main/java/org/richfaces/ui/taglib/package-info.java
trunk/ui/core/src/main/java/org/richfaces/util/
trunk/ui/core/src/main/java/org/richfaces/util/package-info.java
Log:
http://jira.jboss.com/jira/browse/RF-948 - done for packages
Added: trunk/ui/core/src/main/java/org/ajax4jsf/component/html/package-info.java
===================================================================
--- trunk/ui/core/src/main/java/org/ajax4jsf/component/html/package-info.java (rev 0)
+++ trunk/ui/core/src/main/java/org/ajax4jsf/component/html/package-info.java 2007-10-31 16:24:17 UTC (rev 3642)
@@ -0,0 +1,4 @@
+/**
+ * Specialized user interface component classes for HTML
+ */
+package org.ajax4jsf.component.html;
Added: trunk/ui/core/src/main/java/org/ajax4jsf/component/package-info.java
===================================================================
--- trunk/ui/core/src/main/java/org/ajax4jsf/component/package-info.java (rev 0)
+++ trunk/ui/core/src/main/java/org/ajax4jsf/component/package-info.java 2007-10-31 16:24:17 UTC (rev 3642)
@@ -0,0 +1,4 @@
+/**
+ * Fundamental APIs for ajax core components
+ */
+package org.ajax4jsf.component;
Added: trunk/ui/core/src/main/java/org/ajax4jsf/renderkit/html/facelets/package-info.java
===================================================================
--- trunk/ui/core/src/main/java/org/ajax4jsf/renderkit/html/facelets/package-info.java (rev 0)
+++ trunk/ui/core/src/main/java/org/ajax4jsf/renderkit/html/facelets/package-info.java 2007-10-31 16:24:17 UTC (rev 3642)
@@ -0,0 +1,4 @@
+/**
+ * Classes defining the rendering model for HTML
+ */
+package org.ajax4jsf.renderkit.html;
Added: trunk/ui/core/src/main/java/org/ajax4jsf/renderkit/html/jsp/package-info.java
===================================================================
--- trunk/ui/core/src/main/java/org/ajax4jsf/renderkit/html/jsp/package-info.java (rev 0)
+++ trunk/ui/core/src/main/java/org/ajax4jsf/renderkit/html/jsp/package-info.java 2007-10-31 16:24:17 UTC (rev 3642)
@@ -0,0 +1,4 @@
+/**
+ * Tag library contains JSP tags that are useful in creating dynamic reusable components
+ */
+package org.ajax4jsf.taglib.html.jsp;
Added: trunk/ui/core/src/main/java/org/ajax4jsf/renderkit/html/package-info.java
===================================================================
--- trunk/ui/core/src/main/java/org/ajax4jsf/renderkit/html/package-info.java (rev 0)
+++ trunk/ui/core/src/main/java/org/ajax4jsf/renderkit/html/package-info.java 2007-10-31 16:24:17 UTC (rev 3642)
@@ -0,0 +1,4 @@
+/**
+ * Tag library contains facelets tag handlers that are useful in creating dynamic reusable components
+ */
+package org.ajax4jsf.taglib.html.facelets;
Added: trunk/ui/core/src/main/java/org/ajax4jsf/renderkit/package-info.java
===================================================================
--- trunk/ui/core/src/main/java/org/ajax4jsf/renderkit/package-info.java (rev 0)
+++ trunk/ui/core/src/main/java/org/ajax4jsf/renderkit/package-info.java 2007-10-31 16:24:17 UTC (rev 3642)
@@ -0,0 +1,4 @@
+/**
+ * Fundamental classes and interfaces defining the rendering model
+ */
+package org.ajax4jsf.renderkit;
Added: trunk/ui/core/src/main/java/org/richfaces/component/events/package-info.java
===================================================================
--- trunk/ui/core/src/main/java/org/richfaces/component/events/package-info.java (rev 0)
+++ trunk/ui/core/src/main/java/org/richfaces/component/events/package-info.java 2007-10-31 16:24:17 UTC (rev 3642)
@@ -0,0 +1,4 @@
+/**
+ * Fundamental APIs for component events
+ */
+package org.richfaces.component.events;
Added: trunk/ui/core/src/main/java/org/richfaces/component/html/package-info.java
===================================================================
--- trunk/ui/core/src/main/java/org/richfaces/component/html/package-info.java (rev 0)
+++ trunk/ui/core/src/main/java/org/richfaces/component/html/package-info.java 2007-10-31 16:24:17 UTC (rev 3642)
@@ -0,0 +1,4 @@
+/**
+ * Specialized user interface component classes for HTML
+ */
+package org.richfaces.component.html;
Added: trunk/ui/core/src/main/java/org/richfaces/component/package-info.java
===================================================================
--- trunk/ui/core/src/main/java/org/richfaces/component/package-info.java (rev 0)
+++ trunk/ui/core/src/main/java/org/richfaces/component/package-info.java 2007-10-31 16:24:17 UTC (rev 3642)
@@ -0,0 +1,4 @@
+/**
+ * Fundamental APIs for user interface components
+ */
+package org.richfaces.component;
Added: trunk/ui/core/src/main/java/org/richfaces/component/state/events/package-info.java
===================================================================
--- trunk/ui/core/src/main/java/org/richfaces/component/state/events/package-info.java (rev 0)
+++ trunk/ui/core/src/main/java/org/richfaces/component/state/events/package-info.java 2007-10-31 16:24:17 UTC (rev 3642)
@@ -0,0 +1,4 @@
+/**
+ * Provides classes and interfaces describing state events
+ */
+package org.richfaces.component.state.events;
Added: trunk/ui/core/src/main/java/org/richfaces/component/state/package-info.java
===================================================================
--- trunk/ui/core/src/main/java/org/richfaces/component/state/package-info.java (rev 0)
+++ trunk/ui/core/src/main/java/org/richfaces/component/state/package-info.java 2007-10-31 16:24:17 UTC (rev 3642)
@@ -0,0 +1,4 @@
+/**
+ * Provides classes and interfaces describing component states
+ */
+package org.richfaces.component.state;
Added: trunk/ui/core/src/main/java/org/richfaces/component/xml/package-info.java
===================================================================
--- trunk/ui/core/src/main/java/org/richfaces/component/xml/package-info.java (rev 0)
+++ trunk/ui/core/src/main/java/org/richfaces/component/xml/package-info.java 2007-10-31 16:24:17 UTC (rev 3642)
@@ -0,0 +1,4 @@
+/**
+ * Defines classes responsible for XML functionality
+ */
+package org.richfaces.component.xml;
Added: trunk/ui/core/src/main/java/org/richfaces/convert/selection/package-info.java
===================================================================
--- trunk/ui/core/src/main/java/org/richfaces/convert/selection/package-info.java (rev 0)
+++ trunk/ui/core/src/main/java/org/richfaces/convert/selection/package-info.java 2007-10-31 16:24:17 UTC (rev 3642)
@@ -0,0 +1,4 @@
+/**
+ * Defines classes responsible for selection functionality
+ */
+package org.richfaces.convert.selection;
Added: trunk/ui/core/src/main/java/org/richfaces/event/package-info.java
===================================================================
--- trunk/ui/core/src/main/java/org/richfaces/event/package-info.java (rev 0)
+++ trunk/ui/core/src/main/java/org/richfaces/event/package-info.java 2007-10-31 16:24:17 UTC (rev 3642)
@@ -0,0 +1,4 @@
+/**
+ * Interfaces describing events and event listeners, and concrete event implementation classes
+ */
+package org.richfaces.event;
Added: trunk/ui/core/src/main/java/org/richfaces/event/sort/package-info.java
===================================================================
--- trunk/ui/core/src/main/java/org/richfaces/event/sort/package-info.java (rev 0)
+++ trunk/ui/core/src/main/java/org/richfaces/event/sort/package-info.java 2007-10-31 16:24:17 UTC (rev 3642)
@@ -0,0 +1,4 @@
+/**
+ * Defines classes responsible for sort events
+ */
+package org.richfaces.event.sort;
Added: trunk/ui/core/src/main/java/org/richfaces/model/internal/package-info.java
===================================================================
--- trunk/ui/core/src/main/java/org/richfaces/model/internal/package-info.java (rev 0)
+++ trunk/ui/core/src/main/java/org/richfaces/model/internal/package-info.java 2007-10-31 16:24:17 UTC (rev 3642)
@@ -0,0 +1,4 @@
+/**
+ * Defines classes for component specific models
+ */
+package org.richfaces.model.internal;
Added: trunk/ui/core/src/main/java/org/richfaces/model/selection/package-info.java
===================================================================
--- trunk/ui/core/src/main/java/org/richfaces/model/selection/package-info.java (rev 0)
+++ trunk/ui/core/src/main/java/org/richfaces/model/selection/package-info.java 2007-10-31 16:24:17 UTC (rev 3642)
@@ -0,0 +1,4 @@
+/**
+ * Defines classes for selection model
+ */
+package org.richfaces.model.selection;
Added: trunk/ui/core/src/main/java/org/richfaces/renderkit/html/gradientimages/package-info.java
===================================================================
--- trunk/ui/core/src/main/java/org/richfaces/renderkit/html/gradientimages/package-info.java (rev 0)
+++ trunk/ui/core/src/main/java/org/richfaces/renderkit/html/gradientimages/package-info.java 2007-10-31 16:24:17 UTC (rev 3642)
@@ -0,0 +1,4 @@
+/**
+ * Provides classes for creating and modifying gradient images
+ */
+package org.richfaces.renderkit.html.gradientimages;
Added: trunk/ui/core/src/main/java/org/richfaces/renderkit/html/iconimages/package-info.java
===================================================================
--- trunk/ui/core/src/main/java/org/richfaces/renderkit/html/iconimages/package-info.java (rev 0)
+++ trunk/ui/core/src/main/java/org/richfaces/renderkit/html/iconimages/package-info.java 2007-10-31 16:24:17 UTC (rev 3642)
@@ -0,0 +1,4 @@
+/**
+ * Provides classes for creating and modifying icons images
+ */
+package org.richfaces.renderkit.html.iconimages;
Added: trunk/ui/core/src/main/java/org/richfaces/renderkit/html/images/background/package-info.java
===================================================================
--- trunk/ui/core/src/main/java/org/richfaces/renderkit/html/images/background/package-info.java (rev 0)
+++ trunk/ui/core/src/main/java/org/richfaces/renderkit/html/images/background/package-info.java 2007-10-31 16:24:17 UTC (rev 3642)
@@ -0,0 +1,4 @@
+/**
+ * Provides classes for creating and modifying backgrounds
+ */
+package org.richfaces.renderkit.html.images.background;
Added: trunk/ui/core/src/main/java/org/richfaces/renderkit/html/images/buttons/package-info.java
===================================================================
--- trunk/ui/core/src/main/java/org/richfaces/renderkit/html/images/buttons/package-info.java (rev 0)
+++ trunk/ui/core/src/main/java/org/richfaces/renderkit/html/images/buttons/package-info.java 2007-10-31 16:24:17 UTC (rev 3642)
@@ -0,0 +1,4 @@
+/**
+ * Provides classes for creating and modifying buttons
+ */
+package org.richfaces.renderkit.html.images.buttons;
Added: trunk/ui/core/src/main/java/org/richfaces/renderkit/html/images/package-info.java
===================================================================
--- trunk/ui/core/src/main/java/org/richfaces/renderkit/html/images/package-info.java (rev 0)
+++ trunk/ui/core/src/main/java/org/richfaces/renderkit/html/images/package-info.java 2007-10-31 16:24:17 UTC (rev 3642)
@@ -0,0 +1,4 @@
+/**
+ * Provides classes for creating and modifying images
+ */
+package org.richfaces.renderkit.html.images;
Added: trunk/ui/core/src/main/java/org/richfaces/renderkit/html/package-info.java
===================================================================
--- trunk/ui/core/src/main/java/org/richfaces/renderkit/html/package-info.java (rev 0)
+++ trunk/ui/core/src/main/java/org/richfaces/renderkit/html/package-info.java 2007-10-31 16:24:17 UTC (rev 3642)
@@ -0,0 +1,4 @@
+/**
+ * Classes defining the rendering model for HTML
+ */
+package org.richfaces.renderkit.html;
Added: trunk/ui/core/src/main/java/org/richfaces/renderkit/images/package-info.java
===================================================================
--- trunk/ui/core/src/main/java/org/richfaces/renderkit/images/package-info.java (rev 0)
+++ trunk/ui/core/src/main/java/org/richfaces/renderkit/images/package-info.java 2007-10-31 16:24:17 UTC (rev 3642)
@@ -0,0 +1,4 @@
+/**
+ * Provides base classes for creating and modifying images
+ */
+package org.richfaces.renderkit.images;
Added: trunk/ui/core/src/main/java/org/richfaces/renderkit/package-info.java
===================================================================
--- trunk/ui/core/src/main/java/org/richfaces/renderkit/package-info.java (rev 0)
+++ trunk/ui/core/src/main/java/org/richfaces/renderkit/package-info.java 2007-10-31 16:24:17 UTC (rev 3642)
@@ -0,0 +1,4 @@
+/**
+ * Fundamental classes and interfaces defining the rendering model
+ */
+package org.richfaces.renderkit;
Added: trunk/ui/core/src/main/java/org/richfaces/taglib/package-info.java
===================================================================
--- trunk/ui/core/src/main/java/org/richfaces/taglib/package-info.java (rev 0)
+++ trunk/ui/core/src/main/java/org/richfaces/taglib/package-info.java 2007-10-31 16:24:17 UTC (rev 3642)
@@ -0,0 +1,4 @@
+/**
+ * Tag library contains JSP tags that are useful in creating dynamic reusable components
+ */
+package org.richfaces.taglib;
Added: trunk/ui/core/src/main/java/org/richfaces/ui/component/html/package-info.java
===================================================================
--- trunk/ui/core/src/main/java/org/richfaces/ui/component/html/package-info.java (rev 0)
+++ trunk/ui/core/src/main/java/org/richfaces/ui/component/html/package-info.java 2007-10-31 16:24:17 UTC (rev 3642)
@@ -0,0 +1,4 @@
+/**
+ * Classes defining the rendering model for HTML
+ */
+package org.richfaces.ui.component.html;
Added: trunk/ui/core/src/main/java/org/richfaces/ui/component/package-info.java
===================================================================
--- trunk/ui/core/src/main/java/org/richfaces/ui/component/package-info.java (rev 0)
+++ trunk/ui/core/src/main/java/org/richfaces/ui/component/package-info.java 2007-10-31 16:24:17 UTC (rev 3642)
@@ -0,0 +1,4 @@
+/**
+ * Defines classes for insert component
+ */
+package org.richfaces.ui.component;
Added: trunk/ui/core/src/main/java/org/richfaces/ui/renderkit/html/package-info.java
===================================================================
--- trunk/ui/core/src/main/java/org/richfaces/ui/renderkit/html/package-info.java (rev 0)
+++ trunk/ui/core/src/main/java/org/richfaces/ui/renderkit/html/package-info.java 2007-10-31 16:24:17 UTC (rev 3642)
@@ -0,0 +1,4 @@
+/**
+ * Fundamental classes and interfaces defining the rendering model
+ */
+package org.richfaces.ui.renderkit.html;
Added: trunk/ui/core/src/main/java/org/richfaces/ui/taglib/package-info.java
===================================================================
--- trunk/ui/core/src/main/java/org/richfaces/ui/taglib/package-info.java (rev 0)
+++ trunk/ui/core/src/main/java/org/richfaces/ui/taglib/package-info.java 2007-10-31 16:24:17 UTC (rev 3642)
@@ -0,0 +1,4 @@
+/**
+ * Tag library contains JSP tags that are useful in creating dynamic reusable components
+ */
+package org.richfaces.ui.taglib;
Added: trunk/ui/core/src/main/java/org/richfaces/util/package-info.java
===================================================================
--- trunk/ui/core/src/main/java/org/richfaces/util/package-info.java (rev 0)
+++ trunk/ui/core/src/main/java/org/richfaces/util/package-info.java 2007-10-31 16:24:17 UTC (rev 3642)
@@ -0,0 +1,4 @@
+/**
+ * Defines classes for different util
+ */
+package org.richfaces.util;
17 years, 1 month
JBoss Rich Faces SVN: r3641 - in trunk/ui/calendar/src/main: templates/org/richfaces and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: akushunin
Date: 2007-10-31 12:15:30 -0400 (Wed, 31 Oct 2007)
New Revision: 3641
Modified:
trunk/ui/calendar/src/main/java/org/richfaces/renderkit/CalendarRendererBase.java
trunk/ui/calendar/src/main/templates/org/richfaces/htmlCalendar.jspx
Log:
Calendar refactoring
Modified: trunk/ui/calendar/src/main/java/org/richfaces/renderkit/CalendarRendererBase.java
===================================================================
--- trunk/ui/calendar/src/main/java/org/richfaces/renderkit/CalendarRendererBase.java 2007-10-31 16:09:13 UTC (rev 3640)
+++ trunk/ui/calendar/src/main/java/org/richfaces/renderkit/CalendarRendererBase.java 2007-10-31 16:15:30 UTC (rev 3641)
@@ -223,7 +223,10 @@
}
if(divStyle.length()!=0){
- writer.writeText("." + clientId + "DayCell{"+divStyle+"}", null);
+ writer.startElement("style", component);
+ getUtils().writeAttribute(writer, "type", "text/css");
+ writer.writeText("." + clientId.replace(':', '_') + "DayCell{"+divStyle+"}", null);
+ writer.endElement("style");
}
}
@@ -239,7 +242,7 @@
&& cellheight.intValue() > 0) {
String clientId = component.getClientId(context);
- writer.writeText(",\n dayCellClass: '" + clientId + "DayCell'", null);
+ writer.writeText(",\n dayCellClass: '" + clientId.replace(':', '_') + "DayCell'", null);
}
}
Modified: trunk/ui/calendar/src/main/templates/org/richfaces/htmlCalendar.jspx
===================================================================
--- trunk/ui/calendar/src/main/templates/org/richfaces/htmlCalendar.jspx 2007-10-31 16:09:13 UTC (rev 3640)
+++ trunk/ui/calendar/src/main/templates/org/richfaces/htmlCalendar.jspx 2007-10-31 16:15:30 UTC (rev 3641)
@@ -115,9 +115,7 @@
}
]]>
</jsp:scriptlet> </span>
- <style type="text/css">
<f:call name="dayCellClass" />
- </style>
<script type="text/javascript">
new Calendar('#{clientId}', {
17 years, 1 month
JBoss Rich Faces SVN: r3640 - in management/design/orderingList: markup and 1 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2007-10-31 12:09:13 -0400 (Wed, 31 Oct 2007)
New Revision: 3640
Added:
management/design/orderingList/markup/
management/design/orderingList/markup/ol_images/
management/design/orderingList/markup/ol_images/bottom.gif
management/design/orderingList/markup/ol_images/down.gif
management/design/orderingList/markup/ol_images/top.gif
management/design/orderingList/markup/ol_images/up.gif
management/design/orderingList/markup/ordering_list.html
Log:
orderingList markup added: http://jira.jboss.com/jira/browse/RF-1185
Added: management/design/orderingList/markup/ol_images/bottom.gif
===================================================================
(Binary files differ)
Property changes on: management/design/orderingList/markup/ol_images/bottom.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: management/design/orderingList/markup/ol_images/down.gif
===================================================================
(Binary files differ)
Property changes on: management/design/orderingList/markup/ol_images/down.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: management/design/orderingList/markup/ol_images/top.gif
===================================================================
(Binary files differ)
Property changes on: management/design/orderingList/markup/ol_images/top.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: management/design/orderingList/markup/ol_images/up.gif
===================================================================
(Binary files differ)
Property changes on: management/design/orderingList/markup/ol_images/up.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: management/design/orderingList/markup/ordering_list.html
===================================================================
--- management/design/orderingList/markup/ordering_list.html (rev 0)
+++ management/design/orderingList/markup/ordering_list.html 2007-10-31 16:09:13 UTC (rev 3640)
@@ -0,0 +1,188 @@
+
+<html>
+<head>
+<title>Ordering List</title>
+<style>
+ .ol_header{padding : 1px;}
+ .ol_headerlabel{background : #4A75B5; color : #FFFFFF; font-family : Arial; font-size :11px; font-weight : bold; padding : 3px 3px 3px 8px}
+ .ol_body{border : 1px solid #bfbfc0; background-color : #e7f2fb;}
+ .ol_list{overflow : auto; width : 200px; height : 150px; background : #FFFFFF; border : 1px solid #bfbfc0; margin : 8px}
+ .ol_button_layout{padding : 20px 8px 20px 0px; vertical-align : top}
+ .ol_button{background : #4A75B5; border : 1px solid #bfbfc0; margin-bottom : 3px; cursor : pointer; padding : 1px}
+ .ol_button_dis{background : #bfbfc0; border : 1px solid #bfbfc0; margin-bottom : 3px; padding : 1px}
+ .ol_button_press{background : #4A75B5; border : 1px solid #bfbfc0; margin-bottom : 3px; padding : 2px 0px 0px 2px}
+ #internal_tab{width : 100%}
+ #internal_tab .ol_endcol{border-right : 0px}
+ #internal_tab td{color : #000000; font-family : Arial; font-size :11px; border-bottom : 1px solid #bfbfc0;border-right : 1px solid #bfbfc0; padding : 2px}
+ #internal_tab th{background : #4A75B5; color : #FFFFFF; font-family : Arial; font-size :11px; font-weight : normal; border-bottom : 1px solid #bfbfc0;border-right : 1px solid #bfbfc0; padding : 2px}
+ #internal_tab tr.ol_select{background : #EAF0F8}
+ #internal_tab tr.ol_currant{background : #C6D6EA}
+</style>
+</head>
+
+<body style="padding : 20px">
+
+<table border="0" cellpadding="0" cellspacing="0" class="ol_body">
+ <tr>
+ <td colspan="2" class="ol_header">
+ <div class="ol_headerlabel">Ordering List</div>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <div class="ol_list">
+ <table border="0" cellpadding="0" cellspacing="0" id="internal_tab">
+ <tr>
+ <th nowrap>
+ Header 1
+ </th>
+ <th nowrap>
+ Header 2
+ </th>
+ <th nowrap>
+ Header 3
+ </th>
+ <th nowrap class="ol_endcol">
+ Header 4
+ </th>
+ </tr>
+ <tr>
+ <td nowrap>
+ Content 1
+ </td>
+ <td nowrap>
+ Content 2
+ </td>
+ <td nowrap>
+ Content 3
+ </td>
+ <td nowrap class="ol_endcol">
+ Content 4
+ </td>
+ </tr>
+ <tr>
+ <td nowrap>
+ Content 1
+ </td>
+ <td nowrap>
+ Content 2
+ </td>
+ <td nowrap>
+ Content 3
+ </td>
+ <td nowrap class="ol_endcol">
+ Content 4
+ </td>
+ </tr>
+ <tr class="ol_select">
+ <td nowrap>
+ Content 1
+ </td>
+ <td nowrap>
+ Content 2
+ </td>
+ <td nowrap>
+ Content 3
+ </td>
+ <td nowrap class="ol_endcol">
+ Content 4
+ </td>
+ </tr>
+ <tr>
+ <td nowrap>
+ Content 1
+ </td>
+ <td nowrap>
+ Content 2
+ </td>
+ <td nowrap>
+ Content 3
+ </td>
+ <td nowrap class="ol_endcol">
+ Content 4
+ </td>
+ </tr>
+ <tr class="ol_currant">
+ <td nowrap>
+ Content 1
+ </td>
+ <td nowrap>
+ Content 2
+ </td>
+ <td nowrap>
+ Content 3
+ </td>
+ <td nowrap class="ol_endcol">
+ Content 4
+ </td>
+ </tr>
+ <tr class="ol_select">
+ <td nowrap>
+ Content 1
+ </td>
+ <td nowrap>
+ Content 2
+ </td>
+ <td nowrap>
+ Content 3
+ </td>
+ <td nowrap class="ol_endcol">
+ Content 4
+ </td>
+ </tr>
+ <tr>
+ <td nowrap>
+ Content 1
+ </td>
+ <td nowrap>
+ Content 2
+ </td>
+ <td nowrap>
+ Content 3
+ </td>
+ <td nowrap class="ol_endcol">
+ Content 4
+ </td>
+ </tr>
+ <tr>
+ <td nowrap>
+ Content 1
+ </td>
+ <td nowrap>
+ Content 2
+ </td>
+ <td nowrap>
+ Content 3
+ </td>
+ <td nowrap class="ol_endcol">
+ Content 4
+ </td>
+ </tr>
+ <tr>
+ <td nowrap>
+ Content 1
+ </td>
+ <td nowrap>
+ Content 2
+ </td>
+ <td nowrap>
+ Content 3
+ </td>
+ <td nowrap class="ol_endcol">
+ Content 4
+ </td>
+ </tr>
+ </table>
+ </div>
+ </td>
+ <td class="ol_button_layout">
+ <div class="ol_button" onmousedown="this.className='ol_button_press'" onmouseup="this.className='ol_button'" onmouseout="this.className='ol_button'"><img src="ol_images/top.gif" width="15" height="15" alt="" border="0"></div>
+ <div class="ol_button" onmousedown="this.className='ol_button_press'" onmouseup="this.className='ol_button'" onmouseout="this.className='ol_button'"><img src="ol_images/up.gif" width="15" height="15" alt="" border="0"></div>
+ <div class="ol_button" onmousedown="this.className='ol_button_press'" onmouseup="this.className='ol_button'" onmouseout="this.className='ol_button'"><img src="ol_images/down.gif" width="15" height="15" alt="" border="0"></div>
+ <div class="ol_button_dis"><img src="ol_images/bottom.gif" width="15" height="15" alt="" border="0"></div>
+ </td>
+ </tr>
+</table>
+
+</body>
+</html>
17 years, 1 month
JBoss Rich Faces SVN: r3639 - management/planning.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2007-10-31 11:14:51 -0400 (Wed, 31 Oct 2007)
New Revision: 3639
Modified:
management/planning/RichFaces 3.1.3-3.2.0.mpp
Log:
Components renamed
Modified: management/planning/RichFaces 3.1.3-3.2.0.mpp
===================================================================
(Binary files differ)
17 years, 1 month