Hi all,
I have a Wicket 6 application that integrates with Apache FOP in a way
that, by overriding Page's getMarkupType(), I can have a component render
its .fo markup (to generate a PDF) instead of the usual html, depending on
whether it is added to a Page with the fo MarkupType or the standard
Hi,
Please file a ticket at https://issues.apache.org/jira/browse/WICKET and we
will improve it.
As a workaround you can override #getVariation() for the pages and return
html and fo respectively.
Martin Grigorov
Wicket Training and Consulting
On Tue, May 6, 2014 at 11:39 AM, Fabio Fioretti
Hi,
Do wicket have modal-window example? what title is it on the example list?
sunnybean
58963399-5244
http://www.wicket-library.com/wicket-examples-6.0.x/ajax/modal-window?0
Martin Grigorov
Wicket Training and Consulting
On Tue, May 6, 2014 at 1:14 PM, 003210 sunya...@raisecom.com wrote:
Hi,
Do wicket have modal-window example? what title is it on the example list?
Interesting approach. Our use case is more complex, as it runs a
background task in a separate thread. Our task has three basic
requirements. It must:
1. Be cancellable.
2. Report its outcome (success/failure/warning).
3. Report incremental progress.
Our fundamental problem is not how to
I was probably overly wordy not very clear on the details of our
problem. The client side isn't the issue: We display the client progress
bar via JavaScript it's been working fine for a number of years. Our
challenge is on the server side: Managing the background task in a
separate thread.
Hi,
You can put the tasks in an application scoped structure (e.g.
MyApplication.get().getTasksMap()) and use a serializable key.
Martin Grigorov
Wicket Training and Consulting
On Tue, May 6, 2014 at 2:11 PM, Richard W. Adams rwada...@up.com wrote:
Interesting approach. Our use case is more
Hi,
On Tue, May 6, 2014 at 2:11 PM, Richard W. Adams rwada...@up.com wrote:
Interesting approach. Our use case is more complex, as it runs a
background task in a separate thread. Our task has three basic
requirements. It must:
1. Be cancellable.
2. Report its outcome
Are you referring to org.apache.wicket.Application? I don't see a
getTasksMap() method there. We use Wicket 1.4.17 our company will not
allow us to upgrade to newer versions). If getTasksMap() is unavailable in
1.4.17, could Application.getSharedResources() be used in a similar way?
From:
Please don't change the thread subject for all your answers. This confuses
the threading support in some mail clients.
I meant *My*Application, i.e. *Your*Application.
Add this method and map/associate all tasks that your run to some id/key.
Serialize the key and later get a reference to the
You can use MyApp.get().setMetaData() and MyApp.get().getMetaData()
François Meillet
Formation Wicket - Développement Wicket
Le 6 mai 2014 à 14:50, Richard W. Adams rwada...@up.com a écrit :
Are you referring to org.apache.wicket.Application? I don't see a
getTasksMap() method there.
Hi Martin,
I have just created a ticket:
https://issues.apache.org/jira/browse/WICKET-5581
Thanks for taking it into consideration.
Overriding #getVariation() works well but it is, as you say, a workaround.
I look forward to having CachingResourceStreamLocator improved.
Thanks again,
Fabio
To clarify: Are you saying that we should add our own setTask()
getTask() methods to our application class? And then maintain a task map
as a member variable of our application class?
From: Martin Grigorov mgrigo...@apache.org
To: users@wicket.apache.org users@wicket.apache.org
Date:
One more question: Since each task is associated with a single user, would
it make more sense to create a task map in Session scope? Or will Wicket
try to serialize a map we put into the session?
From: Martin Grigorov mgrigo...@apache.org
To: users@wicket.apache.org
sessions are serialised
François Meillet
Formation Wicket - Développement Wicket
Le 6 mai 2014 à 15:28, Richard W. Adams rwada...@up.com a écrit :
One more question: Since each task is associated with a single user, would
it make more sense to create a task map in Session scope? Or will
The Javadocs for setMetaData() MetaDataKey are somewhat unclear (to me).
It says the meta data key has to be a singleton. This seems to imply you
can only store only one piece of metadata for a given component (e.g., a
page)? If so, that's not helpful, since I have to to store many
Hello,
I have a standard stateless link with an on-click handler.
Does anyone know of a way to either allow case-insensitivity for URLs of
components and their listeners or else for the application to render these
in all lower case? (This is because web requests by bots can be made to a
link
I assume that means we can't store non-serializable objects in the
session? This is sounding like a serious deficiency in Wicket's
architecture...
From: Francois Meillet francois.meil...@gmail.com
To: users@wicket.apache.org
Date: 05/06/2014 08:48 AM
Subject:Re: Application
Well for starters, the example seems to require Hibernate (which our
organization doesn't allow us to use). This correct?
Second, I don't have the flexibility implement a service. I have to send
Javascript back to the client, and the corporate Javascript framework then
renders the progress
It is not a limitation of wicket but J2EE specification.
On Tue, May 6, 2014 at 3:52 PM, Richard W. Adams rwada...@up.com wrote:
I assume that means we can't store non-serializable objects in the
session? This is sounding like a serious deficiency in Wicket's
architecture...
From:
That's a javax.servlet restriction:
http://stackoverflow.com/questions/1662348/setattribute-non-serializable-attribute-java-object-serialization
http://stackoverflow.com/questions/3460249/java-httpsession-setattribute-throws-non-serializable-exception-on-qa-but-not-i
Sven
On 05/06/2014 03:52
You can’t, and it isn’t a deficiency, just think about e.g. session replication
among multiple cluster nodes.
Cheers,
-Tom
On 06.05.2014, at 15:52, Richard W. Adams rwada...@up.com wrote:
I assume that means we can't store non-serializable objects in the
session? This is sounding like a
It does not requiere hibernate... I will build an example... better than
empty talk.
On Tue, May 6, 2014 at 3:59 PM, Richard W. Adams rwada...@up.com wrote:
Well for starters, the example seems to require Hibernate (which our
organization doesn't allow us to use). This correct?
Second, I
Hi all,
I have a complex form for editing existing objects. I am planning to use
AjaxTabbedPanel with adapted ajax links for the tabs to submit the current
tab when the user switches tabs.
There will be a save button under the tabbed panel that will save the
entire object.
For new objects, I
Hi,
I was attempting to upgrade to Wicket 6.15.0 from 6.5.0 in order to use
wicket:header-items/
As described in
http://wicketinaction.com/2014/03/header-contributions-positioning/
This should nicely solve an issue I'm currently having in the HTML rather
than the Java where i am using WRO4J to
The onPostProcessTarget() method of my AjaxSelfUpdatingTimerBehavior is
not being called for some reason. Here's the code. I can see the start()
method being called (when the user clicks my Start button), but
onPostProcessTarget() is never invoked. What am I doing wrong? Do I need
to use some
Hi,
If you are able to reproduce this in a quickstart (mini) app then please
attach it to a ticket at https://issues.apache.org/jira/browse/WICKET
Thanks!
Martin Grigorov
Wicket Training and Consulting
On Tue, May 6, 2014 at 5:43 PM, Fergal Keating fergal.keat...@directski.com
wrote:
Hi,
Hi,
There is no way provided by Wicket itself.
You can setup custom root IRequestMapper that fixes this before passing the
Request to be handled by Wicket's default mappers.
Fixing 'ibehaviorlistener to IBehaviorListener will be easy. But
inkmylink (a random component id in your app) to
By overriding #onRender() you're preventing the component tag to be
written into the response.
Since wicket-ajax cannot find the markuo id in the DOM, it will not
perform the Ajax request.
Sven
On 05/06/2014 08:28 PM, Richard W. Adams wrote:
The onPostProcessTarget() method of my
29 matches
Mail list logo