Hi,
Please paste the stack trace of the exception so we can see how you use
these methods.
A new MarkupStream is created for each rendering of a page. It is being
closed at the end of the rendering.
On Tue, Jun 25, 2013 at 2:03 AM, heikki tropic...@gmail.com wrote:
hello,
I'm using Wicket
Hi,
On Mon, Jun 24, 2013 at 11:08 PM, Michael Chandler
michael.chand...@onassignment.com wrote:
Joachim,
This was a phenomenal write-up. Thank you so much for this extremely
helpful guide. Much appreciated!
Regards,
Mike
-Original Message-
From: Joachim Schrod
hi,
the stacktrace is here: http://pastebin.com/Kgba3zxF.
I noticed I did not supply the code of getStringFromInputStream() -- I took
it from
http://www.mkyong.com/java/how-to-convert-inputstream-to-string-in-java/ and
it is
protected static String getStringFromInputStream(InputStream is) {
Considering two alternative ways to set a model:
...
final CompoundPropertyModel myModel = new
CompoundPropertyModel(myObject);
control1.setModel(myModel.bind(field1));
control2.setModel(myModel.bind(field2));
control3.setModel(myModel.bind(field3));
Hi,
On Tue, Jun 25, 2013 at 5:20 PM, gmparker2000 greg.par...@brovada.comwrote:
Considering two alternative ways to set a model:
...
final CompoundPropertyModel myModel = new
CompoundPropertyModel(myObject);
control1.setModel(myModel.bind(field1));
I received outstanding guidance yesterday on integrating wicket-spring into my
application and combined with the write-up along with a lot of other similar
articles/blogs I found online, I'm confident I'm on the right track. I have
encountered an error that has me a little mystified and was
I have the following in my web.xml:
filter
filter-nameWicketAppFilter/filter-name
filter-classorg.apache.wicket.protocol.http.WicketFilter/filter-class
init-param
param-name*applicationClassName*/param-name
Hi *,
One of our multi-tenant apps uses the incoming hostname to look up the
account to attach to.
We've currently handled it like so:
- Request scoped guice provider, which performs the lookup (which can
return Account.UNKNOWN)
- Base page class which validates the account returned by the
Michael Chandler wrote:
java.lang.IllegalStateException: bean of type
[org.apache.wicket.protocol.http.WebApplication] not found
Full stack trace below.
Despite having defined my WebApplication bean in the
applicationContext.xml, this exception appears at start-up, leading
me to
Hi,
It sounds like you know what you are doing, but I just want to check why
you chose myObject as a variable name in your example?
If you are properly using detachable models and do not want to serialize
a large object graph, myObject needs to be a loadable detachable
model, and not an
Nick Pratt wrote:
I have the following in my web.xml:
init-param
param-name*applicationClassName*/param-name
param-valuecom.test.app.MyApplication/param-value
/init-param
init-param
Joachim,
You're brilliant. You have saved the day once again. The changes to my
configuration required me to move applicationContext.xml to
/src/main/resources. Thank you so much!
Mike
-Original Message-
From: Joachim Schrod [mailto:jsch...@acm.org]
Sent: Tuesday, June 25, 2013
Hi all,
What is the purpose of Validatable.model?
I don't seem to be able to find any usages of Validatable.getModel(),
setModel() or model...
Thanks
Marios
Good evening all,
I use ResourceRegistrationListener in my HomePage with wicket-atmosphere
0.10 and neither resourceRegistered() nor resourceUnregistered() are called.
Does anyone have a clue, please?
I have a working clock, as in the examples, but I can't find the UUID for
EventBus#post(Object
Thanks Paul,
I worked it out and added my solution to a SO question about the same issue:
http://stackoverflow.com/questions/4996208/how-do-i-modify-the-markup-generated-by-a-wicket-link-in-a-pagingnavigator
It's the newest answer at the bottom.
Daniel
On Mon, Jun 24, 2013 at 3:26 PM, Paul
For my project I've built a resource and a little set of annotation to
easily expose a REST api which uses JSON as message format. The goal is
to map custom methods to a specific path and extract their parameters
from the URL path or from the request body. For example:
public class
Cool!
On Tue, Jun 25, 2013 at 10:35 PM, Andrea Del Bene an.delb...@gmail.comwrote:
For my project I've built a resource and a little set of annotation to
easily expose a REST api which uses JSON as message format. The goal is to
map custom methods to a specific path and extract their
That is a good question that I have been mulling over these last few says.
I think that I need to suck it up and just re-familiarize with Java -- it
is less verbose, with annotations and closures now, right? -- for all of
the benefits that the JVM with Wicket will bring me. I got a bit spoiled by
I am upgrading from wicket 1.5.8 to 1.5.10. Compilation is fine but ran into
the exception at the very first page.
I look at the source code and javadoc of 1.5.10 (and even 1.5.8), there is
only one class ClientInfo under org.apache.wicket.request. So where is the
You need to add wicket-request in your dependencies.
dependency
groupIdorg.apache.wicket/groupId
artifactIdwicket-request/artifactId
/dependency
François Meillet
Formation Wicket - Développement Wicket
Le 25 juin 2013 à 23:04, paulstar richard@gmail.com a écrit :
That is the problem. Thanks!!
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/java-lang-ClassNotFoundException-org-apache-wicket-request-UrlUtils-tp4659787p4659789.html
Sent from the Users forum mailing list archive at Nabble.com.
Joachim Schrod wrote:
5. If you need Spring beans in a behavior, resource, or any other
non-component
class, you need to tell Wicket about it. For that, you call
Injector.get().inject(this);
in that class' constructor. Afterwards, @SpringBean injections
work in that
I think I know the answer before I ask, but is there any way to do
constructor injection with Wicket? Say I have a web page and an email
service. I need the email service in the web page. Now everyone is
going to say, Simply use field injection. That will work, but makes
unit testing a real pain
Mike,
Java is still pretty verbose, for all 'recent' improvements - I don't think
that will really ever change, but then I don't see that as an issue. My
personal style of coding is to write simple, obvious, testable, but ultimately
verbose, code. Code that anyone can read, and understand what
this method is useful for validators that integrate with other
frameworks. take for example bean-validation framework.
a bean validation validator can call getModel(), get the model, cast
it to IPropertyReflectionAwareModel, get the property, and retrieve
validation annotations associated with
25 matches
Mail list logo