Problems with Page Expiration

2014-03-04 Thread Brad Grier
When setRecreateMountedPagesAfterExpiry is true in our app, redirecting to a custom timeout page either through setPageExpiredErrorPage or via catching a PageExpiredException isn't working (the exception never makes it to onException in IRequestCycleListener). When set to false, the redirect works

Re: Problems with Page Expiration

2014-03-05 Thread Brad Grier
Martin Grigorov-4 wrote > If the login page is really stateless then it will never throw > PageExpiredException. > It seems some component/behavior in the login page is stateful. > > Use org.apache.wicket.devutils.stateless.StatelessChecker > (wicket-devutils) > or debug org.apache.wicket.Page#isP

Re: Problems with Page Expiration

2014-03-05 Thread Brad Grier
Martin Grigorov-4 wrote > Try to reproduce it in a quickstart and attach it to Jira. > > Martin Grigorov > Wicket Training and Consulting I created a quickstart using the Wicket Examples statelessform page as the home page. If setRecreateMountedPagesAfterExpiry is false, the page expires on form

Netbeans and "Compile On Save"

2014-03-27 Thread Brad Grier
I used to be able to make code changes in Netbeans, save and test the results immediately. For some time now, this "compile on save" functionality no longer works unless I first log out of my web app. It seems the session is invalid after the intermediate compile. I'm getting a NoClassDefFoundError

Re: Netbeans and "Compile On Save"

2014-04-01 Thread Brad Grier
I'm pretty sure I had the problem with 6.13. Unfortunately I've been working around it for so long that I can't really say when it started happening. It's possible I was using a different version of Netbeans or maybe it was when I ported from Wicket 1.4 to 6 (although I don't think so). I haven't h

Synchronous Wicket.Ajax.get

2014-04-01 Thread Brad Grier
I've implemented an AbstractDefaultAjaxBehavior as part of a custom implemention of jqueryui dialog. In a nutshell... This is the function bound to the dialog's beforeClose event. Returning false cancels dialog close: Wicket.Ajax.get({'u': '" + callbackUrl + "', 'async': false});return ok; In the

JQuery .ajax Call Breaks In 6.18

2014-11-13 Thread Brad Grier
We have some client side js that constructs a new FormData() object, adds fields to it including a file and posts it to a Wicket behavior using a $.ajax() call. In the behavior's onRequest(), we get the fields and file from the MultipartServletWebRequest object. This worked perfectly until 6.18. No

Re: JQuery .ajax Call Breaks In 6.18

2014-11-13 Thread Brad Grier
That did the trick. Thank you! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/JQuery-ajax-Call-Breaks-In-6-18-tp4668393p4668395.html Sent from the Users forum mailing list archive at Nabble.com. - To

FeedbackPanel for Dynamic Form

2010-03-02 Thread Brad Grier
I've written a dynamic form engine which does its work using a ListView and Fragment subclasses representing the various form fields. Everything works great including saving and retrieving form information. Now that the fun is over, I've run into a problem adding validation. In the markup for th

Re: FeedbackPanel for Dynamic Form

2010-03-03 Thread Brad Grier
ubject: Re: FeedbackPanel for Dynamic Form I'm not 100% sure what exactly is your issue, but have you taken a look at subclasses of IFeedbackMessageFilter ? They allow filtering messages based on component instance, for example. You will have to use reuseItems=true in ListView though most likel

Wicket Forms on PS3 Browser

2010-03-13 Thread Brad Grier
I just tried out my Wicket-based site on the PS3's native browser. The strange thing is that none of the forms worked. It's as if the onSubmit is never called. I went to the Wicket home page and confirmed this behavior. I don't recall seeing this happen with other forms. I suppose it's not a big

Re: Wicket Forms on PS3 Browser

2010-03-13 Thread Brad Grier
t supports Javascript but will not divulge which version. Finally, it reports no mime types, no plugins, and no Javascript errors" That and more here: http://www.design215.com/read.php?title=playstation%203%20browser%20specs - Alex. -----Original Message- From: Brad Grier [mailto:brad.g

"Choose One" Text Without Property File?

2010-03-24 Thread Brad Grier
I'd like to be able to change the "Choose One" text for a DropDownChoice without using a property file. I have a dynamic form generator and I need the user to be able to designate the verbiage. Is this possible? Thanks, Brad

Big Problem with TinyMCE

2010-04-29 Thread Brad Grier
I'm trying to use a TinyMCE editor on a form (itself belonging to a panel added to a page via Ajax). The form is submitted via an AjaxButton. From other posts here and elsewhere I found I had to call "tinyMCE.triggerSave(true,true);" before the submit to get the data into the textarea's model an

Validators on Required Fields

2010-06-17 Thread Brad Grier
I'm using EmailAddressValidator on a form field with setRequired(false). The validator is triggering an invalid format message when the field is left blank. I'm having the same problem with RangeValidator against a custom currency class I've created. Shouldn't validation be skipped when the fiel

Replacing Contents of ModalWindow

2010-08-10 Thread Brad Grier
We allow users to define custom "triggers" on a form submit (an ajax submit). These triggers can send an email or take the user to another form/panel (basically a panel-swap via Ajax). This panel-swap works fine until circumstances land the form in a ModalWindow. I can't get the ModalWindow to

Re: Replacing Contents of ModalWindow

2010-08-11 Thread Brad Grier
place the form (actually it's enclosing panel) with replaceWith(newPanel). -- From: "Brad Grier" Sent: Tuesday, August 10, 2010 10:38 PM To: Subject: Replacing Contents of ModalWindow We allow users to define custom "trigg

TinyMCE in ModalWindow

2010-10-18 Thread Brad Grier
I've implemented TinyMCE in my app and all is well with one exception. I can't get it to work in a ModalWindow (TinyMCE works the first time but subsequently opens in an blank, uneditable state). Someone suggested using the TinyMCE javascript functions "mceRemoveControl" and "mceAddControl" to w

Memory Leak in 1.4.13?

2010-11-10 Thread Brad Grier
I recently upgraded our app from 1.4.12 to 1.4.13. Our app has an admin screen that shows the current session size using Session’s getSizeInBytes method. This screen is just a panel that gets replaced/refreshed via Ajax when a link is clicked. Today I noticed that every time I clicked the link t

Re: Memory Leak in 1.4.13?

2010-11-10 Thread Brad Grier
23 PM To: users@wicket.apache.org Subject: Re: Memory Leak in 1.4.13? On Wed, Nov 10, 2010 at 5:57 PM, Brad Grier wrote: I recently upgraded our app from 1.4.12 to 1.4.13. Our app has an admin screen that shows the current session size using Session’s getSizeInBytes method. This screen is just a

Re: Memory Leak in 1.4.13?

2010-11-14 Thread Brad Grier
. see https://issues.apache.org/jira/browse/WICKET-3160 -igor On Wed, Nov 10, 2010 at 2:57 PM, Brad Grier wrote: I recently upgraded our app from 1.4.12 to 1.4.13. Our app has an admin screen that shows the current session size using Session’s getSizeInBytes method. This screen is just a panel

Re: Memory Leak in 1.4.13?

2010-11-14 Thread Brad Grier
, 2010 8:56 PM To: users@wicket.apache.org Subject: Re: Memory Leak in 1.4.13? Do you have the wicketstuff maven repo in your pom? On Sun, Nov 14, 2010 at 8:50 PM, Brad Grier wrote: Sure. How do I get the latest snapshot? 1.4-SNAPSHOT for wicket.version doesn't give me the latest. -Ori

Re: Memory Leak in 1.4.13?

2010-11-14 Thread Brad Grier
/ -Original Message- From: Jeremy Thomerson Sent: Sunday, November 14, 2010 8:56 PM To: users@wicket.apache.org Subject: Re: Memory Leak in 1.4.13? Do you have the wicketstuff maven repo in your pom? On Sun, Nov 14, 2010 at 8:50 PM, Brad Grier wrote: Sure. How do I get the latest

Getting Post Data

2010-11-18 Thread Brad Grier
I need to write a url-based api into our webapp. Is there a way to mount a shared resource that allows access to the data in a post request? The client side might look something like: URL url = new URL("http://localhost:8084/wicketapp/test?id=1";); URLConnection con = url.openConnection(); con.s

Re: Getting Post Data

2010-11-18 Thread Brad Grier
Actually, the Content-Type should be "application/octet-stream". I want to send binary data from the client. I can't seem to figure out how to get this stream from Wicket. -Original Message----- From: Brad Grier Sent: Thursday, November 18, 2010 10:41 AM To: users@wi

Re: Wicket 1.4.14 > Bug with panels updated by Ajax rendering a CSS

2010-11-29 Thread Brad Grier
Since upgrading the tabs from wiQuery 1.02 no longer work in my application. Could be related as the CSS isn't being picked up at all. These are tabs on panels displayed via ajax. -Original Message- From: Antoine Angenieux Sent: Monday, November 29, 2010 8:42 AM To: users@wicket.apach

Wicket 1.4.14 and WiQuery Tabs

2010-11-29 Thread Brad Grier
After 1.4.14 wiquery tab components no longer render in my application. These tabs are sitting on panels displayed via ajax so perhaps it’s something to do with the css/javascript contribution. Interestingly the wiquery accordions still work fine.

Re: Wicket 1.4.14 and WiQuery Tabs

2010-11-29 Thread Brad Grier
From: Brian Topping Sent: Monday, November 29, 2010 12:27 PM To: users@wicket.apache.org Subject: Re: Wicket 1.4.14 and WiQuery Tabs On Nov 29, 2010, at 12:04 PM, Brad Grier wrote: After 1.4.14 wiquery tab components no longer render in my application. These tabs are sitting on panels displayed

Re: Wicket 1.4.14 and WiQuery Tabs

2010-11-29 Thread Brad Grier
Since it works fine for you, I'm not sure where to look. -Original Message- From: Brian Topping Sent: Monday, November 29, 2010 2:04 PM To: users@wicket.apache.org Subject: Re: Wicket 1.4.14 and WiQuery Tabs On Nov 29, 2010, at 3:02 PM, Brian Topping wrote: On Nov 29, 2010, a

Re: Wicket 1.4.14 and WiQuery Tabs

2010-11-29 Thread Brad Grier
f changes and refactoring were don into the core. Maybe that will solved your problems. Can you give me your feedbacks please . Thank you Regards Julien Roche On Mon, Nov 29, 2010 at 9:33 PM, Brad Grier wrote: Okay, well...it's more than a contribution problem. It looks like the ta

Re: Wicket 1.4.14 and WiQuery Tabs

2010-11-30 Thread Brad Grier
I managed to get wiquery 1.1.1 working (under 1.4.12). Unfortunately I'm still getting inconsistent behavior with Wicket 1.4.14. I'm looking at the diffs to try and find the culprit...not sure how else to pin this down. - T

Re: Wicket 1.4.14 and WiQuery Tabs

2010-11-30 Thread Brad Grier
--Original Message- From: Brian Topping Sent: Tuesday, November 30, 2010 11:54 AM To: users@wicket.apache.org Subject: Re: Wicket 1.4.14 and WiQuery Tabs On Nov 30, 2010, at 12:30 PM, Brad Grier wrote: not sure how else to pin this down. If it were me, I would diff the generated HTML, t

Re: Wicket 1.4.14 and WiQuery Tabs

2010-11-30 Thread Brad Grier
arches), but the use of interfaces with multiple implementations can obscure the food chain unless you really know what to look for. On Nov 30, 2010, at 5:49 PM, Brad Grier wrote: When I look at a diff from the ajax debug window between the failed 1.4.14 request and the 1.4.12, it's obvious t

Re: Wicket 1.4.14 > Bug with panels updated by Ajax rendering a CSS

2010-12-01 Thread Brad Grier
Let me know how it goes. I can't help but think this bug is related to the problem I'm seeing. -Original Message- From: Antoine Angénieux Sent: Tuesday, November 30, 2010 7:05 AM To: users@wicket.apache.org Subject: Re: Wicket 1.4.14 > Bug with panels updated by Ajax rendering a CSS N

Re: Wicket 1.4.14 and WiQuery Tabs

2010-12-01 Thread Brad Grier
This is from another thread but it sounds like the devs have found the problem (and a fix). I'm hopeful anyway! http://apache-wicket.1842946.n4.nabble.com/Re-svn-commit-r1031432-wicket-branches-wicket-1-4-x-wicket-src-main-java-org-apache-wicket-ajax-Ajaxa-tt3067178.html --

Resource.getResourceStream() called twice in 1.4.15

2011-01-19 Thread Brad Grier
Not too long ago I built a url-based api into our web app. I basically mounted a shared resource and then hooked into getResourceStream to process information from the url parameters and insert the result into our data store. Under 1.4.15 I'm getting duplicate records because getResourceStream is

Re: Resource.getResourceStream() called twice in 1.4.15

2011-01-20 Thread Brad Grier
To follow-up it appears getResourceStream is being called multiple times per request for other shared resources like generated images (even under 1.4.12). This can be extremely inefficient depending on the amount of work done. I'm wondering if there's something wrong with my configuration. Any tho

Re: Resource.getResourceStream() called twice in 1.4.15

2011-01-20 Thread Brad Grier
Thanks. I submitted an issue in Jira with a quickstart . https://issues.apache.org/jira/browse/WICKET-3357 -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Resource-getResourceStream-called-twice-in-1-4-15-tp3225454p3228511.html Sent from the Users forum mailing list