It should be both, though you have to define at the getter. Cheers, PS
On 3/11/06, Andreas Bulling <[EMAIL PROTECTED]> wrote: > > On 11. Mär 2006 - 09:27:43, Chris Chiappone wrote: > | Make sure you have your recordlist property set to "persist". It > | looks as though when you click on the sorting and the page refreshes > | your list will be null if not persisted in the page. > > Yeah, thanks for that - that was the reason for the error message! ;) > > Just one short question apart: > If I use the @Persist annotation on which method does it have influence > on, on getRecordList(), on setRecordList() or on both? > > @Persist > public abstract List<Record> getRecordList(); > public abstract void setRecordList(List<Record> recordList); > > Sincerly, > Andreas > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >