Hi,
DomReady JS is executed manually in Ajax response:
1) execute prepend JS
2) replace components
3) execute ondomready
4) execute append JS
As Ernesto suggested you can use:
if (requestCycle.find(AjaxRequestTarget.class) == null) {
response.render(OnDomReadyHeaderItem.forScript(...));
}
On
Hi,
You can also use a custom root mapper that does this for all wrapped
mappers.
See how HttpsMapper and CryptoMapper work.
On Wed, Feb 27, 2013 at 4:55 AM, Igor Vaynberg wrote:
> see IRequestCycleListener#onUrlMapped()
>
> -igor
>
> On Tue, Feb 26, 2013 at 6:35 PM, Florian Braun
> wrote:
> >
Hi,
The demo app for "what's new in Wicket 6's JavaScript" does exactly this:
http://wicketinaction.com/2012/07/wicket-6-javascript-improvements/
On Wed, Feb 27, 2013 at 6:34 AM, Paul Bors wrote:
> If you want to see a simple project using Jackson to render JSON on the
> page take a look at:
>
Hi,
On Wed, Feb 27, 2013 at 7:32 AM, Nigel Sheridan-Smith wrote:
> Thanks Paul and Ernesto,
>
> After much stuffing around, I managed to get this to work: modifying the
> JobDataMap within the Quartz job. However, you must re-publish the map
> after it has been changed, as Quartz serializes it an
Thanks Paul and Ernesto,
After much stuffing around, I managed to get this to work: modifying the
JobDataMap within the Quartz job. However, you must re-publish the map
after it has been changed, as Quartz serializes it and doesn't update it
until after the job finishes executing. You might also n
Hi,
I remember I have done this by creating a class that serves a "progress
watching context" and sharing an instance of this class between Wicket
Session (or a page or component) and the "quartz job". This class acted as
a "wire" to pass information between the two "threads" (e.g. progress,
cance
If you want to see a simple project using Jackson to render JSON on the page
take a look at:
http://wicket-continuous-calendar.GoogleCode.com/
Or a bit bigger one:
http://wicked-charts.GoogleCode.com
Or poke around other open source code projects in Wicket that use those
dependencies in Maven.
There is a wiki page on that:
https://cwiki.apache.org/WICKET/how-to-write-json-response.html
~ Thank you,
Paul C Bors
On Feb 26, 2013, at 20:33, abarretto wrote:
> Hi,
>
> I'm a beginner in Wicket and I need to develop a simple application that
> make an AJAX request to an URL using a link
see IRequestCycleListener#onUrlMapped()
-igor
On Tue, Feb 26, 2013 at 6:35 PM, Florian Braun wrote:
> Hello,
>
> I am currently in the process of migrating an application from Wicket 1.4 to
> Wicket 6.
>
> In my application I have a parameter that needs to be part of every request
> (kind of l
Hello,
I am currently in the process of migrating an application from Wicket 1.4 to
Wicket 6.
In my application I have a parameter that needs to be part of every request
(kind of like pageMaps used to be in 1.4).
This means I have to check each request to see if the parameter is there and if
I would look at Observable and Observer class in java to achieve signal
sort of behavior.
On Tue, Feb 26, 2013 at 5:47 PM, Nigel Sheridan-Smith wrote:
> Hi all,
>
> I'm hooking up a data import batch job with Quartz to Wicket and have
> struck an issue - how do you notify a Wicket page that the b
Hi all,
I'm hooking up a data import batch job with Quartz to Wicket and have
struck an issue - how do you notify a Wicket page that the batch job is
complete?
I originally planned to update the Wicket session with the running count of
how many items are processed. However, the Wicket request cyc
I don't know if there is a better way... but can always check if you are
NOT in a middle of and AJAX request cycle and if so contribute your script.
On Tue, Feb 26, 2013 at 10:24 PM, Nick Pratt wrote:
> With Wicket 6.5.0, is it expected that scripts added in Behavior.renderHead
> ( OnDomReadyHe
Hi,
The browser doesn't send this information to the server.
You need to read it with JS and send it manually (Ajax).
Earlier today another user shared his project in GitHub about the same.
Read the mail archives.
On Tue, Feb 26, 2013 at 7:02 PM, Maxim Solodovnik wrote:
> AFAIK it is impossibl
Thanks for your reply,
I added a quickstart and ticket.
https://issues.apache.org/jira/browse/WICKET-5058
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/org-apache-wicket-markup-html-link-PopupSettings-java-problem-version-6-5-0-tp4656735p4656829.html
Sent from the
AFAIK it is impossible to read URL hash on the server side
Hopefully somebody can write component for that :) I use JS (with the hack
to pass authorization)
On Tue, Feb 26, 2013 at 11:40 PM, Michael Chandler <
michael.chand...@onassignment.com> wrote:
> Is it possible to read and parse values in
We use the SpringWebApplicationFactory.
Tom
On Tue, Feb 26, 2013 at 10:26 AM, Sven Meier wrote:
> How do you create your Application? Do you have a custom
> IWebApplicationFactory?
>
> Sven
>
>
> On 02/26/2013 03:35 PM, Tom Norton wrote:
>
>> We're upgrading from Wicket 1.5.4 to 1.5.9. The up
How do you create your Application? Do you have a custom
IWebApplicationFactory?
Sven
On 02/26/2013 03:35 PM, Tom Norton wrote:
We're upgrading from Wicket 1.5.4 to 1.5.9. The upgrade runs fine on our
local development machines, which run WebLogic 11g. However, our staging
server, which runs
Hi,
On Tue, Feb 26, 2013 at 2:10 PM, Fergal Keating <
fergal.keat...@directski.com> wrote:
> Hi,
>
> If i put a breakpoint in renderCount (it gets called a lot) But the
> "resolvePageInstance" only gets called once per request, It seems to have
> the same renderCount Value that is on the curre
Hi,
If i put a breakpoint in renderCount (it gets called a lot) But the
"resolvePageInstance" only gets called once per request, It seems to have
the same renderCount Value that is on the current page.
E.G. The page is displaying "booking?14-1" for all event listeners.
If i change the GroupSiz
Ernesto Reinaldo Barreiro-4 wrote
> I want this special page to be be stateless, so I'm planning to serve JSON
> needed via mounted resources.
I've been also playing with a similar idea. Nice to hear that there are
similar attempts going on. In my case I decided to serve the JSON through a
Spring
I solved it now by overriding getCompatibilityScore. Thanks for your hints.
britta
Am 26.02.2013 10:25, schrieb Martin Grigorov:
> Hi,
>
> This #sort() sorts by the compatibility score the mapper returns for this
> Request.
> If two or more mappers return the same score then the order in the list
Hi wickers !
First, I'd like to thank all the people that have helped me from this forum:
Second, I've created a github repo to place a pair of classes that I'm using in
my projects.
https://github.com/obaisdefe/wicket6-ajax-anchorbrowserhistory
This code is based on the work of vmontan
Hi,
This #sort() sorts by the compatibility score the mapper returns for this
Request.
If two or more mappers return the same score then the order in the list
depends on the order of the mounting in Application#init(), i.e. the order
of insertion in the non-sorted list.
On Tue, Feb 26, 2013 at 1
Hi,
in public IRequestHandler mapRequest(final Request request)
the mappers will be sort by:
Collections.sort(list);
So there is no chance to influence the order of the mappers :(
regards britta
Am 25.02.2013 11:18, schrieb Martin Grigorov:
> Hi,
>
> I've just tried it in a quickstart and my co
This is the tenth maintenance release of the Wicket 1.5.x series. This
release brings over 28 bug fixes and improvements.
Git tag:
release/wicket-1.5.10
Changelog:
https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310561&version=12323510
Maven:
org.apache.wicket
wicket-core
26 matches
Mail list logo