Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
<?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>
        <description>
            MethodExpression representing an action listener method that will be notified when this component is activated
            by the user. The expression must evaluate to a public method that takes an ActionEvent parameter, with a return
            type of void, or to a public method that takes no arguments with a return type of void. In the latter case,
            the method has no way of easily knowing where the event came from, but this can be useful in cases where a
            notification is needed that "some action happened".
        </description>
        <property-name>listener</property-name>
        <property-class>javax.el.MethodExpression</property-class>
    </property>
    <property>
        <description>
            Name of JavaScript event property (click, change, etc.) of parent component that triggers the behavior.
            If the event attribute is not defined, the behavior is triggered on the event that normally provides
            interaction behavior for the parent component
        </description>
        <property-name>event</property-name>
        <property-class>java.lang.String</property-class>
    </property>
</cdk:properties>
New to GrepCode? Check out our FAQ X