You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by gr...@apache.org on 2005/05/11 18:45:12 UTC
svn commit: r169655 [3/8] - in /myfaces/trunk:
src/cactus/org/apache/myfaces/renderkit/html/
src/cactus/org/apache/myfaces/taglib/core/
src/cactus/org/apache/myfaces/taglib/html/
src/components/org/apache/myfaces/renderkit/html/ext/
src/components/org/apache/myfaces/taglib/html/ext/
src/junit/org/apache/myfaces/renderkit/
src/junit/org/apache/myfaces/renderkit/html/
src/junit/org/apache/myfaces/renderkit/html/util/
src/junit/org/apache/myfaces/util/ src/junit/org/apache/myfaces/webapp/
src/myfaces/org/apache/myfaces/lifecycle/
src/myfaces/org/apache/myfaces/portlet/
src/myfaces/org/apache/myfaces/renderkit/
src/myfaces/org/apache/myfaces/renderkit/html/
src/myfaces/org/apache/myfaces/taglib/core/
src/myfaces/org/apache/myfaces/taglib/html/
src/myfaces/org/apache/myfaces/util/ src/myfaces/org/apache/myfaces/webapp/
src/myfaces/org/apache/myfaces/webapp/filter/
src/share/org/apache/myfaces/renderkit/
src/share/org/apache/myfaces/renderkit/html/
src/share/org/apache/myfaces/renderkit/html/util/
src/share/org/apache/myfaces/taglib/
src/share/org/apache/myfaces/taglib/core/
src/share/org/apache/myfaces/taglib/html/ src/share/org/apache/myfaces/util/
src/share/org/apache/myfaces/webapp/webxml/
src/wml/org/apache/myfaces/wap/base/ src/wml/org/apache/myfaces/wap/def/
src/wml/org/apache/myfaces/wap/renderkit/
src/wml/org/apache/myfaces/wap/renderkit/wml/
src/xdoclet/org/apache/myfaces/xdoclet/
webapps/src/example/org/apache/myfaces/examples/validate/
Modified: myfaces/trunk/src/myfaces/org/apache/myfaces/taglib/html/HtmlSelectBooleanCheckboxTag.java
URL: http://svn.apache.org/viewcvs/myfaces/trunk/src/myfaces/org/apache/myfaces/taglib/html/HtmlSelectBooleanCheckboxTag.java?rev=169655&r1=169654&r2=169655&view=diff
==============================================================================
--- myfaces/trunk/src/myfaces/org/apache/myfaces/taglib/html/HtmlSelectBooleanCheckboxTag.java (original)
+++ myfaces/trunk/src/myfaces/org/apache/myfaces/taglib/html/HtmlSelectBooleanCheckboxTag.java Wed May 11 09:45:06 2005
@@ -1,12 +1,12 @@
/*
* Copyright 2004 The Apache Software Foundation.
- *
+ *
* Licensed 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.
@@ -22,19 +22,6 @@
* @author Manfred Geiler (latest modification by $Author$)
* @author Martin Marinschek
* @version $Revision$ $Date$
- * $Log$
- * Revision 1.15 2004/10/13 11:51:01 matze
- * renamed packages to org.apache
- *
- * Revision 1.14 2004/07/01 22:05:05 mwessendorf
- * ASF switch
- *
- * Revision 1.13 2004/04/05 11:04:56 manolito
- * setter for renderer type removed, no more default renderer type needed
- *
- * Revision 1.12 2004/04/01 12:57:43 manolito
- * additional extended component classes for user role support
- *
*/
public class HtmlSelectBooleanCheckboxTag
extends HtmlSelectBooleanCheckboxTagBase
Modified: myfaces/trunk/src/myfaces/org/apache/myfaces/taglib/html/HtmlSelectManyCheckboxTag.java
URL: http://svn.apache.org/viewcvs/myfaces/trunk/src/myfaces/org/apache/myfaces/taglib/html/HtmlSelectManyCheckboxTag.java?rev=169655&r1=169654&r2=169655&view=diff
==============================================================================
--- myfaces/trunk/src/myfaces/org/apache/myfaces/taglib/html/HtmlSelectManyCheckboxTag.java (original)
+++ myfaces/trunk/src/myfaces/org/apache/myfaces/taglib/html/HtmlSelectManyCheckboxTag.java Wed May 11 09:45:06 2005
@@ -1,12 +1,12 @@
/*
* Copyright 2004 The Apache Software Foundation.
- *
+ *
* Licensed 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.
@@ -22,19 +22,6 @@
* @author Manfred Geiler (latest modification by $Author$)
* @author Martin Marinschek
* @version $Revision$ $Date$
- * $Log$
- * Revision 1.11 2004/10/13 11:51:01 matze
- * renamed packages to org.apache
- *
- * Revision 1.10 2004/07/01 22:05:05 mwessendorf
- * ASF switch
- *
- * Revision 1.9 2004/04/05 11:04:56 manolito
- * setter for renderer type removed, no more default renderer type needed
- *
- * Revision 1.8 2004/04/01 12:57:43 manolito
- * additional extended component classes for user role support
- *
*/
public class HtmlSelectManyCheckboxTag
extends HtmlSelectManyCheckboxTagBase
Modified: myfaces/trunk/src/myfaces/org/apache/myfaces/taglib/html/HtmlSelectManyListboxTag.java
URL: http://svn.apache.org/viewcvs/myfaces/trunk/src/myfaces/org/apache/myfaces/taglib/html/HtmlSelectManyListboxTag.java?rev=169655&r1=169654&r2=169655&view=diff
==============================================================================
--- myfaces/trunk/src/myfaces/org/apache/myfaces/taglib/html/HtmlSelectManyListboxTag.java (original)
+++ myfaces/trunk/src/myfaces/org/apache/myfaces/taglib/html/HtmlSelectManyListboxTag.java Wed May 11 09:45:06 2005
@@ -1,12 +1,12 @@
/*
* Copyright 2004 The Apache Software Foundation.
- *
+ *
* Licensed 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.
@@ -22,19 +22,6 @@
* @author Manfred Geiler (latest modification by $Author$)
* @author Martin Marinschek
* @version $Revision$ $Date$
- * $Log$
- * Revision 1.14 2004/10/13 11:51:01 matze
- * renamed packages to org.apache
- *
- * Revision 1.13 2004/07/01 22:05:05 mwessendorf
- * ASF switch
- *
- * Revision 1.12 2004/04/05 11:04:56 manolito
- * setter for renderer type removed, no more default renderer type needed
- *
- * Revision 1.11 2004/04/01 12:57:43 manolito
- * additional extended component classes for user role support
- *
*/
public class HtmlSelectManyListboxTag
extends HtmlSelectListboxTagBase
Modified: myfaces/trunk/src/myfaces/org/apache/myfaces/taglib/html/HtmlSelectManyMenuTag.java
URL: http://svn.apache.org/viewcvs/myfaces/trunk/src/myfaces/org/apache/myfaces/taglib/html/HtmlSelectManyMenuTag.java?rev=169655&r1=169654&r2=169655&view=diff
==============================================================================
--- myfaces/trunk/src/myfaces/org/apache/myfaces/taglib/html/HtmlSelectManyMenuTag.java (original)
+++ myfaces/trunk/src/myfaces/org/apache/myfaces/taglib/html/HtmlSelectManyMenuTag.java Wed May 11 09:45:06 2005
@@ -1,12 +1,12 @@
/*
* Copyright 2004 The Apache Software Foundation.
- *
+ *
* Licensed 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.
@@ -22,19 +22,6 @@
* @author Manfred Geiler (latest modification by $Author$)
* @author Martin Marinschek
* @version $Revision$ $Date$
- * $Log$
- * Revision 1.13 2004/10/13 11:51:01 matze
- * renamed packages to org.apache
- *
- * Revision 1.12 2004/07/01 22:05:05 mwessendorf
- * ASF switch
- *
- * Revision 1.11 2004/04/05 11:04:56 manolito
- * setter for renderer type removed, no more default renderer type needed
- *
- * Revision 1.10 2004/04/01 12:57:43 manolito
- * additional extended component classes for user role support
- *
*/
public class HtmlSelectManyMenuTag
extends HtmlSelectMenuTagBase
Modified: myfaces/trunk/src/myfaces/org/apache/myfaces/taglib/html/HtmlSelectOneListboxTag.java
URL: http://svn.apache.org/viewcvs/myfaces/trunk/src/myfaces/org/apache/myfaces/taglib/html/HtmlSelectOneListboxTag.java?rev=169655&r1=169654&r2=169655&view=diff
==============================================================================
--- myfaces/trunk/src/myfaces/org/apache/myfaces/taglib/html/HtmlSelectOneListboxTag.java (original)
+++ myfaces/trunk/src/myfaces/org/apache/myfaces/taglib/html/HtmlSelectOneListboxTag.java Wed May 11 09:45:06 2005
@@ -1,12 +1,12 @@
/*
* Copyright 2004 The Apache Software Foundation.
- *
+ *
* Licensed 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.
@@ -20,19 +20,6 @@
/**
* @author Martin Marinschek (latest modification by $Author$)
* @version $Revision$ $Date$
- * $Log$
- * Revision 1.9 2004/10/13 11:51:01 matze
- * renamed packages to org.apache
- *
- * Revision 1.8 2004/07/01 22:05:05 mwessendorf
- * ASF switch
- *
- * Revision 1.7 2004/04/05 11:04:56 manolito
- * setter for renderer type removed, no more default renderer type needed
- *
- * Revision 1.6 2004/04/01 12:57:43 manolito
- * additional extended component classes for user role support
- *
*/
public class HtmlSelectOneListboxTag
extends HtmlSelectListboxTagBase
Modified: myfaces/trunk/src/myfaces/org/apache/myfaces/taglib/html/HtmlSelectOneMenuTag.java
URL: http://svn.apache.org/viewcvs/myfaces/trunk/src/myfaces/org/apache/myfaces/taglib/html/HtmlSelectOneMenuTag.java?rev=169655&r1=169654&r2=169655&view=diff
==============================================================================
--- myfaces/trunk/src/myfaces/org/apache/myfaces/taglib/html/HtmlSelectOneMenuTag.java (original)
+++ myfaces/trunk/src/myfaces/org/apache/myfaces/taglib/html/HtmlSelectOneMenuTag.java Wed May 11 09:45:06 2005
@@ -1,12 +1,12 @@
/*
* Copyright 2004 The Apache Software Foundation.
- *
+ *
* Licensed 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.
@@ -20,19 +20,6 @@
/**
* @author Martin Marinschek (latest modification by $Author$)
* @version $Revision$ $Date$
- * $Log$
- * Revision 1.9 2004/10/13 11:51:01 matze
- * renamed packages to org.apache
- *
- * Revision 1.8 2004/07/01 22:05:05 mwessendorf
- * ASF switch
- *
- * Revision 1.7 2004/04/05 11:04:56 manolito
- * setter for renderer type removed, no more default renderer type needed
- *
- * Revision 1.6 2004/04/01 12:57:43 manolito
- * additional extended component classes for user role support
- *
*/
public class HtmlSelectOneMenuTag
extends HtmlSelectMenuTagBase
Modified: myfaces/trunk/src/myfaces/org/apache/myfaces/taglib/html/HtmlSelectOneRadioTag.java
URL: http://svn.apache.org/viewcvs/myfaces/trunk/src/myfaces/org/apache/myfaces/taglib/html/HtmlSelectOneRadioTag.java?rev=169655&r1=169654&r2=169655&view=diff
==============================================================================
--- myfaces/trunk/src/myfaces/org/apache/myfaces/taglib/html/HtmlSelectOneRadioTag.java (original)
+++ myfaces/trunk/src/myfaces/org/apache/myfaces/taglib/html/HtmlSelectOneRadioTag.java Wed May 11 09:45:06 2005
@@ -1,12 +1,12 @@
/*
* Copyright 2004 The Apache Software Foundation.
- *
+ *
* Licensed 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.
@@ -22,22 +22,6 @@
* @author Manfred Geiler (latest modification by $Author$)
* @author Martin Marinschek
* @version $Revision$ $Date$
- * $Log$
- * Revision 1.13 2004/10/13 11:51:01 matze
- * renamed packages to org.apache
- *
- * Revision 1.12 2004/07/01 22:05:05 mwessendorf
- * ASF switch
- *
- * Revision 1.11 2004/04/05 11:04:56 manolito
- * setter for renderer type removed, no more default renderer type needed
- *
- * Revision 1.10 2004/03/31 13:31:34 manolito
- * no message
- *
- * Revision 1.9 2004/03/31 13:26:09 manolito
- * extended radio renderer
- *
*/
public class HtmlSelectOneRadioTag
extends HtmlSelectOneRadioTagBase
Modified: myfaces/trunk/src/myfaces/org/apache/myfaces/util/DebugUtils.java
URL: http://svn.apache.org/viewcvs/myfaces/trunk/src/myfaces/org/apache/myfaces/util/DebugUtils.java?rev=169655&r1=169654&r2=169655&view=diff
==============================================================================
--- myfaces/trunk/src/myfaces/org/apache/myfaces/util/DebugUtils.java (original)
+++ myfaces/trunk/src/myfaces/org/apache/myfaces/util/DebugUtils.java Wed May 11 09:45:06 2005
@@ -1,12 +1,12 @@
/*
* Copyright 2004 The Apache Software Foundation.
- *
+ *
* Licensed 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.
@@ -42,22 +42,6 @@
*
* @author Manfred Geiler (latest modification by $Author$)
* @version $Revision$ $Date$
- * $Log$
- * Revision 1.17 2004/10/13 11:51:01 matze
- * renamed packages to org.apache
- *
- * Revision 1.16 2004/08/27 10:44:51 manolito
- * ignore exception on property read
- *
- * Revision 1.15 2004/07/01 22:05:15 mwessendorf
- * ASF switch
- *
- * Revision 1.14 2004/04/06 06:48:23 manolito
- * IndexedPropertyDescriptor issue
- *
- * Revision 1.13 2004/04/05 09:10:34 manolito
- * no get call for ignore attributes
- *
*/
public class DebugUtils
{
@@ -216,7 +200,7 @@
{
throw new RuntimeException(e);
}
-
+
PropertyDescriptor propDescriptors[] = beanInfo.getPropertyDescriptors();
for (int i = 0; i < propDescriptors.length; i++)
{
Modified: myfaces/trunk/src/myfaces/org/apache/myfaces/util/IteratorEnumeration.java
URL: http://svn.apache.org/viewcvs/myfaces/trunk/src/myfaces/org/apache/myfaces/util/IteratorEnumeration.java?rev=169655&r1=169654&r2=169655&view=diff
==============================================================================
--- myfaces/trunk/src/myfaces/org/apache/myfaces/util/IteratorEnumeration.java (original)
+++ myfaces/trunk/src/myfaces/org/apache/myfaces/util/IteratorEnumeration.java Wed May 11 09:45:06 2005
@@ -1,12 +1,12 @@
/*
* Copyright 2004 The Apache Software Foundation.
- *
+ *
* Licensed 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.
@@ -22,19 +22,6 @@
/**
* @author Anton Koinov (latest modification by $Author$)
* @version $Revision$ $Date$
- *
- * $Log$
- * Revision 1.5 2004/10/13 11:51:01 matze
- * renamed packages to org.apache
- *
- * Revision 1.4 2004/07/01 22:05:15 mwessendorf
- * ASF switch
- *
- * Revision 1.3 2004/03/30 07:40:24 dave0000
- * *** empty log message ***
- *
- * Revision 1.2 2004/03/29 09:00:56 manolito
- * copyright header
*/
public class IteratorEnumeration implements Enumeration
{
Modified: myfaces/trunk/src/myfaces/org/apache/myfaces/util/ReverseListIterator.java
URL: http://svn.apache.org/viewcvs/myfaces/trunk/src/myfaces/org/apache/myfaces/util/ReverseListIterator.java?rev=169655&r1=169654&r2=169655&view=diff
==============================================================================
--- myfaces/trunk/src/myfaces/org/apache/myfaces/util/ReverseListIterator.java (original)
+++ myfaces/trunk/src/myfaces/org/apache/myfaces/util/ReverseListIterator.java Wed May 11 09:45:06 2005
@@ -1,12 +1,12 @@
/*
* Copyright 2004 The Apache Software Foundation.
- *
+ *
* Licensed 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.
@@ -22,16 +22,6 @@
/**
* @author Manfred Geiler (latest modification by $Author$)
* @version $Revision$ $Date$
- * $Log$
- * Revision 1.3 2004/10/13 11:51:01 matze
- * renamed packages to org.apache
- *
- * Revision 1.2 2004/07/01 22:05:15 mwessendorf
- * ASF switch
- *
- * Revision 1.1 2004/05/17 14:28:28 manolito
- * new configuration concept
- *
*/
public class ReverseListIterator
implements Iterator
Modified: myfaces/trunk/src/myfaces/org/apache/myfaces/webapp/MyFacesServlet.java
URL: http://svn.apache.org/viewcvs/myfaces/trunk/src/myfaces/org/apache/myfaces/webapp/MyFacesServlet.java?rev=169655&r1=169654&r2=169655&view=diff
==============================================================================
--- myfaces/trunk/src/myfaces/org/apache/myfaces/webapp/MyFacesServlet.java (original)
+++ myfaces/trunk/src/myfaces/org/apache/myfaces/webapp/MyFacesServlet.java Wed May 11 09:45:06 2005
@@ -1,12 +1,12 @@
/*
* Copyright 2004 The Apache Software Foundation.
- *
+ *
* Licensed 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.
@@ -28,19 +28,6 @@
*
* @author Manfred Geiler (latest modification by $Author$)
* @version $Revision$ $Date$
- * $Log$
- * Revision 1.19 2004/10/13 11:51:01 matze
- * renamed packages to org.apache
- *
- * Revision 1.18 2004/07/16 15:16:10 royalts
- * moved org.apache.myfaces.webapp.webxml and org.apache.util.xml to share src-tree (needed WebXml for JspTilesViewHandlerImpl)
- *
- * Revision 1.17 2004/07/01 22:05:11 mwessendorf
- * ASF switch
- *
- * Revision 1.16 2004/04/16 13:21:39 manolito
- * Weblogic startup issue
- *
*/
public class MyFacesServlet
extends FacesServlet
Modified: myfaces/trunk/src/myfaces/org/apache/myfaces/webapp/StartupServletContextListener.java
URL: http://svn.apache.org/viewcvs/myfaces/trunk/src/myfaces/org/apache/myfaces/webapp/StartupServletContextListener.java?rev=169655&r1=169654&r2=169655&view=diff
==============================================================================
--- myfaces/trunk/src/myfaces/org/apache/myfaces/webapp/StartupServletContextListener.java (original)
+++ myfaces/trunk/src/myfaces/org/apache/myfaces/webapp/StartupServletContextListener.java Wed May 11 09:45:06 2005
@@ -1,12 +1,12 @@
/*
* Copyright 2004 The Apache Software Foundation.
- *
+ *
* Licensed 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.
@@ -32,48 +32,6 @@
*
* @author Manfred Geiler (latest modification by $Author$)
* @version $Revision$ $Date$
- * $Log$
- * Revision 1.28 2004/10/13 11:51:01 matze
- * renamed packages to org.apache
- *
- * Revision 1.27 2004/07/16 17:46:26 royalts
- * moved org.apache.myfaces.webapp.webxml and org.apache.util.xml to share src-tree (needed WebXml for JspTilesViewHandlerImpl)
- *
- * Revision 1.26 2004/07/16 15:16:10 royalts
- * moved org.apache.myfaces.webapp.webxml and org.apache.util.xml to share src-tree (needed WebXml for JspTilesViewHandlerImpl)
- *
- * Revision 1.25 2004/07/07 08:34:57 mwessendorf
- * removed unused import-statements
- *
- * Revision 1.24 2004/07/07 00:25:08 o_rossmueller
- * tidy up config/confignew package (moved confignew classes to package config)
- *
- * Revision 1.23 2004/07/06 23:46:01 o_rossmueller
- * tidy up config/confignew package
- *
- * Revision 1.22 2004/07/01 22:05:11 mwessendorf
- * ASF switch
- *
- * Revision 1.21 2004/06/16 23:02:25 o_rossmueller
- * merged confignew_branch
- *
- * Revision 1.20.2.2 2004/06/16 02:07:24 o_rossmueller
- * get navigation rules from RuntimeConfig
- * refactored all remaining usages of MyFacesFactoryFinder to use RuntimeConfig
- *
- * Revision 1.20.2.1 2004/06/13 15:59:08 o_rossmueller
- * started integration of new config mechanism:
- * - factories
- * - components
- * - render kits
- * - managed beans + managed properties (no list/map initialization)
- *
- * Revision 1.20 2004/04/26 11:28:17 manolito
- * global navigation-rule with no from-view-id NPE bug
- *
- * Revision 1.19 2004/04/16 13:21:39 manolito
- * Weblogic startup issue
- *
*/
public class StartupServletContextListener
implements ServletContextListener
Modified: myfaces/trunk/src/myfaces/org/apache/myfaces/webapp/filter/JavaScriptDetectorFilter.java
URL: http://svn.apache.org/viewcvs/myfaces/trunk/src/myfaces/org/apache/myfaces/webapp/filter/JavaScriptDetectorFilter.java?rev=169655&r1=169654&r2=169655&view=diff
==============================================================================
--- myfaces/trunk/src/myfaces/org/apache/myfaces/webapp/filter/JavaScriptDetectorFilter.java (original)
+++ myfaces/trunk/src/myfaces/org/apache/myfaces/webapp/filter/JavaScriptDetectorFilter.java Wed May 11 09:45:06 2005
@@ -1,12 +1,12 @@
/*
* Copyright 2004 The Apache Software Foundation.
- *
+ *
* Licensed 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.
@@ -33,19 +33,6 @@
* Filter to handle javascript detection redirect. This is an EXPERIMENTAL feature.
*
* @author Oliver Rossmueller (latest modification by $Author$)
- *
- * $Log$
- * Revision 1.4 2004/10/13 11:51:01 matze
- * renamed packages to org.apache
- *
- * Revision 1.3 2004/09/08 09:31:25 manolito
- * moved isJavascriptDetected from MyFacesConfig to JavascriptUtils class
- *
- * Revision 1.2 2004/09/01 18:32:57 mwessendorf
- * Organize Imports
- *
- * Revision 1.1 2004/08/05 22:10:44 o_rossmueller
- * EXPERIMENTAL: JavaScript detection
*
*/
public class JavaScriptDetectorFilter implements Filter
Modified: myfaces/trunk/src/share/org/apache/myfaces/renderkit/RendererUtils.java
URL: http://svn.apache.org/viewcvs/myfaces/trunk/src/share/org/apache/myfaces/renderkit/RendererUtils.java?rev=169655&r1=169654&r2=169655&view=diff
==============================================================================
--- myfaces/trunk/src/share/org/apache/myfaces/renderkit/RendererUtils.java (original)
+++ myfaces/trunk/src/share/org/apache/myfaces/renderkit/RendererUtils.java Wed May 11 09:45:06 2005
@@ -1,12 +1,12 @@
/*
* Copyright 2004 The Apache Software Foundation.
- *
+ *
* Licensed 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.
@@ -37,68 +37,6 @@
/**
* @author Manfred Geiler (latest modification by $Author$)
* @version $Revision$ $Date$
- * $Log$
- * Revision 1.23 2005/04/06 10:21:55 manolito
- * MYFACES-149 fix for NullPointerException in _SharedRendererUtils.getConvertedUISelectManyValue
- *
- * Revision 1.22 2005/01/26 13:27:16 mmarinschek
- * The x:message tags are now extended to use the column-name as a label for all inputs in an x:dataTable, without having to specify additional information.
- *
- * Revision 1.21 2005/01/22 16:47:17 mmarinschek
- * fixing bug with validation not called if the submitted value is empty; an empty string is submitted instead if the component is enabled.
- *
- * Revision 1.20 2005/01/18 22:43:05 svieujot
- * Fix some bugs where converter wasn't used to determine selected values.
- * This caused for examples the list, checkbox and radio based components to bug when the backing bean value type is a primitive.
- *
- * Revision 1.19 2005/01/09 18:15:12 mmarinschek
- * small changes - better error handling, label renderer supports more hooks for sub-classes
- *
- * Revision 1.18 2005/01/07 01:54:35 svieujot
- * radioRenderer wasn't looking at the submitted value.
- *
- * Revision 1.17 2005/01/05 23:06:43 svieujot
- * Fix bug : checkbox wasn't looking at the submitted value.
- *
- * Revision 1.16 2004/12/14 14:12:33 mmarinschek
- * PR:
- * Obtained from:
- * Submitted by:
- * Reviewed by:
- *
- * Revision 1.15 2004/12/09 12:18:43 mmarinschek
- * changes in Calendar-Renderer to check for submitted-value first
- *
- * Revision 1.14 2004/10/13 11:51:01 matze
- * renamed packages to org.apache
- *
- * Revision 1.13 2004/09/06 08:41:49 tinytoony
- * changes to calendar - rendering wrong weekday, check output-text behavior
- *
- * Revision 1.12 2004/07/01 22:01:18 mwessendorf
- * ASF switch
- *
- * Revision 1.11 2004/06/23 12:42:26 tinytoony
- * just a tad more information ;)
- *
- * Revision 1.10 2004/05/18 14:31:40 manolito
- * user role support completely moved to components source tree
- *
- * Revision 1.9 2004/04/28 10:38:33 tinytoony
- * child is of type added to exception message
- *
- * Revision 1.8 2004/04/28 10:37:14 tinytoony
- * child is of type added to exception message
- *
- * Revision 1.7 2004/04/28 08:17:11 tinytoony
- * child is of type added to exception message
- *
- * Revision 1.6 2004/04/07 08:21:10 manolito
- * handling of select items with label == null
- *
- * Revision 1.5 2004/04/06 15:33:21 manolito
- * getStringValue must return submitted value if any
- *
*/
public class RendererUtils
{
@@ -225,7 +163,7 @@
getPathToComponent(component));
}
}
-
+
public static Date getDateValue(UIComponent component)
{
if (!(component instanceof ValueHolder))
@@ -382,7 +320,7 @@
}
return false;
}
-
+
/**
* Find the proper Converter for the given UIOutput component.
* @return the Converter or null if no Converter specified or needed
@@ -481,7 +419,7 @@
{
return;
}
-
+
child.encodeBegin(facesContext);
if (child.getRendersChildren())
{
@@ -652,8 +590,8 @@
return internalSubmittedOrSelectedValuesAsSet(context, component, converter, uiSelectMany, selectedValues);
}
-
-
+
+
/**
* Convenient utility method that returns the currently given value as String,
* using the given converter.
@@ -676,8 +614,8 @@
return converter.getAsString(context, component, value);
}
-
-
+
+
/**
* Convenient utility method that returns the currently given SelectItem value
* as String, using the given converter.
@@ -688,7 +626,7 @@
return getConvertedStringValue(context, component, converter, selectItem.getValue());
}
-
+
private static Set internalSubmittedOrSelectedValuesAsSet(FacesContext context,
UIComponent component, Converter converter, UISelectMany uiSelectMany,
Object values)
@@ -736,7 +674,7 @@
HashSet set = new HashSet(HashMapUtils.calcCapacity(lst.size()));
for(Iterator i =lst.iterator(); i.hasNext(); )
set.add( getConvertedStringValue(context, component, converter, i.next()) );
-
+
return set;
}
}
@@ -812,7 +750,7 @@
Boolean b = (Boolean)component.getAttributes().get(attrName);
return b != null ? b.booleanValue() : defaultValue;
}
-
+
public static int getIntegerAttribute(UIComponent component,
String attrName,
int defaultValue)
Modified: myfaces/trunk/src/share/org/apache/myfaces/renderkit/_SharedRendererUtils.java
URL: http://svn.apache.org/viewcvs/myfaces/trunk/src/share/org/apache/myfaces/renderkit/_SharedRendererUtils.java?rev=169655&r1=169654&r2=169655&view=diff
==============================================================================
--- myfaces/trunk/src/share/org/apache/myfaces/renderkit/_SharedRendererUtils.java (original)
+++ myfaces/trunk/src/share/org/apache/myfaces/renderkit/_SharedRendererUtils.java Wed May 11 09:45:06 2005
@@ -1,12 +1,12 @@
/*
* Copyright 2004 The Apache Software Foundation.
- *
+ *
* Licensed 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.
@@ -32,23 +32,10 @@
/**
* The util methods in this class are shared between the javax.faces.component package and
* the org.apache.myfaces.renderkit package.
- * Please note: Any changes here must also apply to the class in the other package!
+ * Please note: Any changes here must also apply to the class in the other package!
*
* @author Manfred Geiler (latest modification by $Author$)
* @version $Revision$ $Date$
- * $Log$
- * Revision 1.4 2005/04/06 10:21:55 manolito
- * MYFACES-149 fix for NullPointerException in _SharedRendererUtils.getConvertedUISelectManyValue
- *
- * Revision 1.3 2004/10/13 11:51:01 matze
- * renamed packages to org.apache
- *
- * Revision 1.2 2004/07/01 22:01:18 mwessendorf
- * ASF switch
- *
- * Revision 1.1 2004/04/06 13:03:52 manolito
- * x-checked getConvertedValue method in api and impl
- *
*/
class _SharedRendererUtils
{
@@ -209,12 +196,12 @@
}
-
+
private static final Log log = LogFactory.getLog(_SharedRendererUtils.class);
/**
* This method is different in the two versions of _SharedRendererUtils.
- */
+ */
private static void log(FacesContext context, String msg, Exception e)
{
log.error(msg, e);
Modified: myfaces/trunk/src/share/org/apache/myfaces/renderkit/html/HTML.java
URL: http://svn.apache.org/viewcvs/myfaces/trunk/src/share/org/apache/myfaces/renderkit/html/HTML.java?rev=169655&r1=169654&r2=169655&view=diff
==============================================================================
--- myfaces/trunk/src/share/org/apache/myfaces/renderkit/html/HTML.java (original)
+++ myfaces/trunk/src/share/org/apache/myfaces/renderkit/html/HTML.java Wed May 11 09:45:06 2005
@@ -1,12 +1,12 @@
/*
* Copyright 2004 The Apache Software Foundation.
- *
+ *
* Licensed 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.
@@ -23,61 +23,6 @@
* @author Manfred Geiler (latest modification by $Author$)
* @author Anton Koinov
* @version $Revision$ $Date$
- * $Log$
- * Revision 1.22 2005/02/28 20:40:15 svieujot
- * closed MYFACES-112
- *
- * Revision 1.21 2005/02/16 00:50:37 oros
- * SF issue #1043331: replaced all by the corresponding numeric entity   so safari users will be happy, too, with MyFaces output
- *
- * Revision 1.20 2004/12/27 04:11:11 mmarinschek
- * Data Table stores the state of facets of children; script tag is rendered with type attribute instead of language attribute, popup works better as a column in a data table
- *
- * Revision 1.19 2004/12/04 03:22:45 svieujot
- * Bugfix for BR_ELEM
- *
- * Revision 1.18 2004/12/02 15:34:43 svieujot
- * Add iframe attributes
- *
- * Revision 1.17 2004/12/02 15:22:06 svieujot
- * Add IFRAME_ELEM
- *
- * Revision 1.16 2004/12/02 05:03:14 svieujot
- * Add H1-6 elements
- *
- * Revision 1.15 2004/12/02 02:34:41 svieujot
- * Add a BUTTON_ELEM
- *
- * Revision 1.14 2004/11/08 03:43:20 bdudney
- * Added a div element. x:div to use, inserts a div with class or style attributes
- *
- * Revision 1.13 2004/10/13 11:51:01 matze
- * renamed packages to org.apache
- *
- * Revision 1.12 2004/08/09 08:43:29 manolito
- * bug #1004867 - h:message has duplicate attributes
- *
- * Revision 1.11 2004/07/27 06:32:19 tinytoony
- * new calendar component as a popup
- *
- * Revision 1.10 2004/07/26 09:19:08 manolito
- * removed onclick from passthrough attributes for ButtonRenderer
- *
- * Revision 1.9 2004/07/01 22:00:56 mwessendorf
- * ASF switch
- *
- * Revision 1.8 2004/06/04 00:26:16 o_rossmueller
- * modified renderes to comply with JSF 1.1
- *
- * Revision 1.7 2004/05/29 10:19:55 mwessendorf
- * made the class FINAL, because has only one private const
- *
- * Revision 1.6 2004/05/18 14:31:39 manolito
- * user role support completely moved to components source tree
- *
- * Revision 1.5 2004/05/18 11:58:16 manolito
- * typing error fixed
- *
*/
public final class HTML
{
@@ -85,7 +30,7 @@
private HTML()
{
// disable instantiation
- }
+ }
// Common attributes
public static final String ALIGN_ATTR = "align";
@@ -96,7 +41,7 @@
public static final String WIDTH_ATTR = "width";
public static final String READONLY_ATTR = "readonly";
public static final String ACCEPT_ATTR = "accept";
-
+
// Common event handler attributes
public static final String ONCLICK_ATTR = "onclick";
public static final String ONDBLCLICK_ATTR = "ondblclick";
@@ -175,10 +120,10 @@
COMMON_FIELD_ATTRIBUTES_WITHOUT_DISABLED,
new String[] {DISABLED_ATTR});
- // Common Attributes
- public static final String[] COMMON_PASSTROUGH_ATTRIBUTES =
+ // Common Attributes
+ public static final String[] COMMON_PASSTROUGH_ATTRIBUTES =
(String[]) ArrayUtils.concat(
- EVENT_HANDLER_ATTRIBUTES,
+ EVENT_HANDLER_ATTRIBUTES,
UNIVERSAL_ATTRIBUTES);
public static final String[] COMMON_PASSTROUGH_ATTRIBUTES_WITHOUT_STYLE =
(String[]) ArrayUtils.concat(
@@ -325,11 +270,11 @@
(String[]) ArrayUtils.concat(
BUTTON_ATTRIBUTES,
COMMON_FIELD_PASSTROUGH_ATTRIBUTES_WITHOUT_DISABLED_AND_ONCLICK);
-
+
// <iframe>
public static final String FRAMEBORDER_ATTR = "frameborder";
public static final String SCROLLING_ATTR = "scrolling";
-
+
// <label>
public static final String FOR_ATTR = "for";
public static final String[] LABEL_ATTRIBUTES =
Modified: myfaces/trunk/src/share/org/apache/myfaces/renderkit/html/HtmlButtonRendererBase.java
URL: http://svn.apache.org/viewcvs/myfaces/trunk/src/share/org/apache/myfaces/renderkit/html/HtmlButtonRendererBase.java?rev=169655&r1=169654&r2=169655&view=diff
==============================================================================
--- myfaces/trunk/src/share/org/apache/myfaces/renderkit/html/HtmlButtonRendererBase.java (original)
+++ myfaces/trunk/src/share/org/apache/myfaces/renderkit/html/HtmlButtonRendererBase.java Wed May 11 09:45:06 2005
@@ -39,35 +39,6 @@
* @author Thomas Spiegl
* @author Anton Koinov
* @version $Revision$ $Date$
- * $Log$
- * Revision 1.9 2005/03/16 20:41:12 mmarinschek
- * fix for MYFACES-111, alien commit for Heath Borders
- *
- * Revision 1.8 2004/10/13 11:51:01 matze
- * renamed packages to org.apache
- *
- * Revision 1.7 2004/09/08 15:23:12 manolito
- * Autoscroll feature
- *
- * Revision 1.6 2004/09/08 09:32:03 manolito
- * MyfacesConfig moved to config package
- *
- * Revision 1.5 2004/07/26 09:19:08 manolito
- * removed onclick from passthrough attributes for ButtonRenderer
- *
- * Revision 1.4 2004/07/01 22:00:57 mwessendorf
- * ASF switch
- *
- * Revision 1.3 2004/06/03 12:57:03 o_rossmueller
- * modified link renderer to use one hidden field for all links according to 1.1 renderkit docs
- * added onclick=clear_XXX to button
- *
- * Revision 1.2 2004/06/03 11:45:40 o_rossmueller
- * added check for .y image button suffix according to 1.1 renderkit docs
- *
- * Revision 1.1 2004/05/18 14:31:39 manolito
- * user role support completely moved to components source tree
- *
*/
public class HtmlButtonRendererBase
extends HtmlRenderer
Modified: myfaces/trunk/src/share/org/apache/myfaces/renderkit/html/HtmlCheckboxRendererBase.java
URL: http://svn.apache.org/viewcvs/myfaces/trunk/src/share/org/apache/myfaces/renderkit/html/HtmlCheckboxRendererBase.java?rev=169655&r1=169654&r2=169655&view=diff
==============================================================================
--- myfaces/trunk/src/share/org/apache/myfaces/renderkit/html/HtmlCheckboxRendererBase.java (original)
+++ myfaces/trunk/src/share/org/apache/myfaces/renderkit/html/HtmlCheckboxRendererBase.java Wed May 11 09:45:06 2005
@@ -1,12 +1,12 @@
/*
* Copyright 2004 The Apache Software Foundation.
- *
+ *
* Licensed 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.
@@ -40,42 +40,6 @@
* @author Thomas Spiegl (latest modification by $Author$)
* @author Anton Koinov
* @version $Revision$ $Date$
- * $Log$
- * Revision 1.16 2005/02/11 16:03:00 mmarinschek
- * solve bug in tabbed panel when datatable was displayed not on tab, but at the bottom of the datatable...
- *
- * Revision 1.15 2005/02/08 18:01:01 svieujot
- * Typo.
- *
- * Revision 1.14 2005/01/18 22:43:05 svieujot
- * Fix some bugs where converter wasn't used to determine selected values.
- * This caused for examples the list, checkbox and radio based components to bug when the backing bean value type is a primitive.
- *
- * Revision 1.13 2005/01/07 01:54:36 svieujot
- * radioRenderer wasn't looking at the submitted value.
- *
- * Revision 1.9 2004/10/13 11:51:01 matze renamed packages to org.apache
- *
- * Revision 1.8 2004/07/01 22:00:56 mwessendorf ASF switch
- *
- * Revision 1.7 2004/06/21 23:23:37 o_rossmueller fix #976411: removed </input>
- * tag for selectMultiCheckbox fix #972165: also check for readonly and also
- * check for selectMultiCheckbox
- *
- * Revision 1.6 2004/06/04 00:26:16 o_rossmueller modified renderes to comply
- * with JSF 1.1
- *
- * Revision 1.5 2004/05/18 14:31:39 manolito user role support completely moved
- * to components source tree
- *
- * Revision 1.4 2004/05/05 18:03:00 o_rossmueller fix #948110: render span
- * element for styleClass
- *
- * Revision 1.3 2004/04/02 13:57:13 manolito extended HtmlSelectManyCheckbox
- * with layout "spread" and custom Checkbox component
- *
- * Revision 1.2 2004/04/02 13:37:49 manolito no message
- *
*/
public class HtmlCheckboxRendererBase extends HtmlRenderer {
private static final Log log = LogFactory
@@ -150,7 +114,7 @@
.iterator(); it.hasNext();) {
SelectItem selectItem = (SelectItem) it.next();
Object itemValue = selectItem.getValue(); // TODO : Check here for getSubmittedValue. Look at RendererUtils.getValue
-
+
String itemStrValue;
if (converter == null) {
itemStrValue = itemValue.toString();
Modified: myfaces/trunk/src/share/org/apache/myfaces/renderkit/html/HtmlFormRendererBase.java
URL: http://svn.apache.org/viewcvs/myfaces/trunk/src/share/org/apache/myfaces/renderkit/html/HtmlFormRendererBase.java?rev=169655&r1=169654&r2=169655&view=diff
==============================================================================
--- myfaces/trunk/src/share/org/apache/myfaces/renderkit/html/HtmlFormRendererBase.java (original)
+++ myfaces/trunk/src/share/org/apache/myfaces/renderkit/html/HtmlFormRendererBase.java Wed May 11 09:45:06 2005
@@ -1,12 +1,12 @@
/*
* Copyright 2004 The Apache Software Foundation.
- *
+ *
* Licensed 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.
@@ -35,35 +35,6 @@
* @author Thomas Spiegl
* @author Anton Koinov
* @version $Revision$ $Date$
- * $Log$
- * Revision 1.9 2004/10/13 11:51:01 matze
- * renamed packages to org.apache
- *
- * Revision 1.8 2004/09/08 15:23:12 manolito
- * Autoscroll feature
- *
- * Revision 1.7 2004/07/01 22:00:57 mwessendorf
- * ASF switch
- *
- * Revision 1.6 2004/06/03 12:57:03 o_rossmueller
- * modified link renderer to use one hidden field for all links according to 1.1 renderkit docs
- * added onclick=clear_XXX to button
- *
- * Revision 1.5 2004/05/18 12:02:29 manolito
- * getActionURL and getResourceURL must not call encodeActionURL or encodeResourceURL
- *
- * Revision 1.4 2004/04/30 09:11:38 manolito
- * no message
- *
- * Revision 1.3 2004/04/29 19:34:38 o_rossmueller
- * javascript for 'target' attribute handling
- *
- * Revision 1.2 2004/04/27 10:32:24 manolito
- * clear hidden inputs javascript function
- *
- * Revision 1.1 2004/04/22 10:20:34 manolito
- * tree component
- *
*/
public class HtmlFormRendererBase
extends HtmlRenderer
Modified: myfaces/trunk/src/share/org/apache/myfaces/renderkit/html/HtmlLinkRendererBase.java
URL: http://svn.apache.org/viewcvs/myfaces/trunk/src/share/org/apache/myfaces/renderkit/html/HtmlLinkRendererBase.java?rev=169655&r1=169654&r2=169655&view=diff
==============================================================================
--- myfaces/trunk/src/share/org/apache/myfaces/renderkit/html/HtmlLinkRendererBase.java (original)
+++ myfaces/trunk/src/share/org/apache/myfaces/renderkit/html/HtmlLinkRendererBase.java Wed May 11 09:45:06 2005
@@ -1,12 +1,12 @@
/*
* Copyright 2004 The Apache Software Foundation.
- *
+ *
* Licensed 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.
@@ -37,65 +37,6 @@
/**
* @author Manfred Geiler (latest modification by $Author$)
* @version $Revision$ $Date$
- * $Log$
- * Revision 1.19 2005/03/16 16:40:59 svieujot
- * Call form.onsubmit in HtmlCommandLink (otherwise bypassed by calling directly form.submit.
- *
- * Revision 1.18 2004/10/13 11:51:01 matze
- * renamed packages to org.apache
- *
- * Revision 1.17 2004/09/08 15:23:12 manolito
- * Autoscroll feature
- *
- * Revision 1.16 2004/09/08 09:32:03 manolito
- * MyfacesConfig moved to config package
- *
- * Revision 1.15 2004/07/18 21:25:30 o_rossmueller
- * fix #991234: use hidden field name in link url
- *
- * Revision 1.14 2004/07/01 22:00:56 mwessendorf
- * ASF switch
- *
- * Revision 1.13 2004/06/16 23:50:08 o_rossmueller
- * force separate end tag
- *
- * Revision 1.12 2004/06/08 01:34:44 o_rossmueller
- * render link value if available as required by JSF 1.1 renderkitdocs
- *
- * Revision 1.11 2004/06/03 12:57:03 o_rossmueller
- * modified link renderer to use one hidden field for all links according to 1.1 renderkit docs
- * added onclick=clear_XXX to button
- *
- * Revision 1.10 2004/05/18 14:31:39 manolito
- * user role support completely moved to components source tree
- *
- * Revision 1.9 2004/05/18 12:02:29 manolito
- * getActionURL and getResourceURL must not call encodeActionURL or encodeResourceURL
- *
- * Revision 1.8 2004/05/12 01:50:47 o_rossmueller
- * fix #951896: add state params once is enough ;-)
- *
- * Revision 1.7 2004/05/12 01:41:32 o_rossmueller
- * fix #951896: added state params to link URLs for ALLOW_JAVASCRIPT=false
- *
- * Revision 1.6 2004/05/04 06:36:21 manolito
- * Bugfix #947302
- *
- * Revision 1.5 2004/04/29 19:34:38 o_rossmueller
- * javascript for 'target' attribute handling
- *
- * Revision 1.4 2004/04/27 10:32:24 manolito
- * clear hidden inputs javascript function
- *
- * Revision 1.3 2004/04/05 11:14:05 manolito
- * removed isVisibleOnUserRole
- *
- * Revision 1.2 2004/03/31 14:50:34 manolito
- * bug fix
- *
- * Revision 1.1 2004/03/31 11:58:44 manolito
- * custom component refactoring
- *
*/
public abstract class HtmlLinkRendererBase
extends HtmlRenderer
@@ -327,10 +268,10 @@
onClick.append(target);
onClick.append("';");
}
-
+
// onSubmit
onClick.append("if("+jsForm+".onsubmit){"+jsForm+".onsubmit();}");
-
+
//submit
onClick.append(jsForm);
onClick.append(".submit();return false;"); //return false, so that browser does not handle the click
Modified: myfaces/trunk/src/share/org/apache/myfaces/renderkit/html/HtmlListboxRendererBase.java
URL: http://svn.apache.org/viewcvs/myfaces/trunk/src/share/org/apache/myfaces/renderkit/html/HtmlListboxRendererBase.java?rev=169655&r1=169654&r2=169655&view=diff
==============================================================================
--- myfaces/trunk/src/share/org/apache/myfaces/renderkit/html/HtmlListboxRendererBase.java (original)
+++ myfaces/trunk/src/share/org/apache/myfaces/renderkit/html/HtmlListboxRendererBase.java Wed May 11 09:45:06 2005
@@ -1,12 +1,12 @@
/*
* Copyright 2004 The Apache Software Foundation.
- *
+ *
* Licensed 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.
@@ -32,22 +32,6 @@
* @author Thomas Spiegl (latest modification by $Author$)
* @author Anton Koinov
* @version $Revision$ $Date$
- * $Log$
- * Revision 1.5 2004/10/13 11:51:01 matze
- * renamed packages to org.apache
- *
- * Revision 1.4 2004/07/01 22:00:56 mwessendorf
- * ASF switch
- *
- * Revision 1.3 2004/06/04 00:26:16 o_rossmueller
- * modified renderes to comply with JSF 1.1
- *
- * Revision 1.2 2004/05/26 11:10:12 o_rossmueller
- * fix #959926: styleClass support for selectOneRadio, selectOneList, selectManyList
- *
- * Revision 1.1 2004/05/18 14:31:39 manolito
- * user role support completely moved to components source tree
- *
*/
public class HtmlListboxRendererBase
extends HtmlRenderer
@@ -96,8 +80,8 @@
throw new IllegalArgumentException("Unsupported component class " + uiComponent.getClass().getName());
}
}
-
-
+
+
protected boolean isDisabled(FacesContext facesContext, UIComponent uiComponent)
{
//TODO: overwrite in extended HtmlListboxRenderer and check for enabledOnUserRole
@@ -114,7 +98,7 @@
return RendererUtils.getBooleanAttribute(uiComponent, HTML.DISABLED_ATTR, false);
}
}
-
+
public void decode(FacesContext facesContext, UIComponent uiComponent)
{
Modified: myfaces/trunk/src/share/org/apache/myfaces/renderkit/html/HtmlMenuRendererBase.java
URL: http://svn.apache.org/viewcvs/myfaces/trunk/src/share/org/apache/myfaces/renderkit/html/HtmlMenuRendererBase.java?rev=169655&r1=169654&r2=169655&view=diff
==============================================================================
--- myfaces/trunk/src/share/org/apache/myfaces/renderkit/html/HtmlMenuRendererBase.java (original)
+++ myfaces/trunk/src/share/org/apache/myfaces/renderkit/html/HtmlMenuRendererBase.java Wed May 11 09:45:06 2005
@@ -1,12 +1,12 @@
/*
* Copyright 2004 The Apache Software Foundation.
- *
+ *
* Licensed 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.
@@ -32,19 +32,6 @@
* @author Manfred Geiler (latest modification by $Author$)
* @author Thomas Spiegl
* @version $Revision$ $Date$
- * $Log$
- * Revision 1.4 2004/10/13 11:51:01 matze
- * renamed packages to org.apache
- *
- * Revision 1.3 2004/07/01 22:00:56 mwessendorf
- * ASF switch
- *
- * Revision 1.2 2004/06/04 00:26:16 o_rossmueller
- * modified renderes to comply with JSF 1.1
- *
- * Revision 1.1 2004/05/18 14:31:39 manolito
- * user role support completely moved to components source tree
- *
*/
public class HtmlMenuRendererBase
extends HtmlRenderer
Modified: myfaces/trunk/src/share/org/apache/myfaces/renderkit/html/HtmlMessageRendererBase.java
URL: http://svn.apache.org/viewcvs/myfaces/trunk/src/share/org/apache/myfaces/renderkit/html/HtmlMessageRendererBase.java?rev=169655&r1=169654&r2=169655&view=diff
==============================================================================
--- myfaces/trunk/src/share/org/apache/myfaces/renderkit/html/HtmlMessageRendererBase.java (original)
+++ myfaces/trunk/src/share/org/apache/myfaces/renderkit/html/HtmlMessageRendererBase.java Wed May 11 09:45:06 2005
@@ -1,12 +1,12 @@
/*
* Copyright 2004 The Apache Software Foundation.
- *
+ *
* Licensed 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.
@@ -33,46 +33,6 @@
/**
* @author Manfred Geiler (latest modification by $Author$)
* @version $Revision$ $Date$
- * $Log$
- * Revision 1.12 2005/01/26 13:27:16 mmarinschek
- * The x:message tags are now extended to use the column-name as a label for all inputs in an x:dataTable, without having to specify additional information.
- *
- * Revision 1.11 2005/01/22 19:47:44 mmarinschek
- * Message rendering updated - if a validation exception needs to be rendered, the id of the component is replaced with a label.
- *
- * Revision 1.10 2004/12/23 13:03:09 mmarinschek
- * id's not rendered (or not conditionally rendered); changes in jslistener to support both ie and firefox now
- *
- * Revision 1.9 2004/10/13 11:51:01 matze
- * renamed packages to org.apache
- *
- * Revision 1.8 2004/09/02 17:23:25 tinytoony
- * fix for the span-element for other than the output-text
- *
- * Revision 1.7 2004/08/09 08:43:29 manolito
- * bug #1004867 - h:message has duplicate attributes
- *
- * Revision 1.6 2004/07/01 22:00:57 mwessendorf
- * ASF switch
- *
- * Revision 1.5 2004/04/05 09:11:03 manolito
- * extended exception messages
- *
- * Revision 1.4 2004/04/01 12:43:18 manolito
- * html nesting bug fixed
- *
- * Revision 1.3 2004/03/31 14:51:47 manolito
- * summaryFormat and detailFormat support
- *
- * Revision 1.2 2004/03/31 13:25:24 manolito
- * locale variable renamed
- *
- * Revision 1.1 2004/03/30 17:47:36 manolito
- * Message and Messages refactored
- *
- * Revision 1.1 2004/03/30 13:24:58 manolito
- * refactoring: HtmlComponentTag moved to share and renamed to HtmlComponentTagBase
- *
*/
public abstract class HtmlMessageRendererBase
extends HtmlRenderer
Modified: myfaces/trunk/src/share/org/apache/myfaces/renderkit/html/HtmlMessagesRendererBase.java
URL: http://svn.apache.org/viewcvs/myfaces/trunk/src/share/org/apache/myfaces/renderkit/html/HtmlMessagesRendererBase.java?rev=169655&r1=169654&r2=169655&view=diff
==============================================================================
--- myfaces/trunk/src/share/org/apache/myfaces/renderkit/html/HtmlMessagesRendererBase.java (original)
+++ myfaces/trunk/src/share/org/apache/myfaces/renderkit/html/HtmlMessagesRendererBase.java Wed May 11 09:45:06 2005
@@ -1,12 +1,12 @@
/*
* Copyright 2004 The Apache Software Foundation.
- *
+ *
* Licensed 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.
@@ -34,22 +34,6 @@
/**
* @author Manfred Geiler (latest modification by $Author$)
* @version $Revision$ $Date$
- * $Log$
- * Revision 1.5 2005/01/26 13:27:16 mmarinschek
- * The x:message tags are now extended to use the column-name as a label for all inputs in an x:dataTable, without having to specify additional information.
- *
- * Revision 1.4 2004/12/23 13:03:09 mmarinschek
- * id's not rendered (or not conditionally rendered); changes in jslistener to support both ie and firefox now
- *
- * Revision 1.3 2004/10/13 11:51:01 matze
- * renamed packages to org.apache
- *
- * Revision 1.2 2004/07/01 22:00:56 mwessendorf
- * ASF switch
- *
- * Revision 1.1 2004/03/30 17:47:36 manolito
- * Message and Messages refactored
- *
*/
public abstract class HtmlMessagesRendererBase
extends HtmlMessageRendererBase
Modified: myfaces/trunk/src/share/org/apache/myfaces/renderkit/html/HtmlRadioRendererBase.java
URL: http://svn.apache.org/viewcvs/myfaces/trunk/src/share/org/apache/myfaces/renderkit/html/HtmlRadioRendererBase.java?rev=169655&r1=169654&r2=169655&view=diff
==============================================================================
--- myfaces/trunk/src/share/org/apache/myfaces/renderkit/html/HtmlRadioRendererBase.java (original)
+++ myfaces/trunk/src/share/org/apache/myfaces/renderkit/html/HtmlRadioRendererBase.java Wed May 11 09:45:06 2005
@@ -1,12 +1,12 @@
/*
* Copyright 2004 The Apache Software Foundation.
- *
+ *
* Licensed 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.
@@ -40,54 +40,6 @@
* @author Manfred Geiler (latest modification by $Author$)
* @author Thomas Spiegl
* @version $Revision$ $Date$
- * $Log$
- * Revision 1.15 2005/02/08 17:57:23 svieujot
- * Close MYFACES-82 (Use submitted values).
- * Also, use more RendererUtil methods.
- *
- * Revision 1.14 2005/01/22 16:47:17 mmarinschek
- * fixing bug with validation not called if the submitted value is empty; an empty string is submitted instead if the component is enabled.
- *
- * Revision 1.13 2005/01/19 13:34:12 mmarinschek
- * handle case that converter is null
- *
- * Revision 1.12 2005/01/19 13:18:04 mmarinschek
- * better logging of component information
- *
- * Revision 1.11 2005/01/18 22:43:05 svieujot
- * Fix some bugs where converter wasn't used to determine selected values.
- * This caused for examples the list, checkbox and radio based components to bug when the backing bean value type is a primitive.
- *
- * Revision 1.10 2005/01/18 20:49:48 svieujot
- * Set default layout to lineDirection, according to Spec.
- *
- * Revision 1.9 2004/12/23 13:03:09 mmarinschek
- * id's not rendered (or not conditionally rendered); changes in jslistener to support both ie and firefox now
- *
- * Revision 1.8 2004/10/13 11:51:01 matze
- * renamed packages to org.apache
- *
- * Revision 1.7 2004/10/05 08:49:14 manolito
- * #1038697 h:selectOneRadio generates malformed XHTML
- *
- * Revision 1.6 2004/07/01 22:00:57 mwessendorf
- * ASF switch
- *
- * Revision 1.5 2004/06/04 00:26:16 o_rossmueller
- * modified renderes to comply with JSF 1.1
- *
- * Revision 1.4 2004/05/26 11:10:12 o_rossmueller
- * fix #959926: styleClass support for selectOneRadio, selectOneList, selectManyList
- *
- * Revision 1.3 2004/05/18 14:31:39 manolito
- * user role support completely moved to components source tree
- *
- * Revision 1.2 2004/03/31 15:15:58 royalts
- * no message
- *
- * Revision 1.1 2004/03/31 13:26:09 manolito
- * extended radio renderer
- *
*/
public class HtmlRadioRendererBase
extends HtmlRenderer
Modified: myfaces/trunk/src/share/org/apache/myfaces/renderkit/html/HtmlRenderer.java
URL: http://svn.apache.org/viewcvs/myfaces/trunk/src/share/org/apache/myfaces/renderkit/html/HtmlRenderer.java?rev=169655&r1=169654&r2=169655&view=diff
==============================================================================
--- myfaces/trunk/src/share/org/apache/myfaces/renderkit/html/HtmlRenderer.java (original)
+++ myfaces/trunk/src/share/org/apache/myfaces/renderkit/html/HtmlRenderer.java Wed May 11 09:45:06 2005
@@ -1,12 +1,12 @@
/*
* Copyright 2004 The Apache Software Foundation.
- *
+ *
* Licensed 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.
@@ -25,19 +25,6 @@
/**
- * $Log$
- * Revision 1.4 2004/10/13 11:51:01 matze
- * renamed packages to org.apache
- *
- * Revision 1.3 2004/07/01 22:00:57 mwessendorf
- * ASF switch
- *
- * Revision 1.2 2004/06/23 13:44:21 royalts
- * no message
- *
- * Revision 1.1 2004/03/29 14:57:00 manolito
- * refactoring for implementation and non-standard component split
- *
* @author Manfred Geiler (latest modification by $Author$)
* @version $Revision$ $Date$
*/
Modified: myfaces/trunk/src/share/org/apache/myfaces/renderkit/html/HtmlRendererUtils.java
URL: http://svn.apache.org/viewcvs/myfaces/trunk/src/share/org/apache/myfaces/renderkit/html/HtmlRendererUtils.java?rev=169655&r1=169654&r2=169655&view=diff
==============================================================================
--- myfaces/trunk/src/share/org/apache/myfaces/renderkit/html/HtmlRendererUtils.java (original)
+++ myfaces/trunk/src/share/org/apache/myfaces/renderkit/html/HtmlRendererUtils.java Wed May 11 09:45:06 2005
@@ -1,12 +1,12 @@
/*
* Copyright 2004 The Apache Software Foundation.
- *
+ *
* Licensed 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.
@@ -47,80 +47,6 @@
/**
* @author Manfred Geiler (latest modification by $Author$)
* @version $Revision$ $Date$
- * $Log$
- * Revision 1.30 2005/03/22 12:25:30 tomsp
- * fixed bug in renderSelectOptions - looking for itemStrValue in lookupSet did not work
- *
- * Revision 1.29 2005/03/16 20:34:36 mmarinschek
- * fix for MYFACES-89, alien commit for Heath Borders
- *
- * Revision 1.28 2005/03/15 05:24:03 svieujot
- * Add a fallback textarea mode to the htmlEditor.
- *
- * Revision 1.27 2005/01/24 15:43:13 svieujot
- * Adjust comments.
- *
- * Revision 1.20 2004/10/13 11:51:01 matze
- * renamed packages to org.apache
- *
- * Revision 1.19 2004/09/08 09:32:03 manolito MyfacesConfig moved to config
- * package
- *
- * Revision 1.18 2004/08/09 11:47:09 manolito CSS style support also for non OL
- * or UL layout
- *
- * Revision 1.17 2004/07/18 22:45:11 o_rossmueller fix #992668: convert values
- * to string for 'selected' comparision
- *
- * Revision 1.16 2004/07/09 02:26:19 dave0000 cleanup
- *
- * Revision 1.15 2004/07/01 22:00:57 mwessendorf ASF switch
- *
- * Revision 1.14 2004/06/21 23:23:37 o_rossmueller fix #976411: removed </input>
- * tag for selectMultiCheckbox fix #972165: also check for readonly and also
- * check for selectMultiCheckbox
- *
- * Revision 1.13 2004/06/17 00:35:50 o_rossmueller fix #972165: do not reset
- * disabled html checkboxes (the browser does not send a form value for disabled
- * checkboxes even if value=true)
- *
- * Revision 1.12 2004/06/16 23:51:15 o_rossmueller fix #970747: force separate
- * end tag for empty select list
- *
- * Revision 1.11 2004/06/03 12:57:03 o_rossmueller modified link renderer to use
- * one hidden field for all links according to 1.1 renderkit docs added
- * onclick=clear_XXX to button
- *
- * Revision 1.10 2004/05/29 10:19:54 mwessendorf made the class FINAL, because
- * has only one private const
- *
- * Revision 1.9 2004/05/18 14:31:39 manolito user role support completely moved
- * to components source tree
- *
- * Revision 1.8 2004/05/03 11:34:27 manolito bug #945118 (Checkbox session
- * state) fixed
- *
- * Revision 1.7 2004/04/30 09:11:38 manolito no message
- *
- * Revision 1.6 2004/04/29 19:34:38 o_rossmueller javascript for 'target'
- * attribute handling
- *
- * Revision 1.5 2004/04/29 14:25:23 manolito javascript function name bugfix
- *
- * Revision 1.4 2004/04/27 10:32:24 manolito clear hidden inputs javascript
- * function
- *
- * Revision 1.3 2004/04/06 15:34:12 manolito decode methods must not set
- * submitted value to null
- *
- * Revision 1.2 2004/04/01 12:43:18 manolito html nesting bug fixed
- *
- * Revision 1.1 2004/03/29 14:57:00 manolito refactoring for implementation and
- * non-standard component split
- *
- * Revision 1.17 2004/03/26 13:39:14 manolito added javascript 'return false' to
- * onClick attribute in render link method
- *
*/
public final class HtmlRendererUtils {
private static final Log log = LogFactory.getLog(HtmlRendererUtils.class);
@@ -138,7 +64,7 @@
/**
* X-CHECKED: tlddoc h:inputText
- *
+ *
* @param facesContext
* @param component
*/
@@ -168,7 +94,7 @@
/**
* X-CHECKED: tlddoc h:selectBooleanCheckbox
- *
+ *
* @param facesContext
* @param component
*/
@@ -221,7 +147,7 @@
/**
* X-CHECKED: tlddoc h:selectManyListbox
- *
+ *
* @param facesContext
* @param component
*/
@@ -251,7 +177,7 @@
/**
* X-CHECKED: tlddoc h:selectManyListbox
- *
+ *
* @param facesContext
* @param component
*/
@@ -276,7 +202,7 @@
if(!isDisabledOrReadOnly(component))
{
((EditableValueHolder) component).setSubmittedValue( RendererUtils.EMPTY_STRING );
- // Necessary for list with no selected item
+ // Necessary for list with no selected item
}
}
}
@@ -285,27 +211,27 @@
* public static void renderCheckbox(FacesContext facesContext, UIComponent
* uiComponent, String value, String label, boolean checked) throws
* IOException { String clientId = uiComponent.getClientId(facesContext);
- *
+ *
* ResponseWriter writer = facesContext.getResponseWriter();
- *
+ *
* writer.startElement(HTML.INPUT_ELEM, uiComponent);
* writer.writeAttribute(HTML.TYPE_ATTR, HTML.INPUT_TYPE_CHECKBOX, null);
* writer.writeAttribute(HTML.NAME_ATTR, clientId, null);
* writer.writeAttribute(HTML.ID_ATTR, clientId, null);
- *
+ *
* if (checked) { writer.writeAttribute(HTML.CHECKED_ATTR,
* HTML.CHECKED_ATTR, null); }
- *
+ *
* if ((value != null) && (value.length() > 0)) {
* writer.writeAttribute(HTML.VALUE_ATTR, value, null); }
- *
+ *
* renderHTMLAttributes(writer, uiComponent,
* HTML.INPUT_PASSTHROUGH_ATTRIBUTES); renderDisabledOnUserRole(writer,
* uiComponent, facesContext);
- *
+ *
* if ((label != null) && (label.length() > 0)) {
* writer.write(HTML.NBSP_ENTITY); writer.writeText(label, null); }
- *
+ *
* writer.endElement(HTML.INPUT_ELEM); }
*/
@@ -486,27 +412,27 @@
* public static void renderRadio(FacesContext facesContext, UIInput
* uiComponent, String value, String label, boolean checked) throws
* IOException { String clientId = uiComponent.getClientId(facesContext);
- *
+ *
* ResponseWriter writer = facesContext.getResponseWriter();
- *
+ *
* writer.startElement(HTML.INPUT_ELEM, uiComponent);
* writer.writeAttribute(HTML.TYPE_ATTR, HTML.INPUT_TYPE_RADIO, null);
* writer.writeAttribute(HTML.NAME_ATTR, clientId, null);
* writer.writeAttribute(HTML.ID_ATTR, clientId, null);
- *
+ *
* if (checked) { writer.writeAttribute(HTML.CHECKED_ATTR,
* HTML.CHECKED_ATTR, null); }
- *
+ *
* if ((value != null) && (value.length() > 0)) {
* writer.writeAttribute(HTML.VALUE_ATTR, value, null); }
- *
+ *
* renderHTMLAttributes(writer, uiComponent,
* HTML.INPUT_PASSTHROUGH_ATTRIBUTES); renderDisabledOnUserRole(writer,
* uiComponent, facesContext);
- *
+ *
* if ((label != null) && (label.length() > 0)) {
* writer.write(HTML.NBSP_ENTITY); writer.writeText(label, null); }
- *
+ *
* writer.endElement(HTML.INPUT_ELEM); }
*/
@@ -540,7 +466,7 @@
writer.writeAttribute(htmlAttrName, value, componentProperty);
return true;
}
-
+
return false;
}
@@ -672,7 +598,7 @@
* to clear the hidden inputs. This is necessary because on a browser back,
* each hidden input still has it's old value (browser cache!) and therefore
* a new submit would cause the according action once more!
- *
+ *
* @param writer
* @param formName
* @param dummyFormParams
@@ -727,7 +653,7 @@
/**
* Prefixes the given String with "clear_" and removes special characters
- *
+ *
* @param formName
* @return
*/
Modified: myfaces/trunk/src/share/org/apache/myfaces/renderkit/html/HtmlResponseWriterImpl.java
URL: http://svn.apache.org/viewcvs/myfaces/trunk/src/share/org/apache/myfaces/renderkit/html/HtmlResponseWriterImpl.java?rev=169655&r1=169654&r2=169655&view=diff
==============================================================================
--- myfaces/trunk/src/share/org/apache/myfaces/renderkit/html/HtmlResponseWriterImpl.java (original)
+++ myfaces/trunk/src/share/org/apache/myfaces/renderkit/html/HtmlResponseWriterImpl.java Wed May 11 09:45:06 2005
@@ -37,70 +37,6 @@
* @author Manfred Geiler (latest modification by $Author$)
* @author Anton Koinov
* @version $Revision$ $Date$
- * $Log$
- * Revision 1.2 2005/05/02 16:40:09 svieujot
- * Slight code refactor for x:buffer
- *
- * Revision 1.1 2005/02/01 16:51:48 svieujot
- * Move the HtmlResponseWriterImpl to the shared sources directory.
- *
- * Revision 1.36 2005/01/31 17:43:11 svieujot
- * Bugfix for HtmlResponseWriterImpl.write(str, offset, length).
- *
- * Revision 1.35 2005/01/31 17:03:54 svieujot
- * Resynchronize the HtmlResponseWriterImpl from the renderkit, and from the x:buffer component.
- *
- * Revision 1.34 2005/01/29 10:04:25 matzew
- * MYFACES-91 patch by Jason Hoo. Thanks
- *
- * Revision 1.33 2005/01/19 13:18:04 mmarinschek
- * better logging of component information
- *
- * Revision 1.32 2005/01/04 15:41:06 svieujot
- * new x:buffer component.
- *
- * Revision 1.31 2004/12/27 04:11:11 mmarinschek
- * Data Table stores the state of facets of children; script tag is rendered with type attribute instead of language attribute, popup works better as a column in a data table
- *
- * Revision 1.30 2004/12/17 22:06:32 grantsmith
- * Jira MYFACES-57: Changed logging levels to DEBUG from INFO
- *
- * Revision 1.29 2004/10/24 23:30:35 oros
- * do not convert newline to <br> and space to &nbps; as this is not required by the spec
- *
- * Revision 1.28 2004/10/13 11:51:00 matze
- * renamed packages to org.apache
- *
- * Revision 1.27 2004/10/05 08:49:15 manolito
- * #1038697 h:selectOneRadio generates malformed XHTML
- *
- * Revision 1.26 2004/10/05 08:32:23 manolito
- * #1038716 Empty h:selectManyCheckbox generates malformed HTML
- *
- * Revision 1.25 2004/09/09 13:15:44 manolito
- * For textareas we must *not* map successive spaces to nbsp
- *
- * Revision 1.24 2004/09/08 15:23:10 manolito
- * Autoscroll feature
- *
- * Revision 1.23 2004/09/08 09:30:01 manolito
- * moved javascript detection to ResponseWriter
- *
- * Revision 1.22 2004/08/20 00:13:55 dave0000
- * remove unused constant
- *
- * Revision 1.21 2004/08/18 17:56:58 manolito
- * no newline to <br/> mapping for TEXTAREA elements
- *
- * Revision 1.20 2004/08/18 16:13:06 manolito
- * writeText method in HtmlResponseWriterImpl now encodes Newlines and successive spaces
- *
- * Revision 1.19 2004/07/01 22:05:06 mwessendorf
- * ASF switch
- *
- * Revision 1.18 2004/04/29 14:59:42 manolito
- * writeURIAttribute no longer adds state saving url parameters
- *
*/
public class HtmlResponseWriterImpl
extends ResponseWriter
@@ -533,7 +469,7 @@
{
return _writeDummyForm;
}
-
+
public void setWriteDummyForm(boolean writeDummyForm)
{
_writeDummyForm = writeDummyForm;
@@ -552,7 +488,7 @@
}
_dummyFormParams.add(paramName);
}
-
+
public Set getDummyFormParams()
{
return _dummyFormParams;
Modified: myfaces/trunk/src/share/org/apache/myfaces/renderkit/html/HtmlSecretRendererBase.java
URL: http://svn.apache.org/viewcvs/myfaces/trunk/src/share/org/apache/myfaces/renderkit/html/HtmlSecretRendererBase.java?rev=169655&r1=169654&r2=169655&view=diff
==============================================================================
--- myfaces/trunk/src/share/org/apache/myfaces/renderkit/html/HtmlSecretRendererBase.java (original)
+++ myfaces/trunk/src/share/org/apache/myfaces/renderkit/html/HtmlSecretRendererBase.java Wed May 11 09:45:06 2005
@@ -1,12 +1,12 @@
/*
* Copyright 2004 The Apache Software Foundation.
- *
+ *
* Licensed 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.
@@ -34,19 +34,6 @@
* @author Thomas Spiegl
* @author Anton Koinov
* @version $Revision$ $Date$
- * $Log$
- * Revision 1.4 2004/12/23 13:03:09 mmarinschek
- * id's not rendered (or not conditionally rendered); changes in jslistener to support both ie and firefox now
- *
- * Revision 1.3 2004/10/13 11:51:01 matze
- * renamed packages to org.apache
- *
- * Revision 1.2 2004/07/01 22:00:57 mwessendorf
- * ASF switch
- *
- * Revision 1.1 2004/05/18 14:31:39 manolito
- * user role support completely moved to components source tree
- *
*/
public class HtmlSecretRendererBase
extends HtmlRenderer
@@ -55,7 +42,7 @@
throws IOException
{
RendererUtils.checkParamValidity(facesContext, uiComponent, UIInput.class);
-
+
ResponseWriter writer = facesContext.getResponseWriter();
writer.startElement(HTML.INPUT_ELEM, uiComponent);
writer.writeAttribute(HTML.TYPE_ATTR, HTML.INPUT_TYPE_PASSWORD, null);
@@ -85,11 +72,11 @@
{
writer.writeAttribute(HTML.DISABLED_ATTR, Boolean.TRUE, null);
}
-
+
writer.endElement(HTML.INPUT_ELEM);
}
-
+
protected boolean isDisabled(FacesContext facesContext, UIComponent uiComponent)
{
//TODO: overwrite in extended HtmlSecretRenderer and check for enabledOnUserRole
@@ -102,7 +89,7 @@
return RendererUtils.getBooleanAttribute(uiComponent, HTML.DISABLED_ATTR, false);
}
}
-
+
public void decode(FacesContext facesContext, UIComponent component)
{
Modified: myfaces/trunk/src/share/org/apache/myfaces/renderkit/html/HtmlTableRendererBase.java
URL: http://svn.apache.org/viewcvs/myfaces/trunk/src/share/org/apache/myfaces/renderkit/html/HtmlTableRendererBase.java?rev=169655&r1=169654&r2=169655&view=diff
==============================================================================
--- myfaces/trunk/src/share/org/apache/myfaces/renderkit/html/HtmlTableRendererBase.java (original)
+++ myfaces/trunk/src/share/org/apache/myfaces/renderkit/html/HtmlTableRendererBase.java Wed May 11 09:45:06 2005
@@ -1,12 +1,12 @@
/*
* Copyright 2004 The Apache Software Foundation.
- *
+ *
* Licensed 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.
@@ -37,25 +37,6 @@
/**
* @author Thomas Spiegl (latest modification by $Author$)
* @version $Revision$ $Date$
- *
- *
- * $Log$
- * Revision 1.9 2005/03/29 11:40:50 matzew
- * added new crosstable component (x:columns). Contributed by Mathias Broekelmann
- *
- * Revision 1.8 2005/02/11 16:03:00 mmarinschek
- * solve bug in tabbed panel when datatable was displayed not on tab, but at the bottom of the datatable...
- *
- * Revision 1.7 2005/01/19 11:49:20 matzew
- * MYFACES-83. Refactored HtmlTableRendererBase supported by "power-user" Heath Borders-Wing
- *
- * Revision 1.6 2004/12/23 13:03:09 mmarinschek
- * id's not rendered (or not conditionally rendered); changes in jslistener to support both ie and firefox now
- *
- * Revision 1.5 2004/11/26 12:14:10 oros
- * MYFACES-8: applied tree table patch by David Le Strat
- *
- *
*/
public class HtmlTableRendererBase extends HtmlRenderer
{
@@ -178,7 +159,7 @@
}
writer.endElement(HTML.TBODY_ELEM);
}
-
+
/**
* Renders the body of a given <code>UIColumn</code> (everything but the header and footer facets).
* @param facesContext the <code>FacesContext</code>.
@@ -201,11 +182,11 @@
{
writer.writeAttribute(HTML.CLASS_ATTR, columnStyleClass, null);
}
-
+
RendererUtils.renderChild(facesContext, component);
writer.endElement(HTML.TD_ELEM);
}
-
+
/**
* Renders the start of a new row of body content.
* @param facesContext the <code>FacesContext</code>.
@@ -226,7 +207,7 @@
writer.writeAttribute(HTML.CLASS_ATTR, rowStyleClass, null);
}
}
-
+
/**
* Renders the end of a row of body content.
* @param facesContext the <code>FacesContext</code>.
@@ -403,7 +384,7 @@
* @param facesContext the <code>FacesContext</code>.
* @param writer the <code>ResponseWriter</code>.
* @param component the <code>UIComponent</code> for whom a table is being rendered.
- * @param headerStyleClass the styleClass of the header
+ * @param headerStyleClass the styleClass of the header
* @throws IOException if an exception occurs.
*/
protected void renderColumnHeaderRow(FacesContext facesContext, ResponseWriter writer, UIComponent component,
@@ -418,7 +399,7 @@
* @param facesContext the <code>FacesContext</code>.
* @param writer the <code>ResponseWriter</code>.
* @param component the <code>UIComponent</code> for whom a table is being rendered.
- * @param footerStyleClass the styleClass of the footerStyleClass
+ * @param footerStyleClass the styleClass of the footerStyleClass
* @throws IOException if an exception occurs.
*/
protected void renderColumnFooterRow(FacesContext facesContext, ResponseWriter writer, UIComponent component,
@@ -450,7 +431,7 @@
writer.endElement(HTML.TR_ELEM);
}
- private void renderColumnHeaderOrFooterRow(FacesContext facesContext, ResponseWriter writer,
+ private void renderColumnHeaderOrFooterRow(FacesContext facesContext, ResponseWriter writer,
UIComponent component, String styleClass, boolean header) throws IOException
{
HtmlRendererUtils.writePrettyLineSeparator(facesContext);
@@ -465,12 +446,12 @@
{
if (header)
{
- renderColumnHeaderCell(facesContext, writer, uiComponent,
+ renderColumnHeaderCell(facesContext, writer, uiComponent,
((UIColumn) uiComponent).getHeader(), styleClass, 0);
}
else
{
- renderColumnFooterCell(facesContext, writer, uiComponent,
+ renderColumnFooterCell(facesContext, writer, uiComponent,
((UIColumn) uiComponent).getFooter(), styleClass, 0);
}
}
@@ -508,7 +489,7 @@
* will be wrapped.
* @throws IOException
*/
- protected void renderColumnHeaderCell(FacesContext facesContext, ResponseWriter writer, UIColumn uiColumn,
+ protected void renderColumnHeaderCell(FacesContext facesContext, ResponseWriter writer, UIColumn uiColumn,
String headerStyleClass, int colspan) throws IOException
{
renderColumnHeaderCell(facesContext, writer, uiColumn, uiColumn.getHeader(), headerStyleClass, colspan);
@@ -525,7 +506,7 @@
* will be wrapped.
* @throws IOException
*/
- protected void renderColumnHeaderCell(FacesContext facesContext, ResponseWriter writer, UIComponent uiComponent,
+ protected void renderColumnHeaderCell(FacesContext facesContext, ResponseWriter writer, UIComponent uiComponent,
UIComponent facet, String headerStyleClass, int colspan) throws IOException
{
writer.startElement(HTML.TH_ELEM, uiComponent);
@@ -554,12 +535,12 @@
* will be wrapped.
* @throws IOException
*/
- protected void renderColumnFooterCell(FacesContext facesContext, ResponseWriter writer, UIColumn uiColumn,
+ protected void renderColumnFooterCell(FacesContext facesContext, ResponseWriter writer, UIColumn uiColumn,
String footerStyleClass, int colspan) throws IOException
- {
+ {
renderColumnFooterCell(facesContext, writer, uiColumn, uiColumn.getFooter(), footerStyleClass, colspan);
}
-
+
/**
* Renders the footer facet for the given <code>UIColumn</code>.
* @param facesContext the <code>FacesContext</code>.
@@ -571,7 +552,7 @@
* will be wrapped.
* @throws IOException
*/
- protected void renderColumnFooterCell(FacesContext facesContext, ResponseWriter writer, UIComponent uiComponent,
+ protected void renderColumnFooterCell(FacesContext facesContext, ResponseWriter writer, UIComponent uiComponent,
UIComponent facet, String footerStyleClass, int colspan) throws IOException
{
writer.startElement(HTML.TD_ELEM, uiComponent);
Modified: myfaces/trunk/src/share/org/apache/myfaces/renderkit/html/HtmlTextRendererBase.java
URL: http://svn.apache.org/viewcvs/myfaces/trunk/src/share/org/apache/myfaces/renderkit/html/HtmlTextRendererBase.java?rev=169655&r1=169654&r2=169655&view=diff
==============================================================================
--- myfaces/trunk/src/share/org/apache/myfaces/renderkit/html/HtmlTextRendererBase.java (original)
+++ myfaces/trunk/src/share/org/apache/myfaces/renderkit/html/HtmlTextRendererBase.java Wed May 11 09:45:06 2005
@@ -1,12 +1,12 @@
/*
* Copyright 2004 The Apache Software Foundation.
- *
+ *
* Licensed 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.
@@ -33,34 +33,6 @@
* @author Thomas Spiegl (latest modification by $Author$)
* @author Manfred Geiler
* @version $Revision$ $Date$
- * $Log$
- * Revision 1.9 2004/12/23 13:03:09 mmarinschek
- * id's not rendered (or not conditionally rendered); changes in jslistener to support both ie and firefox now
- *
- * Revision 1.8 2004/10/13 11:51:01 matze
- * renamed packages to org.apache
- *
- * Revision 1.7 2004/09/02 17:23:25 tinytoony
- * fix for the span-element for other than the output-text
- *
- * Revision 1.6 2004/09/02 16:44:38 tinytoony
- * fix for the fix ;) for span-element bug
- *
- * Revision 1.5 2004/08/30 17:50:34 tinytoony
- * fix for span-element bug
- *
- * Revision 1.4 2004/08/30 17:29:26 tinytoony
- * fix for span-element bug
- *
- * Revision 1.3 2004/07/01 22:00:56 mwessendorf
- * ASF switch
- *
- * Revision 1.2 2004/05/25 07:33:06 manolito
- * no longer depends on specific component classes
- *
- * Revision 1.1 2004/05/18 14:31:39 manolito
- * user role support completely moved to components source tree
- *
*/
public class HtmlTextRendererBase
extends HtmlRenderer
Modified: myfaces/trunk/src/share/org/apache/myfaces/renderkit/html/HtmlTextareaRendererBase.java
URL: http://svn.apache.org/viewcvs/myfaces/trunk/src/share/org/apache/myfaces/renderkit/html/HtmlTextareaRendererBase.java?rev=169655&r1=169654&r2=169655&view=diff
==============================================================================
--- myfaces/trunk/src/share/org/apache/myfaces/renderkit/html/HtmlTextareaRendererBase.java (original)
+++ myfaces/trunk/src/share/org/apache/myfaces/renderkit/html/HtmlTextareaRendererBase.java Wed May 11 09:45:06 2005
@@ -1,12 +1,12 @@
/*
* Copyright 2004 The Apache Software Foundation.
- *
+ *
* Licensed 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.
@@ -32,19 +32,6 @@
* @author Manfred Geiler (latest modification by $Author$)
* @author Anton Koinov
* @version $Revision$ $Date$
- * $Log$
- * Revision 1.4 2004/12/23 13:03:09 mmarinschek
- * id's not rendered (or not conditionally rendered); changes in jslistener to support both ie and firefox now
- *
- * Revision 1.3 2004/10/13 11:51:01 matze
- * renamed packages to org.apache
- *
- * Revision 1.2 2004/07/01 22:00:57 mwessendorf
- * ASF switch
- *
- * Revision 1.1 2004/05/18 14:31:39 manolito
- * user role support completely moved to components source tree
- *
*/
public class HtmlTextareaRendererBase
extends HtmlRenderer
Modified: myfaces/trunk/src/share/org/apache/myfaces/renderkit/html/util/DummyFormUtils.java
URL: http://svn.apache.org/viewcvs/myfaces/trunk/src/share/org/apache/myfaces/renderkit/html/util/DummyFormUtils.java?rev=169655&r1=169654&r2=169655&view=diff
==============================================================================
--- myfaces/trunk/src/share/org/apache/myfaces/renderkit/html/util/DummyFormUtils.java (original)
+++ myfaces/trunk/src/share/org/apache/myfaces/renderkit/html/util/DummyFormUtils.java Wed May 11 09:45:06 2005
@@ -1,12 +1,12 @@
/*
* Copyright 2004 The Apache Software Foundation.
- *
+ *
* Licensed 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.
@@ -33,19 +33,6 @@
/**
* @author Manfred Geiler (latest modification by $Author$)
* @version $Revision$ $Date$
- * $Log$
- * Revision 1.8 2004/10/13 11:51:01 matze
- * renamed packages to org.apache
- *
- * Revision 1.7 2004/09/08 15:23:11 manolito
- * Autoscroll feature
- *
- * Revision 1.6 2004/07/01 22:00:53 mwessendorf
- * ASF switch
- *
- * Revision 1.5 2004/05/18 12:02:29 manolito
- * getActionURL and getResourceURL must not call encodeActionURL or encodeResourceURL
- *
*/
public class DummyFormUtils
{