Author: nbelaevski
Date: 2011-01-20 10:39:14 -0500 (Thu, 20 Jan 2011)
New Revision: 21121
Added:
trunk/ui/core/ui/src/main/resources/META-INF/cdk/
trunk/ui/core/ui/src/main/resources/META-INF/cdk/attributes/
trunk/ui/core/ui/src/main/resources/META-INF/cdk/attributes/param-assignTo-prop.xml
Modified:
trunk/ui/core/ui/src/main/java/org/richfaces/component/AbstractParameter.java
Log:
https://issues.jboss.org/browse/RF-10183
Modified: trunk/ui/core/ui/src/main/java/org/richfaces/component/AbstractParameter.java
===================================================================
---
trunk/ui/core/ui/src/main/java/org/richfaces/component/AbstractParameter.java 2011-01-20
15:19:26 UTC (rev 21120)
+++
trunk/ui/core/ui/src/main/java/org/richfaces/component/AbstractParameter.java 2011-01-20
15:39:14 UTC (rev 21121)
@@ -34,6 +34,7 @@
import org.ajax4jsf.Messages;
import org.ajax4jsf.component.JavaScriptParameter;
+import org.richfaces.cdk.annotations.Attribute;
import org.richfaces.cdk.annotations.JsfComponent;
import org.richfaces.cdk.annotations.Tag;
import org.richfaces.cdk.annotations.TagType;
@@ -43,7 +44,8 @@
* @author shura (latest modification by $Author: alexsmirnov $)
* @version $Revision: 1.1.2.2 $ $Date: 2007/02/01 15:31:55 $
*/
-@JsfComponent(tag = @Tag(name = "param", handler =
"org.richfaces.view.facelets.html.ParameterHandler", generate = false, type =
TagType.Facelets))
+@JsfComponent(tag = @Tag(name = "param", handler =
"org.richfaces.view.facelets.html.ParameterHandler", generate = false,
+ type = TagType.Facelets), attributes = "param-assignTo-prop.xml")
public abstract class AbstractParameter extends UIParameter implements ActionListener,
JavaScriptParameter {
public static final String COMPONENT_TYPE = "org.richfaces.Parameter";
@@ -61,7 +63,9 @@
/** ********************************************************* */
+ @Attribute
public abstract boolean isNoEscape();
+
public abstract void setNoEscape(boolean noEscape);
public void setAssignToExpression(ValueExpression ve) {
Added:
trunk/ui/core/ui/src/main/resources/META-INF/cdk/attributes/param-assignTo-prop.xml
===================================================================
--- trunk/ui/core/ui/src/main/resources/META-INF/cdk/attributes/param-assignTo-prop.xml
(rev 0)
+++
trunk/ui/core/ui/src/main/resources/META-INF/cdk/attributes/param-assignTo-prop.xml 2011-01-20
15:39:14 UTC (rev 21121)
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- JBoss, Home of Professional Open Source Copyright ${year}, Red Hat,
+ Inc. and individual contributors by the @authors tag. See the copyright.txt
+ in the distribution for a full listing of individual contributors. This is
+ free software; you can redistribute it and/or modify it under the terms of
+ the GNU Lesser General Public License as published by the Free Software Foundation;
+ either version 2.1 of the License, or (at your option) any later version.
+ This software is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
+ details. You should have received a copy of the GNU Lesser General Public
+ License along with this software; if not, write to the Free Software Foundation,
+ Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA, or see the
+ FSF site:
http://www.fsf.org. -->
+<cdk:properties
xmlns:xi="http://www.w3.org/2001/XInclude"
+
xmlns:cdk="http://jboss.org/schema/richfaces/cdk/extensions"
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://java.sun.com/xml/ns/javaee">
+
+ <property>
+ <property-name>assignTo</property-name>
+ <property-class>java.lang.Object</property-class>
+ <property-extension>
+ <cdk:generate>false</cdk:generate>
+ </property-extension>
+ </property>
+
+</cdk:properties>