Riyad,
Thanks for replying - I may have not been clear enough. The database
connection is fine when I run the application normally. The choices from the
dropdown list are loaded, and I've also put a temporary system.out line to
spit the contents of the list out immediately after loading, so that
I had added wicket-extensions to my pom.xml, because I was planning on making
use of DataTable and DefaultDataTable, however, I hadn't yet added any code
that would require the dependency. Made a couple changes to my project over
the weekend, and went to recompile and tomcat wouldnt start.
Yeah I noticed that when I checked the maven repo that it required
commons-collections, so I tried adding version 3.2.1. I ended up with the
following error:
java.lang.ClassCastException: wicket.extensions.Initializer cannot be cast
to org.apache.wicket.IInitializer
The maven repo stated that
ok, I had read that in a post from several years ago, it just didnt make
sense to me, because I thought alive and well would mean that is has some
ability to work with a more current version of wicket. a bit misleading
first response.
--
View this message in context:
Thank you JT, the day I was working on this when I checked the maven
repository, the first search result returns the older versions of
wicket-extensions based off the groupid = wicket. It was my mistake, I
didn't realize at the time there was a newer branch based off groupid =
org.apache.wicket,
how do you get the page model to refresh when a user presses reload or F5?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/quick-page-model-question-tp3172678p3172678.html
Sent from the Users forum mailing list archive at Nabble.com.
I'm pretty much a noob, even though I've been slowly working on a project for
about a year so bear with me. I've read understanding models a couple
dozen times already and lifecycle, requestcycle, etc. and did a fair amount
of slogging through the mailing list for old posts about page resfresh
I set a breakpoint within the load() and when the page first gets constructed
I am able to watch the code get executed. When I refresh, the listview on
the page (which uses a different LDM) does get called again, however this
LDM (the model for the page) does not.
I think I probably copied most
Jeremy thanks for your patience, I have a couple of questions about your
replies.
1. If my constructors for the page are
public ManageClientPage(long id){this(new ClientLDM(id));}
public ManageClientPage(IModelClient client) { ///code here}
and the page is being called using ...
Thanks a million man!
I wasn't calling super(model) and after figuring out how to attach sources
(which I hadn't known about), I was able to see that the page model was
being detached and refreshed. The labels on the page aren't updating, but
I'm assuming I need to provide each component with
I'm trying to get a modal window to popup to make edits on line items from a
Listview. I have an actionpanel with an edit button and I am having
troubles figuring out where to put the markup --
div wicket:id=modal/div. The actionpanel is an inner class taken from
the repeater examples. I've
I figured it out - I was creating the modal window inside the onClick()
method, but it needed to take place outside the method. I was able to put
the markup inside the corresponding action panel html. When the onclick is
called it's just recreating the modal window (because we need to construct
12 matches
Mail list logo