You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by ma...@apache.org on 2006/02/24 16:47:41 UTC
svn commit: r380693 [2/9] - in /myfaces: core/branches/1_1_2/assembly/
core/branches/1_1_2/impl/
core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/application/
core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/application/jsp/
core/bran...
Modified: myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/core/ValueChangeListenerTag.java
URL: http://svn.apache.org/viewcvs/myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/core/ValueChangeListenerTag.java?rev=380693&r1=380692&r2=380693&view=diff
==============================================================================
--- myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/core/ValueChangeListenerTag.java (original)
+++ myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/core/ValueChangeListenerTag.java Fri Feb 24 07:47:18 2006
@@ -15,7 +15,7 @@
*/
package org.apache.myfaces.taglib.core;
-import org.apache.myfaces.util.ClassUtils;
+import org.apache.myfaces.shared.util.ClassUtils;
import javax.faces.component.EditableValueHolder;
import javax.faces.component.UIComponent;
Modified: myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/core/VerbatimTag.java
URL: http://svn.apache.org/viewcvs/myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/core/VerbatimTag.java?rev=380693&r1=380692&r2=380693&view=diff
==============================================================================
--- myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/core/VerbatimTag.java (original)
+++ myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/core/VerbatimTag.java Fri Feb 24 07:47:18 2006
@@ -15,8 +15,8 @@
*/
package org.apache.myfaces.taglib.core;
-import org.apache.myfaces.renderkit.JSFAttr;
-import org.apache.myfaces.taglib.UIComponentBodyTagBase;
+import org.apache.myfaces.shared.renderkit.JSFAttr;
+import org.apache.myfaces.shared.taglib.UIComponentBodyTagBase;
import javax.faces.component.UIComponent;
import javax.faces.component.UIOutput;
Modified: myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/core/ViewTag.java
URL: http://svn.apache.org/viewcvs/myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/core/ViewTag.java?rev=380693&r1=380692&r2=380693&view=diff
==============================================================================
--- myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/core/ViewTag.java (original)
+++ myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/core/ViewTag.java Fri Feb 24 07:47:18 2006
@@ -19,8 +19,8 @@
import org.apache.commons.logging.LogFactory;
import org.apache.myfaces.application.MyfacesStateManager;
import org.apache.myfaces.application.jsp.JspViewHandlerImpl;
-import org.apache.myfaces.renderkit.html.HtmlLinkRendererBase;
-import org.apache.myfaces.util.LocaleUtils;
+import org.apache.myfaces.shared.renderkit.html.HtmlLinkRendererBase;
+import org.apache.myfaces.shared.util.LocaleUtils;
import javax.faces.application.StateManager;
import javax.faces.component.UIComponent;
Modified: myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlColumnTag.java
URL: http://svn.apache.org/viewcvs/myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlColumnTag.java?rev=380693&r1=380692&r2=380693&view=diff
==============================================================================
--- myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlColumnTag.java (original)
+++ myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlColumnTag.java Fri Feb 24 07:47:18 2006
@@ -15,6 +15,8 @@
*/
package org.apache.myfaces.taglib.html;
+import org.apache.myfaces.shared.taglib.html.HtmlComponentBodyTagBase;
+
import javax.faces.component.UIColumn;
Modified: myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlCommandButtonTag.java
URL: http://svn.apache.org/viewcvs/myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlCommandButtonTag.java?rev=380693&r1=380692&r2=380693&view=diff
==============================================================================
--- myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlCommandButtonTag.java (original)
+++ myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlCommandButtonTag.java Fri Feb 24 07:47:18 2006
@@ -15,6 +15,8 @@
*/
package org.apache.myfaces.taglib.html;
+import org.apache.myfaces.shared.taglib.html.HtmlCommandButtonTagBase;
+
import javax.faces.component.html.HtmlCommandButton;
Modified: myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlCommandLinkTag.java
URL: http://svn.apache.org/viewcvs/myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlCommandLinkTag.java?rev=380693&r1=380692&r2=380693&view=diff
==============================================================================
--- myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlCommandLinkTag.java (original)
+++ myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlCommandLinkTag.java Fri Feb 24 07:47:18 2006
@@ -15,6 +15,8 @@
*/
package org.apache.myfaces.taglib.html;
+import org.apache.myfaces.shared.taglib.html.HtmlCommandLinkTagBase;
+
import javax.faces.component.html.HtmlCommandLink;
Modified: myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlDataTableTag.java
URL: http://svn.apache.org/viewcvs/myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlDataTableTag.java?rev=380693&r1=380692&r2=380693&view=diff
==============================================================================
--- myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlDataTableTag.java (original)
+++ myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlDataTableTag.java Fri Feb 24 07:47:18 2006
@@ -15,6 +15,8 @@
*/
package org.apache.myfaces.taglib.html;
+import org.apache.myfaces.shared.taglib.html.HtmlDataTableTagBase;
+
import javax.faces.component.html.HtmlDataTable;
/**
Modified: myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlFormTag.java
URL: http://svn.apache.org/viewcvs/myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlFormTag.java?rev=380693&r1=380692&r2=380693&view=diff
==============================================================================
--- myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlFormTag.java (original)
+++ myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlFormTag.java Fri Feb 24 07:47:18 2006
@@ -15,6 +15,8 @@
*/
package org.apache.myfaces.taglib.html;
+import org.apache.myfaces.shared.taglib.html.HtmlFormTagBase;
+
import javax.faces.component.html.HtmlForm;
/**
Modified: myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlGraphicImageTag.java
URL: http://svn.apache.org/viewcvs/myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlGraphicImageTag.java?rev=380693&r1=380692&r2=380693&view=diff
==============================================================================
--- myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlGraphicImageTag.java (original)
+++ myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlGraphicImageTag.java Fri Feb 24 07:47:18 2006
@@ -15,6 +15,8 @@
*/
package org.apache.myfaces.taglib.html;
+import org.apache.myfaces.shared.taglib.html.HtmlGraphicImageTagBase;
+
import javax.faces.component.html.HtmlGraphicImage;
Modified: myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlInputHiddenTag.java
URL: http://svn.apache.org/viewcvs/myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlInputHiddenTag.java?rev=380693&r1=380692&r2=380693&view=diff
==============================================================================
--- myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlInputHiddenTag.java (original)
+++ myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlInputHiddenTag.java Fri Feb 24 07:47:18 2006
@@ -15,6 +15,8 @@
*/
package org.apache.myfaces.taglib.html;
+import org.apache.myfaces.shared.taglib.html.HtmlInputHiddenTagBase;
+
import javax.faces.component.html.HtmlInputHidden;
/**
Modified: myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlInputSecretTag.java
URL: http://svn.apache.org/viewcvs/myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlInputSecretTag.java?rev=380693&r1=380692&r2=380693&view=diff
==============================================================================
--- myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlInputSecretTag.java (original)
+++ myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlInputSecretTag.java Fri Feb 24 07:47:18 2006
@@ -15,6 +15,8 @@
*/
package org.apache.myfaces.taglib.html;
+import org.apache.myfaces.shared.taglib.html.HtmlInputSecretTagBase;
+
import javax.faces.component.html.HtmlInputSecret;
Modified: myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlInputTextTag.java
URL: http://svn.apache.org/viewcvs/myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlInputTextTag.java?rev=380693&r1=380692&r2=380693&view=diff
==============================================================================
--- myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlInputTextTag.java (original)
+++ myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlInputTextTag.java Fri Feb 24 07:47:18 2006
@@ -15,6 +15,8 @@
*/
package org.apache.myfaces.taglib.html;
+import org.apache.myfaces.shared.taglib.html.HtmlInputTextTagBase;
+
import javax.faces.component.html.HtmlInputText;
Modified: myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlInputTextareaTag.java
URL: http://svn.apache.org/viewcvs/myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlInputTextareaTag.java?rev=380693&r1=380692&r2=380693&view=diff
==============================================================================
--- myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlInputTextareaTag.java (original)
+++ myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlInputTextareaTag.java Fri Feb 24 07:47:18 2006
@@ -15,6 +15,8 @@
*/
package org.apache.myfaces.taglib.html;
+import org.apache.myfaces.shared.taglib.html.HtmlInputTextareaTagBase;
+
import javax.faces.component.html.HtmlInputTextarea;
Modified: myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlMessageTag.java
URL: http://svn.apache.org/viewcvs/myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlMessageTag.java?rev=380693&r1=380692&r2=380693&view=diff
==============================================================================
--- myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlMessageTag.java (original)
+++ myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlMessageTag.java Fri Feb 24 07:47:18 2006
@@ -15,6 +15,8 @@
*/
package org.apache.myfaces.taglib.html;
+import org.apache.myfaces.shared.taglib.html.HtmlMessageTagBase;
+
import javax.faces.component.html.HtmlMessage;
/**
Modified: myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlMessagesTag.java
URL: http://svn.apache.org/viewcvs/myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlMessagesTag.java?rev=380693&r1=380692&r2=380693&view=diff
==============================================================================
--- myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlMessagesTag.java (original)
+++ myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlMessagesTag.java Fri Feb 24 07:47:18 2006
@@ -15,6 +15,8 @@
*/
package org.apache.myfaces.taglib.html;
+import org.apache.myfaces.shared.taglib.html.HtmlMessagesTagBase;
+
import javax.faces.component.html.HtmlMessages;
/**
Modified: myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlOutputFormatTag.java
URL: http://svn.apache.org/viewcvs/myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlOutputFormatTag.java?rev=380693&r1=380692&r2=380693&view=diff
==============================================================================
--- myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlOutputFormatTag.java (original)
+++ myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlOutputFormatTag.java Fri Feb 24 07:47:18 2006
@@ -15,6 +15,8 @@
*/
package org.apache.myfaces.taglib.html;
+import org.apache.myfaces.shared.taglib.html.HtmlOutputFormatTagBase;
+
import javax.faces.component.html.HtmlOutputFormat;
/**
Modified: myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlOutputLabelTag.java
URL: http://svn.apache.org/viewcvs/myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlOutputLabelTag.java?rev=380693&r1=380692&r2=380693&view=diff
==============================================================================
--- myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlOutputLabelTag.java (original)
+++ myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlOutputLabelTag.java Fri Feb 24 07:47:18 2006
@@ -15,6 +15,8 @@
*/
package org.apache.myfaces.taglib.html;
+import org.apache.myfaces.shared.taglib.html.HtmlOutputLabelTagBase;
+
import javax.faces.component.html.HtmlOutputLabel;
Modified: myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlOutputLinkTag.java
URL: http://svn.apache.org/viewcvs/myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlOutputLinkTag.java?rev=380693&r1=380692&r2=380693&view=diff
==============================================================================
--- myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlOutputLinkTag.java (original)
+++ myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlOutputLinkTag.java Fri Feb 24 07:47:18 2006
@@ -15,6 +15,8 @@
*/
package org.apache.myfaces.taglib.html;
+import org.apache.myfaces.shared.taglib.html.HtmlOutputLinkTagBase;
+
import javax.faces.component.html.HtmlOutputLink;
Modified: myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlOutputTextTag.java
URL: http://svn.apache.org/viewcvs/myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlOutputTextTag.java?rev=380693&r1=380692&r2=380693&view=diff
==============================================================================
--- myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlOutputTextTag.java (original)
+++ myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlOutputTextTag.java Fri Feb 24 07:47:18 2006
@@ -15,6 +15,8 @@
*/
package org.apache.myfaces.taglib.html;
+import org.apache.myfaces.shared.taglib.html.HtmlOutputTextTagBase;
+
import javax.faces.component.html.HtmlOutputText;
Modified: myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlPanelGridTag.java
URL: http://svn.apache.org/viewcvs/myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlPanelGridTag.java?rev=380693&r1=380692&r2=380693&view=diff
==============================================================================
--- myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlPanelGridTag.java (original)
+++ myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlPanelGridTag.java Fri Feb 24 07:47:18 2006
@@ -15,6 +15,8 @@
*/
package org.apache.myfaces.taglib.html;
+import org.apache.myfaces.shared.taglib.html.HtmlPanelGridTagBase;
+
import javax.faces.component.html.HtmlPanelGrid;
/**
Modified: myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlPanelGroupTag.java
URL: http://svn.apache.org/viewcvs/myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlPanelGroupTag.java?rev=380693&r1=380692&r2=380693&view=diff
==============================================================================
--- myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlPanelGroupTag.java (original)
+++ myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlPanelGroupTag.java Fri Feb 24 07:47:18 2006
@@ -15,6 +15,8 @@
*/
package org.apache.myfaces.taglib.html;
+import org.apache.myfaces.shared.taglib.html.HtmlPanelGroupTagBase;
+
import javax.faces.component.html.HtmlPanelGroup;
/**
Modified: myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlSelectBooleanCheckboxTag.java
URL: http://svn.apache.org/viewcvs/myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlSelectBooleanCheckboxTag.java?rev=380693&r1=380692&r2=380693&view=diff
==============================================================================
--- myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlSelectBooleanCheckboxTag.java (original)
+++ myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlSelectBooleanCheckboxTag.java Fri Feb 24 07:47:18 2006
@@ -15,6 +15,8 @@
*/
package org.apache.myfaces.taglib.html;
+import org.apache.myfaces.shared.taglib.html.HtmlSelectBooleanCheckboxTagBase;
+
import javax.faces.component.html.HtmlSelectBooleanCheckbox;
Modified: myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlSelectManyCheckboxTag.java
URL: http://svn.apache.org/viewcvs/myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlSelectManyCheckboxTag.java?rev=380693&r1=380692&r2=380693&view=diff
==============================================================================
--- myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlSelectManyCheckboxTag.java (original)
+++ myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlSelectManyCheckboxTag.java Fri Feb 24 07:47:18 2006
@@ -15,6 +15,8 @@
*/
package org.apache.myfaces.taglib.html;
+import org.apache.myfaces.shared.taglib.html.HtmlSelectManyCheckboxTagBase;
+
import javax.faces.component.html.HtmlSelectManyCheckbox;
Modified: myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlSelectManyListboxTag.java
URL: http://svn.apache.org/viewcvs/myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlSelectManyListboxTag.java?rev=380693&r1=380692&r2=380693&view=diff
==============================================================================
--- myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlSelectManyListboxTag.java (original)
+++ myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlSelectManyListboxTag.java Fri Feb 24 07:47:18 2006
@@ -15,6 +15,8 @@
*/
package org.apache.myfaces.taglib.html;
+import org.apache.myfaces.shared.taglib.html.HtmlSelectListboxTagBase;
+
import javax.faces.component.html.HtmlSelectManyListbox;
Modified: myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlSelectManyMenuTag.java
URL: http://svn.apache.org/viewcvs/myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlSelectManyMenuTag.java?rev=380693&r1=380692&r2=380693&view=diff
==============================================================================
--- myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlSelectManyMenuTag.java (original)
+++ myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlSelectManyMenuTag.java Fri Feb 24 07:47:18 2006
@@ -15,6 +15,8 @@
*/
package org.apache.myfaces.taglib.html;
+import org.apache.myfaces.shared.taglib.html.HtmlSelectMenuTagBase;
+
import javax.faces.component.html.HtmlSelectManyMenu;
Modified: myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlSelectOneListboxTag.java
URL: http://svn.apache.org/viewcvs/myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlSelectOneListboxTag.java?rev=380693&r1=380692&r2=380693&view=diff
==============================================================================
--- myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlSelectOneListboxTag.java (original)
+++ myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlSelectOneListboxTag.java Fri Feb 24 07:47:18 2006
@@ -15,6 +15,8 @@
*/
package org.apache.myfaces.taglib.html;
+import org.apache.myfaces.shared.taglib.html.HtmlSelectListboxTagBase;
+
import javax.faces.component.html.HtmlSelectOneListbox;
/**
Modified: myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlSelectOneMenuTag.java
URL: http://svn.apache.org/viewcvs/myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlSelectOneMenuTag.java?rev=380693&r1=380692&r2=380693&view=diff
==============================================================================
--- myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlSelectOneMenuTag.java (original)
+++ myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlSelectOneMenuTag.java Fri Feb 24 07:47:18 2006
@@ -15,6 +15,8 @@
*/
package org.apache.myfaces.taglib.html;
+import org.apache.myfaces.shared.taglib.html.HtmlSelectMenuTagBase;
+
import javax.faces.component.html.HtmlSelectOneMenu;
/**
Modified: myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlSelectOneRadioTag.java
URL: http://svn.apache.org/viewcvs/myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlSelectOneRadioTag.java?rev=380693&r1=380692&r2=380693&view=diff
==============================================================================
--- myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlSelectOneRadioTag.java (original)
+++ myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/taglib/html/HtmlSelectOneRadioTag.java Fri Feb 24 07:47:18 2006
@@ -15,6 +15,8 @@
*/
package org.apache.myfaces.taglib.html;
+import org.apache.myfaces.shared.taglib.html.HtmlSelectOneRadioTagBase;
+
import javax.faces.component.html.HtmlSelectOneRadio;
Modified: myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/util/MyFacesObjectInputStream.java
URL: http://svn.apache.org/viewcvs/myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/util/MyFacesObjectInputStream.java?rev=380693&r1=380692&r2=380693&view=diff
==============================================================================
--- myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/util/MyFacesObjectInputStream.java (original)
+++ myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/util/MyFacesObjectInputStream.java Fri Feb 24 07:47:18 2006
@@ -15,6 +15,8 @@
*/
package org.apache.myfaces.util;
+import org.apache.myfaces.shared.util.ClassUtils;
+
import java.io.IOException;
import java.io.InputStream;
import java.io.ObjectInputStream;
Modified: myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/webapp/MyFacesServlet.java
URL: http://svn.apache.org/viewcvs/myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/webapp/MyFacesServlet.java?rev=380693&r1=380692&r2=380693&view=diff
==============================================================================
--- myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/webapp/MyFacesServlet.java (original)
+++ myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/webapp/MyFacesServlet.java Fri Feb 24 07:47:18 2006
@@ -17,7 +17,7 @@
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
-import org.apache.myfaces.webapp.webxml.DelegatedFacesServlet;
+import org.apache.myfaces.shared.webapp.webxml.DelegatedFacesServlet;
import javax.faces.webapp.FacesServlet;
import javax.servlet.*;
Modified: myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/webapp/StartupServletContextListener.java
URL: http://svn.apache.org/viewcvs/myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/webapp/StartupServletContextListener.java?rev=380693&r1=380692&r2=380693&view=diff
==============================================================================
--- myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/webapp/StartupServletContextListener.java (original)
+++ myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/webapp/StartupServletContextListener.java Fri Feb 24 07:47:18 2006
@@ -23,7 +23,7 @@
import org.apache.myfaces.config.FacesConfigurator;
import org.apache.myfaces.context.servlet.ServletExternalContextImpl;
-import org.apache.myfaces.webapp.webxml.WebXml;
+import org.apache.myfaces.shared.webapp.webxml.WebXml;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
Modified: myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/webapp/filter/JavaScriptDetectorFilter.java
URL: http://svn.apache.org/viewcvs/myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/webapp/filter/JavaScriptDetectorFilter.java?rev=380693&r1=380692&r2=380693&view=diff
==============================================================================
--- myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/webapp/filter/JavaScriptDetectorFilter.java (original)
+++ myfaces/core/branches/1_1_2/impl/src/main/java/org/apache/myfaces/webapp/filter/JavaScriptDetectorFilter.java Fri Feb 24 07:47:18 2006
@@ -16,7 +16,7 @@
package org.apache.myfaces.webapp.filter;
import org.apache.myfaces.context.servlet.ServletExternalContextImpl;
-import org.apache.myfaces.renderkit.html.util.JavascriptUtils;
+import org.apache.myfaces.shared.renderkit.html.util.JavascriptUtils;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
Modified: myfaces/core/branches/1_1_2/impl/src/main/resources/org/apache/myfaces/resource/standard-faces-config.xml
URL: http://svn.apache.org/viewcvs/myfaces/core/branches/1_1_2/impl/src/main/resources/org/apache/myfaces/resource/standard-faces-config.xml?rev=380693&r1=380692&r2=380693&view=diff
==============================================================================
--- myfaces/core/branches/1_1_2/impl/src/main/resources/org/apache/myfaces/resource/standard-faces-config.xml (original)
+++ myfaces/core/branches/1_1_2/impl/src/main/resources/org/apache/myfaces/resource/standard-faces-config.xml Fri Feb 24 07:47:18 2006
@@ -45,7 +45,7 @@
<lifecycle>
<!-- This PhaseListener is only necessary if the autoscroll feature is used -->
- <phase-listener>org.apache.myfaces.renderkit.html.util.AutoScrollPhaseListener</phase-listener>
+ <phase-listener>org.apache.myfaces.shared.renderkit.html.util.AutoScrollPhaseListener</phase-listener>
</lifecycle>
Modified: myfaces/tomahawk/branches/1_1_2/assembly/pom.xml
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/branches/1_1_2/assembly/pom.xml?rev=380693&r1=380692&r2=380693&view=diff
==============================================================================
--- myfaces/tomahawk/branches/1_1_2/assembly/pom.xml (original)
+++ myfaces/tomahawk/branches/1_1_2/assembly/pom.xml Fri Feb 24 07:47:18 2006
@@ -43,12 +43,15 @@
<version>${version}</version>
<classifier>javadoc</classifier>
</artifactItem>
+ <!--
+ TODO/CHECK: what about o.a.m.tomahawk.shared.* javadoc ?!
<artifactItem>
<groupId>org.apache.myfaces.commons</groupId>
<artifactId>myfaces-commons</artifactId>
<version>1.1.3-SNAPSHOT</version>
<classifier>javadoc</classifier>
</artifactItem>
+ -->
</artifactItems>
<outputDirectory>${project.build.directory}/javadoc</outputDirectory>
</configuration>
@@ -66,11 +69,13 @@
<artifactId>tomahawk</artifactId>
<version>${version}</version>
</artifactItem>
+ <!--
<artifactItem>
<groupId>org.apache.myfaces.commons</groupId>
<artifactId>myfaces-commons</artifactId>
<version>1.1.3-SNAPSHOT</version>
</artifactItem>
+ -->
</artifactItems>
<outputDirectory>${project.build.directory}/assembly-lib</outputDirectory>
</configuration>
Modified: myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/application/jsp/JspTilesViewHandlerImpl.java
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/application/jsp/JspTilesViewHandlerImpl.java?rev=380693&r1=380692&r2=380693&view=diff
==============================================================================
--- myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/application/jsp/JspTilesViewHandlerImpl.java (original)
+++ myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/application/jsp/JspTilesViewHandlerImpl.java Fri Feb 24 07:47:18 2006
@@ -33,8 +33,8 @@
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
-import org.apache.myfaces.webapp.webxml.ServletMapping;
-import org.apache.myfaces.webapp.webxml.WebXml;
+import org.apache.myfaces.shared.webapp.webxml.ServletMapping;
+import org.apache.myfaces.shared.webapp.webxml.WebXml;
import org.apache.struts.tiles.ComponentContext;
import org.apache.struts.tiles.ComponentDefinition;
import org.apache.struts.tiles.Controller;
Modified: myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlCommandButton.java
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlCommandButton.java?rev=380693&r1=380692&r2=380693&view=diff
==============================================================================
--- myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlCommandButton.java (original)
+++ myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlCommandButton.java Fri Feb 24 07:47:18 2006
@@ -18,7 +18,7 @@
import org.apache.myfaces.component.UserRoleAware;
import org.apache.myfaces.component.UserRoleUtils;
import org.apache.myfaces.component.html.util.HtmlComponentUtils;
-import org.apache.myfaces.util._ComponentUtils;
+import org.apache.myfaces.shared.util._ComponentUtils;
import javax.faces.context.FacesContext;
import javax.faces.el.ValueBinding;
Modified: myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlCommandLink.java
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlCommandLink.java?rev=380693&r1=380692&r2=380693&view=diff
==============================================================================
--- myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlCommandLink.java (original)
+++ myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlCommandLink.java Fri Feb 24 07:47:18 2006
@@ -18,7 +18,7 @@
import org.apache.myfaces.component.UserRoleAware;
import org.apache.myfaces.component.UserRoleUtils;
import org.apache.myfaces.component.html.util.HtmlComponentUtils;
-import org.apache.myfaces.util._ComponentUtils;
+import org.apache.myfaces.shared.util._ComponentUtils;
import javax.faces.context.FacesContext;
import javax.faces.el.ValueBinding;
Modified: myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlDataTable.java
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlDataTable.java?rev=380693&r1=380692&r2=380693&view=diff
==============================================================================
--- myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlDataTable.java (original)
+++ myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlDataTable.java Fri Feb 24 07:47:18 2006
@@ -38,7 +38,7 @@
import org.apache.myfaces.component.UserRoleAware;
import org.apache.myfaces.component.UserRoleUtils;
import org.apache.myfaces.custom.crosstable.UIColumns;
-import org.apache.myfaces.renderkit.JSFAttr;
+import org.apache.myfaces.shared.renderkit.JSFAttr;
/**
* @author Thomas Spiegl (latest modification by $Author$)
@@ -47,7 +47,7 @@
*/
public class HtmlDataTable extends HtmlDataTableHack implements UserRoleAware
{
-
+
private static final Log log = LogFactory.getLog(HtmlDataTable.class);
private static final int PROCESS_DECODES = 1;
@@ -80,8 +80,8 @@
private Set _expandedNodes = new HashSet();
- private UIColumn detailColumn;
-
+ private UIColumn detailColumn;
+
public String getClientId(FacesContext context)
{
String standardClientId = super.getClientId(context);
@@ -90,11 +90,11 @@
{
return standardClientId;
}
-
+
String forcedIdIndex = getForceIdIndexFormula();
if( forcedIdIndex == null || forcedIdIndex.length() == 0 )
return standardClientId;
-
+
// Trick : Remove the last part starting with NamingContainer.SEPARATOR_CHAR that contains the rowIndex.
// It would be best to not resort to String manipulation,
// but we can't get super.super.getClientId() :-(
@@ -130,7 +130,7 @@
if(remainingPart == null)
{
log.error("Wrong syntax of expression : "+expr+
- " rowIndex was provided, but no component name.");
+ " rowIndex was provided, but no component name.");
return null;
}
@@ -215,8 +215,8 @@
{
// no extended var attributes defined, no special treatment
super.setRowIndex(rowIndex);
- }
- if (_varDetailToggler != null)
+ }
+ if (_varDetailToggler != null)
{
Map requestMap = getFacesContext().getExternalContext().getRequestMap();
requestMap.put(_varDetailToggler, this);
@@ -234,7 +234,7 @@
processColumns(context, PROCESS_DECODES);
setRowIndex(-1);
}
-
+
/**
* @param context
* @param processAction
@@ -250,7 +250,7 @@
}
}
}
-
+
private void process(FacesContext context, UIComponent component, int processAction)
{
switch (processAction)
@@ -266,7 +266,7 @@
break;
}
}
-
+
public void processValidators(FacesContext context)
{
if (!isRendered())
@@ -282,7 +282,7 @@
_isValidChildren = false;
}
}
-
+
public void processUpdates(FacesContext context)
{
if (!isRendered())
@@ -303,7 +303,7 @@
_isValidChildren = false;
}
}
-
+
private void updateModelFromPreservedDataModel(FacesContext context)
{
ValueBinding vb = getValueBinding("value");
@@ -327,7 +327,7 @@
else if (ResultSet.class.isAssignableFrom(type))
{
throw new UnsupportedOperationException(this.getClass().getName()
- + " UnsupportedOperationException");
+ + " UnsupportedOperationException");
}
else
{
@@ -345,7 +345,7 @@
}
_preservedDataModel = null;
}
-
+
public void encodeBegin(FacesContext context) throws IOException
{
if (!isRendered())
@@ -366,12 +366,12 @@
((UIColumns) component).encodeTableBegin(context);
}
}
-
+
// Now invoke the superclass encodeBegin, which will eventually
// execute the encodeBegin for the associated renderer.
super.encodeBegin(context);
}
-
+
/**
* @see javax.faces.component.UIData#encodeEnd(javax.faces.context.FacesContext)
*/
@@ -387,7 +387,7 @@
}
}
}
-
+
public int getFirst()
{
if (_preservedDataModel != null)
@@ -400,7 +400,7 @@
return super.getFirst();
}
}
-
+
public void setFirst(int first)
{
if (_preservedDataModel != null)
@@ -410,7 +410,7 @@
}
super.setFirst(first);
}
-
+
public int getRows()
{
if (_preservedDataModel != null)
@@ -423,7 +423,7 @@
return super.getRows();
}
}
-
+
public void setRows(int rows)
{
if (_preservedDataModel != null)
@@ -433,7 +433,7 @@
}
super.setRows(rows);
}
-
+
public Object saveState(FacesContext context)
{
boolean preserveSort = isPreserveSort();
@@ -466,19 +466,19 @@
values[17] = _rowOnKeyPress;
values[18] = _rowOnKeyDown;
values[19] = _rowOnKeyUp;
-
+
values[20] = _rowStyleClass;
values[21] = _rowStyle;
values[22] = preserveSort ? getSortColumn() : null;
values[23] = preserveSort ? Boolean.valueOf(isSortAscending()) : null;
-
+
values[24] = _varDetailToggler;
values[25] = _expandedNodes;
-
+
return values;
}
-
+
/**
* @see org.apache.myfaces.component.html.ext.HtmlDataTableHack#getDataModel()
*/
@@ -491,7 +491,7 @@
}
return super.getDataModel();
}
-
+
public void restoreState(FacesContext context, Object state)
{
Object values[] = (Object[]) state;
@@ -546,11 +546,11 @@
}
}
}
-
+
_varDetailToggler = (String)values[24];
_expandedNodes = (Set)values[25];
}
-
+
public _SerializableDataModel getSerializableDataModel()
{
DataModel dm = getDataModel();
@@ -560,7 +560,7 @@
}
return createSerializableDataModel();
}
-
+
/**
* @return _SerializableDataModel
*/
@@ -595,22 +595,22 @@
else if (value instanceof javax.servlet.jsp.jstl.sql.Result)
{
return new _SerializableResultDataModel(getFirst(), getRows(),
- (javax.servlet.jsp.jstl.sql.Result) value);
+ (javax.servlet.jsp.jstl.sql.Result) value);
}
else
{
return new _SerializableScalarDataModel(getFirst(), getRows(), value);
}
}
-
+
public boolean isRendered()
{
if (!UserRoleUtils.isVisibleOnUserRole(this))
return false;
return super.isRendered();
}
-
-
+
+
public void setForceIdIndexFormula(String forceIdIndexFormula)
{
_forceIdIndexFormula = forceIdIndexFormula;
@@ -621,7 +621,7 @@
_forceIdIndexFormula = null;
}
}
-
+
public String getForceIdIndexFormula()
{
if (_forceIdIndexFormula != null)
@@ -632,7 +632,7 @@
Object eval = vb.getValue(getFacesContext());
return eval == null ? null : eval.toString();
}
-
+
/**
* Specify what column the data should be sorted on.
* <p>
@@ -658,7 +658,7 @@
_sortColumn = null;
}
}
-
+
public String getSortColumn()
{
if (_sortColumn != null)
@@ -666,7 +666,7 @@
ValueBinding vb = getValueBinding("sortColumn");
return vb != null ? (String) vb.getValue(getFacesContext()) : null;
}
-
+
public void setSortAscending(boolean sortAscending)
{
_sortAscending = Boolean.valueOf(sortAscending);
@@ -679,7 +679,7 @@
_sortAscending = null;
}
}
-
+
public boolean isSortAscending()
{
if (_sortAscending != null)
@@ -688,12 +688,12 @@
Boolean v = vb != null ? (Boolean) vb.getValue(getFacesContext()) : null;
return v != null ? v.booleanValue() : DEFAULT_SORTASCENDING;
}
-
+
public void setRowOnMouseOver(String rowOnMouseOver)
{
_rowOnMouseOver = rowOnMouseOver;
}
-
+
public String getRowOnMouseOver()
{
if (_rowOnMouseOver != null)
@@ -701,12 +701,12 @@
ValueBinding vb = getValueBinding("rowOnMouseOver");
return vb != null ? (String) vb.getValue(getFacesContext()) : null;
}
-
+
public void setRowOnMouseOut(String rowOnMouseOut)
{
_rowOnMouseOut = rowOnMouseOut;
}
-
+
public String getRowOnMouseOut()
{
if (_rowOnMouseOut != null)
@@ -714,7 +714,7 @@
ValueBinding vb = getValueBinding("rowOnMouseOut");
return vb != null ? (String) vb.getValue(getFacesContext()) : null;
}
-
+
public void setRowOnClick(String rowOnClick)
{
_rowOnClick = rowOnClick;
@@ -727,7 +727,7 @@
ValueBinding vb = getValueBinding("rowOnClick");
return vb != null ? (String) vb.getValue(getFacesContext()) : null;
}
-
+
public void setRowOnDblClick(String rowOnDblClick)
{
_rowOnDblClick = rowOnDblClick;
@@ -862,69 +862,69 @@
_preservedDataModel = preservedDataModel;
}
public String getDetailHeader() {
- if(detailColumn!=null){
- return (String) ((UIOutput)detailColumn.getHeader()).getValue();
- } else {
- return null;
- }
- }
-
- public void setDetailHeader(String header) {
- if(detailColumn!=null){
- ((UIOutput)detailColumn.getHeader()).setValue(header);
- }
- }
-
-
- public boolean isCurrentDetailExpanded(){
- return _expandedNodes.contains(new Integer(getRowIndex()));
- }
-
- public void setVarDetailToggler(String varDetailToggler)
- {
- _varDetailToggler = varDetailToggler;
-
+ if(detailColumn!=null){
+ return (String) ((UIOutput)detailColumn.getHeader()).getValue();
+ } else {
+ return null;
+ }
+ }
+
+ public void setDetailHeader(String header) {
+ if(detailColumn!=null){
+ ((UIOutput)detailColumn.getHeader()).setValue(header);
+ }
+ }
+
+
+ public boolean isCurrentDetailExpanded(){
+ return _expandedNodes.contains(new Integer(getRowIndex()));
+ }
+
+ public void setVarDetailToggler(String varDetailToggler)
+ {
+ _varDetailToggler = varDetailToggler;
+
}
-
- public String getVarDetailToggler()
+
+ public String getVarDetailToggler()
{
- return _varDetailToggler;
-
+ return _varDetailToggler;
+
}
-
+
public HtmlDataTable()
{
setRendererType(DEFAULT_RENDERER_TYPE);
}
-
- /**
- * Change the status of the current detail row from collapsed to expanded or
- * viceversa.
- *
- */
- public void toggleDetail(){
- Integer rowIndex = new Integer(getRowIndex());
-
- if(_expandedNodes.contains(rowIndex)){
- _expandedNodes.remove(rowIndex);
-
- } else {
- _expandedNodes.add(rowIndex);
- }
- }
-
- /**
- * Return true if the current detail row is expanded.
- *
- * @return
- */
- public boolean isDetailExpanded(){
- Integer rowIndex = new Integer(getRowIndex());
-
- return _expandedNodes.contains(rowIndex);
- }
-
+
+ /**
+ * Change the status of the current detail row from collapsed to expanded or
+ * viceversa.
+ *
+ */
+ public void toggleDetail(){
+ Integer rowIndex = new Integer(getRowIndex());
+
+ if(_expandedNodes.contains(rowIndex)){
+ _expandedNodes.remove(rowIndex);
+
+ } else {
+ _expandedNodes.add(rowIndex);
+ }
+ }
+
+ /**
+ * Return true if the current detail row is expanded.
+ *
+ * @return
+ */
+ public boolean isDetailExpanded(){
+ Integer rowIndex = new Integer(getRowIndex());
+
+ return _expandedNodes.contains(rowIndex);
+ }
+
//------------------ GENERATED CODE BEGIN (do not modify!) --------------------
public static final String COMPONENT_TYPE = "org.apache.myfaces.HtmlDataTable";
@@ -943,7 +943,7 @@
private String _rowCountVar = null;
private String _previousRowDataVar = null;
-
+
public void setPreserveDataModel(boolean preserveDataModel)
{
Modified: myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlGraphicImage.java
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlGraphicImage.java?rev=380693&r1=380692&r2=380693&view=diff
==============================================================================
--- myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlGraphicImage.java (original)
+++ myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlGraphicImage.java Fri Feb 24 07:47:18 2006
@@ -18,7 +18,7 @@
import org.apache.myfaces.component.UserRoleAware;
import org.apache.myfaces.component.UserRoleUtils;
import org.apache.myfaces.component.html.util.HtmlComponentUtils;
-import org.apache.myfaces.util._ComponentUtils;
+import org.apache.myfaces.shared.util._ComponentUtils;
import javax.faces.context.FacesContext;
import javax.faces.el.ValueBinding;
Modified: myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlInputSecret.java
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlInputSecret.java?rev=380693&r1=380692&r2=380693&view=diff
==============================================================================
--- myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlInputSecret.java (original)
+++ myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlInputSecret.java Fri Feb 24 07:47:18 2006
@@ -15,11 +15,11 @@
*/
package org.apache.myfaces.component.html.ext;
-import org.apache.myfaces.component.DisplayValueOnlyCapable;
+import org.apache.myfaces.shared.component.DisplayValueOnlyCapable;
+import org.apache.myfaces.shared.util._ComponentUtils;
import org.apache.myfaces.component.UserRoleAware;
import org.apache.myfaces.component.UserRoleUtils;
import org.apache.myfaces.component.html.util.HtmlComponentUtils;
-import org.apache.myfaces.util._ComponentUtils;
import javax.faces.context.FacesContext;
import javax.faces.el.ValueBinding;
Modified: myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlInputText.java
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlInputText.java?rev=380693&r1=380692&r2=380693&view=diff
==============================================================================
--- myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlInputText.java (original)
+++ myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlInputText.java Fri Feb 24 07:47:18 2006
@@ -15,11 +15,11 @@
*/
package org.apache.myfaces.component.html.ext;
-import org.apache.myfaces.component.DisplayValueOnlyCapable;
+import org.apache.myfaces.shared.component.DisplayValueOnlyCapable;
import org.apache.myfaces.component.UserRoleAware;
import org.apache.myfaces.component.UserRoleUtils;
import org.apache.myfaces.component.html.util.HtmlComponentUtils;
-import org.apache.myfaces.util._ComponentUtils;
+import org.apache.myfaces.shared.util._ComponentUtils;
import javax.faces.context.FacesContext;
import javax.faces.el.ValueBinding;
Modified: myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlInputTextarea.java
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlInputTextarea.java?rev=380693&r1=380692&r2=380693&view=diff
==============================================================================
--- myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlInputTextarea.java (original)
+++ myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlInputTextarea.java Fri Feb 24 07:47:18 2006
@@ -18,11 +18,11 @@
import javax.faces.context.FacesContext;
import javax.faces.el.ValueBinding;
-import org.apache.myfaces.component.DisplayValueOnlyCapable;
+import org.apache.myfaces.shared.component.DisplayValueOnlyCapable;
+import org.apache.myfaces.shared.util._ComponentUtils;
import org.apache.myfaces.component.UserRoleAware;
import org.apache.myfaces.component.UserRoleUtils;
import org.apache.myfaces.component.html.util.HtmlComponentUtils;
-import org.apache.myfaces.util._ComponentUtils;
/**
* @author Manfred Geiler (latest modification by $Author$)
@@ -52,9 +52,9 @@
private String _enabledOnUserRole = null;
private String _visibleOnUserRole = null;
private Boolean _displayValueOnly = null;
- private String _displayValueOnlyStyle = null;
- private String _displayValueOnlyStyleClass = null;
- private String _wrap = null;
+ private String _displayValueOnlyStyle = null;
+ private String _displayValueOnlyStyleClass = null;
+ private String _wrap = null;
public HtmlInputTextarea()
{
@@ -121,7 +121,7 @@
ValueBinding vb = getValueBinding("displayValueOnly");
Boolean v = vb != null ? (Boolean)vb.getValue(getFacesContext()) : null;
return v != null;
- }
+ }
public boolean isDisplayValueOnly() {
if (_displayValueOnly != null) return _displayValueOnly.booleanValue();
@@ -155,12 +155,12 @@
}
- public String getWrap() {
- return _wrap;
- }
+ public String getWrap() {
+ return _wrap;
+ }
- public void setWrap(String wrap) {
- _wrap = wrap;
- }
+ public void setWrap(String wrap) {
+ _wrap = wrap;
+ }
}
Modified: myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlMessages.java
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlMessages.java?rev=380693&r1=380692&r2=380693&view=diff
==============================================================================
--- myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlMessages.java (original)
+++ myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlMessages.java Fri Feb 24 07:47:18 2006
@@ -18,7 +18,7 @@
import org.apache.myfaces.component.UserRoleAware;
import org.apache.myfaces.component.UserRoleUtils;
import org.apache.myfaces.component.html.util.HtmlComponentUtils;
-import org.apache.myfaces.util._ComponentUtils;
+import org.apache.myfaces.shared.util._ComponentUtils;
import javax.faces.context.FacesContext;
import javax.faces.el.ValueBinding;
Modified: myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlOutputLabel.java
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlOutputLabel.java?rev=380693&r1=380692&r2=380693&view=diff
==============================================================================
--- myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlOutputLabel.java (original)
+++ myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlOutputLabel.java Fri Feb 24 07:47:18 2006
@@ -18,7 +18,7 @@
import org.apache.myfaces.component.UserRoleAware;
import org.apache.myfaces.component.UserRoleUtils;
import org.apache.myfaces.component.html.util.HtmlComponentUtils;
-import org.apache.myfaces.util._ComponentUtils;
+import org.apache.myfaces.shared.util._ComponentUtils;
import javax.faces.context.FacesContext;
import javax.faces.el.ValueBinding;
Modified: myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlOutputText.java
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlOutputText.java?rev=380693&r1=380692&r2=380693&view=diff
==============================================================================
--- myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlOutputText.java (original)
+++ myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlOutputText.java Fri Feb 24 07:47:18 2006
@@ -18,7 +18,7 @@
import org.apache.myfaces.component.UserRoleAware;
import org.apache.myfaces.component.UserRoleUtils;
import org.apache.myfaces.component.html.util.HtmlComponentUtils;
-import org.apache.myfaces.util._ComponentUtils;
+import org.apache.myfaces.shared.util._ComponentUtils;
import javax.faces.context.FacesContext;
import javax.faces.el.ValueBinding;
Modified: myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlPanelGrid.java
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlPanelGrid.java?rev=380693&r1=380692&r2=380693&view=diff
==============================================================================
--- myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlPanelGrid.java (original)
+++ myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlPanelGrid.java Fri Feb 24 07:47:18 2006
@@ -15,11 +15,11 @@
*/
package org.apache.myfaces.component.html.ext;
-import org.apache.myfaces.component.DisplayValueOnlyCapable;
+import org.apache.myfaces.shared.component.DisplayValueOnlyCapable;
import org.apache.myfaces.component.UserRoleAware;
import org.apache.myfaces.component.UserRoleUtils;
import org.apache.myfaces.component.html.util.HtmlComponentUtils;
-import org.apache.myfaces.util._ComponentUtils;
+import org.apache.myfaces.shared.util._ComponentUtils;
import javax.faces.context.FacesContext;
import javax.faces.el.ValueBinding;
Modified: myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlPanelGroup.java
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlPanelGroup.java?rev=380693&r1=380692&r2=380693&view=diff
==============================================================================
--- myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlPanelGroup.java (original)
+++ myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlPanelGroup.java Fri Feb 24 07:47:18 2006
@@ -15,11 +15,11 @@
*/
package org.apache.myfaces.component.html.ext;
-import org.apache.myfaces.component.DisplayValueOnlyCapable;
+import org.apache.myfaces.shared.component.DisplayValueOnlyCapable;
+import org.apache.myfaces.shared.util._ComponentUtils;
import org.apache.myfaces.component.UserRoleAware;
import org.apache.myfaces.component.UserRoleUtils;
import org.apache.myfaces.component.html.util.HtmlComponentUtils;
-import org.apache.myfaces.util._ComponentUtils;
import javax.faces.context.FacesContext;
import javax.faces.el.ValueBinding;
Modified: myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlSelectBooleanCheckbox.java
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlSelectBooleanCheckbox.java?rev=380693&r1=380692&r2=380693&view=diff
==============================================================================
--- myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlSelectBooleanCheckbox.java (original)
+++ myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlSelectBooleanCheckbox.java Fri Feb 24 07:47:18 2006
@@ -15,12 +15,12 @@
*/
package org.apache.myfaces.component.html.ext;
-import org.apache.myfaces.component.DisplayValueOnlyCapable;
-import org.apache.myfaces.component.EscapeCapable;
+import org.apache.myfaces.shared.component.DisplayValueOnlyCapable;
+import org.apache.myfaces.shared.component.EscapeCapable;
+import org.apache.myfaces.shared.util._ComponentUtils;
import org.apache.myfaces.component.UserRoleAware;
import org.apache.myfaces.component.UserRoleUtils;
import org.apache.myfaces.component.html.util.HtmlComponentUtils;
-import org.apache.myfaces.util._ComponentUtils;
import javax.faces.context.FacesContext;
import javax.faces.el.ValueBinding;
Modified: myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlSelectManyCheckbox.java
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlSelectManyCheckbox.java?rev=380693&r1=380692&r2=380693&view=diff
==============================================================================
--- myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlSelectManyCheckbox.java (original)
+++ myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlSelectManyCheckbox.java Fri Feb 24 07:47:18 2006
@@ -15,13 +15,13 @@
*/
package org.apache.myfaces.component.html.ext;
-import org.apache.myfaces.component.DisplayValueOnlyCapable;
-import org.apache.myfaces.component.EscapeCapable;
+import org.apache.myfaces.shared.component.DisplayValueOnlyCapable;
+import org.apache.myfaces.shared.component.EscapeCapable;
+import org.apache.myfaces.shared.util._ComponentUtils;
import org.apache.myfaces.component.UserRoleAware;
import org.apache.myfaces.component.UserRoleUtils;
import org.apache.myfaces.component.html.util.HtmlComponentUtils;
import org.apache.myfaces.custom.ExtendedComponentBase;
-import org.apache.myfaces.util._ComponentUtils;
import javax.faces.context.FacesContext;
import javax.faces.el.ValueBinding;
Modified: myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlSelectManyListbox.java
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlSelectManyListbox.java?rev=380693&r1=380692&r2=380693&view=diff
==============================================================================
--- myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlSelectManyListbox.java (original)
+++ myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlSelectManyListbox.java Fri Feb 24 07:47:18 2006
@@ -15,12 +15,12 @@
*/
package org.apache.myfaces.component.html.ext;
-import org.apache.myfaces.component.DisplayValueOnlyCapable;
-import org.apache.myfaces.component.EscapeCapable;
+import org.apache.myfaces.shared.component.DisplayValueOnlyCapable;
+import org.apache.myfaces.shared.component.EscapeCapable;
+import org.apache.myfaces.shared.util._ComponentUtils;
import org.apache.myfaces.component.UserRoleAware;
import org.apache.myfaces.component.UserRoleUtils;
import org.apache.myfaces.component.html.util.HtmlComponentUtils;
-import org.apache.myfaces.util._ComponentUtils;
import javax.faces.context.FacesContext;
import javax.faces.el.ValueBinding;
Modified: myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlSelectManyMenu.java
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlSelectManyMenu.java?rev=380693&r1=380692&r2=380693&view=diff
==============================================================================
--- myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlSelectManyMenu.java (original)
+++ myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlSelectManyMenu.java Fri Feb 24 07:47:18 2006
@@ -15,12 +15,12 @@
*/
package org.apache.myfaces.component.html.ext;
-import org.apache.myfaces.component.DisplayValueOnlyCapable;
-import org.apache.myfaces.component.EscapeCapable;
+import org.apache.myfaces.shared.component.DisplayValueOnlyCapable;
+import org.apache.myfaces.shared.component.EscapeCapable;
+import org.apache.myfaces.shared.util._ComponentUtils;
import org.apache.myfaces.component.UserRoleAware;
import org.apache.myfaces.component.UserRoleUtils;
import org.apache.myfaces.component.html.util.HtmlComponentUtils;
-import org.apache.myfaces.util._ComponentUtils;
import javax.faces.context.FacesContext;
import javax.faces.el.ValueBinding;
Modified: myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlSelectOneListbox.java
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlSelectOneListbox.java?rev=380693&r1=380692&r2=380693&view=diff
==============================================================================
--- myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlSelectOneListbox.java (original)
+++ myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlSelectOneListbox.java Fri Feb 24 07:47:18 2006
@@ -15,12 +15,12 @@
*/
package org.apache.myfaces.component.html.ext;
-import org.apache.myfaces.component.DisplayValueOnlyCapable;
-import org.apache.myfaces.component.EscapeCapable;
+import org.apache.myfaces.shared.component.DisplayValueOnlyCapable;
+import org.apache.myfaces.shared.component.EscapeCapable;
+import org.apache.myfaces.shared.util._ComponentUtils;
import org.apache.myfaces.component.UserRoleAware;
import org.apache.myfaces.component.UserRoleUtils;
import org.apache.myfaces.component.html.util.HtmlComponentUtils;
-import org.apache.myfaces.util._ComponentUtils;
import javax.faces.context.FacesContext;
import javax.faces.el.ValueBinding;
Modified: myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlSelectOneMenu.java
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlSelectOneMenu.java?rev=380693&r1=380692&r2=380693&view=diff
==============================================================================
--- myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlSelectOneMenu.java (original)
+++ myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlSelectOneMenu.java Fri Feb 24 07:47:18 2006
@@ -15,12 +15,12 @@
*/
package org.apache.myfaces.component.html.ext;
-import org.apache.myfaces.component.DisplayValueOnlyCapable;
-import org.apache.myfaces.component.EscapeCapable;
+import org.apache.myfaces.shared.component.DisplayValueOnlyCapable;
+import org.apache.myfaces.shared.component.EscapeCapable;
+import org.apache.myfaces.shared.util._ComponentUtils;
import org.apache.myfaces.component.UserRoleAware;
import org.apache.myfaces.component.UserRoleUtils;
import org.apache.myfaces.component.html.util.HtmlComponentUtils;
-import org.apache.myfaces.util._ComponentUtils;
import javax.faces.context.FacesContext;
import javax.faces.el.ValueBinding;
Modified: myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlSelectOneRadio.java
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlSelectOneRadio.java?rev=380693&r1=380692&r2=380693&view=diff
==============================================================================
--- myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlSelectOneRadio.java (original)
+++ myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/ext/HtmlSelectOneRadio.java Fri Feb 24 07:47:18 2006
@@ -26,14 +26,14 @@
import javax.faces.validator.Validator;
import javax.faces.validator.ValidatorException;
-import org.apache.myfaces.component.DisplayValueOnlyCapable;
+import org.apache.myfaces.shared.component.DisplayValueOnlyCapable;
+import org.apache.myfaces.shared.renderkit.JSFAttr;
+import org.apache.myfaces.shared.util._ComponentUtils;
import org.apache.myfaces.component.UserRoleAware;
import org.apache.myfaces.component.UserRoleUtils;
import org.apache.myfaces.component.html.util.HtmlComponentUtils;
-import org.apache.myfaces.renderkit.JSFAttr;
-import org.apache.myfaces.util.MessageUtils;
-import org.apache.myfaces.util._ComponentUtils;
+import org.apache.myfaces.shared.util.MessageUtils;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
Modified: myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/ext/UIComponentPerspective.java
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/ext/UIComponentPerspective.java?rev=380693&r1=380692&r2=380693&view=diff
==============================================================================
--- myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/ext/UIComponentPerspective.java (original)
+++ myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/ext/UIComponentPerspective.java Fri Feb 24 07:47:18 2006
@@ -15,7 +15,7 @@
*/
package org.apache.myfaces.component.html.ext;
-import org.apache.myfaces.component.ExecuteOnCallback;
+import org.apache.myfaces.shared.component.ExecuteOnCallback;
import javax.faces.component.UIComponent;
import javax.faces.component.UIData;
Modified: myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/util/ExtensionsFilter.java
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/util/ExtensionsFilter.java?rev=380693&r1=380692&r2=380693&view=diff
==============================================================================
--- myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/util/ExtensionsFilter.java (original)
+++ myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/util/ExtensionsFilter.java Fri Feb 24 07:47:18 2006
@@ -16,8 +16,8 @@
package org.apache.myfaces.component.html.util;
import org.apache.commons.fileupload.FileUpload;
-import org.apache.myfaces.renderkit.html.util.AddResource;
-import org.apache.myfaces.renderkit.html.util.AddResourceFactory;
+import org.apache.myfaces.shared.renderkit.html.util.AddResource;
+import org.apache.myfaces.shared.renderkit.html.util.AddResourceFactory;
import javax.servlet.*;
import javax.servlet.http.HttpServletRequest;
Modified: myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/util/HtmlComponentUtils.java
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/util/HtmlComponentUtils.java?rev=380693&r1=380692&r2=380693&view=diff
==============================================================================
--- myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/util/HtmlComponentUtils.java (original)
+++ myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/util/HtmlComponentUtils.java Fri Feb 24 07:47:18 2006
@@ -21,7 +21,7 @@
import javax.faces.context.FacesContext;
import javax.faces.render.Renderer;
-import org.apache.myfaces.renderkit.JSFAttr;
+import org.apache.myfaces.shared.renderkit.JSFAttr;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
Modified: myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/util/ParameterResourceHandler.java
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/util/ParameterResourceHandler.java?rev=380693&r1=380692&r2=380693&view=diff
==============================================================================
--- myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/util/ParameterResourceHandler.java (original)
+++ myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/component/html/util/ParameterResourceHandler.java Fri Feb 24 07:47:18 2006
@@ -22,7 +22,7 @@
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
-import org.apache.myfaces.renderkit.html.util.ResourceHandler;
+import org.apache.myfaces.shared.renderkit.html.util.ResourceHandler;
/**
* @author Mathias Broekelmann
@@ -46,7 +46,7 @@
}
/**
- * @see org.apache.myfaces.renderkit.html.util.ResourceHandler#getResourceLoaderClass()
+ * @see org.apache.myfaces.shared.renderkit.html.util.ResourceHandler#getResourceLoaderClass()
*/
public Class getResourceLoaderClass()
{
@@ -54,7 +54,7 @@
}
/**
- * @see org.apache.myfaces.renderkit.html.util.ResourceHandler#getResourceUri(javax.faces.context.FacesContext)
+ * @see org.apache.myfaces.shared.renderkit.html.util.ResourceHandler#getResourceUri(javax.faces.context.FacesContext)
*/
public String getResourceUri(FacesContext context)
{
Modified: myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/custom/aliasbean/AliasBean.java
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/custom/aliasbean/AliasBean.java?rev=380693&r1=380692&r2=380693&view=diff
==============================================================================
--- myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/custom/aliasbean/AliasBean.java (original)
+++ myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/custom/aliasbean/AliasBean.java Fri Feb 24 07:47:18 2006
@@ -23,7 +23,7 @@
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
-import org.apache.myfaces.util._ComponentUtils;
+import org.apache.myfaces.shared.util._ComponentUtils;
import javax.faces.component.UIComponent;
import javax.faces.component.UIComponentBase;
Modified: myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/custom/aliasbean/AliasBeanTag.java
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/custom/aliasbean/AliasBeanTag.java?rev=380693&r1=380692&r2=380693&view=diff
==============================================================================
--- myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/custom/aliasbean/AliasBeanTag.java (original)
+++ myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/custom/aliasbean/AliasBeanTag.java Fri Feb 24 07:47:18 2006
@@ -17,7 +17,7 @@
import javax.faces.component.UIComponent;
-import org.apache.myfaces.taglib.UIComponentTagBase;
+import org.apache.myfaces.shared.taglib.UIComponentTagBase;
/**
* @author Sylvain Vieujot (latest modification by $Author$)
Modified: myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/custom/aliasbean/AliasBeansScopeTag.java
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/custom/aliasbean/AliasBeansScopeTag.java?rev=380693&r1=380692&r2=380693&view=diff
==============================================================================
--- myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/custom/aliasbean/AliasBeansScopeTag.java (original)
+++ myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/custom/aliasbean/AliasBeansScopeTag.java Fri Feb 24 07:47:18 2006
@@ -15,7 +15,7 @@
*/
package org.apache.myfaces.custom.aliasbean;
-import org.apache.myfaces.taglib.UIComponentTagBase;
+import org.apache.myfaces.shared.taglib.UIComponentTagBase;
/**
* @author Sylvain Vieujot (latest modification by $Author$)
Modified: myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/custom/buffer/BufferRenderer.java
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/custom/buffer/BufferRenderer.java?rev=380693&r1=380692&r2=380693&view=diff
==============================================================================
--- myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/custom/buffer/BufferRenderer.java (original)
+++ myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/custom/buffer/BufferRenderer.java Fri Feb 24 07:47:18 2006
@@ -25,9 +25,9 @@
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
-import org.apache.myfaces.renderkit.RendererUtils;
-import org.apache.myfaces.renderkit.html.util.DummyFormUtils;
-import org.apache.myfaces.renderkit.html.util.HtmlBufferResponseWriterWrapper;
+import org.apache.myfaces.shared.renderkit.RendererUtils;
+import org.apache.myfaces.shared.renderkit.html.util.DummyFormUtils;
+import org.apache.myfaces.shared.renderkit.html.util.HtmlBufferResponseWriterWrapper;
/**
* @author Sylvain Vieujot (latest modification by $Author$)
Modified: myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/custom/buffer/BufferTag.java
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/custom/buffer/BufferTag.java?rev=380693&r1=380692&r2=380693&view=diff
==============================================================================
--- myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/custom/buffer/BufferTag.java (original)
+++ myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/custom/buffer/BufferTag.java Fri Feb 24 07:47:18 2006
@@ -17,7 +17,7 @@
import javax.faces.component.UIComponent;
-import org.apache.myfaces.taglib.html.HtmlComponentTagBase;
+import org.apache.myfaces.shared.taglib.html.HtmlComponentTagBase;
/**
* @author Sylvain Vieujot (latest modification by $Author$)
* @version $Revision$ $Date$
Modified: myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/custom/calendar/HtmlCalendarRenderer.java
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/custom/calendar/HtmlCalendarRenderer.java?rev=380693&r1=380692&r2=380693&view=diff
==============================================================================
--- myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/custom/calendar/HtmlCalendarRenderer.java (original)
+++ myfaces/tomahawk/branches/1_1_2/core/src/main/java/org/apache/myfaces/custom/calendar/HtmlCalendarRenderer.java Fri Feb 24 07:47:18 2006
@@ -39,18 +39,18 @@
import org.apache.commons.lang.StringEscapeUtils;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
-import org.apache.myfaces.renderkit.html.util.AddResource;
import org.apache.myfaces.custom.inputTextHelp.HtmlInputTextHelp;
import org.apache.myfaces.custom.prototype.PrototypeResourceLoader;
-import org.apache.myfaces.renderkit.JSFAttr;
-import org.apache.myfaces.renderkit.RendererUtils;
-import org.apache.myfaces.renderkit.html.HTML;
-import org.apache.myfaces.renderkit.html.HtmlRenderer;
-import org.apache.myfaces.renderkit.html.HtmlRendererUtils;
-import org.apache.myfaces.renderkit.html.util.AddResourceFactory;
-import org.apache.myfaces.renderkit.html.util.JavascriptUtils;
-import org.apache.myfaces.renderkit.html.util.HtmlBufferResponseWriterWrapper;
-import org.apache.myfaces.util.MessageUtils;
+import org.apache.myfaces.shared.renderkit.JSFAttr;
+import org.apache.myfaces.shared.renderkit.RendererUtils;
+import org.apache.myfaces.shared.renderkit.html.util.AddResource;
+import org.apache.myfaces.shared.renderkit.html.HtmlRendererUtils;
+import org.apache.myfaces.shared.renderkit.html.util.AddResourceFactory;
+import org.apache.myfaces.shared.renderkit.html.util.JavascriptUtils;
+import org.apache.myfaces.shared.renderkit.html.util.*;
+import org.apache.myfaces.shared.renderkit.html.HTML;
+import org.apache.myfaces.shared.renderkit.html.HtmlRenderer;
+import org.apache.myfaces.shared.util.MessageUtils;
/**
* @author Martin Marinschek (latest modification by $Author$)
@@ -89,7 +89,7 @@
{
value = RendererUtils.getDateValue(inputCalendar);
}
- }
+ }
catch (IllegalArgumentException illegalArgumentException)
{
value = null;
@@ -118,7 +118,7 @@
}
if (dateFormat == null) {
dateFormat = CalendarDateTimeConverter.createJSPopupFormat(facesContext,
- inputCalendar.getPopupDateFormat());
+ inputCalendar.getPopupDateFormat());
}
Application application = facesContext.getApplication();
@@ -164,26 +164,26 @@
writer.startElement(HTML.SPAN_ELEM,inputCalendar);
writer.writeAttribute(HTML.ID_ATTR,inputCalendar.getClientId(facesContext)+"Span",
- JSFAttr.ID_ATTR);
+ JSFAttr.ID_ATTR);
writer.endElement(HTML.SPAN_ELEM);
if (!inputCalendar.isDisabled())
{
- writer.startElement(HTML.SCRIPT_ELEM, component);
- writer.writeAttribute(HTML.SCRIPT_TYPE_ATTR,HTML.SCRIPT_TYPE_TEXT_JAVASCRIPT,null);
+ writer.startElement(HTML.SCRIPT_ELEM, component);
+ writer.writeAttribute(HTML.SCRIPT_TYPE_ATTR,HTML.SCRIPT_TYPE_TEXT_JAVASCRIPT,null);
String calendarVar = JavascriptUtils.getValidJavascriptName(
inputCalendar.getClientId(facesContext)+"CalendarVar",false);
writer.writeText("var "+calendarVar+"=new org_apache_myfaces_PopupCalendar();\n",null);
writer.writeText(getLocalizedLanguageScript(facesContext,symbols,
- timeKeeper.getFirstDayOfWeek(),inputCalendar,calendarVar)+"\n",null);
+ timeKeeper.getFirstDayOfWeek(),inputCalendar,calendarVar)+"\n",null);
writer.writeText(calendarVar+".init(document.getElementById('"+
- inputCalendar.getClientId(facesContext)+"Span"+"'));\n",null);
+ inputCalendar.getClientId(facesContext)+"Span"+"'));\n",null);
if(!inputCalendar.isDisplayValueOnly())
{
writer.writeText(getScriptBtn(facesContext, inputCalendar,
- dateFormat,inputCalendar.getPopupButtonString(), new FunctionCallProvider(){
+ dateFormat,inputCalendar.getPopupButtonString(), new FunctionCallProvider(){
public String getFunctionCall(FacesContext facesContext, UIComponent uiComponent, String dateFormat)
{
String clientId = uiComponent.getClientId(facesContext);
@@ -231,7 +231,7 @@
writer.writeAttribute(HTML.CLASS_ATTR, inputCalendar.getMonthYearRowClass(), null);
writeMonthYearHeader(facesContext, writer, inputCalendar, timeKeeper,
- currentDay, weekdays, months);
+ currentDay, weekdays, months);
writer.endElement(HTML.TR_ELEM);
@@ -243,15 +243,15 @@
writer.writeAttribute(HTML.CLASS_ATTR, inputCalendar.getWeekRowClass(), null);
writeWeekDayNameHeader(weekStartsAtDayIndex, weekdays,
- facesContext, writer, inputCalendar);
+ facesContext, writer, inputCalendar);
writer.endElement(HTML.TR_ELEM);
HtmlRendererUtils.writePrettyLineSeparator(facesContext);
writeDays(facesContext, writer, inputCalendar, timeKeeper,
- currentDay, weekStartsAtDayIndex, weekDayOfFirstDayOfMonth,
- lastDayInMonth, weekdays);
+ currentDay, weekStartsAtDayIndex, weekDayOfFirstDayOfMonth,
+ lastDayInMonth, weekdays);
writer.endElement(HTML.TABLE_ELEM);
}
@@ -351,17 +351,17 @@
setIntegerVariable(script, popupCalendarVariable +".initData.startAt",realFirstDayOfWeek);
defineStringArray(script,popupCalendarVariable+".dateFormatSymbols.weekdays",
- mapWeekdaysStartingWithSunday(symbols));
+ mapWeekdaysStartingWithSunday(symbols));
defineStringArray(script,popupCalendarVariable+".dateFormatSymbols.shortWeekdays",
- mapShortWeekdaysStartingWithSunday(symbols));
+ mapShortWeekdaysStartingWithSunday(symbols));
defineStringArray(script,popupCalendarVariable+".dateFormatSymbols.shortMonths",
- mapShortMonths(symbols));
+ mapShortMonths(symbols));
defineStringArray(script,popupCalendarVariable+".dateFormatSymbols.months",
- mapMonths(symbols));
+ mapMonths(symbols));
defineStringArray(script,popupCalendarVariable+".dateFormatSymbols.eras",
- symbols.getEras());
+ symbols.getEras());
defineStringArray(script,popupCalendarVariable+".dateFormatSymbols.ampms",
- symbols.getAmPmStrings());
+ symbols.getAmPmStrings());
if( uiComponent instanceof HtmlInputCalendar ){
@@ -451,8 +451,8 @@
writer.writeAttribute(HTML.TYPE_ATTR, HTML.INPUT_TYPE_BUTTON, null);
writer.writeAttribute(HTML.ONCLICK_ATTR,
- prov.getFunctionCall(facesContext,uiComponent,dateFormat),
- null);
+ prov.getFunctionCall(facesContext,uiComponent,dateFormat),
+ null);
if(popupButtonString==null)
popupButtonString="...";
@@ -500,7 +500,7 @@
}
writer.writeAttribute(HTML.ONCLICK_ATTR, prov.getFunctionCall(facesContext, uiComponent, dateFormat),
- null);
+ null);
writer.endElement(HTML.IMG_ELEM);
}
@@ -563,11 +563,11 @@
{
for (int i = weekStartsAtDayIndex; i < weekdays.length; i++)
writeCell(facesContext,
- writer, inputComponent, weekdays[i], null, null);
+ writer, inputComponent, weekdays[i], null, null);
for (int i = 0; i < weekStartsAtDayIndex; i++)
writeCell(facesContext, writer,
- inputComponent, weekdays[i], null, null);
+ inputComponent, weekdays[i], null, null);
}
private void writeDays(FacesContext facesContext, ResponseWriter writer,
@@ -578,7 +578,7 @@
Calendar cal;
int space = (weekStartsAtDayIndex < weekDayOfFirstDayOfMonth) ? (weekDayOfFirstDayOfMonth - weekStartsAtDayIndex)
- : (weekdays.length - weekStartsAtDayIndex + weekDayOfFirstDayOfMonth);
+ : (weekdays.length - weekStartsAtDayIndex + weekDayOfFirstDayOfMonth);
if (space == weekdays.length)
space = 0;
@@ -593,7 +593,7 @@
}
writeCell(facesContext, writer, inputComponent, "",
- null, inputComponent.getDayCellClass());
+ null, inputComponent.getDayCellClass());
columnIndexCounter++;
}
@@ -613,8 +613,8 @@
cellStyle = inputComponent.getCurrentDayCellClass();
writeCell(facesContext, writer,
- inputComponent, String.valueOf(i + 1), cal.getTime(),
- cellStyle);
+ inputComponent, String.valueOf(i + 1), cal.getTime(),
+ cellStyle);
columnIndexCounter++;
@@ -631,7 +631,7 @@
for (int i = columnIndexCounter; i < weekdays.length; i++)
{
writeCell(facesContext, writer,
- inputComponent, "", null, inputComponent.getDayCellClass());
+ inputComponent, "", null, inputComponent.getDayCellClass());
}
writer.endElement(HTML.TR_ELEM);
@@ -690,13 +690,13 @@
HtmlInputCalendar calendar = (HtmlInputCalendar)component;
if (calendar.isDisabled() || calendar.isReadonly())
{
- component.getChildren().add(text);
+ component.getChildren().add(text);
- RendererUtils.renderChild(facesContext, text);
+ RendererUtils.renderChild(facesContext, text);
}
else
{
- RendererUtils.addOrReplaceChild(component,link);
+ RendererUtils.addOrReplaceChild(component,link);
link.getChildren().add(parameter);
link.getChildren().add(text);
@@ -840,8 +840,8 @@
if (!(component instanceof EditableValueHolder)) {
throw new IllegalArgumentException("Component "
- + component.getClientId(facesContext)
- + " is not an EditableValueHolder");
+ + component.getClientId(facesContext)
+ + " is not an EditableValueHolder");
}
Map paramMap = facesContext.getExternalContext()
.getRequestParameterMap();
@@ -870,7 +870,7 @@
"There should always be a submitted value for an input if it"
+ " is rendered, its form is submitted, and it is not disabled"
+ " or read-only. Component : "+
- RendererUtils.getPathToComponent(component));
+ RendererUtils.getPathToComponent(component));
}
}
@@ -945,7 +945,7 @@
return RendererUtils.getDateValue(uiComponent);
}
- public static String createJSPopupFormat(FacesContext facesContext, String popupDateFormat)
+ public static String createJSPopupFormat(FacesContext facesContext, String popupDateFormat)
{
if(popupDateFormat == null)
@@ -986,7 +986,7 @@
{
DateFormat dateFormat;
dateFormat = DateFormat.getDateInstance(DateFormat.SHORT,
- facesContext.getViewRoot().getLocale());
+ facesContext.getViewRoot().getLocale());
if(dateFormat instanceof SimpleDateFormat)
return (SimpleDateFormat) dateFormat;