You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by bo...@apache.org on 2007/12/04 23:12:34 UTC
svn commit: r601107 [4/5] - in /myfaces/tobago/trunk:
core/src/main/java/org/apache/myfaces/tobago/
core/src/main/java/org/apache/myfaces/tobago/ajax/api/
core/src/main/java/org/apache/myfaces/tobago/application/
core/src/main/java/org/apache/myfaces/t...
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/Component.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/Component.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/Component.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/Component.java Tue Dec 4 14:12:14 2007
@@ -28,22 +28,27 @@
*/
public interface Component {
- @TagAttribute void setId(String s);
+ @TagAttribute
+ void setId(String s);
+
/**
- * Flag indicating whether or not this component should be rendered
- * (during Render Response Phase), or processed on any subsequent form submit.
- *
- * @param s
- */
+ * Flag indicating whether or not this component should be rendered
+ * (during Render Response Phase), or processed on any subsequent form submit.
+ *
+ * @param s
+ */
+
+ @TagAttribute
+ void setRendered(String s);
- @TagAttribute void setRendered(String s);
/**
- * The value binding expression linking this component to a property
- * in a backing bean
- *
- * @param binding
- * @throws JspException
- */
-
- @TagAttribute void setBinding(String binding) throws JspException;
+ * The value binding expression linking this component to a property
+ * in a backing bean
+ *
+ * @param binding
+ * @throws JspException
+ */
+
+ @TagAttribute
+ void setBinding(String binding) throws JspException;
}
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasAction.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasAction.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasAction.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasAction.java Tue Dec 4 14:12:14 2007
@@ -26,7 +26,6 @@
*/
public interface HasAction {
/**
- *
* Action to invoke when clicked.
* This must be a MethodBinding or a String representing the application action to invoke when
* this component is activated by the user.
@@ -34,7 +33,6 @@
* and returns a String (the logical outcome) which is passed to the
* NavigationHandler for this application.
* The String is directly passed to the Navigationhandler.
- *
*/
@TagAttribute
@UIComponentTagAttribute(type = "javax.faces.el.MethodBinding", expression = DynamicExpression.METHOD_BINDING)
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasActionListener.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasActionListener.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasActionListener.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasActionListener.java Tue Dec 4 14:12:14 2007
@@ -26,12 +26,10 @@
*/
public interface HasActionListener {
/**
- *
- * MethodBinding representing an action listener method that will be
+ * MethodBinding representing an action listener method that will be
* notified when this component is activated by the user.
* The expression must evaluate to a public method that takes an ActionEvent
* parameter, with a return type of void.
- *
*/
@TagAttribute
@UIComponentTagAttribute(type = "javax.faces.el.MethodBinding", expression = DynamicExpression.METHOD_BINDING)
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasBooleanValue.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasBooleanValue.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasBooleanValue.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasBooleanValue.java Tue Dec 4 14:12:14 2007
@@ -26,10 +26,9 @@
* $Id$
*/
public interface HasBooleanValue {
-
+
/**
- * The current value of this component.
- *
+ * The current value of this component.
*/
@TagAttribute
@UIComponentTagAttribute(type = "java.lang.Boolean")
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasBorder.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasBorder.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasBorder.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasBorder.java Tue Dec 4 14:12:14 2007
@@ -25,10 +25,9 @@
*/
public interface HasBorder {
/**
- *
- * Border size of this component.
- *
+ * Border size of this component.
*/
- @TagAttribute @UIComponentTagAttribute()
+ @TagAttribute
+ @UIComponentTagAttribute()
void setBorder(String border);
}
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasCellspacing.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasCellspacing.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasCellspacing.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasCellspacing.java Tue Dec 4 14:12:14 2007
@@ -25,10 +25,9 @@
*/
public interface HasCellspacing {
/**
- *
- * Spacing between component and layout cell's
- *
+ * Spacing between component and layout cell's
*/
- @TagAttribute @UIComponentTagAttribute()
+ @TagAttribute
+ @UIComponentTagAttribute()
void setCellspacing(String cellspacing);
}
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasColumnLayout.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasColumnLayout.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasColumnLayout.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasColumnLayout.java Tue Dec 4 14:12:14 2007
@@ -25,11 +25,11 @@
*/
public interface HasColumnLayout {
/**
- *
* LayoutConstraints for column layout.
* Semicolon separated list of layout tokens ('*', '<x>*', '<x>px' or '<x>%').
* Where '*' is equvalent to '1*'.
*/
- @TagAttribute @UIComponentTagAttribute(defaultValue = "1*")
+ @TagAttribute
+ @UIComponentTagAttribute(defaultValue = "1*")
void setColumns(String columns);
}
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasCommandType.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasCommandType.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasCommandType.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasCommandType.java Tue Dec 4 14:12:14 2007
@@ -25,15 +25,13 @@
*/
public interface HasCommandType {
/**
- *
* Type of command component to create. Valid values are 'navigate', 'reset',
* 'script' or 'submit'.
* If not specified, or not a valid value,
* the default value is 'submit' is used.
- *
*/
@TagAttribute
@UIComponentTagAttribute(defaultValue = "submit")
- @Deprecated
+ @Deprecated
void setType(String type);
}
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasConverter.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasConverter.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasConverter.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasConverter.java Tue Dec 4 14:12:14 2007
@@ -36,6 +36,7 @@
* The value can either be a static value (ID case only)
* or an EL expression.
*/
- @TagAttribute @UIComponentTagAttribute(expression = DynamicExpression.NONE)
+ @TagAttribute
+ @UIComponentTagAttribute(expression = DynamicExpression.NONE)
void setConverter(String converter);
}
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasDeprecatedDimension.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasDeprecatedDimension.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasDeprecatedDimension.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasDeprecatedDimension.java Tue Dec 4 14:12:14 2007
@@ -18,6 +18,6 @@
*/
@Deprecated
-public interface HasDeprecatedDimension extends HasDeprecatedWidth, HasDeprecatedHeight{
+public interface HasDeprecatedDimension extends HasDeprecatedWidth, HasDeprecatedHeight {
}
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasDeprecatedHeight.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasDeprecatedHeight.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasDeprecatedHeight.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasDeprecatedHeight.java Tue Dec 4 14:12:14 2007
@@ -26,7 +26,7 @@
@Deprecated
public interface HasDeprecatedHeight {
/**
- * The height for this component.
+ * The height for this component.
*/
@TagAttribute
@UIComponentTagAttribute()
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasDeprecatedWidth.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasDeprecatedWidth.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasDeprecatedWidth.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasDeprecatedWidth.java Tue Dec 4 14:12:14 2007
@@ -26,10 +26,10 @@
@Deprecated
public interface HasDeprecatedWidth {
/**
- * The width for this component.
+ * The width for this component.
*/
@TagAttribute
@UIComponentTagAttribute()
- @Deprecated
+ @Deprecated
void setWidth(String width);
}
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasDimension.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasDimension.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasDimension.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasDimension.java Tue Dec 4 14:12:14 2007
@@ -22,6 +22,6 @@
* User: bommel
* $Id$
*/
-public interface HasDimension extends HasWidth, HasHeight{
+public interface HasDimension extends HasWidth, HasHeight {
}
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasFor.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasFor.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasFor.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasFor.java Tue Dec 4 14:12:14 2007
@@ -25,8 +25,9 @@
*/
public interface HasFor {
/**
- * Id of the component, this is related to.
+ * Id of the component, this is related to.
*/
- @TagAttribute @UIComponentTagAttribute()
+ @TagAttribute
+ @UIComponentTagAttribute()
void setFor(String forComponent);
}
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasHeight.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasHeight.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasHeight.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasHeight.java Tue Dec 4 14:12:14 2007
@@ -25,8 +25,9 @@
*/
public interface HasHeight {
/**
- * The height for this component.
+ * The height for this component.
*/
- @TagAttribute @UIComponentTagAttribute()
+ @TagAttribute
+ @UIComponentTagAttribute()
void setHeight(String height);
}
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasId.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasId.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasId.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasId.java Tue Dec 4 14:12:14 2007
@@ -25,10 +25,11 @@
*/
public interface HasId {
/**
- * The component identifier for this component.
- * This value must be unique within the closest
- * parent component that is a naming container.
+ * The component identifier for this component.
+ * This value must be unique within the closest
+ * parent component that is a naming container.
*/
- @TagAttribute @UIComponentTagAttribute()
+ @TagAttribute
+ @UIComponentTagAttribute()
void setId(String id);
}
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasIdReference.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasIdReference.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasIdReference.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasIdReference.java Tue Dec 4 14:12:14 2007
@@ -27,10 +27,10 @@
/**
* Bean property reference to fetch the id for the treeNode's.<br />
* Example:<br />
- * a idReference="userObject.id" try's to invoke
- * <code><UITreeNode>.getUserObject().getId()</code> to fetch the id.
- *
+ * a idReference="userObject.id" try's to invoke
+ * <code><UITreeNode>.getUserObject().getId()</code> to fetch the id.
*/
- @TagAttribute @UIComponentTagAttribute()
+ @TagAttribute
+ @UIComponentTagAttribute()
void setIdReference(String id);
}
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasImage.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasImage.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasImage.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasImage.java Tue Dec 4 14:12:14 2007
@@ -25,10 +25,9 @@
*/
public interface HasImage {
/**
- *
- * Url to an image to display.
- *
+ * Url to an image to display.
*/
- @TagAttribute @UIComponentTagAttribute()
+ @TagAttribute
+ @UIComponentTagAttribute()
void setImage(String image);
}
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasLabel.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasLabel.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasLabel.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasLabel.java Tue Dec 4 14:12:14 2007
@@ -30,6 +30,7 @@
* Text value to display as label.
* If text contains an underscore the next character is used as accesskey.
*/
- @TagAttribute @UIComponentTagAttribute()
+ @TagAttribute
+ @UIComponentTagAttribute()
void setLabel(String label);
}
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasLabelWidth.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasLabelWidth.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasLabelWidth.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasLabelWidth.java Tue Dec 4 14:12:14 2007
@@ -21,17 +21,15 @@
import org.apache.myfaces.tobago.apt.annotation.UIComponentTagAttribute;
/*
- * Created by IntelliJ IDEA.
- * User: bommel
* Date: Jan 15, 2007
* Time: 4:49:14 PM
*/
public interface HasLabelWidth {
- /**
- * The width for the label component. Default: 'fixed'.
- * This value is used in the gridLayouts columns attribute.
- * See gridLayout tag for valid values.
- */
+ /**
+ * The width for the label component. Default: 'fixed'.
+ * This value is used in the gridLayouts columns attribute.
+ * See gridLayout tag for valid values.
+ */
@TagAttribute
@UIComponentTagAttribute()
void setLabelWidth(String width);
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasLabelWithAccessKey.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasLabelWithAccessKey.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasLabelWithAccessKey.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasLabelWithAccessKey.java Tue Dec 4 14:12:14 2007
@@ -30,19 +30,23 @@
* Deprecated! Use 'label' instead.
* Text value to display as label.
* If text contains an underscore the next character overwrites 'accesskey'.
+ *
* @deprecated
*/
- @TagAttribute @UIComponentTagAttribute()
+ @TagAttribute
+ @UIComponentTagAttribute()
@Deprecated
void setLabelWithAccessKey(String key);
/**
* Deprecated! Has not longer any function.
+ *
* @deprecated
*/
// @TagAttribute @UIComponentTagAttribute(type = String.class)
- @TagAttribute @UIComponentTagAttribute(type = { "java.lang.String", "java.lang.Character" })
+ @TagAttribute
+ @UIComponentTagAttribute(type = {"java.lang.String", "java.lang.Character"})
@Deprecated
void setAccessKey(String key);
}
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasLink.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasLink.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasLink.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasLink.java Tue Dec 4 14:12:14 2007
@@ -21,17 +21,17 @@
import org.apache.myfaces.tobago.apt.annotation.UIComponentTagAttribute;
/*
- * Created by IntelliJ IDEA.
- * User: bommel
* Date: 19.04.2006
* Time: 11:41:03
*/
public interface HasLink {
/**
* Link to an arbitrary URL
+ *
* @param link
*/
- @TagAttribute @UIComponentTagAttribute()
+ @TagAttribute
+ @UIComponentTagAttribute()
void setLink(String link);
}
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasMargin.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasMargin.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasMargin.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasMargin.java Tue Dec 4 14:12:14 2007
@@ -25,10 +25,9 @@
*/
public interface HasMargin {
/**
- *
* Margin between container component and layouted children.
- *
*/
- @TagAttribute @UIComponentTagAttribute()
+ @TagAttribute
+ @UIComponentTagAttribute()
void setMargin(String margin);
}
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasMargins.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasMargins.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasMargins.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasMargins.java Tue Dec 4 14:12:14 2007
@@ -25,31 +25,30 @@
*/
public interface HasMargins {
/**
- *
* Top margin between container component and layouted children.
- *
*/
- @TagAttribute @UIComponentTagAttribute()
+ @TagAttribute
+ @UIComponentTagAttribute()
void setMarginTop(String margin);
+
/**
- *
* Right margin between container component and layouted children.
- *
*/
- @TagAttribute @UIComponentTagAttribute()
+ @TagAttribute
+ @UIComponentTagAttribute()
void setMarginRight(String margin);
+
/**
- *
* Bottom margin between container component and layouted children.
- *
*/
- @TagAttribute @UIComponentTagAttribute()
+ @TagAttribute
+ @UIComponentTagAttribute()
void setMarginBottom(String margin);
+
/**
- *
- * Left margin between container component and layouted children.
- *
+ * Left margin between container component and layouted children.
*/
- @TagAttribute @UIComponentTagAttribute()
+ @TagAttribute
+ @UIComponentTagAttribute()
void setMarginLeft(String margin);
}
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasNameReference.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasNameReference.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasNameReference.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasNameReference.java Tue Dec 4 14:12:14 2007
@@ -27,10 +27,10 @@
/**
* Bean property reference to fetch the label for the treeNode's.<br />
* Example:<br />
- * a idReference="userObject.name" try's to invoke
- * <code><UITreeNode>.getUserObject().getName()</code> to fetch the label.
- *
+ * a idReference="userObject.name" try's to invoke
+ * <code><UITreeNode>.getUserObject().getName()</code> to fetch the label.
*/
- @TagAttribute @UIComponentTagAttribute()
+ @TagAttribute
+ @UIComponentTagAttribute()
void setNameReference(String name);
}
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasOnclick.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasOnclick.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasOnclick.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasOnclick.java Tue Dec 4 14:12:14 2007
@@ -21,17 +21,17 @@
import org.apache.myfaces.tobago.apt.annotation.UIComponentTagAttribute;
/*
- * Created by IntelliJ IDEA.
- * User: bommel
* Date: 19.04.2006
* Time: 11:40:11
*/
public interface HasOnclick {
/**
* Script to be invoked when clicked
+ *
* @param onclick
*/
- @TagAttribute @UIComponentTagAttribute()
+ @TagAttribute
+ @UIComponentTagAttribute()
void setOnclick(String onclick);
}
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasRenderRange.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasRenderRange.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasRenderRange.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasRenderRange.java Tue Dec 4 14:12:14 2007
@@ -25,8 +25,9 @@
*/
public interface HasRenderRange {
/**
- * Range of items to render.
+ * Range of items to render.
*/
- @TagAttribute @UIComponentTagAttribute()
+ @TagAttribute
+ @UIComponentTagAttribute()
void setRenderRange(String renderRange);
}
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasRowLayout.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasRowLayout.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasRowLayout.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasRowLayout.java Tue Dec 4 14:12:14 2007
@@ -25,11 +25,10 @@
*/
public interface HasRowLayout {
/**
- *
* LayoutConstraints for column layout.
* Semicolon separated list of layout tokens ('<x>*', '<x>px', '<x>%' or 'fixed').
- *
*/
- @TagAttribute @UIComponentTagAttribute(defaultValue = "1*")
+ @TagAttribute
+ @UIComponentTagAttribute(defaultValue = "1*")
void setRows(String rows);
}
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasState.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasState.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasState.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasState.java Tue Dec 4 14:12:14 2007
@@ -25,12 +25,11 @@
*/
public interface HasState {
/**
- *
* <strong>ValueBindingExpression</strong> pointing to a object to save the
* component's state.
- *
*/
// TODO is Object right
- @TagAttribute @UIComponentTagAttribute(type = "java.lang.Object")
+ @TagAttribute
+ @UIComponentTagAttribute(type = "java.lang.Object")
void setState(String state);
}
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasStateBinding.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasStateBinding.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasStateBinding.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasStateBinding.java Tue Dec 4 14:12:14 2007
@@ -26,5 +26,6 @@
*/
public interface HasStateBinding {
- @TagAttribute void setStateBinding(String stateBinding);
+ @TagAttribute
+ void setStateBinding(String stateBinding);
}
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasStringValue.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasStringValue.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasStringValue.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasStringValue.java Tue Dec 4 14:12:14 2007
@@ -26,10 +26,9 @@
* $Id$
*/
public interface HasStringValue {
-
+
/**
- * The current value of this component.
- *
+ * The current value of this component.
*/
@TagAttribute
@UIComponentTagAttribute()
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasSuggestMethod.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasSuggestMethod.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasSuggestMethod.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasSuggestMethod.java Tue Dec 4 14:12:14 2007
@@ -27,12 +27,10 @@
public interface HasSuggestMethod {
/**
- *
- *
* @param suggestMethod
*/
- @TagAttribute
- @UIComponentTagAttribute(type = "javax.faces.el.MethodBinding", expression = DynamicExpression.METHOD_BINDING)
- void setSuggestMethod(String suggestMethod);
+ @TagAttribute
+ @UIComponentTagAttribute(type = "javax.faces.el.MethodBinding", expression = DynamicExpression.METHOD_BINDING)
+ void setSuggestMethod(String suggestMethod);
}
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasTabChangeListenerType.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasTabChangeListenerType.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasTabChangeListenerType.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasTabChangeListenerType.java Tue Dec 4 14:12:14 2007
@@ -26,8 +26,9 @@
public interface HasTabChangeListenerType {
/**
* Fully qualified Java class name of a TabChangeListener to be
- * created and registered.
+ * created and registered.
*/
- @TagAttribute @UIComponentTagAttribute(type = { "java.util.List", "java.util.Map", "java.lang.Object[]" })
+ @TagAttribute
+ @UIComponentTagAttribute(type = {"java.util.List", "java.util.Map", "java.lang.Object[]"})
void setType(String type);
}
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasTarget.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasTarget.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasTarget.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasTarget.java Tue Dec 4 14:12:14 2007
@@ -25,11 +25,10 @@
*/
public interface HasTarget {
/**
- *
* Name of a frame where the resource retrieved via this hyperlink is to be
* displayed.
- *
*/
- @TagAttribute @UIComponentTagAttribute()
+ @TagAttribute
+ @UIComponentTagAttribute()
void setTarget(String target);
}
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasTip.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasTip.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasTip.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasTip.java Tue Dec 4 14:12:14 2007
@@ -25,8 +25,9 @@
*/
public interface HasTip {
/**
- * Text value to display as tooltip.
+ * Text value to display as tooltip.
*/
- @TagAttribute @UIComponentTagAttribute()
+ @TagAttribute
+ @UIComponentTagAttribute()
void setTip(String tip);
}
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasValidator.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasValidator.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasValidator.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasValidator.java Tue Dec 4 14:12:14 2007
@@ -22,8 +22,6 @@
import org.apache.myfaces.tobago.apt.annotation.UIComponentTagAttribute;
/*
- * Created by IntelliJ IDEA.
- * User: bommel
* Date: 13.12.2005
* Time: 20:10:50
*/
@@ -38,8 +36,8 @@
* and Object parameters, and returning void, that validates
* the component's local value.
*/
- @TagAttribute
- @UIComponentTagAttribute(type = "javax.faces.el.MethodBinding",
- expression = DynamicExpression.METHOD_BINDING)
- void setValidator(String validator);
+ @TagAttribute
+ @UIComponentTagAttribute(type = "javax.faces.el.MethodBinding",
+ expression = DynamicExpression.METHOD_BINDING)
+ void setValidator(String validator);
}
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasValue.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasValue.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasValue.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasValue.java Tue Dec 4 14:12:14 2007
@@ -26,10 +26,9 @@
* $Id$
*/
public interface HasValue {
-
+
/**
- * The current value of this component.
- *
+ * The current value of this component.
*/
@TagAttribute
@UIComponentTagAttribute(type = "java.lang.Object")
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasValueChangeListener.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasValueChangeListener.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasValueChangeListener.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasValueChangeListener.java Tue Dec 4 14:12:14 2007
@@ -22,8 +22,6 @@
import org.apache.myfaces.tobago.apt.annotation.DynamicExpression;
/*
- * Created by IntelliJ IDEA.
- * User: bommel
* Date: 18.04.2006
* Time: 11:39:26
*/
@@ -33,6 +31,7 @@
* that will be notified when a new value has been set for this input component.
* The expression must evaluate to a public method that takes a ValueChangeEvent
* parameter, with a return type of void.
+ *
* @param valueChangeListener
*/
@TagAttribute
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasWidth.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasWidth.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasWidth.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasWidth.java Tue Dec 4 14:12:14 2007
@@ -24,11 +24,12 @@
* $Id$
*/
public interface HasWidth {
- /**
- * The width for this component.
- * This value is used in the gridLayouts columns attribute.
- * See gridLayout tag for valid values.
- */
- @TagAttribute @UIComponentTagAttribute()
+ /**
+ * The width for this component.
+ * This value is used in the gridLayouts columns attribute.
+ * See gridLayout tag for valid values.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute()
void setWidth(String width);
}
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/IsDefaultCommand.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/IsDefaultCommand.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/IsDefaultCommand.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/IsDefaultCommand.java Tue Dec 4 14:12:14 2007
@@ -30,6 +30,7 @@
* If true the command is excuted as default -- for example if the
* user presses the enter key inside a related input field.
*/
- @TagAttribute @UIComponentTagAttribute(type = "java.lang.Boolean", defaultValue = "false")
+ @TagAttribute
+ @UIComponentTagAttribute(type = "java.lang.Boolean", defaultValue = "false")
void setDefaultCommand(String defaultCommand);
}
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/IsDisabled.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/IsDisabled.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/IsDisabled.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/IsDisabled.java Tue Dec 4 14:12:14 2007
@@ -27,9 +27,9 @@
*/
public interface IsDisabled {
/**
- * Flag indicating that this element is disabled.
+ * Flag indicating that this element is disabled.
*/
@TagAttribute(type = String.class)
@UIComponentTagAttribute(type = "java.lang.Boolean")
- void setDisabled(String disabled);
+ void setDisabled(String disabled);
}
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/IsFocus.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/IsFocus.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/IsFocus.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/IsFocus.java Tue Dec 4 14:12:14 2007
@@ -29,6 +29,7 @@
/**
* Flag indicating this component should recieve the focus.
*/
- @TagAttribute @UIComponentTagAttribute(type = "java.lang.Boolean")
+ @TagAttribute
+ @UIComponentTagAttribute(type = "java.lang.Boolean")
void setFocus(String focus);
}
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/IsImmediateCommand.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/IsImmediateCommand.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/IsImmediateCommand.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/IsImmediateCommand.java Tue Dec 4 14:12:14 2007
@@ -25,13 +25,12 @@
*/
public interface IsImmediateCommand {
/**
- *
* Flag indicating that, if this component is activated by the user,
* notifications should be delivered to interested listeners and actions
* immediately (that is, during Apply Request Values phase) rather than
* waiting until Invoke Application phase.
- *
*/
- @TagAttribute @UIComponentTagAttribute(type = "java.lang.Boolean", defaultValue = "false")
+ @TagAttribute
+ @UIComponentTagAttribute(type = "java.lang.Boolean", defaultValue = "false")
void setImmediate(String immediate);
}
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/IsInline.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/IsInline.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/IsInline.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/IsInline.java Tue Dec 4 14:12:14 2007
@@ -29,6 +29,7 @@
/**
* Flag indicating this component should rendered as an inline element.
*/
- @TagAttribute @UIComponentTagAttribute(type = "java.lang.Boolean")
+ @TagAttribute
+ @UIComponentTagAttribute(type = "java.lang.Boolean")
void setInline(String inline);
}
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/IsReadonly.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/IsReadonly.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/IsReadonly.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/IsReadonly.java Tue Dec 4 14:12:14 2007
@@ -27,8 +27,9 @@
*/
public interface IsReadonly {
/**
- * Flag indicating that this component will prohibit changes by the user.
+ * Flag indicating that this component will prohibit changes by the user.
*/
- @TagAttribute @UIComponentTagAttribute(type = "java.lang.Boolean")
+ @TagAttribute
+ @UIComponentTagAttribute(type = "java.lang.Boolean")
void setReadonly(String readonly);
}
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/IsRendered.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/IsRendered.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/IsRendered.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/IsRendered.java Tue Dec 4 14:12:14 2007
@@ -25,9 +25,10 @@
*/
public interface IsRendered {
/**
- * Flag indicating whether or not this component should be rendered
+ * Flag indicating whether or not this component should be rendered
* (during Render Response Phase), or processed on any subsequent form submit.
*/
- @TagAttribute @UIComponentTagAttribute(type = "java.lang.Boolean", defaultValue = "true")
+ @TagAttribute
+ @UIComponentTagAttribute(type = "java.lang.Boolean", defaultValue = "true")
void setRendered(String rendered);
}
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/IsTransition.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/IsTransition.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/IsTransition.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/IsTransition.java Tue Dec 4 14:12:14 2007
@@ -24,6 +24,7 @@
/**
* Specify, if the command calls an JSF-Action.
* Useful to switch off the Double-Submit-Check and Waiting-Behavior.
+ *
* @param transition Indicates the transition.
*/
@TagAttribute
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/extension/DateExtensionTag.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/extension/DateExtensionTag.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/extension/DateExtensionTag.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/extension/DateExtensionTag.java Tue Dec 4 14:12:14 2007
@@ -43,8 +43,6 @@
import javax.servlet.jsp.tagext.BodyTagSupport;
/*
- * Created by IntelliJ IDEA.
- * User: bommel
* Date: 19.12.2005
* Time: 20:13:26
*/
@@ -52,7 +50,7 @@
* Renders a date input field with a date picker and a label.
* <br />
* Short syntax of:
- *
+ * <p/>
* <pre>
* <tc:panel>
* <f:facet name="layout">
@@ -69,7 +67,7 @@
@ExtensionTag(baseClassName = "org.apache.myfaces.tobago.taglib.component.DateTag")
public class DateExtensionTag extends BodyTagSupport
implements HasValue, HasValueChangeListener, HasValidator, HasIdBindingAndRendered,
- HasConverter, IsReadonly, IsDisabled, HasOnchange, IsRequired, HasTip,
+ HasConverter, IsReadonly, IsDisabled, HasOnchange, IsRequired, HasTip,
HasLabel, HasMarkup, HasLabelWidth, IsFocus, IsInline, HasTabIndex {
private static final long serialVersionUID = 2044784791513107420L;
@@ -180,7 +178,7 @@
datePicker.setFor("@auto");
if (tabIndex != null) {
datePicker.setTabIndex(tabIndex);
- }
+ }
datePicker.setParent(formTag);
datePicker.doStartTag();
datePicker.doEndTag();
@@ -249,6 +247,7 @@
public void setValidator(String validator) {
this.validator = validator;
}
+
public void setInline(String inline) {
this.inline = inline;
}
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/extension/FileExtensionTag.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/extension/FileExtensionTag.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/extension/FileExtensionTag.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/extension/FileExtensionTag.java Tue Dec 4 14:12:14 2007
@@ -33,9 +33,9 @@
/**
* Renders a file input field with a label.
- *
+ * <p/>
* Short syntax of:
- *
+ * <p/>
* <pre>
* <tc:panel>
* <f:facet name="layout">
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/extension/InExtensionTag.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/extension/InExtensionTag.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/extension/InExtensionTag.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/extension/InExtensionTag.java Tue Dec 4 14:12:14 2007
@@ -63,7 +63,7 @@
@ExtensionTag(baseClassName = "org.apache.myfaces.tobago.taglib.component.InTag")
public class InExtensionTag extends BodyTagSupport
implements HasValue, HasValueChangeListener, HasValidator, HasIdBindingAndRendered,
- HasConverter, IsReadonly, IsDisabled, HasOnchange, HasMarkup, IsRequired,
+ HasConverter, IsReadonly, IsDisabled, HasOnchange, HasMarkup, IsRequired,
HasTip, HasLabel, HasLabelWidth, IsPassword, IsFocus, HasSuggestMethod, HasTabIndex {
private String binding;
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/extension/LabelExtensionTag.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/extension/LabelExtensionTag.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/extension/LabelExtensionTag.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/extension/LabelExtensionTag.java Tue Dec 4 14:12:14 2007
@@ -40,7 +40,7 @@
implements HasValue, HasTip {
private static final Log LOG = LogFactory.getLog(LabelExtensionTag.class);
-
+
public static final String DEFAULT_COLUMNS = "fixed;*";
private String value;
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/extension/MenuCheckboxExtensionTag.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/extension/MenuCheckboxExtensionTag.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/extension/MenuCheckboxExtensionTag.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/extension/MenuCheckboxExtensionTag.java Tue Dec 4 14:12:14 2007
@@ -32,8 +32,6 @@
import javax.faces.webapp.FacetTag;
/*
- * Created by IntelliJ IDEA.
- * User: bommel
* Date: 09.05.2006
* Time: 00:00:49
*/
@@ -86,7 +84,7 @@
if (disabled != null) {
menuCommandTag.setDisabled(disabled);
}
- if (binding !=null) {
+ if (binding != null) {
menuCommandTag.setBinding(binding);
}
if (label != null) {
@@ -116,7 +114,7 @@
return super.doStartTag();
}
- @Override
+ @Override
public int doEndTag() throws JspException {
selectBooleanCheckbox.doEndTag();
facetTag.doEndTag();
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/extension/MenuRadioExtensionTag.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/extension/MenuRadioExtensionTag.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/extension/MenuRadioExtensionTag.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/extension/MenuRadioExtensionTag.java Tue Dec 4 14:12:14 2007
@@ -33,15 +33,12 @@
import javax.servlet.jsp.tagext.BodyTagSupport;
/*
- * Created by IntelliJ IDEA.
- * User: bommel
* Date: 09.05.2006
* Time: 17:41:39
*/
/**
* Renders a submenu with select one items (like a radio button).
- *
*/
@Tag(name = "menuRadio", tagExtraInfoClassName = "org.apache.myfaces.tobago.taglib.component.CommandTagExtraInfo")
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/extension/SelectBooleanCheckboxExtensionTag.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/extension/SelectBooleanCheckboxExtensionTag.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/extension/SelectBooleanCheckboxExtensionTag.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/extension/SelectBooleanCheckboxExtensionTag.java Tue Dec 4 14:12:14 2007
@@ -105,7 +105,7 @@
if (value != null) {
selectBooleanCheckboxTag.setValue(value);
}
- if (valueChangeListener != null) {
+ if (valueChangeListener != null) {
selectBooleanCheckboxTag.setValueChangeListener(valueChangeListener);
}
if (binding != null) {
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/extension/SelectManyListboxExtensionTag.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/extension/SelectManyListboxExtensionTag.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/extension/SelectManyListboxExtensionTag.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/extension/SelectManyListboxExtensionTag.java Tue Dec 4 14:12:14 2007
@@ -44,8 +44,6 @@
import javax.servlet.jsp.tagext.BodyTagSupport;
/*
- * Created by IntelliJ IDEA.
- * User: bommel
* Date: 16.12.2005
* Time: 19:12:33
*/
@@ -58,7 +56,7 @@
@ExtensionTag(baseClassName = "org.apache.myfaces.tobago.taglib.component.SelectManyListboxTag")
public class SelectManyListboxExtensionTag extends BodyTagSupport
implements HasId, HasValue, HasValueChangeListener, IsDisabled, HasDeprecatedHeight, IsInline,
- HasLabel, HasLabelWidth, IsRendered, HasBinding, HasTip, HasConverter, HasValidator, HasOnchange,
+ HasLabel, HasLabelWidth, IsRendered, HasBinding, HasTip, HasConverter, HasValidator, HasOnchange,
IsReadonly, HasMarkup, IsFocus, IsRequired, HasTabIndex {
private String required;
@@ -116,7 +114,7 @@
if (value != null) {
selectManyListboxTag.setValue(value);
}
- if (valueChangeListener != null) {
+ if (valueChangeListener != null) {
selectManyListboxTag.setValueChangeListener(valueChangeListener);
}
if (binding != null) {
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/extension/SelectOneChoiceExtensionTag.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/extension/SelectOneChoiceExtensionTag.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/extension/SelectOneChoiceExtensionTag.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/extension/SelectOneChoiceExtensionTag.java Tue Dec 4 14:12:14 2007
@@ -51,7 +51,7 @@
extends BodyTagSupport
implements HasId, HasValue, HasValueChangeListener, IsDisabled,
IsReadonly, HasOnchange, IsInline, HasLabel, HasLabelWidth, IsRequired,
- IsRendered, IsFocus, HasBinding, HasTip , HasValidator, HasConverter, HasTabIndex {
+ IsRendered, IsFocus, HasBinding, HasTip, HasValidator, HasConverter, HasTabIndex {
private String required;
private String value;
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/extension/SelectOneListboxExtensionTag.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/extension/SelectOneListboxExtensionTag.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/extension/SelectOneListboxExtensionTag.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/extension/SelectOneListboxExtensionTag.java Tue Dec 4 14:12:14 2007
@@ -49,7 +49,7 @@
public class SelectOneListboxExtensionTag
extends BodyTagSupport implements HasId, HasValue, HasValueChangeListener, IsDisabled,
HasLabel, HasLabelWidth, IsReadonly, HasOnchange, IsRendered,
- HasBinding, HasDeprecatedHeight, IsFocus, HasTip , IsRequired, HasConverter, HasValidator, HasTabIndex {
+ HasBinding, HasDeprecatedHeight, IsFocus, HasTip, IsRequired, HasConverter, HasValidator, HasTabIndex {
private String required;
private String value;
private String valueChangeListener;
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/extension/SelectOneRadioExtensionTag.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/extension/SelectOneRadioExtensionTag.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/extension/SelectOneRadioExtensionTag.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/extension/SelectOneRadioExtensionTag.java Tue Dec 4 14:12:14 2007
@@ -40,8 +40,10 @@
import javax.servlet.jsp.JspException;
import javax.servlet.jsp.tagext.BodyTagSupport;
+
/**
* Render a set of radiobuttons.
+ *
* @since 1.0.13
*/
@@ -137,7 +139,7 @@
if (renderRange != null) {
selectOneRadioTag.setRenderRange(renderRange);
}
-
+
selectOneRadioTag.setParent(labelTag);
selectOneRadioTag.doStartTag();
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/extension/TextAreaExtensionTag.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/extension/TextAreaExtensionTag.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/extension/TextAreaExtensionTag.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/extension/TextAreaExtensionTag.java Tue Dec 4 14:12:14 2007
@@ -43,7 +43,7 @@
* Renders a multiline text input control with a label.
* <br />
* Short syntax of:
- *
+ * <p/>
* <pre>
* <tc:panel>
* <f:facet name="layout">
@@ -61,7 +61,7 @@
@ExtensionTag(baseClassName = "org.apache.myfaces.tobago.taglib.component.TextAreaTag")
public class TextAreaExtensionTag extends BodyTagSupport
implements HasValue, HasValueChangeListener, HasIdBindingAndRendered,
- HasConverter, HasValidator, IsReadonly, IsDisabled, HasMarkup, IsRequired,
+ HasConverter, HasValidator, IsReadonly, IsDisabled, HasMarkup, IsRequired,
HasTip, HasLabel, HasLabelWidth, IsFocus, HasOnchange, HasTabIndex {
private String binding;
@@ -122,7 +122,7 @@
if (validator != null) {
textAreaTag.setValidator(validator);
}
- if (onchange != null) {
+ if (onchange != null) {
textAreaTag.setOnchange(onchange);
}
if (disabled != null) {
@@ -237,7 +237,7 @@
public void setTip(String tip) {
this.tip = tip;
}
-
+
public void setLabelWidth(String labelWidth) {
this.labelWidth = labelWidth;
}
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/extension/TimeExtensionTag.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/extension/TimeExtensionTag.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/extension/TimeExtensionTag.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/extension/TimeExtensionTag.java Tue Dec 4 14:12:14 2007
@@ -39,17 +39,11 @@
import javax.servlet.jsp.JspException;
import javax.servlet.jsp.tagext.BodyTagSupport;
-/*
- * Created by IntelliJ IDEA.
- * User: bommel
- * Date: 18.12.2005
- * Time: 23:25:21
- */
/**
* Renders a time input field with a label.
* <br />
* Short syntax of:
- *
+ * <p/>
* <pre>
* <tc:panel>
* <f:facet name="layout">
@@ -66,7 +60,7 @@
@ExtensionTag(baseClassName = "org.apache.myfaces.tobago.taglib.component.TimeTag")
public class TimeExtensionTag extends BodyTagSupport
implements HasValue, HasValueChangeListener, HasValidator, HasIdBindingAndRendered,
- HasConverter, IsReadonly, IsDisabled, HasOnchange, IsRequired, HasTip,
+ HasConverter, IsReadonly, IsDisabled, HasOnchange, IsRequired, HasTip,
HasLabel, HasLabelWidth, IsFocus, IsInline, HasTabIndex {
private String binding;
@@ -126,7 +120,7 @@
if (validator != null) {
timeTag.setValidator(validator);
}
- if (onchange != null) {
+ if (onchange != null) {
timeTag.setOnchange(onchange);
}
if (disabled != null) {
@@ -241,7 +235,7 @@
public void setTip(String tip) {
this.tip = tip;
}
-
+
public void setLabelWidth(String labelWidth) {
this.labelWidth = labelWidth;
}
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/extension/package-info.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/extension/package-info.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/extension/package-info.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/extension/package-info.java Tue Dec 4 14:12:14 2007
@@ -5,8 +5,7 @@
@org.apache.myfaces.tobago.apt.annotation.Taglib(
shortName = "tx",
uri = "http://myfaces.apache.org/tobago/extension",
- fileName = "tobago-extension.tld", displayName = "Tobago Extensions")
-package org.apache.myfaces.tobago.taglib.extension;
+ fileName = "tobago-extension.tld", displayName = "Tobago Extensions") package org.apache.myfaces.tobago.taglib.extension;
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/BeanComparator.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/BeanComparator.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/BeanComparator.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/BeanComparator.java Tue Dec 4 14:12:14 2007
@@ -56,7 +56,6 @@
}
/**
- *
* @param param1 <description>
* @return <description>
*/
@@ -81,12 +80,11 @@
// implementation of java.util.Comparator interface
/**
- *
* @param param1 <description>
* @param param2 <description>
* @return <description>
*/
- public int compare(Object param1, Object param2){
+ public int compare(Object param1, Object param2) {
Object obj1;
Object obj2;
try {
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/BundleMapWrapper.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/BundleMapWrapper.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/BundleMapWrapper.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/BundleMapWrapper.java Tue Dec 4 14:12:14 2007
@@ -25,8 +25,6 @@
import java.util.Collection;
/*
- * Created by IntelliJ IDEA.
- * User: bommel
* Date: 20.04.2006
* Time: 19:31:21
*/
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/ComparatorBase.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/ComparatorBase.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/ComparatorBase.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/ComparatorBase.java Tue Dec 4 14:12:14 2007
@@ -37,6 +37,7 @@
this.comparator = comparator;
this.reverse = reverse;
}
+
protected ComparatorBase(boolean reverse) {
this.reverse = reverse;
}
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/ContentType.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/ContentType.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/ContentType.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/ContentType.java Tue Dec 4 14:12:14 2007
@@ -18,8 +18,6 @@
*/
/*
- * Created by IntelliJ IDEA.
- * User: bommel
* Date: Oct 30, 2006
* Time: 10:26:27 PM
*/
@@ -56,7 +54,7 @@
}
public String toString() {
- return primaryType+"/"+subType;
+ return primaryType + "/" + subType;
}
public static ContentType valueOf(String s) {
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/DebugActionListener.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/DebugActionListener.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/DebugActionListener.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/DebugActionListener.java Tue Dec 4 14:12:14 2007
@@ -25,8 +25,6 @@
import javax.faces.event.AbortProcessingException;
/*
- * Created by IntelliJ IDEA.
- * User: bommel
* Date: Nov 12, 2006
* Time: 10:44:02 AM
*/
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/DebugNavigationHandler.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/DebugNavigationHandler.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/DebugNavigationHandler.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/DebugNavigationHandler.java Tue Dec 4 14:12:14 2007
@@ -24,8 +24,6 @@
import javax.faces.context.FacesContext;
/*
- * Created by IntelliJ IDEA.
- * User: bommel
* Date: Nov 12, 2006
* Time: 10:32:39 AM
*/
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/DebugPhaseListener.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/DebugPhaseListener.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/DebugPhaseListener.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/DebugPhaseListener.java Tue Dec 4 14:12:14 2007
@@ -32,14 +32,13 @@
import java.text.MessageFormat;
/*
- * Created by IntelliJ IDEA.
- * User: weber
* Date: Dec 6, 2005
* Time: 7:50:25 PM
*/
public class DebugPhaseListener implements PhaseListener {
private static final Log LOG = LogFactory.getLog(DebugPhaseListener.class);
private static final String KEY = DebugPhaseListener.class.getName() + "_ID_";
+
public void afterPhase(PhaseEvent phaseEvent) {
if (LOG.isInfoEnabled()) {
Date end = new Date();
@@ -74,8 +73,8 @@
LOG.info(MessageFormat.format("Faces message found."
+ "\n Component: {0} \n Severity : {1}"
+ "\n Summary : {2} \n Detail : {3}",
- new Object[] {clientId, msg.getSeverity(),
- msg.getSummary(), msg.getDetail()}));
+ new Object[]{clientId, msg.getSeverity(),
+ msg.getSummary(), msg.getDetail()}));
}
}
}
@@ -92,10 +91,10 @@
if (LOG.isTraceEnabled() && PhaseId.RESTORE_VIEW == phaseId) {
// this is before restoreView
- Map params = externalContext.getRequestParameterMap();
- for (Object key : params.keySet()) {
- LOG.trace("Param : \"" + key + "\" = \"" + params.get(key) + "\"");
- }
+ Map params = externalContext.getRequestParameterMap();
+ for (Object key : params.keySet()) {
+ LOG.trace("Param : \"" + key + "\" = \"" + params.get(key) + "\"");
+ }
}
start = new Date();
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/HtmlWriterUtil.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/HtmlWriterUtil.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/HtmlWriterUtil.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/HtmlWriterUtil.java Tue Dec 4 14:12:14 2007
@@ -189,18 +189,18 @@
try {
switch (name.charAt(0)) {
- case 'i' : // 'id'
+ case 'i': // 'id'
if (name.length() == 2 && name.charAt(1) == 'd') {
return false;
}
break;
- case 'n' : // 'name'
+ case 'n': // 'name'
if (name.length() == 4 && name.charAt(1) == 'a' && name.charAt(2) == 'm'
&& name.charAt(3) == 'e') {
return false;
}
break;
- case 'c' : // 'class'
+ case 'c': // 'class'
if (name.length() == 5 && name.charAt(1) == 'l' && name.charAt(2) == 'a'
&& name.charAt(3) == 's' && name.charAt(4) == 's') {
return false;
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/LayoutInfo.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/LayoutInfo.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/LayoutInfo.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/LayoutInfo.java Tue Dec 4 14:12:14 2007
@@ -146,7 +146,7 @@
if (isFree(i)) {
if (LOG.isWarnEnabled()) {
LOG.warn("Illegal layout token pattern \"" + layoutTokens.get(i)
- + "\" ignored, set to 0px !"+ " clientId='" + clientIdForLogging + "'");
+ + "\" ignored, set to 0px !" + " clientId='" + clientIdForLogging + "'");
}
spaces[i] = 0;
}
@@ -157,7 +157,7 @@
public static String[] createLayoutTokens(String columnLayout, int count, String defaultToken) {
String[] tokens;
if (columnLayout != null) {
- List<String> list = new ArrayList<String>();
+ List<String> list = new ArrayList<String>();
StringTokenizer tokenizer = new StringTokenizer(columnLayout, ";");
while (tokenizer.hasMoreTokens()) {
String token = tokenizer.nextToken().trim();
@@ -248,7 +248,7 @@
LOG.debug("spaces before spread :" + arrayAsString(spaces) + " clientId='" + clientIdForLogging + "'");
}
- for (int i = 0; i < layoutTokens.getSize(); i++) {
+ for (int i = 0; i < layoutTokens.getSize(); i++) {
if (layoutTokens.get(i) instanceof RelativeLayoutToken) {
addSpace(spaceLeft, i);
break;
@@ -276,6 +276,7 @@
LOG.debug("spaces after spread :" + arrayAsString(spaces) + " clientId='" + clientIdForLogging + "'");
}
}
+
//TODO replace with Arrays.asList ..
private String arrayAsString(int[] currentSpaces) {
StringBuilder sb = new StringBuilder("[");
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/LayoutUtil.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/LayoutUtil.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/LayoutUtil.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/LayoutUtil.java Tue Dec 4 14:12:14 2007
@@ -67,7 +67,7 @@
if (innerSpace == null) {
int space = -1;
- Integer spaceInteger;
+ Integer spaceInteger;
if (width) {
spaceInteger = getLayoutWidth(component);
} else {
@@ -145,6 +145,7 @@
public static Integer getLayoutWidth(UIComponent component) {
return getLayoutSpace(component, ATTR_WIDTH, ATTR_LAYOUT_WIDTH);
}
+
//TODO Change this to DimensionUtils.getHeight?
public static Integer getLayoutHeight(UIComponent component) {
return getLayoutSpace(component, ATTR_HEIGHT, ATTR_LAYOUT_HEIGHT);
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/MessageFactory.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/MessageFactory.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/MessageFactory.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/MessageFactory.java Tue Dec 4 14:12:14 2007
@@ -42,12 +42,12 @@
= new HashMap<Locale, ResourceBundle>();
public static FacesMessage createFacesMessage(FacesContext facesContext,
- String key, FacesMessage.Severity severity, Object[] args) {
+ String key, FacesMessage.Severity severity, Object[] args) {
return createFacesMessage(facesContext, "tobago", key, severity, args);
}
public static FacesMessage createFacesMessage(FacesContext facesContext,
- String key, FacesMessage.Severity severity) {
+ String key, FacesMessage.Severity severity) {
return createFacesMessage(facesContext, key, severity, new Object[0]);
}
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/RequestUtils.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/RequestUtils.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/RequestUtils.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/RequestUtils.java Tue Dec 4 14:12:14 2007
@@ -25,8 +25,6 @@
import java.io.UnsupportedEncodingException;
/*
- * Created by IntelliJ IDEA.
- * User: bommel
* Date: 03.07.2006
* Time: 21:19:38
*/
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/ResponseUtils.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/ResponseUtils.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/ResponseUtils.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/ResponseUtils.java Tue Dec 4 14:12:14 2007
@@ -24,8 +24,6 @@
import javax.servlet.http.HttpServletResponse;
/*
- * Created by IntelliJ IDEA.
- * User: bommel
* Date: Oct 21, 2006
* Time: 10:39:25 AM
*/
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/ValueBindingComparator.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/ValueBindingComparator.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/ValueBindingComparator.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/ValueBindingComparator.java Tue Dec 4 14:12:14 2007
@@ -106,12 +106,11 @@
// implementation of java.util.Comparator interface
/**
- *
* @param param1 <description>
* @param param2 <description>
* @return <description>
*/
- public int compare(Object param1, Object param2){
+ public int compare(Object param1, Object param2) {
Object obj1;
Object obj2;
try {
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/VariableResolverUtil.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/VariableResolverUtil.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/VariableResolverUtil.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/VariableResolverUtil.java Tue Dec 4 14:12:14 2007
@@ -38,6 +38,7 @@
* Useful for cleaning up e.g. a session or application variable
* to save memory without the knowledge of the scope.
* Also useful to enforce a new creation of a managed-bean.
+ *
* @param context
* @param variable
*/
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/XmlUtils.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/XmlUtils.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/XmlUtils.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/XmlUtils.java Tue Dec 4 14:12:14 2007
@@ -137,10 +137,10 @@
public InputSource resolveEntity(String publicId, String systemId)
throws SAXException {
String dtd = "<!ELEMENT properties (comment?, entry*)>"
- + "<!ATTLIST properties version CDATA #FIXED '1.0'>"
- + "<!ELEMENT comment (#PCDATA)>"
- + "<!ELEMENT entry (#PCDATA)>"
- + "<!ATTLIST entry key CDATA #REQUIRED>";
+ + "<!ATTLIST properties version CDATA #FIXED '1.0'>"
+ + "<!ELEMENT comment (#PCDATA)>"
+ + "<!ELEMENT entry (#PCDATA)>"
+ + "<!ATTLIST entry key CDATA #REQUIRED>";
InputSource inputSource = new InputSource(new StringReader(dtd));
inputSource.setSystemId("http://java.sun.com/dtd/properties.dtd");
return inputSource;
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/validator/ClearValidatorsActionListener.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/validator/ClearValidatorsActionListener.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/validator/ClearValidatorsActionListener.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/validator/ClearValidatorsActionListener.java Tue Dec 4 14:12:14 2007
@@ -57,7 +57,7 @@
}
// FIXME: finding mechanism??? JSF ???
-
+
for (StringTokenizer tokenizer
= new StringTokenizer(clearValidatorsFieldIds, ",");
tokenizer.hasMoreTokens();) {
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/validator/FileItemValidator.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/validator/FileItemValidator.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/validator/FileItemValidator.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/validator/FileItemValidator.java Tue Dec 4 14:12:14 2007
@@ -52,7 +52,7 @@
if (value != null && component instanceof UIFileInput) {
FileItem file = (FileItem) value;
if (maxSize != null && file.getSize() > maxSize) {
- Object[] args = {maxSize, component.getId()};
+ Object[] args = {maxSize, component.getId()};
FacesMessage facesMessage = MessageFactory.createFacesMessage(context,
SIZE_LIMIT_MESSAGE_ID, FacesMessage.SEVERITY_ERROR, args);
throw new ValidatorException(facesMessage);
@@ -61,7 +61,7 @@
if (file.getSize() > 0 && contentType != null
&& !ContentType.valueOf(contentType).match(ContentType.valueOf(file.getContentType()))) {
ContentType expectedContentType = ContentType.valueOf(contentType);
- Object [] args = {expectedContentType, component.getId()};
+ Object[] args = {expectedContentType, component.getId()};
FacesMessage facesMessage = MessageFactory.createFacesMessage(context,
CONTENT_TYPE_MESSAGE_ID, FacesMessage.SEVERITY_ERROR, args);
throw new ValidatorException(facesMessage);
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/validator/SubmittedValueLengthValidator.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/validator/SubmittedValueLengthValidator.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/validator/SubmittedValueLengthValidator.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/validator/SubmittedValueLengthValidator.java Tue Dec 4 14:12:14 2007
@@ -28,8 +28,6 @@
import javax.faces.application.FacesMessage;
/*
- * Created by IntelliJ IDEA.
- * User: bommel
* Date: Oct 16, 2006
* Time: 11:58:47 PM
*/
@@ -88,7 +86,7 @@
}
if (minimum != null && submittedValue.length() < minimum) {
Object[] args = {minimum, uiComponent.getId()};
- FacesMessage facesMessage =
+ FacesMessage facesMessage =
MessageFactory.createFacesMessage(facesContext, MINIMUM_MESSAGE_ID, FacesMessage.SEVERITY_ERROR, args);
throw new ValidatorException(facesMessage);
}
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/webapp/TobagoMultipartFormdataFilter.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/webapp/TobagoMultipartFormdataFilter.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/webapp/TobagoMultipartFormdataFilter.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/webapp/TobagoMultipartFormdataFilter.java Tue Dec 4 14:12:14 2007
@@ -36,36 +36,33 @@
/**
* This filter handles multipart request. It must be enabled in the web.xml of your web application.
* Usage:
- *
+ * <p/>
* <p><blockquote><pre>
- <filter>
- <filter-name>multipartFormdataFilter</filter-name>
- <filter-class>org.apache.myfaces.tobago.webapp.TobagoMultipartFormdataFilter</filter-class>
- <init-param>
- <description>Set the size limit for uploaded files. Default value is 1 MB.
- Format: 10 = 10 bytes
- 10k = 10 KB
- 10m = 10 MB
- 1g = 1 GB
- </description>
- <param-name>uploadMaxFileSize</param-name>
- <param-value>20m</param-value>
- </init-param>
- <init-param>
- <description>Set the upload repository path for uploaded files.
- Default value is java.io.tmpdir.</description>
- <param-name>uploadRepositoryPath</param-name>
- <param-value>/tmp</param-value>
- </init-param>
- </filter>
- <filter-mapping>
- <filter-name>multipartFormdataFilter</filter-name>
- <url-pattern>/faces/*</url-pattern>
- </filter-mapping>
- </pre></blockquote><p>
-
- *
- *
+ * <filter>
+ * <filter-name>multipartFormdataFilter</filter-name>
+ * <filter-class>org.apache.myfaces.tobago.webapp.TobagoMultipartFormdataFilter</filter-class>
+ * <init-param>
+ * <description>Set the size limit for uploaded files. Default value is 1 MB.
+ * Format: 10 = 10 bytes
+ * 10k = 10 KB
+ * 10m = 10 MB
+ * 1g = 1 GB
+ * </description>
+ * <param-name>uploadMaxFileSize</param-name>
+ * <param-value>20m</param-value>
+ * </init-param>
+ * <init-param>
+ * <description>Set the upload repository path for uploaded files.
+ * Default value is java.io.tmpdir.</description>
+ * <param-name>uploadRepositoryPath</param-name>
+ * <param-value>/tmp</param-value>
+ * </init-param>
+ * </filter>
+ * <filter-mapping>
+ * <filter-name>multipartFormdataFilter</filter-name>
+ * <url-pattern>/faces/*</url-pattern>
+ * </filter-mapping>
+ * </pre></blockquote><p>
*/
public class TobagoMultipartFormdataFilter implements Filter {
@@ -87,11 +84,11 @@
}
}
- LOG.info("Configure uploadRepositryPath for "+ getClass().getName() + " to "+ this.repositoryPath);
+ LOG.info("Configure uploadRepositryPath for " + getClass().getName() + " to " + this.repositoryPath);
maxSize = TobagoMultipartFormdataRequest.getMaxSize(filterConfig.getInitParameter("uploadMaxFileSize"));
- LOG.info("Configure uploadMaxFileSize for "+ getClass().getName() + " to "+ this.maxSize);
+ LOG.info("Configure uploadMaxFileSize for " + getClass().getName() + " to " + this.maxSize);
}