Package org.apache.beehive.netui.compiler.model

Examples of org.apache.beehive.netui.compiler.model.FormBeanModel


        paramType = CompilerUtils.getGenericBoundsType( paramType );
        assert paramType instanceof DeclaredType : paramType.getClass().getName()// checker should enforce this
        TypeDeclaration decl = CompilerUtils.getDeclaration( ( DeclaredType ) paramType );
        List formBeans = parentApp.getMatchingFormBeans(decl, Boolean.valueOf(getFormMember() != null));
        assert formBeans.size() > 0;
        FormBeanModel formBeanModel = (FormBeanModel) formBeans.get(0);
        setFormBeanMessageResourcesKey(formBeanModel.getFormBeanMessageResourcesKey());
       
        //
        // If this isn't an ActionForm-derived argument, keep track of the classname for the runtime.
        //
        if ( ! CompilerUtils.isAssignableFrom( PAGEFLOW_FORM_CLASS_NAME, decl, parentApp.getEnv() ) )
        {
            setFormClass( CompilerUtils.getLoadableName( decl ) );
        }
       
        return formBeanModel.getName();
    }
View Full Code Here


        List formBeans = _strutsApp.getMatchingFormBeans(beanType, null);
        List formBeanNames = new ArrayList();

        for ( Iterator i = formBeans.iterator(); i.hasNext(); )
        {
            FormBeanModel formBeanModel = ( FormBeanModel ) i.next();
            formBeanNames.add( formBeanModel.getName() );
        }

        return formBeanNames;
    }
View Full Code Here

TOP

Related Classes of org.apache.beehive.netui.compiler.model.FormBeanModel

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.