We're getting a lot of StalePageException, immediately followed by An error
occurred while checking whether a page is stateless. Assuming it is
stateful. on stateful pages and especially when crawled by Google bot.
Any idea why this is happening?
@timestamp 2013-09-24T01:42:47-04:00
Hi,
I'm not sure if this is related, I'm suspecting the StalePageException's are
a cause to this: sometimes the page response are misrouted from the
request:
1. A user clicks an AjaxLink/AjaxButton, but gets redirected to a totally
unrelated page (like the search page) which seems to be for
Hi,
When I checked the work/.../wicketFilter-filestore folder it seems that for
every session Wicket stores the last 3 stateful pages.
Will this cause problems when a user opens more than 3 (stateful) tabs at
once?
How do I increase this number? Is it possible to increase this number for
select
Have a look to setMaxSizePerSession() in the IStoreSettings interface
application.getStoreSettings().setMaxSizePerSession(Bytes.megabytes(30));
François
On Tue, Sep 24, 2013 at 10:34 AM, Hendy Irawan he...@soluvas.com wrote:
Hi,
When I checked the work/.../wicketFilter-filestore folder it
Hi,
See org.apache.wicket.settings.IStoreSettings#setMaxSizePerSession
By default Wicket gives 10Mb per session. How many pages will fit inside
these 10Mb depends on the pages themselves.
On Tue, Sep 24, 2013 at 10:34 AM, Hendy Irawan he...@soluvas.com wrote:
Hi,
When I checked the
Thank you Francois and Martin.
So the 3 pages are actually because Wicket limits to size (not number of
pages?)
Is it possible to set this on a per-request basis?
I'd like to set guests to have the default size 10 MB, more for
authenticated users (50 MB?) and even more for privileged/selected
Forgive me for asking one more thing.
If I want to offload the wicket store to another server, how is the best
way to do this?
1. Mount the Wicket Store folder from an NFS share; or
2. Configure Wicket-specific other Store implementation (JDBC?); or
3. Configure Wicket to store in session (how?)
On Tue, Sep 24, 2013 at 10:47 AM, Hendy Irawan he...@soluvas.com wrote:
Thank you Francois and Martin.
So the 3 pages are actually because Wicket limits to size (not number of
pages?)
Is it possible to set this on a per-request basis?
Everything is possible.
Use custom impl of
On Tue, Sep 24, 2013 at 10:56 AM, Hendy Irawan he...@soluvas.com wrote:
Forgive me for asking one more thing.
If I want to offload the wicket store to another server, how is the best
way to do this?
1. Mount the Wicket Store folder from an NFS share; or
2. Configure Wicket-specific other
Hi,
I'm currently investigating a bug in our application that is most likely
caused by the very brute-force way I implemented a generic in-app
bookmarking feature.
The basic requirement is something along the lines of Users should be
able to create an (internal) bookmark for virtually any
You could just mark the page to be bookmarked (e.g. via MetaData on
the RequestCycle) and hook into DefaultPageStore#storePageData() to
store the page alongside in the database.
Sven
On 09/24/2013 12:06 PM, Tobias Gierke wrote:
Hi,
I'm currently investigating a bug in our application that
On Tue, Sep 24, 2013 at 12:51 PM, Sven Meier s...@meiers.net wrote:
You could just mark the page to be bookmarked (e.g. via MetaData on the
RequestCycle) and hook into DefaultPageStore#**storePageData() to store
the page alongside in the database.
I don't think this will help much.
The page
hook into DefaultPageStore#**storePageData()
custom IPageStore will be needed
That's what I meant.
Sven
On 09/24/2013 01:15 PM, Martin Grigorov wrote:
On Tue, Sep 24, 2013 at 12:51 PM, Sven Meier s...@meiers.net wrote:
You could just mark the page to be bookmarked (e.g. via MetaData on
So you agree that serializing a page instance while the request is still
being processed (my current approach) is likely the cause of the
glitches I'm seeing with some (put not all) of the pages , right ?
hook into DefaultPageStore#**storePageData()
custom IPageStore will be needed
So you agree that serializing a page instance while the request is
still being processed
... is probably a bad idea, yes. Try it out the other way :P.
Sven
On 09/24/2013 01:49 PM, Tobias Gierke wrote:
So you agree that serializing a page instance while the request is
still being processed
Hello everyone,
I am trying to study framewok wicket for the creation of a new JEE
application.
The need is to generate dynamic pages as the representation of my pages is
stored in a database.
My question: Is there a way to generate a page dynamically without having to
add html tags in a static
Short answer: You must write *some* HTML.
Not-so-short-answer: The minimum required HTML is pretty small.
From: brasmouk brasm...@yahoo.fr
To: users@wicket.apache.org
Date: 09/24/2013 08:14 AM
Subject:Dynamic generation of HMI components
Hello everyone,
I am trying to
Hi,
You can generate your markup on the fly or load it from anywhere by
using org.apache.wicket.markup.IMarkupResourceStreamProvider
Make sure you read IMarkupCacheKeyProvider javadoc as well.
On Tue, Sep 24, 2013 at 2:00 PM, brasmouk brasm...@yahoo.fr wrote:
Hello everyone,
I am trying to
I want to do something like that :
//-- JAVA
ArrayListIHMElement elements = getIHMElements(screenID); // from the
database
add(new ListView(listview, userList) {
protected void populateItem(ListItem item) {
for (IHMElement
Hi,
I think decebals did something that may interest you (or at least the
approach)
https://github.com/decebals/wicket-dashboard
Best regards,
Sebastien.
On Tue, Sep 24, 2013 at 5:02 PM, Martin Grigorov mgrigo...@apache.orgwrote:
On Tue, Sep 24, 2013 at 4:37 PM, brasmouk brasm...@yahoo.fr
On Tue, Sep 24, 2013 at 4:37 PM, brasmouk brasm...@yahoo.fr wrote:
I want to do something like that :
//-- JAVA
ArrayListIHMElement elements = getIHMElements(screenID); // from the
database
add(new ListView(listview, userList) {
protected void populateItem(ListItem item) {
Hi,
It happens to me once. It was because I was using a model on a page that was
not detached.
Have a look at your ProductShowPage.class and check that you have overrides
onDetach() :
/**
* @see org.apache.wicket.Page#onDetach()
*/
@Override
protected void onDetach() {
On Tue, Sep 24, 2013 at 8:14 PM, Gabriel Landon glan...@piti.pf wrote:
Hi,
It happens to me once. It was because I was using a model on a page that
was
not detached.
Have a look at your ProductShowPage.class and check that you have overrides
onDetach() :
/**
* @see
Hi,
Check the generated JavaScript for this JS event binding in the page markup.
It should look like: Wicket.Ajax.ajax({})
Paste it here if you need help.
On Tue, Sep 24, 2013 at 8:21 PM, Markward Schubert
markward.schub...@gmail.com wrote:
Hi!
I am not very experienced with Wicket and
Hi!
I am not very experienced with Wicket and have to maintain an older project
of ours.
Now I wanted to migrate to Wicket 6 for a couple of reasons and had to
change the behavior of a javascript-confirm before execute situation with
an AjaxLink.
add(new AjaxLinkString(clearContentLink) {
Martin,
Hi,
Check the generated JavaScript for this JS event binding in the page
markup.
It should look like: Wicket.Ajax.ajax({})
Paste it here if you need help.
On Tue, Sep 24, 2013 at 8:21 PM, Markward Schubert
markward.schub...@gmail.com wrote:
Hi!
I am not very
There is no confirm word inside this JS code...
It seems your component is not loaded yet. If it is loaded later with Ajax
then you have to find it in the Ajax response. Use Firebug or similar tool
to do this.
On Tue, Sep 24, 2013 at 8:39 PM, Markward Schubert
markward.schub...@gmail.com wrote:
2013/9/24 Martin Grigorov mgrigo...@apache.org
There is no confirm word inside this JS code...
It seems your component is not loaded yet. If it is loaded later with Ajax
then you have to find it in the Ajax response. Use Firebug or similar tool
to do this.
On Tue, Sep 24, 2013 at 8:39 PM,
On Tue, Sep 24, 2013 at 9:04 PM, Markward Schubert
markward.schub...@gmail.com wrote:
2013/9/24 Martin Grigorov mgrigo...@apache.org
There is no confirm word inside this JS code...
It seems your component is not loaded yet. If it is loaded later with
Ajax
then you have to find it in the
29 matches
Mail list logo