Don't put your SelectCollectionModel inside the components, pages or
base subpackages. Otherwise Tapestry will try to enhance it and fail
because the superclass is not in a controlled package - as the exception
message says.
Uli
kamiseq schrieb:
I dont get it!
AbstractSelectModel class comes from org.apache.tapestry5.util package so
why should I care about that class!
should I replace that class with my own????
I just comy paste solution from that tutorial (
http://wiki.apache.org/tapestry/Tapestry5HowtoSelectWithObjects) [except
addOptionGroup function as I dont see where it could be used]
so it should work!
pozdrawiam
Paweł Kamiński
kami...@gmail.com
pkaminski....@gmail.com
______________________
On 22 January 2010 16:11, Joost Schouten (ml) <joost...@jsportal.com> wrote:
Did you replace the mypackage with your actual package name?
Lets say your AppModule lives in
com.domain.services
your AbstractSelectModel should be places in
com.domain.base
Hope it helps,
Joost
kamiseq wrote:
hi all,
I run into a strange problem, I was googling for this, but still have no
idea what is going on :(
i followed the
http://wiki.apache.org/tapestry/Tapestry5HowtoSelectWithObjects and after
running the page I got error message
java.lang.RuntimeException: Base class
org.apache.tapestry5.util.AbstractSelectModel (super class of
pl mypackage.components.utils.SelectCollectionModel) is not in a
controlled
package and is therefore not valid. You should try moving the class to
package mypackage.base.
just to try I refactored my code and put my class
into mypackage.base.SelectCollectionModel like I was asked - no change.
the
problem persisted.
please help
pozdrawiam
Paweł Kamiński
kami...@gmail.com
pkaminski....@gmail.com
______________________
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org