what does your listview's populateitem look like?

-igor

On Mon, Nov 9, 2009 at 9:50 AM, Sam Barrow <s...@sambarrow.com> wrote:
> Hi. Wondering if someone can help me with a serialization problem I'm
> having.
> To start off, the domain model in this application does not use
> serializable domain objects (the project is using db4o, which does not
> play well with serialized objects).
>
> I have a page with this code:
>
> IModel<ValueObject> valueObjectList = new
> LoadableDetachableModel<ValueObject>() {
>        protected void load() {
>                return getVOGenerator().generateVOs();
>        }
> }
> add(new ListView<ValueObject>("vos", valueObjectList) {
> ...
> });
>
> I'm getting this error:
> org.apache.wicket.util.io.SerializableChecker
> $WicketNotSerializableException: Unable to serialize
> class: ...ValueObject
>
> How do I get around this?
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to