I got this figure out. I'll post my solution tomorrow when I have a few
minutes.
Basically, I wasn't understanding that the code was coming back in a page
parameter. Once I understood that it was fairly easy to implement.
On Monday, February 18, 2013, Stephen Walsh wrote:
> That's where I'm head
Thanks Martin. Hopefully I can upgrade the app soon without much
trouble. I was able to work around it by overriding Wicket's Javascript
function that submits multipart forms via AJAX.
On 02/18/2013 02:18 AM, Martin Grigorov wrote:
Hi,
This is improved in Wicket 6.
Please upgrade your applica
Actually I think Wicket offers, inherently, one of the best ways to
handle exceptions - I can catch it wherever I want, rewrap, redirect,
ignore, alter the model... I haven't seen such freedom and versatility
in any other web framework.
YMMV.
Ondra
On 02/20/2013 05:39 PM, Jayakrishnan R wro
The first solution that comes in my mind is to overwrite method
onComponentTagBody. Maybe this could work :
add(new Link("helloMessage"){
@Override
protected void onComponentTagBody(MarkupStream markupStream,
ComponentTag tag) {
getResponse().write("");
//write
Hi,
what would be the best way to modify the HTML output of a component?
Consider this:
Text
which is backed by a Link component. By adding a behavior (I would
assume), I would like to modify this HTML to become sth like
Text
Please note that I want to preserve the componentTagBody.
I know h
I have the advantage that I'm fairly new to both so after spending some
time with Eclipse and hating that it was so slow after my machine had been
asleep and even doing basic things like trying to switch to a different
file, I figured I would try something else.
I definitely like the look and feel
I agree it's not fair at all.
My reasoning was that I wanted to evaluate if I'd be more productive
with Idea and if some Eclipse irritants would be fixed there. In Idea, I
found a different set of irritants and I couldn't say I was more
productive. Having already "wasted" a week trying it out,
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 wer
Hi William,
This might be your lucky day :)
Here's the fix for that horrible slowness in xml tabs:
From: http://wiki.eclipse.org/Platform_UI/Juno_Performance_Investigation
Ensure you are already running on a package from the Juno SR1 release
(September 2012)
Invoke Help > Install New Software
i have already done that as a back up plan. Do you think wicket is a bit
wierd in handling exceptions.
On 20 Feb 2013 16:22, "Ondrej Zizka" wrote:
> How about wrapping it to a RuntimeException, or preferably, your own
> subclass of it?
>
> Ondra
>
>
>
> On 02/20/2013 04:51 PM, Jayakrishnan R wro
I tinkered around and I did the following:
org.atmosphere.useWebSocket
false
This forces the Atmosphere Framework to use the Jetty7CometSupport class
instead of the Jetty8WebSocket class.
Initially this looked.. fine.
Except the rendered URL as a result of the push is inva
How about wrapping it to a RuntimeException, or preferably, your own
subclass of it?
Ondra
On 02/20/2013 04:51 PM, Jayakrishnan R wrote:
In my project, I am using LoadableDetachableModel as given below.
public ReportPage(final Objectm, final PageReference pr) throws
CustomException{try{fina
My IDE of choice is NetBeans. Tried all three. Not sure about current
IDEA, but when I tried, it sucked about the same as Eclipse.
my2c
On 02/19/2013 10:17 PM, Stephen Walsh wrote:
Who uses what and why?
I've only ever used Eclipse, but I discovered IntelliJ earlier this week
and it's so dif
In my project, I am using LoadableDetachableModel as given below.
public ReportPage(final Objectm, final PageReference pr) throws
CustomException{try{final LoadableDetachableModel>
ldm =
new LoadableDetachableModel>() {
@Override
protected Listload() {
Hi Francois,
Okay, I see what you're saying now. Yes, that makes sense - I can just
hardcode those values and not bother overriding other methods. It loses the
flexibility on setting the max value in the constructor, but I don't actually
need that in my situation and I agree that it is a good
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, F
Yes,
Atmosphere JS client supports that. Since recently Wicket-Atmosphere
supports configuring the JS client settings. See
https://github.com/apache/wicket/commit/c24a561d5220a96f5bbac6af4393ed2478613331
Consult with Atmosphere docs for all supported settings.
On Wed, Feb 20, 2013 at 4:47 PM, M
Personally I've been using IDEA since version 11, always on Linux, and
from my view it's on the contrary quite faster than Eclipse, with a
maven support that is not riddled with bugs.
Version 11 was as far as I'm concerned actually much cleaner and nicer
than Eclipse ever was, and with version
Thx for the reply Martin,
Unfortunately I'm stuck with Apache, for the next ~3 years or so, until I've
rewritten all other applications into a Wicket variant.
Is there an option to somehow force the Atmosphere framework to use the older
cometd/long-polling methods instead of the WebSocket techn
Hi,
On Wed, Feb 20, 2013 at 3:29 PM, William Speirs wrote:
> I've always used Eclipse and am currently using Juno. The Maven support got
> much better, but other stupid things seem to have "broke." For example,
> switching tabs into the XML editor (or pom editor) seems to require
> calculating P
Note the difference between onInitialize() and onBeforeRender() as stated in
the JavaDoc:
onInitialize() : "...This method is invoked once per component's lifecycle …"
onBeforeRender(): "Called just before a component is rendered."
Meaning: onBeforeRender() is called upon *each* request whereas
I've always used Eclipse and am currently using Juno. The Maven support got
much better, but other stupid things seem to have "broke." For example,
switching tabs into the XML editor (or pom editor) seems to require
calculating Pi to 10 million digits each time. Actually, I think there is a
memory
While porting my project from 1.4.x to 6.6.0, I've stumbled
across the onInitialize() method which is now recommended for
initializing components which need access to the page instance
etc. In my project this had so far been done in onBeforeRender()
(and this seems to still work fairly well).
Is
Hi,
Nginx latest release has support for WebSocket. There are many tweets about
this last few days.
If switching to Nginx is an option for you - try it.
On Wed, Feb 20, 2013 at 3:44 PM, Marco Springer wrote:
> Hi all,
>
> I have the following scenario:
> A Jetty instance is running on port 808
Hi all,
I have the following scenario:
A Jetty instance is running on port 8080 with URL:
`http://localhost:8080/appl/test`
The deployed Wicket application is using Atmosphere for push events.
I've configured the Apache server as how it was explained on the following URL:
https://github.com/Atmos
My main problem with Eclipse was that it mixes the classpaths for main and
test.
If you have separate config files in the test classpath some weird things
may happen.
There is a ticket about this since March 2008:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=224708 and it says "we need
someone to
If you do software development for a living (as opposed to a hobby), one
thing to consider is what tools are used at prospective employers. I work
at a large (40,000+) company where Eclipse is the standard tool. Partly
because it's open source (read "free," no budget impact) & has such a
large
Hi,
I think the more useful for you will be to look at Wicket's JS tests.
https://github.com/apache/wicket/blob/master/wicket-core/src/test/js/ajax.js
On Wed, Feb 20, 2013 at 12:50 PM, Andrea Del Bene wrote:
> Hi,
>
> maybe this article can give you some useful hints on what you wanna do:
>
> h
I use Intellij 12.0.4 its very quick, certainly much quicker than previous
versions.
The speed of code completion, find usages, code navigation its amazing.
Finally the run, debug, compile cycle is now much quicker, running a jetty
quickstart and restarting after editing code is so much quicker
Hej Eugene,
In practice the wicket frontend development is interrupted by frequent
small changes to the HTML, Javascript or CSS. Changes to these markups
are very expensive because they effort a new software release followed
by a software rollout. This depends on the fact, that the markup is
I've tried to use IntelliJ 6, 7, 8, 9 and 10 on different occasions and I
tried it once for a month because I was fed up with Eclipse 3.3/4 at the
time.
I loathed every minute of using IntelliJ. It was slow, unintuitive, broken
and not suited for our 2M lines of code and 40 multi-module project.
I
Hi,
maybe this article can give you some useful hints on what you wanna do:
http://wicketinaction.com/2012/11/javascript-based-functional-testing/
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-Te
i apply the same practice as igor. it works great for both sides, dev
and des. once des already has the html model, dev creates the first
integration to the object-tree, providing feedback to des, so dom-tree
follows the same coherence (in case needed to correct some parts), and
following are just
>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 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 t
35 matches
Mail list logo