Package com.dodo.blog.ui.ajax.annotation

Examples of com.dodo.blog.ui.ajax.annotation.SetModel


            // set model class form model parameter
            Class<?> modelClass = Class.forName( modelParameter );
            for ( Method method : page.getClass().getDeclaredMethods() )
            {
                SetModel setModelAnnotation = method.getAnnotation( SetModel.class );
                if ( setModelAnnotation != null && setModelAnnotation.name().equals( modelId ) )
                {
                    // parse json parameter into model object
                    Object model = getModelObject( page, modelId );
                    MAPPER.updatingReader( model ).readValue( jsonParameter );
View Full Code Here

TOP

Related Classes of com.dodo.blog.ui.ajax.annotation.SetModel

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.