Thanks for trying Lance... I am trying to trace the runtime...

I did add         configuration.add(SymbolConstants.PRODUCTION_MODE, "false");

but it has had no effect

I got no clue as to why... but in my component/widget Gallery.JAVA

Gallery.JAVA
    @Parameter(required = true)
    private Class collectionType;

    @SetupRender
    public void setupRender()
    {
        try
        {
            collection = loadCollection(collectionType);
        } catch (Exception e)
        {
            logger.error("error loading data on collection gallery");
        }
    }

collectionType is a type class ... specifically Coach.class for example... 
which is the KIND of objects I am displaying in my gallery for test

collectionTyoe is also a parameter into my widget coming in from my 

Home.JAVA

    <t:form t:id="galleryForm" id="galleryForm" clientValidation="true" >
        <t:errors/>
        <t:Gallery t:id="galleryWidget" id="galleryWidget"
            collectionType="coachClass"
            itemsPerPage="itemsPerPage"
            tableColumns="tableColumns"
            cursor="cursor"
            />
    </t:form>

whereby coachClass is just a hack for testing

    public Class getCoachClass()
    {
        return Coach.class;
    }


but in Gallery.JAVA SetupRender collectionType parameter is showing as null in 
debugger. 
I would think that at this point in time it should have some value?
I am hoping I dont have to add all kinds of null checks... and seeking some 
graceful elegant runtime whereby 'it just works'
?


                                          

Reply via email to