the
keyCode and on ENTER does: $('#buttonId').trigger('click')
On Thu, Aug 8, 2013 at 6:13 PM, Jochen Mader pflanzenmoer...@gmail.com
wrote:
Wicket 6.9.1:
I ran into a weird issue:
I am trying to submit a form when pressing enter. Using
the AjaxFormValidatingBehavior (same
Wicket 6.9.1:
I ran into a weird issue:
I am trying to submit a form when pressing enter. Using
the AjaxFormValidatingBehavior (same for AjaxFormSubmitBehavior) I can
submit a form with a SINGLE FormComponent.
When adding a second one the form won't submit when pressing enter.
Sourcecode below
If you are already using Spring why do you need the field to be static?
Beans are by default singleton scoped and can be tailored to
session/request scoped.
On Wed, Mar 6, 2013 at 1:41 PM, Martin Grigorov mgrigo...@apache.org wrote:
If you create an ExecutorService then you should shutdown it
I abandoned Eclipse for IntelliJ after using it for almost 10 years
because of Maven. Since then I have become a big Idea-Fan :)
Working with Wicket using the community edition (the free one) is no
problem at all as you can use the Maven-Jetty-PlugIn. I did that for
quite a while.
I only switched
From time to time we have to do some JavaScript-heavylifting in
conjunction with the Wicket-JS-API.
To make it short:
What are you doing to Unit-Test JavaScript in Wicket? Especially
JavaScript interacting with Wicket-APIs?
Cheers,
Jochen
I don't really like forcing people to use a specific IDE. We keep our
stuff IDE-agnostic as far as possible.
That said:
I have about 50 lines of code in my current multimodule project in Idea 12.
No slow down or any other problems ;)
But I have to say: Idea 10 was a horrible failure.
On Wed,
Well, weighting a few years of Eclipse usage vs one week of Idea is
not really a fair comparison.
It took me about 4 months to really get into Idea (short-cuts,
different compile behavior ...).
If you ever really consider switching an IDE don't base your
assumptions on a week of usage.
If there
As long as you are not holding references on your own it will be
collected after a replaceWith.
On deleting pages: You could use DefaultPageStore.removePage but I am
not sure if that's a really good idea. Wicket is pretty good in
managing what's in the store and you should rely on its behavior as
I would say he already provided all workable options:
1. Use a dedicated messaging mechanism (JMS) through a container
(Spring, JEE6, ...)
2. Build your own messaging mechanism
Which one is best for you depends on your requirements.
On Mon, Jan 14, 2013 at 12:56 AM, Noven noven_...@yahoo.com
Why aren't you using fluent interfaces?
The API ist built around that and allows for a much cleaner structure
inside your constructors.
Just watch out for those Auto-Formaters ;)
new FormRsvpPage(frmRsvp, cpm)
.add(new StatusPanel(pnlRsvp))
.add(new ConfirmPanel(pnlConfirm))
I think you should first understand what the different JPA-annotations
actually do.
@Entity, @Table, @Id, @GeneratedValue are annotations used on the
entity level to tell the mapper what to do with properties. These
informations are of no interest to Wicket.
@EJB, @PersistenceUnit, @Resource are
We (Olaf Siefart and me) have prepared a little christmas present for you.
It's a small Wicket application showcasing different approaches to
doing asynchronous loading in Wicket (WebSockets, HeartBeat, ...).
We built it for our company developer conference and afterward decided
to open source it.
It might be due to the fact that I am sick but I don't get why
SortParam.getProperty doesn't return a String but T.
So far I always used getProperty as vasis for a PropertyModel to resolve things.
Any hint would be appreciated,
Jochen
On Sat, Nov 17, 2012 at 3:42 PM, Sven Meier s...@meiers.net wrote:
It's just that some devs wanted to use other things than strings to identify
the sort order:
https://issues.apache.org/jira/browse/WICKET-4535
Perhaps Jesse has an example?
Sven
On 11/17/2012 01:19 PM, Jochen Mader
I was just about to answer my own question.
We migrated a big part of our application to use LambdaJ instead of
PropertyModels. With getProperty being generic it's now possible to
use it instead of passing around strings.
Thanks,
Jochen
On Sat, Nov 17, 2012 at 4:01 PM, Jochen Mader pflanzenmoer
First of all:
You shouldn't start optimizing without having an actual problem.
I don't see a real benefit in sharing a validator between several components.
ON THE OTHER SIDE
There shouldn't be a problem using Validators across several component
instances as I am not aware of a single stateful
Get a heapdump, use yourkit/visualvm.
On Mon, Jul 16, 2012 at 11:14 AM, Ian Marshall ianmarshall...@gmail.com wrote:
I don't think that I am getting the session size in the right place. Despite
my session sizes being logged as very small at ~1.7kB using the Google App
Engine (GAE) web
To get that out of the way: I know that Wicket 6 won't be shipped with
CDI directly :)
I still would like to use Wicket 6 in Glassfish.
Are there plans to port wicket-cdi to Wicket 6? I couldn't find
anything on the 42lines git-repo on that issue.
Help required?
Thanks,
Jochen
On Sun, Jul 15, 2012 at 11:15 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote:
havent had time to try it out on wicket 6 yet, is anything actually broken?
-igor
On Sun, Jul 15, 2012 at 11:40 PM, Jochen Mader
pflanzenmoer...@gmail.com wrote:
To get that out of the way: I know that Wicket 6
)
Took me like 3 minutes.
I just did a quick smoke test in Glassfish and so far things are looking good.
Will hopefully get some more time tomorrow evening to test a little more.
If I find any problems I will let you know.
CU,
Jochen
On Sun, Jul 15, 2012 at 11:45 PM, Jochen Mader
pflanzenmoer
in German and has been published by Entwickler Press.
Titel Wicket: Komponentenbasiert und objektorientiert- das alternative
Java-Webframework
Autor Jochen Mader
Verlag Software + Support, 2012
ISBN3868020810, 9783868020816
Länge 219 Seiten
Kurzinfo
Apache Wicket ist ein komponentbasiertes
Please provide some code-samples to show us what you are doing.
If it's related to an older issue it would be great if you could give more
details (link to the issue).
Am 26.04.12 11:05 schrieb Jürgen Lind unter juergen.l...@iteratec.de:
Hi,
I have difficulties in using the setResponsePage in
Hello,
I am currently working on a Weld-Integration for Wicket 1.5.
Got almost everything done but Conversations are giving me a headache.
When navigating to another page I need to provide the conversation ID.
Only at the very end of a request I am able to figure out if the
conversation is valid.
So much more awesome... (goes and cries in a corner)
Am 11.11.2011 01:04 schrieb Igor Vaynberg igor.vaynb...@gmail.com:
is it more awesome then this one:
https://github.com/42Lines/wicket-cdi
-igor
On Thu, Nov 10, 2011 at 1:22 PM, Jochen Mader pflanzenmoer...@gmail.com
wrote:
Hello,
I
I implemented a panel as a IMarkupResourceStreamProvider.
It works perfect if I add it to a page using the add method. If I use
replaceWith to replace another panel with this one I get
Tag expected
and the following stacktrace
MarkupStream: [markup =
Found the problem:
In an earlier version of the panel I overwrote getMarkupType.
Removing it fixed the problem.
public MarkupType getMarkupType() {
return MarkupType.HTML_MARKUP_TYPE;
}
On Fri, Sep 9, 2011 at 10:17 PM, Jochen Mader pflanzenmoer...@gmail.com wrote:
I implemented
We just stumbled upon the following code in the Wicket(1.4.17) Image
class getStatelessHint method:
return (getImageResource() == null || getImageResource() ==
localizedImageResource.getResource())
localizedImageResource.isStateless)
My question is:
Why does an image become stateful because of a
Found it shortly after my mail (as always). Never mind.
Am 07.09.2011 09:31 schrieb Jochen Mader pflanzenmoer...@gmail.com:
We just stumbled upon the following code in the Wicket(1.4.17) Image
class getStatelessHint method:
return (getImageResource() == null || getImageResource
at 11:42 AM, Martin Grigorov mgrigo...@apache.org wrote:
Would you share your knowledge with us ? :-)
On Wed, Sep 7, 2011 at 12:33 PM, Jochen Mader pflanzenmoer...@gmail.com
wrote:
Found it shortly after my mail (as always). Never mind.
Am 07.09.2011 09:31 schrieb Jochen Mader pflanzenmoer
Open session in view is a bad idea with a full fledged ajax-Wicket
application as things get unpredictable pretty fast.
Am 02.09.2011 22:34 schrieb Sven Meier s...@meiers.net:
Hi,
there are multiple requests going on probably (e.g. because of redirects),
You should put a breakpoint into
?
On Wed, Jun 8, 2011 at 8:32 PM, Jochen Mader pflanzenmoer...@gmail.com
wrote:
Hey,
a while ago I wrote about the difficulties to get the ObjectSizeOfAgent to
run.
As I needed it pretty badly for a project I built something new and
added some more accurate size measurement for objects.
I put
Hey,
a while ago I wrote about the difficulties to get the ObjectSizeOfAgent to run.
As I needed it pretty badly for a project I built something new and
added some more accurate size measurement for objects.
I put all my code on Github and I am going to add some more
performance related things in
I am trying to get the ObjectSizeOfAgent to run in Tomcat.
So far I had no look as it has quite a lot external dependencies.
has anybody got this to run or got some pointers what to do?
What I did so far:
added the javaagent to the commandline and it gets loaded.
I had to put all libs required by
I created a Maven archetype for wicket application containing the
following things:
- Everything is configured using Spring 3
- Hibernate 3.5 is used for persistence
- Example classes using JPA-style annotations
- Example DAOs and base classes for CRUD-operations
- Everything runs on an
a) Read the speed tracer output, if the time is spent with the redirect or
loading the actual markup it will tell you.
b) HTML rendering in the browser is influenced by the markup and ajax. Read
the speed tracer output and it will tell you where the time is spent. It's
most likely not wicket that
Buddy-class loading is real OSGi since 4.1 ;)
The new MANIFEST.MF entry is named Bundle- *BuddyPolicy.*
Cheers,
Jochen
On Thu, Jan 28, 2010 at 9:55 AM, Ernesto Reinaldo Barreiro
reier...@gmail.com wrote:
Yes I mean buddy class-loading. It might not be real OSGi but it works:-)
as far
I ran into a lot of use-cases for it.
Just take a look at esper and drools. They are packaged as OSGi and need to
be able to work with classes provided by people using them.
But yes, we are getting a little off topic here :D
Sorry for my late answer.
StaticWebApplicationContext doesn't cut it for me.
Your example contains a small mistake:
Inserting the mock-object won't work as registerSingleton expects to get a
Class.
As I want to create mock objects with EasyMock there are two approaches (as
far as I know).
The one
Oh man, you are right.
My eyes got a little selective on that line :)
Just figured out how to do UnitTesting with Spring 3 and Wicket.
Spring 3 introduced a check to see if a given context was a
WebApplicationContext. That means ApplicationContextMock is not suitable for
testing (giving the infamous No WebApplicationContext found: no
ContextLoaderListener
Hello,
I am using wicket together with spring. Getting it going with @SpringBean
was pretty straight forward but now I am wondering if it is possible to get
it going with JSR 330 annotations as the spring side of my app is already
using it.
Thanks,
Jochen
Thanks for the quick answer.
I never came across a scenario where somebody did or I would use two IoC
containers in the same application.
Why would you do that?
Cheers,
Jochen
42 matches
Mail list logo