Hi all,
I want to catch all page not found (404s) and simply grab the path that
caused the 404 and reroute the request to a valid Page based on business
rules (returning a valid 200), or simply continue to return the 404. I dont
see where i can intercept these errors easily from the Application.
Is there a patch for this in the 1.3.x branch or something i can override as
a fix? I am using 1.3.3.
Doug Donohoe wrote:
>
> As part of my effort to submit a form to a bookmarkable page, I discovered
> this bug when trying to uses a stateless form with the GET method of a
> form. I've docum
Guys has this been resolved?? We have been having some customers complain as
well (some sending screen shots of others peoples data as proof). Because
our users click streams are available publically at their control, we had
thought jsessionids occurring in the click stream were being malicious
wrote:
>
> why do you want to know it there?
> you are to early there. Wicket only knows it much later when it generates
> a
> RequestTarget from the url
>
> johan
>
>
> On Sun, May 4, 2008 at 6:09 PM, Chris Lintz <[EMAIL PROTECTED]>
> wrote:
>
>>
&g
:
>
> http://wicketstuff.org/wicket13/niceurl/the/homepage/path
>
> Browse the source code of NiceUrlApplication.java to see how to use
> mounts
>
> On Sat, 2008-05-03 at 18:35 +0200, Johan Compagner wrote:
>> Use mounts
>>
>> On 5/2/08, Chris Lintz <[EMAIL PRO
Hi,
Any one know how I can directly lookup a Page or the Page Class from a URI
path? For example, say I have "/pic/convert" . How can I get the
associated Page or Page class that path?
thanks for any help
chris
--
View this message in context:
http://www.nabble.com/How-to-lookup-Page-or-Cla
Hey all,
So the HybridUrlCodingStrategy is great for AJAX pages. I have a bit of an
issue where I need something like the HybridUrlCodingStrategy except it can
take GET parameters and not lose its mount point. Anyone know of something
like this out there? From the Wicket Java docs, it doesn't a
That would work, except the search results do contain some AJAX
functionality, which of course result in a stateful page.
Mr Mean wrote:
>
> how about using a stateless searchpage?
> that way you should not get a page expired.
>
> Maurice
>
> On Thu, Feb 21, 2008 at
Hi,
So i have searched the forums regarding overriding
RequestCycle#onRuntimeException(Page page,RuntimeException e) . It seems we
are completely stuck because there is no way to determine what page threw a
PageExpiredException .
What I want to do is this:
When my SearchPage expires, and the
gt; 1.
>
> On 11/14/07, Chris Lintz <[EMAIL PROTECTED]> wrote:
>>
>> The process ID is just an idea for a unique ID. If that wont work for
>> you,
>> lets dream another unique ID .
>>
>>
>>
>> Johan Compagner wrote:
>> >
>> &
t; processes that are all valid. so that doesn't solve anything
>
> On 11/14/07, Johan Compagner <[EMAIL PROTECTED]> wrote:
>> can you get the current process id by general api in java? have to
>> look at Runtime then.
>>
>> On 11/14/07, Chris Lintz <[
g we could do is have a thread running that is waking up
> every day once
> and checks if there are files older then X. And that thread must be
> configured by you
> explicitly setting the timeout that you want to have.
>
> johan
>
>
>
>
> On Nov 14, 2007 12:0
in the work dir.
>
> I don't think wicket can do much about it.
>
> johan
>
>
> On Nov 13, 2007 10:41 PM, Chris Lintz <[EMAIL PROTECTED]>
> wrote:
>
>>
>> All,
>> I have submitted a Jira on this topic. I will leave it to t
All,
I have submitted a Jira on this topic. I will leave it to the great minds
to debate. In any case, it appears restarting the container cannot notify
the HttpSessionListeners that are bound to the page store files. It would
be nice if the framework can cleanup what I consider a leak of the c
{
>
> *return* *false*;
>
> }
>
>
>
> and return true. I dont know if all the urls are generated right then..
>
>
> On Nov 9, 2007 4:51 PM, Chris Lintz <[EMAIL PROTECTED]> wrote:
>
>>
>> The onsubmit is adding a friend to XCP. An Ajax call decorator is
d your friendship
request. Please try again later.');";
}
};
};
};
Johan Compagner wrote:
>
> but my question remains, what are you doing inside that ajax link??
>
> On Nov 9, 2007 1:17 AM, Chris Lintz <
lick?
>
> And ajax clicks should be lean and mean in my eyes because they should be
> fast and could happen frequently
> and creating constantly a page for that is pretty heavy.
>
> johan
>
>
>
> On Nov 8, 2007 11:50 PM, Chris Lintz <[EMAIL PROTECTED]>
I am curious what type of Wicket components/functionality you are hoping for?
Just on a side note, we are using Octazen - http://www.octazen.com/ for
social network slurping of contacts, etc. Of course there is a small
license fee for the product, so it would be ideal to have a free library to
w
We get dangling cache files. I have the sessions set to expire in 1 hour. I
check one of my servers and i see cache files from over a week old. This
could of only have occurred because of the multiple restarts. Maybe its a
bad timing where the HttpSessionBindingListener does not receive a
noti
Hi. So i have tried setting the stateless hint and my AjaxLink is still
statefull. I read some where where even Ajax components can be stateless.
What am I missing?
AjaxLink addFriend = new AjaxLink("addFriend")
{
@Override
protec
rious bug indeed. Can you please file a high
> priority JIRA issue? We'll look at it as soon as possible.
>
> -Matej
>
> On Nov 8, 2007 6:35 PM, Chris Lintz <[EMAIL PROTECTED]> wrote:
>>
>> Guys I am on the same project so I can speak a bit more. The rea
How can we limit the number of files and/or directories? I only see the
option to limit the size of the session or the size of the pagemap for the
DiskPageStore ( DiskPageStore(java.io.File fileStoreFolder, int
maxSizePerPagemap, int maxSizePerSession, int fileChannelPoolCapacity)
Matej Knopp
Guys I am on the same project so I can speak a bit more. The real issue is
that on Redhat the default max directories is something like 32K. We ran
out of file descriptors. Basically for every unique session there is a
directory created for the second level cache.
I think the real issue for u
Any chance of getting a Beta5 out soon. As luck would have it, Beta4 to say
the least has been frustrating for us.
So far beta4 has caused these problems in our app (all stuff that worked in
Beta3)
1) AJAXLink is broke when using the Crypted URL encoding strategy.
2) StringResourceModel change
Ok. Its a good thing.. I didnt know it was the default setting. I guess i
should thank you because it exposed a classic issue seen when having SSL
accelerators proxying requests to port 80 . The redirect was redirecting
off https. I have fixed this by setting correct headers at the accelerator
Hey all,
We are quite puzzled why this is happening. Every use of a Button onSubmit
causes a 302 redirect no matter if it posts a form or does a get. I have
simplified this down to a simple page with a Button and guaranteed there are
no Apache redirects or .htaccess files in play. I also ensure
I also read documentation - it may have been on the Pro Wicket book.. I dont
recall. Nonetheless I thought it was strange to also reley on toString()..
but seeing documentation and examples of toString() pushed me into using it
without much thought. And like I said this worked all the way back t
Hi all,
I swapped beta3 for beta4 and to my surprise all of my StringResourceModels
that have worked (even back to 1.2) suddenly dont work. The toString() call
no longer returns the resource String. I dont see this in the release notes
so to say the least, this was a very frustrating find.
For e
Hi all,
I have noticed that even when my session expires, Wicket decides to reuse
the same JSESSSIONID found in the cookie and creates a new session with that
id.
Is there a well to tell Wicket not to reuse the JSESSIONID from the cookie
when that session is actually expired?
If you are wonder
Hi,
Does any one know if its possible to set the response page (i.e.
setResponsePage(...) ) to a bookmarkable page that actually sends the
request to the mounted URL? For example if I have:
mountBookmarkablePage("/promote", PromotePage.class);
I want to do something like setResponsePage
Hi,
Can we chain WebRequestCodingStrategies? I want to use the
CryptedUrlWebRequestCodingStrategy and an SSL coding strategy as seen on
http://cwiki.apache.org/WICKET/how-to-switch-to-ssl-mode.html#HowtoswitchtoSSLmode-CreateNewResponseStrategy
.
Is this possible to use multiple WebRequestCoding
yeah sorry i missed that last line in your post or I wouldnt have submitted.
I guess better 2 Jira's for it than none :)
Sebastiaan van Erk wrote:
>
> Maybe WICKET-950 should be marked as a duplicate of this one then.
>
> Regards,
> Sebastiaan
>
> Chris Lintz wrot
I Have submitted the following Jira on this issue:
http://issues.apache.org/jira/browse/WICKET-976
Chris Lintz wrote:
>
> Actually I just realized what causes this but have no idea how to get past
> it. The InviteAcceptacePage has a Panel within another Panel. The nested
> Pane
BTW, I made a JIRA issue for this:
> https://issues.apache.org/jira/browse/WICKET-950
>
> Regards,
> Sebastiaan
>
> Chris Lintz wrote:
>> Hi all,
>> So i think there is a bug in IndexedParamUrlCodingStrategy . I have this
>> simple m
true and generates the error.
Why does the panel with these Map parameters generate the error inside that
function?
thanks for any help
Chris Lintz wrote:
>
> Hi all,
> So i think there is a bug in IndexedParamUrlCodingStrategy . I have this
> simple mount in my e
Hi all,
So i think there is a bug in IndexedParamUrlCodingStrategy . I have this
simple mount in my extened WebApplication:
mount(new IndexedParamUrlCodingStrategy("/joinme",
InviteAcceptancePage.class));
In my InviteAcceptancePage class, i simply do this snippet of code:
public InviteAcce
#x27;s not the case please file a jira issue for it. Thanks.
>
> -Matej
>
> On 9/9/07, Chris Lintz <[EMAIL PROTECTED]> wrote:
>>
>> Interesting. I was using session.invalidateNow() which did not remove it
>> from disk. But session.invalidate() worked like a cha
Interesting. I was using session.invalidateNow() which did not remove it
from disk. But session.invalidate() worked like a charm. Should
session.invalidateNow() also remove the session from disk immediately?
thanks for your help
Eelco Hillenius wrote:
>
>> Chris Lintz wrote:
>
Hi,
When a user logouts of the site, i want to kill the session and have it be
removed from disk immediately. I have extended WebSession properly, but no
methods on the WebSession class seem to do the trick for me.
Is there a way to to trigger the removal of the session cleanly from disk
via the
");
>>se.printStackTrace();
>> }
>>
>> }
>>};
>>
>> WebPageTemplate.java snippet:
>>
>> public void setUserInSession(User u)
>> {
>> MediumSession session = (MediumSession
ion session = (MediumSession) getSession();
session.setUser(u);
}
Matej Knopp-2 wrote:
>
> We can't help you with this if you don't post any code. The session
> object should of course be available for bookmarkable and
> non-bookmarkable objects.
>
> -Matej
Hi all,
This seems like a bug to me but I am hoping some one can lead me the right
way to a solution. I basically have non-bookmarkable page that puts the a
User object in the session. After this, if i click on a bookmarkable page
link, that page does not have the user in the session. If I go b
ed.
Thanks again
Al Maw wrote:
>
> Chris Lintz wrote:
>> Thanks for the response. Yes I am using Wicket 1.3 Beta 2. I First
>> mapped
>> the WAR at root, and let everything fall through Apache with JkUnMounts
>> (i.e. JkUnMount /images default), but the issu
this. I cannot seem to make a reference to
Wicket page on a path www.mydomain.com/myapp from my static home page
www.mydomain.com because the relative path is "/" . I need the Wicket
components to render under /myapp even from requests coming from / .
Al Maw wrote:
>
> Chris L
Hi all,
I have a non-Wicket domain lets say, www.mydomain.com . This domain passes
requests to the Wicket filter via mod_jk to this path:
www.mydomain.com/myapp . The home page on www.mydomain.com is completely
static except for a wicket form that is dyamically written via a Java script
documen
Hi all,
I want to post to a Bookmarkable page from a static (non-Wicket page). I am
having a tough time figuring out exactly how this can be done. For example,
I simply want a static home page to contain a basic form with the form
action="/auth/login" .
Is this possible with a Wicket page?
46 matches
Mail list logo