I thought it might be helpful to post a couple of methods.

I am hoping to find a workaround for this one and move on.

Sorry this post turned into a twisted two kinda issue.

Fist it was the missing DIV and now its the CollectionGridDataSource.

My form properties are using @Persist because I want them to stick.

Thanks for your patience

    @SetupRender
    public void setupRender() {
        beanType = rowClass = PlayerStats.class;

        collection = new ArrayList(
                TynamoUTIL.loadCollectionByYearAndLeagueAndSeason(
                        hibernatePersistenceService, year, league, season,
                        PlayerStats.class));

        grid.getDataModel().get("gp").sortable(true);
        grid.getDataModel().get("g").sortable(true);
        grid.getDataModel().get("a").sortable(true);
        grid.getDataModel().get("pts").sortable(true);
        grid.getDataModel().get("ppg").sortable(true);
        grid.getDataModel().get("ppa").sortable(true);
    }


    public GridDataSource getSource() {
        beanType = rowClass = PlayerStats.class;
        return new CollectionGridDataSource(collection == null ? 
Collections.EMPTY_LIST : collection );
    }

                                          

Reply via email to