Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.richfaces.view.facelets;
 
 import  javax.faces.view.facelets.FaceletContext;
 import  javax.faces.view.facelets.Metadata;
 import  javax.faces.view.facelets.TagAttribute;
 
 import  org.richfaces.event.TreeSelectionChangeEvent;
 import  org.richfaces.event.TreeSelectionChangeSource;

Author(s):
Nick Belaevski
final class TreeSelectionChangeListenerExpressionMetadata extends Metadata {
    private static final Class<?>[] SIGNATURE = new Class[] { TreeSelectionChangeEvent.class };
    private final TagAttribute attr;
        this. = attr;
    }
    @Override
    public void applyMetadata(FaceletContext ctxObject instance) {
        ((TreeSelectionChangeSource) instance).addTreeSelectionChangeListener(new MethodExpressionTreeSelectionChangeListener(
            this..getMethodExpression(ctxnull)));
    }
New to GrepCode? Check out our FAQ X