Thanks Sven,

This approach works best. I also like the code better than the first approach.

Cheers

On 12/21/07, Sven Homburg <[EMAIL PROTECTED]> wrote:
> here an other approche:
>
>    @Persist("flash")
>    private DatasourceSelectModel _datasourceSelectModel;
>
>    @SetupRender
>    public void doSetupRender()
>    {
>        _datasourceSelectModel = new
> DatasourceSelectModel(getDefaultDAO(ReportDatasource.class).findAll(),
> _propertyAccess, false);
>    }
>
>    public SelectModel getDatasourceModel()
>    {
>        return _datasourceSelectModel;
>    }
>

-- 
I'm a coder not a drag-n-dropper

Blog: http://joshuajava.wordpress.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to