is that when running a test or?
2010/4/2 新希望软件 -- 俞宏伟 nhsoft@gmail.com:
i found thant push component has some problem. after update push compenet to
1.4.7-snapshot, the application throws some error message:
04-02 09:34:55.546[ RequestCycle.java:1521:ERROR] There is no
application
I wrote an article for following topic:
Image upload using TinyMce within Wicket Framework
Article is based on functionality which i wrote to my project. I wrote it
since during investigation i saw high demand for such fuctionality.
I hope it will be helpful :) Any comments are welcome :)
Hi!
I slightly customized your code and it works fine. After redirecting I
checked http://localhost:8084/WicketTest/ (where is the code) domain
for CustomerCookie cookie and it existed and every time I click submit
a new cookie is added.
public class Index extends WebPage {
public Index() {
With OSIV every user will have a different hibernate-session, hence a
different hibernate object, so your example would work. But your
approach is wrong. For your example I would make a SurveyResult object
that holds a reference to your hibernate Survey object. Problem solved.
No need to play
Hi all,
I've been actively using wicket on GAE for quite a lot of months and I
love it, but I've quite serious performance problems. I already checked all
the advices to speed up the performance but still is quite slow specially
for some requests or opening a bookmarkable page. I don't know
Hello there,
I delegate the construction of my singleton PersistenceManagerFactory (PMF)
(for data exchange with the datastore) to a queued task, since this
operation can take a few seconds. This way, my home page can show without
waiting for PMF construction to be complete.
I know that the
Hi,
we've got several examples in our logs of properties of the model
being set to null even though the textfield is set to required.
I have NO idea how on earth this can happen - its just doesn't make
sense - and its really frustrating me!!
here's an example:
Caused by:
have you looked at the wizard examples in the wicket-examples package?
http://www.wicket-library.com/wicket-examples/
--
Jeremy Thomerson
http://www.wickettraining.com
On Thu, Apr 1, 2010 at 8:49 AM, Sumit Raja sumitr...@gmail.com wrote:
Hello,
I am trying to get a dynamic wizard to work
Hi,
We have a TextField whose object value we'd like to populate from a Cookie
using CookieValuePersister. Things work fine (persister.save and .load) when
the input is added to the form at Form's construction time. However, in
cases when the input's added to the form using addOrReplace during
hi
The other day, I was busy creating reusable components. To make them safe, I
used what I believe is a wicket good practices: adding the components in
onBeforeRender.
In fact, it's not just in onBeforeRender, it's rather :
@Override
protected void onBeforeRender() {
from Component.java in 1.5 (trunk)
/**
* Callback method invoked after the component was added to its
parent AND you can walk up the
* hierarchy up until the Page. That is, all parents must be have
been added to their parents as
* well. Add this point in time
A quick afternote: in my previous post, I assumed that you were using
persistence via JDO code (using PMF).
I don't know how long it takes to construct any equivalent datastore
connection using JPA or the GAE/J persistence API.
--
View this message in context:
Thanks a lot, glad to know that :)
Yet, I should have figured it out by myself. Next time I'll look directly at
the source rather than doing a bad nabble search.
++
joseph
_
From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com]
To: users@wicket.apache.org
Sent: Fri, 02 Apr 2010
Joseph,
Could you elaborate on why adding components in onBeforeRender is safe and
a wicket good practice? I haven't come across this very often in my
projects. Under what circumstances would you recommend this approach?
josephpachod wrote:
hi
The other day, I was busy creating reusable
one usecase is when you want the user to be able to change which
components will be created.
this is bad:
class mycomponent extends panel {
public mycomponent(string id) { add(newCounter(counter)); }
protected Component newCounter(String id) { return new Label(id, ); }
}
because you are
Good example. Thanks for clarifying.
igor.vaynberg wrote:
one usecase is when you want the user to be able to change which
components will be created.
this is bad:
class mycomponent extends panel {
public mycomponent(string id) { add(newCounter(counter)); }
protected Component
16 matches
Mail list logo