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 http://examples7x.wicket.apache.org/wicket-examples/index.html > > Thank y

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. dfergu...@escalation-point

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 secur

Re: wicket 6 beta3 -> wicket 6

2012-09-29 Thread Douglas Ferguson
7;t see any of the wicket:ids.. > > Did anything change with regards to enclosures? Or child & extend? > > Douglas > > On Sep 27, 2012, at 9:24 AM, Jesse Long wrote: > >> WebSession#authenticate() disappeared after 6.0.0-beta3. Affected me... >> >

Re: sicket 6 beta3 -> wicket 6

2012-09-27 Thread Douglas Ferguson
gt; 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 sta

Re: sicket 6 beta3 -> wicket 6

2012-09-27 Thread Douglas Ferguson
e very hard to help you. > > > On 27.09.2012, at 14:23, Douglas Ferguson 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 t

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... Do

Re: FormTester - wicket 1.6

2012-07-31 Thread Douglas Ferguson
hings 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 wrote: > Show us some code. > > On Tue, Jul 31, 2012 at 1:50 AM, Douglas Ferguson wrote: >> We are trying to write some tests using

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) A

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

Re: Wicket Events

2012-06-19 Thread Douglas Ferguson
luggable 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 F

Re: wicket 1.6

2012-06-19 Thread Douglas Ferguson
t;> On Tue, Jun 19, 2012 at 11:13 PM, Douglas Ferguson 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

Re: Wicket Events

2012-06-19 Thread Douglas Ferguson
gorov 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 wrote: >> Ok.. So I took a look at it and it is ignoring

Re: Wicket Events

2012-06-19 Thread Douglas Ferguson
onent 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, Doug

Re: Wicket Events

2012-06-19 Thread Douglas Ferguson
po1.maven.org/maven2/org.apache.wicket/wicket-core/6.0.0-beta1/org/apache/wicket/EventDispatcherTest.java#EventDispatcherTest >> >> -igor >> >> On Tue, Jun 19, 2012 at 12:31 PM, Douglas Ferguson >> wrote: >>> Where's the source repository located? >&g

Re: wicket 1.6

2012-06-19 Thread Douglas Ferguson
> If you find 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 wrote: >> I would be

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 wrote: > >> I was intrigued by the comment that more extensive use of Model >> would reduce session size. >

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 wrote: >> Anybody have a good pattern for using Even

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: users-h...@wicket.apache

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 be?

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 User

Re: wicket 1.6

2012-06-05 Thread Douglas Ferguson
gt;> wrote: >>>> As soon as people start using it and send feedback ... >>>> >>>> On Mon, Jun 4, 2012 at 5:29 PM, Douglas Ferguson wrote: >>>>> Is there a projected release date for 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

Re: wicket & ajax push

2012-06-04 Thread Douglas Ferguson
mple ( > https://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 > >> Anybo

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 f

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 wit

Using AbstractResourceStreamWriter in wicket 1.5

2012-03-23 Thread Douglas Ferguson
Can anybody give me tips on using AbstractResourceStreamWriter in 1.5? Douglas

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.Null

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 org.apache.wicket.request.mapper.MountedMapper.parseRequest(MountedMappe

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 wrote: >> Does wicket 1.5 still use the resource urls? >> &g

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: users-unsubscr...@wicket.apach

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

Re: redirecting in IRequestCyleListener.onException

2012-03-04 Thread Douglas Ferguson
; I'm not sure what you mean by "throws away the page". It should work. >> >> On Sat, Mar 3, 2012 at 7:19 PM, Douglas Ferguson wrote: >>> I decided to just put the exception in the session and just grab it from >>> there. >> >> Another pla

Re: redirecting in IRequestCyleListener.onException

2012-03-04 Thread Douglas Ferguson
class.newInstance() > > On Sat, Mar 3, 2012 at 7:19 PM, Douglas Ferguson 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

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 temp

Re: WicketTester & Spring

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

Re: WicketTester & Spring

2012-03-04 Thread Douglas Ferguson
WicketTester(new MyApp()); > > > 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.IllegalStateEx

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

Re: redirecting in IRequestCyleListener.onException

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

Re: redirecting in IRequestCyleListener.onException

2012-03-03 Thread Douglas Ferguson
ally just overriding > onexception 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 wrote: >> I tried overriding onExceptionRequestHandlerResolved but I can&#x

Re: Wicket 1.5 - Accessing the "Previously Requested Page"

2012-03-03 Thread Douglas Ferguson
tin Grigorov wrote: > See the code of http://www.wicket-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 wrote: >> I just read that the

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:

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 thr

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 >> >

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 wrote: >> onException() wants be to run a redirectHandler. do I j

Re: Wicket 1.5 - Accessing the "Previously Requested Page"

2012-03-02 Thread Douglas Ferguson
r.java:157) 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 th

Re: redirecting in IRequestCyleListener.onException

2012-03-02 Thread Douglas Ferguson
, 2012 at 10:53 AM, Douglas Ferguson 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 pa

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 ClientErrorPage(ex)

Re: Wicket 1.5 - Accessing the "Previously Requested Page"

2012-03-02 Thread Douglas Ferguson
your own 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 wrote:

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

Re: web.xml for Spring & Wicket 1.5

2012-03-02 Thread Douglas Ferguson
> > >applicationBean >wicketApplication > > 1 > > > wicket > /* > > > > org.springframework.web.context.ContextLoaderListener n

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 servle

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 IPageReque

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 wrote: >> I'm getting classloader issues. I get this from eclip

Re: SpringComponentInjector

2012-03-02 Thread Douglas Ferguson
rsion} On Mar 2, 2012, at 2:54 AM, Martin Grigorov wrote: > The same > > On Fri, Mar 2, 2012 at 10:49 AM, Douglas Ferguson wrote: >> I just pulled in SpringComponentInjector and it seems to be subclassing a >> class that i

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: More wicket 1.5 questions

2012-03-02 Thread Douglas Ferguson
2012 at 10:21 AM, Douglas Ferguson 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 > >> 2) Overrode newRequestCycleProcessor

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 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&

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) { f

Re: http/https in wicket 1.5

2012-03-01 Thread Douglas Ferguson
fic 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 wrote: > >> In 1.4 I

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: 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, D

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 wrote: >

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 wrote: >> See below... >> >>

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: Migrating to wicket 1.5

2012-02-29 Thread Douglas Ferguson
2) getRequestCycle().setRedirect(false) 3) IRequestTarget is gone 4) AbstractRequestTargetUrlCodingStrategy is goine 5) UploadWebRequest is gone > > Dan > > On Wed, Feb 29, 2012 at 9:01 PM, Douglas Ferguson wrote: > >> Just found another one: >> >> What d

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) &

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(); S

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, 2011,

Re: streaming files with wicket

2011-06-27 Thread Douglas Ferguson
ing 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 > wrote: > > I built a page with markup type = xml and set the content type and > disposition so that the file will download. > > &

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

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 > wrote: >> There is no proxy &g

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 > wrote: >> I only see it in production >> >>

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

2011-01-18 Thread Douglas Ferguson
gt; > -igor > > > On Mon, Jan 17, 2011 at 11:56 AM, Douglas Ferguson > 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:2

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/li

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

2011-01-14 Thread Douglas Ferguson
29)" On Jan 14, 2011, at 5:23 PM, Igor Vaynberg wrote: > do 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 > wrote: >> Sorry about my previous

[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, 2

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 coul

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: users-

Re: component not visible exception

2010-12-01 Thread Douglas Ferguson
s not visible. >> >> -igor >> >> On Mon, Nov 29, 2010 at 11:05 AM, Douglas Ferguson >> wrote: >>> The problem is that I can't recreate this error, but I see it in production >>> alot. >>> >>> So I have no way of looking

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-29 Thread Douglas Ferguson
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 > wrote: >> We do toggle the visibility of the web markup container that contains the >> button. >> >> Here's

Re: component not visible exception

2010-11-29 Thread Douglas Ferguson
component 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 > wrote: >> Hmm... even if we aren't changing the visibility of th

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 > >> On Mon, Nov 29, 2010

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

Re: component not visible exception

2010-11-29 Thread Douglas Ferguson
up - it only has an OK button which is meant to make >> 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...@douglasfe

Re: component not visible exception

2010-11-28 Thread Douglas Ferguson
n clicked Submit 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

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 th

Re: StackOverflowError

2010-11-20 Thread Douglas Ferguson
Why not just throw and illegal argument exception when you try to create a model with a session? D/ On Nov 19, 2010, at 3:16 AM, Erik van Oosten wrote: > Pedro's solution allows you to turn serialisation on and off for a given > thread so you won't mess with serialisation by other users (such

Re: StackOverflowError

2010-11-16 Thread Douglas Ferguson
le.com >>> wrote: >> >>> it is perfectly valid to use page as the model object. in fact if you >>> wanted to pull something out of session you can simply say new >>> PropertyModel(this, "session.property"), this being the Page instance >>&

Re: StackOverflowError

2010-11-16 Thread Douglas Ferguson
so I guess it knows not to serialize itself again if it sees it in a model? On Nov 16, 2010, at 11:55 AM, Igor Vaynberg wrote: > PropertyModel(this, "session.property"), this being the Page instance > you are in. - To unsubscri

Re: StackOverflowError

2010-11-16 Thread Douglas Ferguson
ou can simply say new >>> PropertyModel(this, "session.property"), this being the Page instance >>> you are in. >>> >>> -igor >>> >>> On Tue, Nov 16, 2010 at 9:46 AM, Douglas Ferguson >>> <[hidden email] <http://user/Se

Re: StackOverflowError

2010-11-16 Thread Douglas Ferguson
Ferguson wrote: > Just tested on 1.4.13 and it still happens > > On Nov 16, 2010, at 9:43 AM, Douglas Ferguson wrote: > >> 1.4.12, but the problem has been around since a few versions back. >> >> D/ >> >> On Nov 16, 2010, at 12:43 AM, Martijn Da

Re: StackOverflowError

2010-11-16 Thread Douglas Ferguson
Just tested on 1.4.13 and it still happens On Nov 16, 2010, at 9:43 AM, Douglas Ferguson wrote: > 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? >> &g

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 > wrote: >> Some time ago I posted to the list re

  1   2   3   4   >