You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2014/05/28 18:00:36 UTC
svn commit: r1598057 [2/2] - in /myfaces/tobago/branches/tobago-3.0.x:
tobago-core/src/main/java/org/apache/myfaces/tobago/facelets/
tobago-core/src/main/java/org/apache/myfaces/tobago/internal/component/
tobago-core/src/main/java/org/apache/myfaces/to...
Modified: myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/extension/SelectOneListboxExtensionTag.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/extension/SelectOneListboxExtensionTag.java?rev=1598057&r1=1598056&r2=1598057&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/extension/SelectOneListboxExtensionTag.java (original)
+++ myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/extension/SelectOneListboxExtensionTag.java Wed May 28 16:00:34 2014
@@ -41,14 +41,14 @@ public interface SelectOneListboxExtensi
*/
@TagAttribute
@UIComponentTagAttribute(type = "boolean", defaultValue = "false")
- public void setRequired(final javax.el.ValueExpression required) ;
+ void setRequired(final javax.el.ValueExpression required);
/**
* The current value of this component.
*/
@TagAttribute
@UIComponentTagAttribute(type = "java.lang.Object")
- public void setValue(final javax.el.ValueExpression value) ;
+ void setValue(final javax.el.ValueExpression value);
/**
* MethodExpression representing a value change listener method
@@ -58,31 +58,31 @@ public interface SelectOneListboxExtensi
*/
@TagAttribute
@UIComponentTagAttribute(
- type = {},
- expression = DynamicExpression.METHOD_EXPRESSION_REQUIRED,
- methodSignature = "javax.faces.event.ValueChangeEvent")
- public void setValueChangeListener(final javax.el.MethodExpression valueChangeListener) ;
+ type = {},
+ expression = DynamicExpression.METHOD_EXPRESSION_REQUIRED,
+ methodSignature = "javax.faces.event.ValueChangeEvent")
+ void setValueChangeListener(final javax.el.MethodExpression valueChangeListener);
/**
* Flag indicating that this element is disabled.
*/
@TagAttribute()
@UIComponentTagAttribute(type = "boolean", defaultValue = "false")
- public void setDisabled(final javax.el.ValueExpression disabled) ;
+ void setDisabled(final javax.el.ValueExpression disabled);
/**
* Flag indicating that this component will prohibit changes by the user.
*/
@TagAttribute
@UIComponentTagAttribute(type = "boolean", defaultValue = "false")
- public void setReadonly(final javax.el.ValueExpression readonly) ;
+ void setReadonly(final javax.el.ValueExpression readonly);
/**
* Clientside script function to add to this component's onchange handler.
*/
@TagAttribute
@UIComponentTagAttribute()
- public void setOnchange(final javax.el.ValueExpression onchange) ;
+ void setOnchange(final javax.el.ValueExpression onchange);
/**
* Text value to display as label.
@@ -90,7 +90,7 @@ public interface SelectOneListboxExtensi
*/
@TagAttribute
@UIComponentTagAttribute()
- public void setLabel(final javax.el.ValueExpression label) ;
+ void setLabel(final javax.el.ValueExpression label);
/**
* A method binding EL expression,
@@ -101,8 +101,8 @@ public interface SelectOneListboxExtensi
@TagAttribute
@UIComponentTagAttribute(type = {},
expression = DynamicExpression.METHOD_EXPRESSION,
- methodSignature = { "javax.faces.context.FacesContext", "javax.faces.component.UIComponent", "java.lang.Object" })
- public void setValidator(final javax.el.MethodExpression validator) ;
+ methodSignature = {"javax.faces.context.FacesContext", "javax.faces.component.UIComponent", "java.lang.Object"})
+ void setValidator(final javax.el.MethodExpression validator);
/**
* An expression that specifies the Converter for this component.
@@ -116,7 +116,7 @@ public interface SelectOneListboxExtensi
@TagAttribute
@UIComponentTagAttribute(type = "javax.faces.convert.Converter",
expression = DynamicExpression.VALUE_EXPRESSION)
- public void setConverter(final javax.el.ValueExpression converter) ;
+ void setConverter(final javax.el.ValueExpression converter);
/**
* Flag indicating whether or not this component should be rendered
@@ -124,7 +124,7 @@ public interface SelectOneListboxExtensi
*/
@TagAttribute
@UIComponentTagAttribute(type = "boolean", defaultValue = "true")
- public void setRendered(final javax.el.ValueExpression rendered) ;
+ void setRendered(final javax.el.ValueExpression rendered);
/**
* The value binding expression linking this
@@ -132,14 +132,14 @@ public interface SelectOneListboxExtensi
*/
@TagAttribute
@UIComponentTagAttribute(type = "javax.faces.component.UIComponent")
- public void setBinding(final javax.el.ValueExpression binding) ;
+ void setBinding(final javax.el.ValueExpression binding);
/**
* Text value to display as tooltip.
*/
@TagAttribute
@UIComponentTagAttribute()
- public void setTip(final javax.el.ValueExpression tip) ;
+ void setTip(final javax.el.ValueExpression tip);
/**
* The width for the label component. Default: 'auto'.
@@ -148,39 +148,39 @@ public interface SelectOneListboxExtensi
*/
@TagAttribute
@UIComponentTagAttribute()
- public void setLabelWidth(final javax.el.ValueExpression labelWidth) ;
+ void setLabelWidth(final javax.el.ValueExpression labelWidth);
@TagAttribute
@UIComponentTagAttribute(type = "java.lang.Integer")
- public void setTabIndex(final javax.el.ValueExpression tabIndex) ;
+ void setTabIndex(final javax.el.ValueExpression tabIndex);
/**
* Flag indicating this component should receive the focus.
*/
@TagAttribute
@UIComponentTagAttribute(type = "boolean", defaultValue = "false")
- public void setFocus(final javax.el.ValueExpression focus) ;
+ void setFocus(final javax.el.ValueExpression focus);
/**
* An expression that specifies the validator message
*/
@TagAttribute
@UIComponentTagAttribute()
- public void setValidatorMessage(final javax.el.ValueExpression validatorMessage) ;
+ void setValidatorMessage(final javax.el.ValueExpression validatorMessage);
/**
* An expression that specifies the converter message
*/
@TagAttribute
@UIComponentTagAttribute()
- public void setConverterMessage(final javax.el.ValueExpression converterMessage) ;
+ void setConverterMessage(final javax.el.ValueExpression converterMessage);
/**
* An expression that specifies the required message
*/
@TagAttribute
@UIComponentTagAttribute()
- public void setRequiredMessage(final javax.el.ValueExpression requiredMessage) ;
+ void setRequiredMessage(final javax.el.ValueExpression requiredMessage);
/**
* Indicate markup of this component.
@@ -188,7 +188,7 @@ public interface SelectOneListboxExtensi
*/
@TagAttribute
@UIComponentTagAttribute(defaultValue = "none", type = "java.lang.String[]")
- public void setMarkup(final javax.el.ValueExpression markup) ;
+ void setMarkup(final javax.el.ValueExpression markup);
/**
* The component identifier for the input field component inside of the container.
@@ -196,7 +196,7 @@ public interface SelectOneListboxExtensi
*/
@TagAttribute(rtexprvalue = true)
@UIComponentTagAttribute
- public void setFieldId(final String fieldId) ;
+ void setFieldId(final String fieldId);
/**
* The component identifier for this component.
@@ -206,5 +206,5 @@ public interface SelectOneListboxExtensi
*/
@TagAttribute(rtexprvalue = true)
@UIComponentTagAttribute
- public void setId(final String id) ;
+ void setId(final String id);
}
Modified: myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/extension/SelectOneRadioExtensionTag.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/extension/SelectOneRadioExtensionTag.java?rev=1598057&r1=1598056&r2=1598057&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/extension/SelectOneRadioExtensionTag.java (original)
+++ myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/extension/SelectOneRadioExtensionTag.java Wed May 28 16:00:34 2014
@@ -43,14 +43,14 @@ public interface SelectOneRadioExtension
*/
@TagAttribute
@UIComponentTagAttribute(type = "boolean", defaultValue = "false")
- public void setRequired(final javax.el.ValueExpression required) ;
+ void setRequired(final javax.el.ValueExpression required);
/**
* The current value of this component.
*/
@TagAttribute
@UIComponentTagAttribute(type = "java.lang.Object")
- public void setValue(final javax.el.ValueExpression value) ;
+ void setValue(final javax.el.ValueExpression value);
/**
* MethodExpression representing a value change listener method
@@ -60,10 +60,10 @@ public interface SelectOneRadioExtension
*/
@TagAttribute
@UIComponentTagAttribute(
- type = {},
- expression = DynamicExpression.METHOD_EXPRESSION_REQUIRED,
- methodSignature = "javax.faces.event.ValueChangeEvent")
- public void setValueChangeListener(final javax.el.MethodExpression valueChangeListener) ;
+ type = {},
+ expression = DynamicExpression.METHOD_EXPRESSION_REQUIRED,
+ methodSignature = "javax.faces.event.ValueChangeEvent")
+ void setValueChangeListener(final javax.el.MethodExpression valueChangeListener);
/**
* A method binding EL expression,
@@ -74,29 +74,29 @@ public interface SelectOneRadioExtension
@TagAttribute
@UIComponentTagAttribute(type = {},
expression = DynamicExpression.METHOD_EXPRESSION,
- methodSignature = { "javax.faces.context.FacesContext", "javax.faces.component.UIComponent", "java.lang.Object" })
- public void setValidator(final javax.el.MethodExpression validator) ;
+ methodSignature = {"javax.faces.context.FacesContext", "javax.faces.component.UIComponent", "java.lang.Object"})
+ void setValidator(final javax.el.MethodExpression validator);
/**
* Flag indicating that this element is disabled.
*/
@TagAttribute()
@UIComponentTagAttribute(type = "boolean", defaultValue = "false")
- public void setDisabled(final javax.el.ValueExpression disabled) ;
+ void setDisabled(final javax.el.ValueExpression disabled);
/**
* Flag indicating that this component will prohibit changes by the user.
*/
@TagAttribute
@UIComponentTagAttribute(type = "boolean", defaultValue = "false")
- public void setReadonly(final javax.el.ValueExpression readonly) ;
+ void setReadonly(final javax.el.ValueExpression readonly);
/**
* Clientside script function to add to this component's onchange handler.
*/
@TagAttribute
@UIComponentTagAttribute()
- public void setOnchange(final javax.el.ValueExpression onchange) ;
+ void setOnchange(final javax.el.ValueExpression onchange);
/**
* An expression that specifies the Converter for this component.
@@ -110,13 +110,14 @@ public interface SelectOneRadioExtension
@TagAttribute
@UIComponentTagAttribute(type = "javax.faces.convert.Converter",
expression = DynamicExpression.VALUE_EXPRESSION)
- public void setConverter(final javax.el.ValueExpression converter) ;
+ void setConverter(final javax.el.ValueExpression converter);
+
/**
* Flag indicating this component should rendered as an inline element.
*/
@TagAttribute
@UIComponentTagAttribute(type = "boolean", defaultValue = "false")
- public void setInline(final javax.el.ValueExpression inline) ;
+ void setInline(final javax.el.ValueExpression inline);
/**
* Text value to display as label.
@@ -124,7 +125,7 @@ public interface SelectOneRadioExtension
*/
@TagAttribute
@UIComponentTagAttribute()
- public void setLabel(final javax.el.ValueExpression label) ;
+ void setLabel(final javax.el.ValueExpression label);
/**
* Flag indicating whether or not this component should be rendered
@@ -132,7 +133,7 @@ public interface SelectOneRadioExtension
*/
@TagAttribute
@UIComponentTagAttribute(type = "boolean", defaultValue = "true")
- public void setRendered(final javax.el.ValueExpression rendered) ;
+ void setRendered(final javax.el.ValueExpression rendered);
/**
* The value binding expression linking this
@@ -140,14 +141,14 @@ public interface SelectOneRadioExtension
*/
@TagAttribute
@UIComponentTagAttribute(type = "javax.faces.component.UIComponent")
- public void setBinding(final javax.el.ValueExpression binding) ;
+ void setBinding(final javax.el.ValueExpression binding);
/**
* Text value to display as tooltip.
*/
@TagAttribute
@UIComponentTagAttribute()
- public void setTip(final javax.el.ValueExpression tip) ;
+ void setTip(final javax.el.ValueExpression tip);
/**
* The width for the label component. Default: 'auto'.
@@ -156,46 +157,46 @@ public interface SelectOneRadioExtension
*/
@TagAttribute
@UIComponentTagAttribute()
- public void setLabelWidth(final javax.el.ValueExpression labelWidth) ;
+ void setLabelWidth(final javax.el.ValueExpression labelWidth);
@TagAttribute
@UIComponentTagAttribute(type = "java.lang.Integer")
- public void setTabIndex(final javax.el.ValueExpression tabIndex) ;
+ void setTabIndex(final javax.el.ValueExpression tabIndex);
/**
* Flag indicating this component should receive the focus.
*/
@TagAttribute
@UIComponentTagAttribute(type = "boolean", defaultValue = "false")
- public void setFocus(final javax.el.ValueExpression focus) ;
+ void setFocus(final javax.el.ValueExpression focus);
/**
* Range of items to render.
*/
@TagAttribute
@UIComponentTagAttribute()
- public void setRenderRange(final javax.el.ValueExpression renderRange) ;
+ void setRenderRange(final javax.el.ValueExpression renderRange);
/**
* An expression that specifies the validator message
*/
@TagAttribute
@UIComponentTagAttribute()
- public void setValidatorMessage(final javax.el.ValueExpression validatorMessage) ;
+ void setValidatorMessage(final javax.el.ValueExpression validatorMessage);
/**
* An expression that specifies the converter message
*/
@TagAttribute
@UIComponentTagAttribute()
- public void setConverterMessage(final javax.el.ValueExpression converterMessage) ;
+ void setConverterMessage(final javax.el.ValueExpression converterMessage);
/**
* An expression that specifies the required message
*/
@TagAttribute
@UIComponentTagAttribute()
- public void setRequiredMessage(final javax.el.ValueExpression requiredMessage) ;
+ void setRequiredMessage(final javax.el.ValueExpression requiredMessage);
/**
* Indicate markup of this component.
@@ -203,7 +204,7 @@ public interface SelectOneRadioExtension
*/
@TagAttribute
@UIComponentTagAttribute(defaultValue = "none", type = "java.lang.String[]")
- public void setMarkup(final javax.el.ValueExpression markup) ;
+ void setMarkup(final javax.el.ValueExpression markup);
/**
* The component identifier for the input field component inside of the container.
@@ -211,7 +212,7 @@ public interface SelectOneRadioExtension
*/
@TagAttribute(rtexprvalue = true)
@UIComponentTagAttribute
- public void setFieldId(final String fieldId) ;
+ void setFieldId(final String fieldId);
/**
* The component identifier for this component.
@@ -221,5 +222,5 @@ public interface SelectOneRadioExtension
*/
@TagAttribute(rtexprvalue = true)
@UIComponentTagAttribute
- public void setId(final String id) ;
+ void setId(final String id);
}
Modified: myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/extension/SeparatorExtensionTag.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/extension/SeparatorExtensionTag.java?rev=1598057&r1=1598056&r2=1598057&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/extension/SeparatorExtensionTag.java (original)
+++ myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/extension/SeparatorExtensionTag.java Wed May 28 16:00:34 2014
@@ -45,22 +45,22 @@ import org.apache.myfaces.tobago.apt.ann
rendererType = "Separator",
faceletHandler = "org.apache.myfaces.tobago.facelets.extension.SeparatorExtensionHandler")
public interface SeparatorExtensionTag {
-
+
/**
* The value binding expression linking this
* component to a property in a backing bean.
*/
@TagAttribute
@UIComponentTagAttribute(type = "javax.faces.component.UIComponent")
- public void setBinding(final javax.el.ValueExpression binding);
-
+ void setBinding(final javax.el.ValueExpression binding);
+
/**
* Flag indicating whether or not this component should be rendered
* (during Render Response Phase), or processed on any subsequent form submit.
*/
@TagAttribute
@UIComponentTagAttribute(type = "boolean", defaultValue = "true")
- public void setRendered(final javax.el.ValueExpression rendered) ;
+ void setRendered(final javax.el.ValueExpression rendered);
/**
* Text value to display as label.
@@ -68,5 +68,5 @@ public interface SeparatorExtensionTag {
*/
@TagAttribute
@UIComponentTagAttribute()
- public void setLabel(final javax.el.ValueExpression label) ;
+ void setLabel(final javax.el.ValueExpression label);
}
Modified: myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/extension/TextareaExtensionTag.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/extension/TextareaExtensionTag.java?rev=1598057&r1=1598056&r2=1598057&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/extension/TextareaExtensionTag.java (original)
+++ myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/extension/TextareaExtensionTag.java Wed May 28 16:00:34 2014
@@ -54,7 +54,7 @@ public interface TextareaExtensionTag {
*/
@TagAttribute
@UIComponentTagAttribute(type = "java.lang.Object")
- public void setValue(final javax.el.ValueExpression value) ;
+ void setValue(final javax.el.ValueExpression value);
/**
* MethodExpression representing a value change listener method
@@ -64,10 +64,10 @@ public interface TextareaExtensionTag {
*/
@TagAttribute
@UIComponentTagAttribute(
- type = {},
- expression = DynamicExpression.METHOD_EXPRESSION_REQUIRED,
- methodSignature = "javax.faces.event.ValueChangeEvent")
- public void setValueChangeListener(final javax.el.MethodExpression valueChangeListener) ;
+ type = {},
+ expression = DynamicExpression.METHOD_EXPRESSION_REQUIRED,
+ methodSignature = "javax.faces.event.ValueChangeEvent")
+ void setValueChangeListener(final javax.el.MethodExpression valueChangeListener);
/**
* Text value to display as label.
@@ -75,14 +75,14 @@ public interface TextareaExtensionTag {
*/
@TagAttribute
@UIComponentTagAttribute()
- public void setLabel(final javax.el.ValueExpression label) ;
+ void setLabel(final javax.el.ValueExpression label);
/**
* Flag indicating this component should receive the focus.
*/
@TagAttribute
@UIComponentTagAttribute(type = "boolean", defaultValue = "false")
- public void setFocus(final javax.el.ValueExpression focus) ;
+ void setFocus(final javax.el.ValueExpression focus);
/**
* The value binding expression linking this
@@ -90,7 +90,7 @@ public interface TextareaExtensionTag {
*/
@TagAttribute
@UIComponentTagAttribute(type = "javax.faces.component.UIComponent")
- public void setBinding(final javax.el.ValueExpression binding) ;
+ void setBinding(final javax.el.ValueExpression binding);
/**
* Flag indicating whether or not this component should be rendered
@@ -98,7 +98,7 @@ public interface TextareaExtensionTag {
*/
@TagAttribute
@UIComponentTagAttribute(type = "boolean", defaultValue = "true")
- public void setRendered(final javax.el.ValueExpression rendered) ;
+ void setRendered(final javax.el.ValueExpression rendered);
/**
* An expression that specifies the Converter for this component.
@@ -112,7 +112,7 @@ public interface TextareaExtensionTag {
@TagAttribute
@UIComponentTagAttribute(type = "javax.faces.convert.Converter",
expression = DynamicExpression.VALUE_EXPRESSION)
- public void setConverter(final javax.el.ValueExpression converter) ;
+ void setConverter(final javax.el.ValueExpression converter);
/**
* A method binding EL expression,
@@ -123,15 +123,15 @@ public interface TextareaExtensionTag {
@TagAttribute
@UIComponentTagAttribute(type = {},
expression = DynamicExpression.METHOD_EXPRESSION,
- methodSignature = { "javax.faces.context.FacesContext", "javax.faces.component.UIComponent", "java.lang.Object" })
- public void setValidator(final javax.el.MethodExpression validator) ;
+ methodSignature = {"javax.faces.context.FacesContext", "javax.faces.component.UIComponent", "java.lang.Object"})
+ void setValidator(final javax.el.MethodExpression validator);
/**
* Clientside script function to add to this component's onchange handler.
*/
@TagAttribute
@UIComponentTagAttribute()
- public void setOnchange(final javax.el.ValueExpression onchange) ;
+ void setOnchange(final javax.el.ValueExpression onchange);
/**
* Indicate markup of this component.
@@ -139,21 +139,21 @@ public interface TextareaExtensionTag {
*/
@TagAttribute
@UIComponentTagAttribute(defaultValue = "none", type = "java.lang.String[]")
- public void setMarkup(final javax.el.ValueExpression markup) ;
+ void setMarkup(final javax.el.ValueExpression markup);
/**
* Flag indicating that this component will prohibit changes by the user.
*/
@TagAttribute
@UIComponentTagAttribute(type = "boolean", defaultValue = "false")
- public void setReadonly(final javax.el.ValueExpression readonly) ;
+ void setReadonly(final javax.el.ValueExpression readonly);
/**
* Flag indicating that this element is disabled.
*/
@TagAttribute()
@UIComponentTagAttribute(type = "boolean", defaultValue = "false")
- public void setDisabled(final javax.el.ValueExpression disabled) ;
+ void setDisabled(final javax.el.ValueExpression disabled);
/**
* Flag indicating that a value is required.
@@ -162,48 +162,48 @@ public interface TextareaExtensionTag {
*/
@TagAttribute
@UIComponentTagAttribute(type = "boolean", defaultValue = "false")
- public void setRequired(final javax.el.ValueExpression required) ;
+ void setRequired(final javax.el.ValueExpression required);
/**
* Text value to display as tooltip.
*/
@TagAttribute
@UIComponentTagAttribute()
- public void setTip(final javax.el.ValueExpression tip) ;
+ void setTip(final javax.el.ValueExpression tip);
- /**
+ /**
* The width for the label component. Default: 'auto'.
* This value is used in the gridLayouts columns attribute.
* See gridLayout tag for valid values.
*/
@TagAttribute
@UIComponentTagAttribute()
- public void setLabelWidth(final javax.el.ValueExpression labelWidth) ;
+ void setLabelWidth(final javax.el.ValueExpression labelWidth);
@TagAttribute
@UIComponentTagAttribute(type = "java.lang.Integer")
- public void setTabIndex(final javax.el.ValueExpression tabIndex) ;
+ void setTabIndex(final javax.el.ValueExpression tabIndex);
/**
* An expression that specifies the validator message
*/
@TagAttribute
@UIComponentTagAttribute()
- public void setValidatorMessage(final javax.el.ValueExpression validatorMessage) ;
+ void setValidatorMessage(final javax.el.ValueExpression validatorMessage);
/**
* An expression that specifies the converter message
*/
@TagAttribute
@UIComponentTagAttribute()
- public void setConverterMessage(final javax.el.ValueExpression converterMessage) ;
+ void setConverterMessage(final javax.el.ValueExpression converterMessage);
/**
* An expression that specifies the required message
*/
@TagAttribute
@UIComponentTagAttribute()
- public void setRequiredMessage(final javax.el.ValueExpression requiredMessage) ;
+ void setRequiredMessage(final javax.el.ValueExpression requiredMessage);
/**
* The component identifier for the input field component inside of the container.
@@ -211,7 +211,7 @@ public interface TextareaExtensionTag {
*/
@TagAttribute(rtexprvalue = true)
@UIComponentTagAttribute
- public void setFieldId(final String fieldId) ;
+ void setFieldId(final String fieldId);
/**
* The component identifier for this component.
@@ -221,5 +221,5 @@ public interface TextareaExtensionTag {
*/
@TagAttribute(rtexprvalue = true)
@UIComponentTagAttribute
- public void setId(final String id) ;
+ void setId(final String id);
}
Modified: myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/extension/TimeExtensionTag.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/extension/TimeExtensionTag.java?rev=1598057&r1=1598056&r2=1598057&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/extension/TimeExtensionTag.java (original)
+++ myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/extension/TimeExtensionTag.java Wed May 28 16:00:34 2014
@@ -54,14 +54,14 @@ public interface TimeExtensionTag {
*/
@TagAttribute
@UIComponentTagAttribute(defaultValue = "none", type = "java.lang.String[]")
- public void setMarkup(final javax.el.ValueExpression markup) ;
+ void setMarkup(final javax.el.ValueExpression markup);
/**
* The current value of this component.
*/
@TagAttribute
@UIComponentTagAttribute(type = "java.lang.Object")
- public void setValue(final javax.el.ValueExpression value) ;
+ void setValue(final javax.el.ValueExpression value);
/**
* MethodExpression representing a value change listener method
@@ -74,7 +74,7 @@ public interface TimeExtensionTag {
type = {},
expression = DynamicExpression.METHOD_EXPRESSION_REQUIRED,
methodSignature = "javax.faces.event.ValueChangeEvent")
- public void setValueChangeListener(final javax.el.MethodExpression valueChangeListener) ;
+ void setValueChangeListener(final javax.el.MethodExpression valueChangeListener);
/**
* Text value to display as label.
@@ -82,14 +82,14 @@ public interface TimeExtensionTag {
*/
@TagAttribute
@UIComponentTagAttribute()
- public void setLabel(final javax.el.ValueExpression label) ;
+ void setLabel(final javax.el.ValueExpression label);
/**
* Flag indicating this component should receive the focus.
*/
@TagAttribute
@UIComponentTagAttribute(type = "boolean", defaultValue = "false")
- public void setFocus(final javax.el.ValueExpression focus) ;
+ void setFocus(final javax.el.ValueExpression focus);
/**
* The value binding expression linking this
@@ -97,7 +97,7 @@ public interface TimeExtensionTag {
*/
@TagAttribute
@UIComponentTagAttribute(type = "javax.faces.component.UIComponent")
- public void setBinding(final javax.el.ValueExpression binding) ;
+ void setBinding(final javax.el.ValueExpression binding);
/**
* Flag indicating whether or not this component should be rendered
@@ -105,7 +105,7 @@ public interface TimeExtensionTag {
*/
@TagAttribute
@UIComponentTagAttribute(type = "boolean", defaultValue = "true")
- public void setRendered(final javax.el.ValueExpression rendered) ;
+ void setRendered(final javax.el.ValueExpression rendered);
/**
* An expression that specifies the Converter for this component.
@@ -119,7 +119,7 @@ public interface TimeExtensionTag {
@TagAttribute
@UIComponentTagAttribute(type = "javax.faces.convert.Converter",
expression = DynamicExpression.VALUE_EXPRESSION)
- public void setConverter(final javax.el.ValueExpression converter) ;
+ void setConverter(final javax.el.ValueExpression converter);
/**
* A method binding EL expression,
@@ -131,14 +131,14 @@ public interface TimeExtensionTag {
@UIComponentTagAttribute(type = {},
expression = DynamicExpression.METHOD_EXPRESSION,
methodSignature = {"javax.faces.context.FacesContext", "javax.faces.component.UIComponent", "java.lang.Object"})
- public void setValidator(final javax.el.MethodExpression validator) ;
+ void setValidator(final javax.el.MethodExpression validator);
/**
* Clientside script function to add to this component's onchange handler.
*/
@TagAttribute
@UIComponentTagAttribute()
- public void setOnchange(final javax.el.ValueExpression onchange) ;
+ void setOnchange(final javax.el.ValueExpression onchange);
/**
* Flag indicating this component should rendered as an inline element.
@@ -148,21 +148,21 @@ public interface TimeExtensionTag {
@TagAttribute
@UIComponentTagAttribute(type = "boolean", defaultValue = "false")
@Deprecated
- public void setInline(final javax.el.ValueExpression inline) ;
+ void setInline(final javax.el.ValueExpression inline);
/**
* Flag indicating that this component will prohibit changes by the user.
*/
@TagAttribute
@UIComponentTagAttribute(type = "boolean", defaultValue = "false")
- public void setReadonly(final javax.el.ValueExpression readonly) ;
+ void setReadonly(final javax.el.ValueExpression readonly);
/**
* Flag indicating that this element is disabled.
*/
@TagAttribute()
@UIComponentTagAttribute(type = "boolean", defaultValue = "false")
- public void setDisabled(final javax.el.ValueExpression disabled) ;
+ void setDisabled(final javax.el.ValueExpression disabled);
/**
* Flag indicating that a value is required.
@@ -171,14 +171,14 @@ public interface TimeExtensionTag {
*/
@TagAttribute
@UIComponentTagAttribute(type = "boolean", defaultValue = "false")
- public void setRequired(final javax.el.ValueExpression required) ;
+ void setRequired(final javax.el.ValueExpression required);
/**
* Text value to display as tooltip.
*/
@TagAttribute
@UIComponentTagAttribute()
- public void setTip(final javax.el.ValueExpression tip) ;
+ void setTip(final javax.el.ValueExpression tip);
/**
* The width for the label component. Default: 'auto'.
@@ -187,32 +187,32 @@ public interface TimeExtensionTag {
*/
@TagAttribute
@UIComponentTagAttribute()
- public void setLabelWidth(final javax.el.ValueExpression labelWidth) ;
+ void setLabelWidth(final javax.el.ValueExpression labelWidth);
@TagAttribute
@UIComponentTagAttribute(type = "java.lang.Integer")
- public void setTabIndex(final javax.el.ValueExpression tabIndex) ;
+ void setTabIndex(final javax.el.ValueExpression tabIndex);
/**
* An expression that specifies the validator message
*/
@TagAttribute
@UIComponentTagAttribute()
- public void setValidatorMessage(final javax.el.ValueExpression validatorMessage) ;
+ void setValidatorMessage(final javax.el.ValueExpression validatorMessage);
/**
* An expression that specifies the converter message
*/
@TagAttribute
@UIComponentTagAttribute()
- public void setConverterMessage(final javax.el.ValueExpression converterMessage) ;
+ void setConverterMessage(final javax.el.ValueExpression converterMessage);
/**
* An expression that specifies the required message
*/
@TagAttribute
@UIComponentTagAttribute()
- public void setRequiredMessage(final javax.el.ValueExpression requiredMessage) ;
+ void setRequiredMessage(final javax.el.ValueExpression requiredMessage);
/**
* The component identifier for the input field component inside of the container.
@@ -220,7 +220,7 @@ public interface TimeExtensionTag {
*/
@TagAttribute(rtexprvalue = true)
@UIComponentTagAttribute
- public void setFieldId(final String fieldId) ;
+ void setFieldId(final String fieldId);
/**
* The component identifier for this component.
@@ -230,5 +230,5 @@ public interface TimeExtensionTag {
*/
@TagAttribute(rtexprvalue = true)
@UIComponentTagAttribute
- public void setId(final String id) ;
+ void setId(final String id);
}
Modified: myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/extension/package-info.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/extension/package-info.java?rev=1598057&r1=1598056&r2=1598057&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/extension/package-info.java (original)
+++ myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/extension/package-info.java Wed May 28 16:00:34 2014
@@ -25,6 +25,4 @@
shortName = "tx",
uri = "http://myfaces.apache.org/tobago/extension",
name = "tobago-extension",
- displayName = "Tobago Extensions 3.0.x")
-
-package org.apache.myfaces.tobago.internal.taglib.extension;
+ displayName = "Tobago Extensions 3.0.x") package org.apache.myfaces.tobago.internal.taglib.extension;
Modified: myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/layout/BootstrapPartition.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/layout/BootstrapPartition.java?rev=1598057&r1=1598056&r2=1598057&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/layout/BootstrapPartition.java (original)
+++ myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/layout/BootstrapPartition.java Wed May 28 16:00:34 2014
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
package org.apache.myfaces.tobago.layout;
import org.apache.myfaces.tobago.internal.util.StringUtils;
@@ -11,7 +30,7 @@ import java.util.List;
*/
public final class BootstrapPartition {
- private static final Integer[] PART_12 = new Integer[] {12};
+ private static final Integer[] PART_12 = new Integer[]{12};
private final Integer[] parts;
@@ -32,7 +51,7 @@ public final class BootstrapPartition {
if (object instanceof String) {
return valueOf((String) object);
} else if (object instanceof Integer[]) {
- return new BootstrapPartition(( Integer[]) object);
+ return new BootstrapPartition((Integer[]) object);
} else if (object != null) {
return valueOf(object.toString());
} else {
Modified: myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/renderkit/css/Classes.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/renderkit/css/Classes.java?rev=1598057&r1=1598056&r2=1598057&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/renderkit/css/Classes.java (original)
+++ myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/renderkit/css/Classes.java Wed May 28 16:00:34 2014
@@ -34,21 +34,27 @@ import javax.faces.component.UIComponent
import javax.faces.context.FacesContext;
/**
+ * <p>
* Builds the CSS class attribute of tags. The names will be generated in a formal way, so generic name (and
* abbreviation) are possible. The class works like a factory, so caching will be possible.
- * <p/>
+ * </p>
+ * <p>
* The default naming conventions allow these values:<br/>
- * <p/>
- * <ul> <li>tobago-<rendererName></li> <li>tobago-<rendererName>-markup-<markupName></li>
- * <li>tobago-<rendererName>-<subElement></li> <li>tobago-<rendererName>-<subElement>-markup-<markupName></li>
+ * <ul>
+ * <li>tobago-<rendererName></li>
+ * <li>tobago-<rendererName>-markup-<markupName></li>
+ * <li>tobago-<rendererName>-<subElement></li>
+ * <li>tobago-<rendererName>-<subElement>-markup-<markupName></li>
* </ul>
- * <p/>
+ * </p>
+ * <p>
* where <ul> <li><rendererName>, <subElement> and <markupName> must only contain ASCII-chars and -numbers</li>
* <li><rendererName> is the rendererType with a lower case char as first char</li> <li><subElement> is a sub
* element of the main tag in the output language (e.g. HTML)</li> <li><markupName> is the name of an existing
* markup</li> </ul> If the markup contains more than one name, there will be generated more than one output string.
* E.g.: UIIn with Markup [readonly, error] will get the class "tobago-in tobago-in-markup-readonly
* tobago-in-markup-error".
+ * </p>
*/
public final class Classes {
Modified: myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/renderkit/css/Css.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/renderkit/css/Css.java?rev=1598057&r1=1598056&r2=1598057&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/renderkit/css/Css.java (original)
+++ myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/renderkit/css/Css.java Wed May 28 16:00:34 2014
@@ -32,7 +32,6 @@ public class Css {
private static final Logger LOG = LoggerFactory.getLogger(Css.class);
-
private final Set<String> list = new HashSet<String>();
public Css() {
@@ -61,7 +60,7 @@ public class Css {
if (object == null) {
return new Css();
} else if (object instanceof String) {
- return valueOf((String)object);
+ return valueOf((String) object);
} else {
return valueOf(object.toString());
}
Modified: myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/util/ComponentUtils.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/util/ComponentUtils.java?rev=1598057&r1=1598056&r2=1598057&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/util/ComponentUtils.java (original)
+++ myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/util/ComponentUtils.java Wed May 28 16:00:34 2014
@@ -31,7 +31,6 @@ import org.apache.myfaces.tobago.interna
import org.apache.myfaces.tobago.internal.component.AbstractUIPage;
import org.apache.myfaces.tobago.internal.component.AbstractUIPopup;
import org.apache.myfaces.tobago.internal.util.ArrayUtils;
-import org.apache.myfaces.tobago.internal.util.Deprecation;
import org.apache.myfaces.tobago.internal.util.FindComponentUtils;
import org.apache.myfaces.tobago.internal.util.ObjectUtils;
import org.apache.myfaces.tobago.internal.util.StringUtils;
@@ -42,9 +41,7 @@ import org.slf4j.LoggerFactory;
import javax.faces.FactoryFinder;
import javax.faces.application.Application;
import javax.faces.application.FacesMessage;
-import javax.faces.component.ActionSource;
import javax.faces.component.ContextCallback;
-import javax.faces.component.EditableValueHolder;
import javax.faces.component.NamingContainer;
import javax.faces.component.UICommand;
import javax.faces.component.UIComponent;
@@ -470,24 +467,6 @@ public final class ComponentUtils {
return FacesContext.getCurrentInstance().getApplication().createValueBinding(value);
}
- /**
- * @deprecated since 1.5.0
- * Please define a {@link Markup} and set it to the component with
- * {@link SupportsMarkup#setMarkup(Markup markup)} before the rendering phase.
- */
- @Deprecated
- public static void setStyleClasses(final UIComponent component, final String styleClasses) {
- Deprecation.LOG.warn("style class " + styleClasses);
- }
-
- /**
- * @deprecated since 1.5.0
- */
- @Deprecated
- public static void setMarkup(final UIComponent markupComponent, final String markup) {
- Deprecation.LOG.error("markup=" + markup);
- }
-
public static Object getAttribute(final UIComponent component, final String name) {
Object value = component.getAttributes().get(name);
if (value instanceof ValueBinding) {
@@ -664,14 +643,6 @@ public final class ComponentUtils {
}
/**
- * @deprecated since 1.5.0
- */
- @Deprecated
- public static void setIntegerSizeProperty(final UIComponent component, final String name, final String value) {
- Deprecation.LOG.error("name=" + name + " value=" + value);
- }
-
- /**
* @deprecated since 2.0.0
*/
@Deprecated
@@ -789,83 +760,6 @@ public final class ComponentUtils {
}
/**
- * @deprecated since 1.5.0
- */
- @Deprecated
- public static void setValidator(final EditableValueHolder editableValueHolder, final String validator) {
- Deprecation.LOG.error("validator=" + validator);
- }
-
- /**
- * @deprecated since 1.5.0
- */
- @Deprecated
- public static void setConverter(final ValueHolder valueHolder, final String converterId) {
- Deprecation.LOG.error("converterId=" + converterId);
- }
-
- /**
- * @deprecated since 1.5.0
- */
- @Deprecated
- public static void setAction(final ActionSource component, final String action) {
- Deprecation.LOG.error("action=" + action);
- }
-
- /**
- * @deprecated since 1.5.0
- */
- @Deprecated
- public static void setActionListener(final ActionSource command, final String actionListener) {
- Deprecation.LOG.error("actionListener=" + actionListener);
- }
-
- /**
- * @deprecated since 1.5.0
- */
- @Deprecated
- public static void setValueChangeListener(final EditableValueHolder valueHolder, final String valueChangeListener) {
- Deprecation.LOG.error("valueChangeListener=" + valueChangeListener);
- }
-
- /**
- * @deprecated since 1.5.0
- */
- @Deprecated
- public static void setValueBinding(final UIComponent component, final String name, final String state) {
- Deprecation.LOG.error("name=" + name + " state=" + state);
- }
-
- /**
- * @deprecated since 1.5
- */
- @Deprecated
- public static String[] getMarkupBinding(final FacesContext facesContext, final SupportsMarkup component) {
- final ValueBinding vb = ((UIComponent) component).getValueBinding(Attributes.MARKUP);
- if (vb != null) {
- final Object markups = vb.getValue(facesContext);
- if (markups instanceof String[]) {
- return (String[]) markups;
- } else if (markups instanceof String) {
- final String[] strings = StringUtils.split((String) markups, ", ");
- final List<String> result = new ArrayList<String>(strings.length);
- for (final String string : strings) {
- if (string.trim().length() != 0) {
- result.add(string.trim());
- }
- }
- return result.toArray(new String[result.size()]);
- } else if (markups == null) {
- return ArrayUtils.EMPTY_STRING_ARRAY;
- } else {
- return new String[]{markups.toString()};
- }
- }
-
- return ArrayUtils.EMPTY_STRING_ARRAY;
- }
-
- /**
* The search depends on the number of colons in the relativeId:
* <dl>
* <dd>colonCount == 0</dd>
Modified: myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/test/java/org/apache/myfaces/tobago/layout/BootstrapPartitionUnitTest.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/test/java/org/apache/myfaces/tobago/layout/BootstrapPartitionUnitTest.java?rev=1598057&r1=1598056&r2=1598057&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/test/java/org/apache/myfaces/tobago/layout/BootstrapPartitionUnitTest.java (original)
+++ myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/test/java/org/apache/myfaces/tobago/layout/BootstrapPartitionUnitTest.java Wed May 28 16:00:34 2014
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
package org.apache.myfaces.tobago.layout;
import org.junit.Assert;
@@ -12,13 +31,13 @@ public class BootstrapPartitionUnitTest
Assert.assertArrayEquals(
new Integer[]{12}, new BootstrapPartition(12).getParts());
Assert.assertArrayEquals(
- new Integer[]{1,11}, new BootstrapPartition(1,11).getParts());
+ new Integer[]{1, 11}, new BootstrapPartition(1, 11).getParts());
Assert.assertArrayEquals(
- new Integer[]{1,11}, new BootstrapPartition(1,12).getParts()); // will be fixed
+ new Integer[]{1, 11}, new BootstrapPartition(1, 12).getParts()); // will be fixed
Assert.assertArrayEquals(
- new Integer[]{1,2,3,4,2}, new BootstrapPartition(1,2,3,4,5).getParts()); // will be fixed
+ new Integer[]{1, 2, 3, 4, 2}, new BootstrapPartition(1, 2, 3, 4, 5).getParts()); // will be fixed
Assert.assertArrayEquals(
- new Integer[]{1,1,1,1,1,7}, new BootstrapPartition(-1,-2,-3,-4,-5).getParts()); // will be fixed
+ new Integer[]{1, 1, 1, 1, 1, 7}, new BootstrapPartition(-1, -2, -3, -4, -5).getParts()); // will be fixed
}
@Test
@@ -28,13 +47,13 @@ public class BootstrapPartitionUnitTest
Assert.assertArrayEquals(
new Integer[]{12}, BootstrapPartition.valueOf("12").getParts());
Assert.assertArrayEquals(
- new Integer[]{1,11}, BootstrapPartition.valueOf("1;11").getParts());
+ new Integer[]{1, 11}, BootstrapPartition.valueOf("1;11").getParts());
Assert.assertArrayEquals(
- new Integer[]{1,11}, BootstrapPartition.valueOf("1;12").getParts()); // will be fixed
+ new Integer[]{1, 11}, BootstrapPartition.valueOf("1;12").getParts()); // will be fixed
Assert.assertArrayEquals(
- new Integer[]{1,2,3,4,2}, BootstrapPartition.valueOf("1;2;3;4;5").getParts()); // will be fixed
+ new Integer[]{1, 2, 3, 4, 2}, BootstrapPartition.valueOf("1;2;3;4;5").getParts()); // will be fixed
Assert.assertArrayEquals(
- new Integer[]{1,1,1,1,1,7}, BootstrapPartition.valueOf("-1;-2;-3;-4;-5").getParts()); // will be fixed
+ new Integer[]{1, 1, 1, 1, 1, 7}, BootstrapPartition.valueOf("-1;-2;-3;-4;-5").getParts()); // will be fixed
}
}
Modified: myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-test/src/main/java/org/apache/myfaces/tobago/example/test/Bootstrap.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-test/src/main/java/org/apache/myfaces/tobago/example/test/Bootstrap.java?rev=1598057&r1=1598056&r2=1598057&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-test/src/main/java/org/apache/myfaces/tobago/example/test/Bootstrap.java (original)
+++ myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-test/src/main/java/org/apache/myfaces/tobago/example/test/Bootstrap.java Wed May 28 16:00:34 2014
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
package org.apache.myfaces.tobago.example.test;
public class Bootstrap {
Modified: myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-speyside/src/main/java/org/apache/myfaces/tobago/renderkit/html/speyside/standard/tag/BoxRenderer.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-speyside/src/main/java/org/apache/myfaces/tobago/renderkit/html/speyside/standard/tag/BoxRenderer.java?rev=1598057&r1=1598056&r2=1598057&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-speyside/src/main/java/org/apache/myfaces/tobago/renderkit/html/speyside/standard/tag/BoxRenderer.java (original)
+++ myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-speyside/src/main/java/org/apache/myfaces/tobago/renderkit/html/speyside/standard/tag/BoxRenderer.java Wed May 28 16:00:34 2014
@@ -48,7 +48,8 @@ with shadow
<div class="tobago-box" style="width: 100px; height: 100px">
<div class="tobago-box-header">Label</div>
- <div class="tobago-box-content" style="position: absolute; top: 26px; left: 6px; width: 87px; height: 67px; background-color: blue;">
+ <div class="tobago-box-content"
+ style="position: absolute; top: 26px; left: 6px; width: 87px; height: 67px; background-color: blue;">
Content
</div>
</div>
Modified: myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/standard/standard/tag/BootstrapLayoutRenderer.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/standard/standard/tag/BootstrapLayoutRenderer.java?rev=1598057&r1=1598056&r2=1598057&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/standard/standard/tag/BootstrapLayoutRenderer.java (original)
+++ myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/standard/standard/tag/BootstrapLayoutRenderer.java Wed May 28 16:00:34 2014
@@ -83,7 +83,7 @@ public class BootstrapLayoutRenderer ext
final FacesContext facesContext, final TobagoResponseWriter writer,
final BootstrapCssGenerator generator, final UIComponent child) throws IOException {
if (child instanceof UILabel) {
- generator.generate(((UILabel)child).getCurrentCss());
+ generator.generate(((UILabel) child).getCurrentCss());
RenderUtils.encode(facesContext, child);
} else {
writer.startElement(HtmlElements.DIV, null);
Modified: myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/standard/standard/tag/MenuRenderer.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/standard/standard/tag/MenuRenderer.java?rev=1598057&r1=1598056&r2=1598057&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/standard/standard/tag/MenuRenderer.java (original)
+++ myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/standard/standard/tag/MenuRenderer.java Wed May 28 16:00:34 2014
@@ -76,7 +76,7 @@ public class MenuRenderer extends Layout
backgroundImage.append("url('");
backgroundImage.append(
ResourceManagerUtils.getImageOrDisabledImageWithPath(facesContext, menu.getImage(), menu.isDisabled()));
- backgroundImage.append( "')");
+ backgroundImage.append("')");
backgroundPosition.append("left center");
}
if (isParentMenu && !firstLevel) {
@@ -91,7 +91,7 @@ public class MenuRenderer extends Layout
backgroundImage.append("url('");
backgroundImage.append(
ResourceManagerUtils.getImageOrDisabledImageWithPath(facesContext, "image/MenuArrow.gif", menu.isDisabled()));
- backgroundImage.append( "')");
+ backgroundImage.append("')");
backgroundPosition.append("right center");
}
if (backgroundImage != null) {
Modified: myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/standard/standard/tag/SheetRenderer.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/standard/standard/tag/SheetRenderer.java?rev=1598057&r1=1598056&r2=1598057&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/standard/standard/tag/SheetRenderer.java (original)
+++ myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/standard/standard/tag/SheetRenderer.java Wed May 28 16:00:34 2014
@@ -283,7 +283,7 @@ public class SheetRenderer extends Layou
}
final Object rowRendered = sheet.getAttributes().get("rowRendered");
- if (rowRendered instanceof Boolean && !((Boolean) rowRendered)) {
+ if (rowRendered instanceof Boolean && !((Boolean) rowRendered)) {
continue;
}
@@ -304,7 +304,7 @@ public class SheetRenderer extends Layou
}
writer.startElement(HtmlElements.TR, null);
- if (rowRendered instanceof Boolean) {
+ if (rowRendered instanceof Boolean) {
// if rowRendered attribute is set we need the rowIndex on the client
writer.writeAttribute(DataAttributes.ROW_INDEX, rowIndex);
}
@@ -554,9 +554,9 @@ public class SheetRenderer extends Layou
}
writer.endElement(HtmlElements.SPAN);
if (sheet.isShowPageRangeArrows()) {
- final boolean atEnd = sheet.isAtEnd();
- link(facesContext, application, areaId, atEnd, PageAction.NEXT, sheet);
- link(facesContext, application, areaId, atEnd || !sheet.hasRowCount(), PageAction.LAST, sheet);
+ final boolean atEnd = sheet.isAtEnd();
+ link(facesContext, application, areaId, atEnd, PageAction.NEXT, sheet);
+ link(facesContext, application, areaId, atEnd || !sheet.hasRowCount(), PageAction.LAST, sheet);
}
writer.endElement(HtmlElements.SPAN);
}
@@ -747,7 +747,8 @@ public class SheetRenderer extends Layou
final TobagoResponseWriter writer = HtmlRendererUtils.getTobagoResponseWriter(facesContext);
writer.startElement(HtmlElements.IMG, null);
writer.writeIdAttribute(data.getClientId(facesContext)
- + ComponentUtils.SUB_SEPARATOR + areaId + ComponentUtils.SUB_SEPARATOR + "pagingArrows" + ComponentUtils.SUB_SEPARATOR + command.getToken());
+ + ComponentUtils.SUB_SEPARATOR + areaId + ComponentUtils.SUB_SEPARATOR + "pagingArrows"
+ + ComponentUtils.SUB_SEPARATOR + command.getToken());
final Classes pagerClasses = Classes.create(data, "footerPagerButton", disabled ? Markup.DISABLED : null);
writer.writeClassAttribute(pagerClasses);
writer.writeAttribute(HtmlAttributes.SRC, image, false);
@@ -770,9 +771,9 @@ public class SheetRenderer extends Layou
final Grid grid = sheet.getHeaderGrid();
if (grid == null) {
- LOG.warn("Can't render column headers, because grid == null. One reason can be, the you use nested sheets. " +
- "The inner sheet ensureHeader() will be called outside the iterating over the rows. " +
- "Nesting sheet is currently not supported.");
+ LOG.warn("Can't render column headers, because grid == null. One reason can be, the you use nested sheets. "
+ + "The inner sheet ensureHeader() will be called outside the iterating over the rows. "
+ + "Nesting sheet is currently not supported.");
return;
}
final List<Integer> columnWidths = sheet.getWidthList();
@@ -894,7 +895,7 @@ public class SheetRenderer extends Layou
markup = markup.add(Markup.FIRST);
}
if (pure) {
- markup = markup.add(Markup.PURE);
+ markup = markup.add(Markup.PURE);
}
writer.writeClassAttribute(Classes.create(sheet, "header", markup));
writer.writeAttribute(HtmlAttributes.TITLE, tip, true);
Modified: myfaces/tobago/branches/tobago-3.0.x/tobago-tool/tobago-tool-apt/src/main/java/org/apache/myfaces/tobago/apt/processor/TaglibGenerator.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-3.0.x/tobago-tool/tobago-tool-apt/src/main/java/org/apache/myfaces/tobago/apt/processor/TaglibGenerator.java?rev=1598057&r1=1598056&r2=1598057&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-3.0.x/tobago-tool/tobago-tool-apt/src/main/java/org/apache/myfaces/tobago/apt/processor/TaglibGenerator.java (original)
+++ myfaces/tobago/branches/tobago-3.0.x/tobago-tool/tobago-tool-apt/src/main/java/org/apache/myfaces/tobago/apt/processor/TaglibGenerator.java Wed May 28 16:00:34 2014
@@ -165,7 +165,8 @@ public class TaglibGenerator extends Abs
resetAttributeDuplicateList();
// TODO configure replacement
// final String className;
-// if (typeElement.getAnnotation(SimpleTag.class) != null || typeElement.getAnnotation(ValidatorTag.class) != null) {
+// if (typeElement.getAnnotation(SimpleTag.class) != null
+// || typeElement.getAnnotation(ValidatorTag.class) != null) {
// className = AnnotationUtils.generatedTagName(typeElement);
// } else if (typeElement.getAnnotation(ExtensionTag.class) != null) {
// className = typeElement.getQualifiedName().toString();