Can I HTTP Post from static html page to a Wicket page?

2007-08-18 Thread Chris Lintz
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? I

A Relative path question

2007-08-21 Thread Chris Lintz
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

Re: A Relative path question

2007-08-21 Thread Chris Lintz
. 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 issue is I could not solve the problem of I did not want

Bookmarkable page and session object problem? (1.3 beta3)

2007-09-07 Thread Chris Lintz
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

Re: Bookmarkable page and session object problem? (1.3 beta3)

2007-09-07 Thread Chris Lintz
(); 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 On 9/7/07, Chris Lintz [EMAIL PROTECTED] wrote: Hi all, This seems like a bug

Re: Bookmarkable page and session object problem? (1.3 beta3)

2007-09-07 Thread Chris Lintz
That worked. Thanks so much for your help. I am trying to find verbage on what exactly session.bind() actually does that fixed my problem. Matej Knopp-2 wrote: Well, just call session.bind() after set session attribute, and you'll see if it helps. -Matej On 9/7/07, Chris Lintz

Re: How to force a delete (from disk) of the session from the session store?

2007-09-09 Thread Chris Lintz
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

Re: How to force a delete (from disk) of the session from the session store?

2007-09-10 Thread Chris Lintz
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 charm. Should session.invalidateNow() also remove the session from

Re: Bug in IndexedParamUrlCodingStrategy 1.3 Beta3

2007-09-14 Thread Chris Lintz
Chris Lintz wrote: 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

Re: Bug in IndexedParamUrlCodingStrategy 1.3 Beta3

2007-09-14 Thread Chris Lintz
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 mount in my extened WebApplication: mount(new IndexedParamUrlCodingStrategy(/joinme

Re: Bug in IndexedParamUrlCodingStrategy 1.3 Beta3

2007-09-14 Thread Chris Lintz
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 wrote: I Have submitted the following

Can we chain WebRequestCodingStrategies (CryptedUrlWebRequestCodingStrategy and an SSL coding strategy)

2007-10-04 Thread Chris Lintz
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

StringResourceModel toString() changed in Beta4 - why??? Must use getString() now.

2007-10-17 Thread Chris Lintz
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

Re: StringResourceModel toString() changed in Beta4 - why??? Must use getString() now.

2007-10-17 Thread Chris Lintz
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

Button component bug - all uses of a Button cause a 302 redirect

2007-10-23 Thread Chris Lintz
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

Re: Button component bug - all uses of a Button cause a 302 redirect

2007-10-24 Thread Chris Lintz
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

Is Beta5 coming soon? Beta4 has caused these issues for us....

2007-10-29 Thread Chris Lintz
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

Re: How To Change Page Store Size in DiskPageStore?

2007-11-08 Thread Chris Lintz
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

Re: facebook support

2007-11-08 Thread Chris Lintz
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

Re: How To Change Page Store Size in DiskPageStore?

2007-11-08 Thread Chris Lintz
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

Is it possible to get AjaxLink stateless?

2007-11-08 Thread Chris Lintz
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

Re: How To Change Page Store Size in DiskPageStore?

2007-11-08 Thread Chris Lintz
. 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 real issue is that on Redhat the default max directories is something

Re: Is it possible to get AjaxLink stateless?

2007-11-08 Thread Chris Lintz
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] wrote: Hi. So i have tried setting the stateless hint and my AjaxLink is still statefull. I read some where where even

Re: Is it possible to get AjaxLink stateless?

2007-11-09 Thread Chris Lintz
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 then displaying a message on the client side... so the page doesnt change. Here is the link

Re: How To Change Page Store Size in DiskPageStore?

2007-11-14 Thread Chris Lintz
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:04 AM, Chris Lintz [EMAIL PROTECTED] wrote: I think from previous threads

Re: How To Change Page Store Size in DiskPageStore?

2007-11-14 Thread Chris Lintz
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 [EMAIL PROTECTED] wrote: That makes sense. Another thought that possibly makes

Re: How To Change Page Store Size in DiskPageStore?

2007-11-14 Thread Chris Lintz
: no it doesnt matter what id i generate or get. This is still not enough because it doesnt say any thing if i can delete it or not. i have an id 1 then i restart and i have id 2 can i then delete everything from 1? No i cant because there could be live sessions from 1. On 11/14/07, Chris Lintz

Need to redirect to the current page upon a page expire - how??

2008-02-20 Thread Chris Lintz
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

Re: Need to redirect to the current page upon a page expire - how??

2008-02-21 Thread Chris Lintz
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 1:14 AM, Chris Lintz [EMAIL

Is there something like HybridUrlCodingStrategy for normal GET parameters?

2008-03-17 Thread Chris Lintz
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

Re: How to lookup Page or Class from a URI path ?

2008-05-04 Thread Chris Lintz
://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 PROTECTED] wrote: Hi, Any one know how I can directly

Re: How to lookup Page or Class from a URI path ?

2008-05-04 Thread Chris Lintz
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: Sorry I should be more clear. I know how to use mounts. What I

Re: Invoulentary session sharing/leakage in Wicket 1.3.x

2008-05-15 Thread Chris Lintz
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

Re: StatelessForm doesn't work with GET method

2008-06-26 Thread Chris Lintz
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