Re: Wicket Example

2017-10-30 Thread Douglas Ferguson
How do I get off this list? I've emailed users-unsubscr...@wicket.apache.org and I'm still on it. Could be an email alias thing. Can anybody help? ᐧ On Mon, Oct 30, 2017 at 3:49 PM, Andrea Del Bene wrote: > hi, > > use

Can't post variables to a wicket page

2012-10-22 Thread Douglas Ferguson
I'm trying to support both get and post to a wicket page. When I do a post, the containterRequest object is reporting it as a GET and I can't seem to find my post variables. What am I missing? --- Douglas W. Ferguson Software Development Manager Escalation Point, Inc.

download page

2012-10-11 Thread Douglas Ferguson
I've done downloads before in wicket by creating a resource stream, but this requires a user to click on a button or some other ajax. I'd like to create a page that will stream content back to the user based on parameters. This means I'd have bookmarkable urls for download and it would be

Re: wicket 6 beta3 - wicket 6

2012-09-29 Thread Douglas Ferguson
...@unknown.za.net wrote: WebSession#authenticate() disappeared after 6.0.0-beta3. Affected me... Cheers, Jesse On 27/09/2012 14:41, Douglas Ferguson wrote: That may take some time, there are some layers.. I just was curious if there are any known issues from beta3 to the stable release

sicket 6 beta3 - wicket 6

2012-09-27 Thread Douglas Ferguson
I just tried to upgrade from beta3 to wicket 6 and one of my main pages blows up with a vengeance. It's the typical error indicating that something is in the code but now the markup and it lists out almost every field! You guys have any idea what might cause this? Works fine under beta3...

Re: sicket 6 beta3 - wicket 6

2012-09-27 Thread Douglas Ferguson
it will be very hard to help you. On 27.09.2012, at 14:23, Douglas Ferguson the...@gmail.com wrote: I just tried to upgrade from beta3 to wicket 6 and one of my main pages blows up with a vengeance. It's the typical error indicating that something is in the code but now the markup

Re: sicket 6 beta3 - wicket 6

2012-09-27 Thread Douglas Ferguson
#authenticate() disappeared after 6.0.0-beta3. Affected me... Cheers, Jesse On 27/09/2012 14:41, Douglas Ferguson wrote: That may take some time, there are some layers.. I just was curious if there are any known issues from beta3 to the stable release. Douglas On Sep 27, 2012, at 7:36 AM

Re: FormTester - wicket 1.6

2012-07-31 Thread Douglas Ferguson
out and figure out what's causing the problem before dumping all that in your lap. Douglas On Jul 31, 2012, at 2:17 AM, Martin Grigorov mgrigo...@apache.org wrote: Show us some code. On Tue, Jul 31, 2012 at 1:50 AM, Douglas Ferguson the...@gmail.com wrote: We are trying to write some tests

FormTester - wicket 1.6

2012-07-30 Thread Douglas Ferguson
We are trying to write some tests using FormTester. We are setting values on a text field and then submitting the form. The form is erroring out because the field is required. Does anybody have any ideas why the value is not getting set properly? Douglas

Re: Apache Wicket 6.0.0-beta3 is released

2012-07-18 Thread Douglas Ferguson
How long should it take for this to appear in maven central? I currently don't see it there... http://mvnrepository.com/artifact/org.apache.wicket/wicket-core On Jul 17, 2012, at 4:08 AM, Martijn Dashorst wrote: The Wicket team is proud to announce the third beta release of the Wicket 6.x

AjaxCallThrottlingDecorator - 1.6

2012-07-09 Thread Douglas Ferguson
How do you throttle ajax calls in 1.6? Douglas - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

1.6 - Verify Error - AbstractResourceStreamWriter

2012-07-05 Thread Douglas Ferguson
java.lang.VerifyError: (class: com/visiblehealth/ui/admin/reports/SQLReports, method: generateReport signature: (Ljava/io/File;)Lorg/apache/wicket/core/util/resource/AbstractResourceStreamWriter;) Wrong return type in function at java.lang.Class.getDeclaredConstructors0(Native Method)

Re: Wicket Events

2012-06-21 Thread Douglas Ferguson
I was able to get the EventDispatcher to work. I added an annotation and as well as an Enum with my EventTypes. It works quite nicely. Thanks for the tips. Douglas On Jun 19, 2012, at 7:15 PM, Douglas Ferguson wrote: Yeah.. when I read Jeremy's reply it was the kind of thing I was looking

Models and Session Size

2012-06-19 Thread Douglas Ferguson
I've been working in wicket for awhile now. I was just reading this post last night. http://www.small-improvements.com/10-things-about-apache-wicket-i-love/wicket:pageMapName/wicket-0 I was intrigued by the comment that more extensive use of Model would reduce session size. Why would this

Wicket Events

2012-06-19 Thread Douglas Ferguson
Anybody have a good pattern for using Events without having lots of instanceOf, if/else, or switch statements? - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail:

Re: Wicket Events

2012-06-19 Thread Douglas Ferguson
Where's the source repository located? On Jun 19, 2012, at 2:20 PM, Martin Grigorov wrote: See org.apache.wicket.EventDispatcherTest in wicket-core's tests On Tue, Jun 19, 2012 at 9:58 PM, Douglas Ferguson the...@gmail.com wrote: Anybody have a good pattern for using Events without having

Re: Models and Session Size

2012-06-19 Thread Douglas Ferguson
Yes.. LoadableDetachable makes more sense. Douglas On Jun 19, 2012, at 2:17 PM, Carl-Eric Menzel wrote: On Tue, 19 Jun 2012 14:01:13 -0500 Douglas Ferguson the...@gmail.com wrote: I was intrigued by the comment that more extensive use of Model would reduce session size. Why would

Re: wicket 1.6

2012-06-19 Thread Douglas Ferguson
any problems I promise I'll try to solve them as soon as possible. If there are no workarounds you may need to use 6.0-SNAPSHOT for your development until the next RC is released. On Tue, Jun 5, 2012 at 7:07 PM, Douglas Ferguson the...@gmail.com wrote: I would be deploying my app in a couple

Re: Wicket Events

2012-06-19 Thread Douglas Ferguson
, Jun 19, 2012 at 12:31 PM, Douglas Ferguson the...@gmail.com wrote: Where's the source repository located? On Jun 19, 2012, at 2:20 PM, Martin Grigorov wrote: See org.apache.wicket.EventDispatcherTest in wicket-core's tests On Tue, Jun 19, 2012 at 9:58 PM, Douglas Ferguson

Re: Wicket Events

2012-06-19 Thread Douglas Ferguson
component, IEvent? event) 116 { 117 invocationTimes++; 118 } 119 On Jun 19, 2012, at 2:20 PM, Martin Grigorov wrote: See org.apache.wicket.EventDispatcherTest in wicket-core's tests On Tue, Jun 19, 2012 at 9:58 PM, Douglas Ferguson the...@gmail.com

Re: Wicket Events

2012-06-19 Thread Douglas Ferguson
wrote: Wicket always sends ComponentEvent. The dynamic part is the event's payload. The test shows how to receive the payload in a type-safe way. On Tue, Jun 19, 2012 at 11:16 PM, Douglas Ferguson the...@gmail.com wrote: Ok.. So I took a look at it and it is ignoring the IEvent. I'm

Re: wicket 1.6

2012-06-19 Thread Douglas Ferguson
, 2012 at 11:13 PM, Douglas Ferguson the...@gmail.com wrote: Martin, You still up for fixing issues? We found one. ;) The auto complete text field throws a javascript here. Would you like me to post the details here? Douglas On Jun 5, 2012, at 11:15 AM, Martin Grigorov wrote: Hi

Re: Wicket Events

2012-06-19 Thread Douglas Ferguson
in Wicket. There is a default impl that uses casting of the payload and there is a way to setup your own impl that does it your way. See Jeremy's message in this thread for a solution that works as Google's one. On Tue, Jun 19, 2012 at 11:36 PM, Douglas Ferguson the...@gmail.com wrote: Yeah

Autocomplete when Converter not available/possible

2012-06-18 Thread Douglas Ferguson
Does anybody have a good example of using the AutoCompleteField when a Converter is not available? For example, I have a UserAccount object. I want to display Joe Blow with a photo on my auto suggest. But the string Joe Blow isn't enough information for a converter to convert back to a

Re: wicket 1.6

2012-06-05 Thread Douglas Ferguson
... On Mon, Jun 4, 2012 at 5:29 PM, Douglas Ferguson the...@gmail.com wrote: Is there a projected release date for wicket 1.6? Just curious because I'm starting a new project and am trying to decide if I should start it using 1.6. Douglas

Re: wicket ajax push

2012-06-04 Thread Douglas Ferguson
://github.com/Atmosphere/atmosphere/tree/master/samples) and the just released wicket 6 beta2 comes with a wicket-atmosphere module ( http://wicket.apache.org/2012/05/29/wicket-6.0.0-beta2-released.html) 2012/5/30 Douglas Ferguson the...@gmail.com Anybody doing any ajax push stuff using wicket

wicket 1.6

2012-06-04 Thread Douglas Ferguson
Is there a projected release date for wicket 1.6? Just curious because I'm starting a new project and am trying to decide if I should start it using 1.6. Douglas - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For

wicket ajax push

2012-05-30 Thread Douglas Ferguson
Anybody doing any ajax push stuff using wicket? Douglas - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: 1.5 Wicket Enclosure

2012-04-06 Thread Douglas Ferguson
Is this expected behavior? Is there a workaround? On Apr 5, 2012, at 6:58 PM, Douglas Ferguson wrote: I just found a different between 1.4 and 1.5 with regards to wicket enclosure. If you have a component in a wicket enclosure (say a feedback panel) and you set it visible false

1.5 Wicket Enclosure

2012-04-05 Thread Douglas Ferguson
I just found a different between 1.4 and 1.5 with regards to wicket enclosure. If you have a component in a wicket enclosure (say a feedback panel) and you set it visible false. Then subsequently try to set it visible true, wicket 1.5 will not be able to make it reappear. 1.4 had no problem

MountedMapper NullPointer

2012-03-06 Thread Douglas Ferguson
I'm seeing this exception from time to time and I'm not sure where it's coming from. java.lang.NullPointerException at org.apache.wicket.request.mapper.MountedMapper.checkHomePage(MountedMapper.java:459) at

Re: MountedMapper NullPointer

2012-03-06 Thread Douglas Ferguson
Turns out my Application.getHomePage() was returning null. On Mar 6, 2012, at 10:37 AM, Douglas Ferguson wrote: I'm seeing this exception from time to time and I'm not sure where it's coming from. java.lang.NullPointerException

Re: 404 on resource

2012-03-05 Thread Douglas Ferguson
How does wicket 1.5 reference resources that are inside the class path from the browser? Douglas On Mar 5, 2012, at 1:55 AM, Martin Grigorov wrote: Hi, On Mon, Mar 5, 2012 at 6:05 AM, Douglas Ferguson the...@gmail.com wrote: Does wicket 1.5 still use the resource urls? I'm getting

Re: WicketTester Spring

2012-03-04 Thread Douglas Ferguson
Cheers Per Am 04.03.2012 06:17, schrieb Douglas Ferguson: I'm trying to use wicket tester to test an app that is running with spring. I'm getting this error: java.lang.IllegalStateException: No WebApplicationContext found: no ContextLoaderListener registered? I thought perhaps

Re: WicketTester Spring

2012-03-04 Thread Douglas Ferguson
; } }); On Mar 4, 2012, at 3:19 AM, Per Newgro wrote: Assign the app to the wicket tester instance you use. See code section below. Per Am 04.03.2012 10:11, schrieb Douglas Ferguson: What does this mean? you have to set the app

Re: WicketTester Spring

2012-03-04 Thread Douglas Ferguson
Yes. Now on to others. :( On Mar 4, 2012, at 4:27 AM, Per Newgro wrote: So problem is solved? Per Am 04.03.2012 11:22, schrieb Douglas Ferguson: I'm doing that. The fix involved moving the injector initialization to a template method so I could override. tester = new

Re: redirecting in IRequestCyleListener.onException

2012-03-04 Thread Douglas Ferguson
3, 2012 at 7:19 PM, Douglas Ferguson the...@gmail.com wrote: I decided to just put the exception in the session and just grab it from there. Another place to put it is RequestCycle#metaData. This way you wont have to clean it. Cooll I'll give it a whirl. Douglas On Mar 3, 2012

Re: redirecting in IRequestCyleListener.onException

2012-03-04 Thread Douglas Ferguson
work. On Sat, Mar 3, 2012 at 7:19 PM, Douglas Ferguson the...@gmail.com wrote: I decided to just put the exception in the session and just grab it from there. Another place to put it is RequestCycle#metaData. This way you wont have to clean it. Douglas On Mar 3, 2012, at 10:26 AM

404 on resource

2012-03-04 Thread Douglas Ferguson
Does wicket 1.5 still use the resource urls? I'm getting a 404 on this resources/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/indicator.gif

logging 404s

2012-03-04 Thread Douglas Ferguson
I setup a 404 handler in my web.xml to point to a wicket page. I'd like to be able to log what the original request was, but I'm having trouble figuring this out. Douglas - To unsubscribe, e-mail:

Re: Wicket 1.5 - Accessing the Previously Requested Page

2012-03-03 Thread Douglas Ferguson
-library.com/wicket-examples/mappers/ example. Create a quickstart app with the NullPointerException and attach it to a ticket. On Sat, Mar 3, 2012 at 9:06 AM, Douglas Ferguson the...@gmail.com wrote: I just read that the setRootRequestMapper should be after all the mounts. I tried

Re: redirecting in IRequestCyleListener.onException

2012-03-03 Thread Douglas Ferguson
and returning your handler like you did before should have worked but wait for some one else to respond if its not working On Sat, Mar 3, 2012 at 12:47 PM, Douglas Ferguson the...@gmail.com wrote: I tried overriding onExceptionRequestHandlerResolved but I can't get this to work. I'm still

Re: redirecting in IRequestCyleListener.onException

2012-03-03 Thread Douglas Ferguson
); page.setStatelessHint(false); return new RenderPageRequestHandler(provider, RedirectPolicy.ALWAYS_REDIRECT); On Sat, Mar 3, 2012 at 8:23 PM, Douglas Ferguson the...@gmail.com wrote: Yeah Martin Grigorov recomended that I do just that: WebPage exceptionPage = new NotifyUserOfException(ex); IPageProvider

WicketTester Spring

2012-03-03 Thread Douglas Ferguson
I'm trying to use wicket tester to test an app that is running with spring. I'm getting this error: java.lang.IllegalStateException: No WebApplicationContext found: no ContextLoaderListener registered? I thought perhaps I would be able to use SpringJunit4ClassRunning, but that didn't

More wicket 1.5 questions

2012-03-02 Thread Douglas Ferguson
In 1.4 I did the following, what are the alternatives in 1.5? 1) AbstractRequestTargetUrlCodingStrategy to mount a path to 301 redirect 2) Overrode newRequestCycleProcessor so that I can set the no cache headers. private void setNoCacheHeader(RequestCycle requestCycle) {

Re: More wicket 1.5 questions

2012-03-02 Thread Douglas Ferguson
On Mar 2, 2012, at 2:26 AM, Martin Grigorov wrote: On Fri, Mar 2, 2012 at 10:21 AM, Douglas Ferguson the...@gmail.com wrote: In 1.4 I did the following, what are the alternatives in 1.5? 1) AbstractRequestTargetUrlCodingStrategy to mount a path to 301 redirect I don't understand you

SpringComponentInjector

2012-03-02 Thread Douglas Ferguson
I just pulled in SpringComponentInjector and it seems to be subclassing a class that is not longer in wicket-ioc. What's the correct way to using Spring injection with 1.5? Douglas

Re: SpringComponentInjector

2012-03-02 Thread Douglas Ferguson
That's the latest version of the annotation module. I guess it got merged into another module? On Mar 2, 2012, at 3:18 AM, Martin Grigorov wrote: On Fri, Mar 2, 2012 at 11:16 AM, Douglas Ferguson the...@gmail.com wrote: I'm getting classloader issues. I get this from eclipse: The type

Wicket 1.5 - Accessing the Previously Requested Page

2012-03-02 Thread Douglas Ferguson
I want to save off the previous page at then end of each request. Can be handy for things like oauth (making sure we return to the correct spot in the app). In 1.4 I could just pull the page class and parameters off the RequestCycle. Not I have to check to see if the active handler is

web.xml for Spring Wicket 1.5

2012-03-02 Thread Douglas Ferguson
I'm not sure the example web.xml here is complete - https://cwiki.apache.org/WICKET/spring.html There is no filter mapping so there is no request get sent to the wicket servlet. I've always used the the wicket filter and a filter mapping so I need to figure out how to do the same with a

Re: web.xml for Spring Wicket 1.5

2012-03-02 Thread Douglas Ferguson
Sergej -Original Message- From: Douglas Ferguson [mailto:the...@gmail.com] Sent: Friday, March 02, 2012 4:05 PM To: Wicket Mailing List List Subject: web.xml for Spring Wicket 1.5 I'm not sure the example web.xml here is complete - https://cwiki.apache.org/WICKET/spring.html

Re: Wicket 1.5 - Accessing the Previously Requested Page

2012-03-02 Thread Douglas Ferguson
This doesn't work. Seems like cycle.getActiveRequestHandler() always returns null when in the endRequest call back. Thoughts? Douglas On Mar 2, 2012, at 8:13 AM, Douglas Ferguson wrote: I want to save off the previous page at then end of each request. Can be handy for things like oauth

Re: Wicket 1.5 - Accessing the Previously Requested Page

2012-03-02 Thread Douglas Ferguson
irequestcyclelistener, implement onrequesthandlerresolved() and in that method check if the handler is a IPageRequestHandler and stash the page anywhere you want, like in the request cycle's metadata. -igor On Fri, Mar 2, 2012 at 8:08 AM, Douglas Ferguson the...@gmail.com wrote: This doesn't work. Seems

redirecting in IRequestCyleListener.onException

2012-03-02 Thread Douglas Ferguson
In migrating to wicket 1.5 from 1.4 I used this to redirect to my error page when an exception is thrown. But when I do this it is trying to instantiate a new copy of the page rather than using the one I pass in. IPageProvider provider = new PageProvider(new

Re: redirecting in IRequestCyleListener.onException

2012-03-02 Thread Douglas Ferguson
AM, Douglas Ferguson the...@gmail.com wrote: In migrating to wicket 1.5 from 1.4 I used this to redirect to my error page when an exception is thrown. But when I do this it is trying to instantiate a new copy of the page rather than using the one I pass in. IPageProvider

Re: Wicket 1.5 - Accessing the Previously Requested Page

2012-03-02 Thread Douglas Ferguson
) On Mar 2, 2012, at 11:00 AM, Douglas Ferguson wrote: Thanks. I just found that and was about to report back. ;) One thing I just noticed is that my @RequireHttps annotation doesn't appear to be working. Do I need to configure that app to work with that? Douglas On Mar 2, 2012, at 10

Re: redirecting in IRequestCyleListener.onException

2012-03-02 Thread Douglas Ferguson
Causes an infinite loop. Douglas On Mar 3, 2012, at 12:20 AM, vineet semwal wrote: i think you need to return the handler which you have scheduled On Sat, Mar 3, 2012 at 11:30 AM, Douglas Ferguson the...@gmail.com wrote: onException() wants be to run a redirectHandler. do I just return

Re: redirecting in IRequestCyleListener.onException

2012-03-02 Thread Douglas Ferguson
I mean too many redirects On Mar 3, 2012, at 12:36 AM, Douglas Ferguson wrote: Causes an infinite loop. Douglas On Mar 3, 2012, at 12:20 AM, vineet semwal wrote: i think you need to return the handler which you have scheduled On Sat, Mar 3, 2012 at 11:30 AM, Douglas Ferguson

Re: Wicket 1.5 - Accessing the Previously Requested Page

2012-03-02 Thread Douglas Ferguson
I just read that the setRootRequestMapper should be after all the mounts. I tried it and it still down't work. setRootRequestMapper(new HttpsMapper(getRootRequestMapper(), httpsConfig)); On Mar 3, 2012, at 12:12 AM, Douglas Ferguson wrote: After tracing through

Re: redirecting in IRequestCyleListener.onException

2012-03-02 Thread Douglas Ferguson
I tried overriding onExceptionRequestHandlerResolved but I can't get this to work. I'm still not getting my error page to load on errors. Douglas On Mar 3, 2012, at 12:36 AM, Douglas Ferguson wrote: I mean too many redirects On Mar 3, 2012, at 12:36 AM, Douglas Ferguson wrote: Causes

Re: Migrating to wicket 1.5

2012-03-01 Thread Douglas Ferguson
Thanks! I also noticed that hybridurlcodingstrategy is missing. I did some reading but haven't found a solution that is 100% Douglas On Mar 1, 2012, at 2:01 AM, Martin Grigorov wrote: On Thu, Mar 1, 2012 at 8:52 AM, Douglas Ferguson the...@gmail.com wrote: See below... On Feb 29, 2012

Re: Migrating to wicket 1.5

2012-03-01 Thread Douglas Ferguson
Feel free to update the migration page where you see it misses some info. What's the process for updating? Dan On Wed, Feb 29, 2012 at 9:01 PM, Douglas Ferguson the...@gmail.com wrote: Just found another one: What did AbortException get replaced with? Douglas

Re: Migrating to wicket 1.5

2012-03-01 Thread Douglas Ferguson
If I mount a page to the url page1 Then hit page1/foo/bar/abc/xyz Then in my code i say pageParameters.get(foo) it returns null. In 1.4 it would return bar Douglas On Mar 1, 2012, at 2:09 AM, Martin Grigorov wrote: On Thu, Mar 1, 2012 at 10:05 AM, Douglas Ferguson the...@gmail.com wrote

http/https in wicket 1.5

2012-03-01 Thread Douglas Ferguson
In 1.4 I had ao code up some interesting work arounds to get my app to redirect between http and https based on which page you are requesting. I remember at the time Igor told me that it would be much easer in 1.5. Can anybody point me in the redirection? I'm considering 2 schemes. 1) Running

Re: http/https in wicket 1.5

2012-03-01 Thread Douglas Ferguson
using @requiresHttps. Then just set the ports in your application class. setRootRequestMapper(new HttpsMapper(getRootRequestMapper(), new HttpsConfig(80, 443))); On 1 March 2012 14:10, Douglas Ferguson the...@gmail.com wrote: In 1.4 I had ao code up some interesting work

Migrating to wicket 1.5

2012-02-29 Thread Douglas Ferguson
I was reading the migration doc and I'm not sure how I would migrate this to 1.5: WebRequest webRequest = (WebRequest) RequestCycle.get().getRequest(); HttpServletRequest httpServletRequest = (HttpServletRequest)webRequest.getContainerRequest();

Re: Migrating to wicket 1.5

2012-02-29 Thread Douglas Ferguson
Just found another one: What did AbortException get replaced with? Douglas On Feb 29, 2012, at 10:44 PM, Douglas Ferguson wrote: I was reading the migration doc and I'm not sure how I would migrate this to 1.5: WebRequest webRequest = (WebRequest) RequestCycle.get

Re: Migrating to wicket 1.5

2012-02-29 Thread Douglas Ferguson
) IRequestTarget is gone 4) AbstractRequestTargetUrlCodingStrategy is goine 5) UploadWebRequest is gone Dan On Wed, Feb 29, 2012 at 9:01 PM, Douglas Ferguson the...@gmail.com wrote: Just found another one: What did AbortException get replaced with? Douglas On Feb 29, 2012, at 10:44 PM

onException() 1.5

2012-02-29 Thread Douglas Ferguson
I want to redirect to an error page when there is an Exception. I see that there is a RedirectRequestHandler, but this only allows you to redirect to url via string literal. I want to redirect to a construction Page. I was grasping at straws and tried this and no dice..

Re: Book covering 1.5

2011-08-25 Thread Douglas Ferguson
I remember from a few years ago that 1.5 is going to be a non trivial change in architecture. Are there any docs available that explain how to migrate or what the differences are? Actually, now that I type this I remember Igor saying that migration may not be advised.. Douglas On Aug 24,

using a different pagemap

2011-06-27 Thread Douglas Ferguson
We are using ResourceStreamRequestTarget for streaming an export. Is there a way to have this request use a different page map, sorta like the way that when you open a new tab it uses a different page map? Douglas

Re: streaming files with wicket

2011-06-27 Thread Douglas Ferguson
and writing that out instead - so then you at least know your page rendered ok. -igor On Mon, Jun 20, 2011 at 1:50 PM, Douglas Ferguson doug...@douglasferguson.us wrote: I built a page with markup type = xml and set the content type and disposition so that the file will download. This is great

streaming files with wicket

2011-06-20 Thread Douglas Ferguson
I built a page with markup type = xml and set the content type and disposition so that the file will download. This is great except when there is a fatal exception thrown, my error page is getting written to the downloaded file. Any ideas how make the browser load the error page? Only thought

Re: [Ljava.lang.String; cannot be cast to java.lang.String - BookmarkablePageRequestTargetUrlCodingStrategy

2011-01-19 Thread Douglas Ferguson
tomcat On Jan 18, 2011, at 2:49 PM, Igor Vaynberg wrote: not sure then. seems rather strange that you cant reproduce it locally. what container is it running in? -igor On Tue, Jan 18, 2011 at 12:41 PM, Douglas Ferguson doug...@douglasferguson.us wrote: There is no proxy On Jan 18

Re: [Ljava.lang.String; cannot be cast to java.lang.String - BookmarkablePageRequestTargetUrlCodingStrategy

2011-01-18 Thread Douglas Ferguson
On Mon, Jan 17, 2011 at 11:56 AM, Douglas Ferguson doug...@douglasferguson.us wrote: Thoughts? On Jan 14, 2011, at 5:44 PM, Douglas Ferguson wrote: This looks like it must have been one of them. - - [13/Jan/2011:14:26:34 -0600] GET /?wicket:interface=:26::INewBrowserWindowListener:: HTTP/1.1

Re: [Ljava.lang.String; cannot be cast to java.lang.String - BookmarkablePageRequestTargetUrlCodingStrategy

2011-01-18 Thread Douglas Ferguson
There is no proxy On Jan 18, 2011, at 10:48 AM, Igor Vaynberg wrote: is the app proxied? could be a proxy mangling it on a rewrite. -igor On Tue, Jan 18, 2011 at 1:57 AM, Douglas Ferguson doug...@douglasferguson.us wrote: I only see it in production On Jan 17, 2011, at 6:38 PM

Re: [Ljava.lang.String; cannot be cast to java.lang.String - BookmarkablePageRequestTargetUrlCodingStrategy

2011-01-17 Thread Douglas Ferguson
Thoughts? On Jan 14, 2011, at 5:44 PM, Douglas Ferguson wrote: This looks like it must have been one of them. - - [13/Jan/2011:14:26:34 -0600] GET /?wicket:interface=:26::INewBrowserWindowListener:: HTTP/1.1 302 - http://app.buzzstream.com/link_partners/wicket:pageMapName/link_partners

[Ljava.lang.String; cannot be cast to java.lang.String - BookmarkablePageRequestTargetUrlCodingStrategy

2011-01-14 Thread Douglas Ferguson
Sorry about my previous title. I'm not sure what's causing this, but I've spoken with some of my clients, who spawned these errors and they weren't manipulating the querystrings.. So I'm not sure how two pagemap paramenters are getting in there.. D/ On Jan 13, 2011, at 11:40 AM, Douglas

Re: [Ljava.lang.String; cannot be cast to java.lang.String - BookmarkablePageRequestTargetUrlCodingStrategy

2011-01-14 Thread Douglas Ferguson
their apache logs contain a sample of the url that caused this error? would be helpful to see one. -igor On Fri, Jan 14, 2011 at 3:12 PM, Douglas Ferguson doug...@douglasferguson.us wrote: Sorry about my previous title. I'm not sure what's causing this, but I've spoken with some of my clients

Fwd: FogBugz (Case 17743) Inbox - Application Error : prmanager : [Ljava.lang.String; cannot be cast to java.lang.String

2011-01-13 Thread Douglas Ferguson
I see the stack trace below in my production logs quite often. I'm not sure what is causing it but it seems that this error need not happen. I.E. Why Cast this to a string when it could easily be String[] if somebody messes with the query string? Seem like a parameters.removeFirst() method

getStatelessHint()?

2010-12-07 Thread Douglas Ferguson
I'm seeing some exceptions in my production log with this message it could be that the component is inside a repeater make your component return false in getStatelessHint() What does this mean? - To unsubscribe, e-mail:

Re: component not visible exception

2010-12-01 Thread Douglas Ferguson
url and make sure none of your ajax actions are changing the page version. -igor On Mon, Nov 29, 2010 at 10:41 AM, Douglas Ferguson doug...@douglasferguson.us wrote: We do toggle the visibility of the web markup container that contains the button. Here's how it works. 1) Page loads

Re: component not visible exception

2010-11-29 Thread Douglas Ferguson
the ModalWindow simply disappear and thus re-enable the page beneath - the one with the form on it. Chris -Original Message- From: Douglas Ferguson [mailto:doug...@douglasferguson.us] Sent: Monday, 29 November 2010 6:53 PM To: users@wicket.apache.org Subject: Re: component

Re: component not visible exception

2010-11-29 Thread Douglas Ferguson
That is wierd.. the component is a field and is private. We don't set visible nor do we override isVisible(). Could this have to do with the parent container? We do set that visible... On Nov 29, 2010, at 9:58 AM, Martin Grigorov wrote: On Mon, Nov 29, 2010 at 4:46 PM, Douglas Ferguson doug

Re: component not visible exception

2010-11-29 Thread Douglas Ferguson
Hmm... even if we aren't changing the visibility of the button? On Nov 29, 2010, at 10:42 AM, Marco Mancini wrote: try to set mybutton.setOutputMarkupPlaceholderTag(true); bye marco 2010/11/29 Martin Grigorov mgrigo...@apache.org On Mon, Nov 29, 2010 at 4:46 PM, Douglas Ferguson

Re: component not visible exception

2010-11-29 Thread Douglas Ferguson
to be visible all of its parents have to be visible from the page down to the component. same for the enabled state. -igor On Mon, Nov 29, 2010 at 9:21 AM, Douglas Ferguson doug...@douglasferguson.us wrote: Hmm... even if we aren't changing the visibility of the button? On Nov 29, 2010

Re: component not visible exception

2010-11-29 Thread Douglas Ferguson
are changing the page version. -igor On Mon, Nov 29, 2010 at 10:41 AM, Douglas Ferguson doug...@douglasferguson.us wrote: We do toggle the visibility of the web markup container that contains the button. Here's how it works. 1) Page loads and the container is hidden 2) An ajax timer is used

Re: component not visible exception

2010-11-29 Thread Douglas Ferguson
That seems more likely to me. Is there anything I could do to prevent this? D/ On Nov 29, 2010, at 1:21 PM, Igor Vaynberg wrote: another possibility, if this page is using hybrid url coding strategy, is that the session expires and the form is submitted against a new instance of the page -

Re: component not visible exception

2010-11-28 Thread Douglas Ferguson
on the form again I got a similar message saying that the Submit button was no longer visible. It doesn't happen if I use the normal validation 'feedback' panel to display the validation error messages. Chris -Original Message- From: Douglas Ferguson [mailto:doug

component not visible exception

2010-11-26 Thread Douglas Ferguson
I have an error I've been seeing in the production logs for awhile now and haven't been able to to figure it out. My thought is that it is due to a stale page or the back button, but it seems to me that it is happening alot, so I thought I might inquire. Any thoughts on what might be causing

Re: StackOverflowError

2010-11-16 Thread Douglas Ferguson
1.4.12, but the problem has been around since a few versions back. D/ On Nov 16, 2010, at 12:43 AM, Martijn Dashorst wrote: Are you using 1.4.13? Martijn On Tue, Nov 16, 2010 at 5:54 AM, Douglas Ferguson doug...@buzzstream.com wrote: Some time ago I posted to the list regarding a stack

Re: StackOverFlowError

2010-09-23 Thread Douglas Ferguson
Hey guys, We overwrote IObjectStreamFactory with a copy that has more logging and we found the object that is causing the problems in our production logs. Now we need to recreate it in a more controlled environment. How could we force serialization of this object in a dev environmental? D/ On

Re: StackOverFlowError

2010-09-23 Thread Douglas Ferguson
When exactly does a page get serialized/serialized? On Thu, Sep 23, 2010 at 12:54 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote: in dev serialization should happen just like in production. -igor On Thu, Sep 23, 2010 at 10:34 AM, Douglas Ferguson doug...@douglasferguson.us wrote: Hey

Stack Overflow Error

2010-08-03 Thread Douglas Ferguson
I wrote about this awhile ago and got some great responses. I poured over the code and couldn't find anything that would meet the criteria that you guys suggested. Does anybody have any suggestions as to how I could track this down? Douglas. 2010-08-03 09:45:13,257 INFO [TP-Processor13]

TextFieldInteger

2010-07-22 Thread Douglas Ferguson
Has anybody succesfully used TextFieldInteger? I get an runtime exception trying to cast String to Integer. If supply (Integer.class) to the constructor then it is trying to case Long to Integer. D/

Re: StackOverFlowError

2010-07-02 Thread Douglas Ferguson
Hmm... I don't really follow. On Fri, Jul 2, 2010 at 11:31 AM, robert.mcguinness robert.mcguinness@gmail.com wrote: this happened to me the other day. turned out to be a coding error. i wrapped a compoundpropertymodel in a propertylistview (which already wraps a model into a

ListChoice - generics for model defined wrong

2010-06-29 Thread Douglas Ferguson
I was just attempt to use the ListChoice and it seems to me that the constructor signatures are wrong. The model for this should be List? extends T not ListT, otherwise you can't select more than one item (T), which is the point.. D/

tomcat restart error

2010-06-24 Thread Douglas Ferguson
application appears to have started a thread named [PageSavingThread-wicket.PRManager] but has failed to stop it. This is very likely to create a memory leak. Douglas Ferguson mobile: 512.293.7279 office/fax: 512.462.0408 skype: stillrecording aim: DaAmericanRuse - http://www.linkedin.com

RESTful wicket

2010-06-21 Thread Douglas Ferguson
Does anybody have experience with this? http://code.google.com/p/wicket-rest/ Does it work well? Or is there something better out there? D/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional

Re: [Wicketstuff / Inmethod-Grid] A handful of patches

2010-06-20 Thread Douglas Ferguson
After digging through the js i realized that if columns at the beginning of the table are fixed if they are no moveable. i.e. you can't move stuff in front of them. D/ On Jun 12, 2010, at 3:12 AM, Douglas Ferguson wrote: Thanks. Another question for you... I have a few columns that I

  1   2   3   4   >