Hi Folks,

I created a page called Query.



http://powerplayhockey.noip.us:9011/pphl/query


It offers two things to the user... a select component and a grid.

My select has two options... TEAM or PLAYER.

So I toggle my beanType to Team.class or Player.class and render a grid based 
on the collection I pull out of the database.

I am having an issue though. On the submit form method, it currently returns 
nothing.

    @OnEvent(value = "go")
    void submit() {
        logger.debug("In submit : ");

        switch (reportType) {
        case TEAM:
            beanType = Team.class;
            break;
        case PLAYER:
            beanType = Team.class;
            break;
        default:
        }
        collection = loadCollection(beanType);
    }


Maybe I can return THIS... Currently it seems to be taking me to 
http://powerplayhockey.noip.us:9011/team

Thanks for any tips.

Best regards 
and thanks... KEN                                         

Reply via email to