popup settings now working

2010-01-19 Thread Douglas Ferguson
Even though I set width and height, i always get a 800/500 popup.. final PopupSettings popupSettings = new PopupSettings(PageMap.forName(welcomevideo)); popupSettings.setWidth(975); popupSettings.setHeight(610); add(new LinkVoid(movieLink) { private static final long serialVersionUID = 1L;

Re: Templates in Wicket

2010-01-15 Thread Douglas Ferguson
That's what we are doing as well. The big gotcha is when you end up doing something in code, it throws them off. I.E. SimpleAttributeModifier, D/ On Jan 15, 2010, at 10:14 AM, Jonathan Locke wrote: we did almost exactly the same thing at thoof. although occasionally you'll get a

Re: testing autocomplete with WicketTester

2010-01-14 Thread Douglas Ferguson
Anybody? On Jan 11, 2010, at 10:24 AM, Douglas Ferguson wrote: I am assuming that since it is actually a text field that I could just get the component and cast it to a TextField then set the model object. However, I'm not sure that we fire the appropriate events to make the autocomplete

Re: Lazy loading

2010-01-11 Thread Douglas Ferguson
Do you mind sharing your JQuery? On Jan 11, 2010, at 8:00 AM, Ilja Pavkovic wrote: Hi, use a veil. You could use this one: http://wicketinaction.com/2008/12/preventing-double-ajax-requests-in-3-lines- of-code/ or (as I personally think it bloats the ajax links) get familiar with

Re: testing autocomplete with WicketTester

2010-01-11 Thread Douglas Ferguson
10, 2010, at 7:56 PM, Douglas Ferguson wrote: What is the recommended way to test autocomplete using wicket tester? D/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h

testing autocomplete with WicketTester

2010-01-10 Thread Douglas Ferguson
What is the recommended way to test autocomplete using wicket tester? D/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: component xxx:yyy:zzz not found on page

2010-01-09 Thread Douglas Ferguson
when it's clicked so the user cant click it twice.. 2010/1/8 Douglas Ferguson doug...@douglasferguson.us: Our application periodically gets these errors, where wicket say the component could not be found. Take this example. 1) There is a delete link on the page. 2) The user clicks

Re: component xxx:yyy:zzz not found on page

2010-01-09 Thread Douglas Ferguson
write that too).. Put a veil over the button when it's clicked so the user cant click it twice.. 2010/1/8 Douglas Ferguson doug...@douglasferguson.us: Our application periodically gets these errors, where wicket say the component could not be found. Take this example. 1) There is a delete

component xxx:yyy:zzz not found on page

2010-01-08 Thread Douglas Ferguson
Our application periodically gets these errors, where wicket say the component could not be found. Take this example. 1) There is a delete link on the page. 2) The user clicks the delete button 3) They get the delete button component not found error. The intriguing part is that the item is

IE Autocomplete JS

2010-01-05 Thread Douglas Ferguson
I'm am trying to debug some IE 8 issues with autocomplete and IE seems to be caching the Javascript. Is there anything special about response.renderJavascriptReference(JS_RESOURCE) that would cause IE to hang onto it? I have made changes to the js, then tested in firefox and I see the changes.

wicket tester forms

2010-01-05 Thread Douglas Ferguson
I just found an issue in wicket tester. If you submit a form with hidden fields it will attempt to set the models on those hidden fields. My app depends on this. D/ - To unsubscribe, e-mail:

reducing ajax callbacks

2009-12-23 Thread Douglas Ferguson
I have a page that has 100s of links on them that are all ajax calls. Each one calls the same method but passes in a different id to the method. Apparently there is quite a bit of time building the UI controls (100 ajaxLinks). Is there a way to create a handler that could be reused by all 100 of

Re: File Upload Issues

2009-12-18 Thread Douglas Ferguson
There is a bug in 1.4.4. related to resource loading. Are you sure AJAX has stopped or is it just taking A REALLY LONG TIME? This is the reason they are trying to get 1.4.5 out quickly. D/ On Dec 18, 2009, at 10:15 AM, Corbin, James wrote: Hello, I'm having issues in IE6 relating to

Re: Observed slowness with upload progress bar on 1.4.4

2009-12-16 Thread Douglas Ferguson
What does quickly mean? On Dec 15, 2009, at 6:16 PM, Igor Vaynberg wrote: we might have to put out 1.4.5 quickly -igor - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail:

Re: onSubmit() not entered (IE6 and IE7)

2009-12-16 Thread Douglas Ferguson
Are you using an UploadProgressBar? D/ On Dec 16, 2009, at 7:42 AM, Martin Dietze wrote: I have repeatedly run into situations like this one: On very complex pages with lots of Ajax-stuff I sometimes get to a point where (reproducably) my form's onSubmit() method is never entered when

Observed slowness with upload progress bar on 1.4.4

2009-12-15 Thread Douglas Ferguson
I just upgraded to 1.4.4 and now when I load a page or a modal that uses upload projess bar I see an slowness when loading that page: In firebugs I see it waiting on these calls:

Re: Observed slowness with upload progress bar on 1.4.4

2009-12-15 Thread Douglas Ferguson
Oh dear.. Does this apply to 1.4.3? D/ On Dec 15, 2009, at 6:16 PM, Igor Vaynberg wrote: its probably related to this: https://issues.apache.org/jira/browse/WICKET-2613 we might have to put out 1.4.5 quickly -igor On Tue, Dec 15, 2009 at 3:36 PM, Douglas Ferguson doug

Re: 2 pagemap values in parameters

2009-12-12 Thread Douglas Ferguson
in this state? D/ On Dec 12, 2009, at 1:34 AM, Douglas Ferguson wrote: I've narrowed it down and it has something to do with with AjaxButton, or AjaxSubmitLink, I swapped it out for an AjaxLink and the error goes away (but I don't get all the behaviors I need). It also seems that autosuggest

Re: 2 pagemap values in parameters

2009-12-12 Thread Douglas Ferguson
Were you able to recreate it? On Dec 12, 2009, at 12:19 PM, Igor Vaynberg wrote: sure -igor On Sat, Dec 12, 2009 at 1:54 AM, Douglas Ferguson doug...@douglasferguson.us wrote: I have finally got a quick start that reproduces the error. However, I can't seem to test it with a test

Re: enclosure changes in 1.4.4

2009-12-12 Thread Douglas Ferguson
I ran into this and now that I know what's happening it doesn't bother me. I think if anything the messaging is not as helpful as it could be. 1) It was identifying the wrong missing field, which I think is fixed but won't come until 1.4.5 2) Perhaps the message should indicate that the

Re: enclosure changes in 1.4.4

2009-12-12 Thread Douglas Ferguson
I did find the behavior handy, but it is easy to work around. D/ On Dec 12, 2009, at 11:12 PM, Igor Vaynberg wrote: i think you guys misunderstand. i believe what we are talking about here is the requirement for presence of components *other* then the component specified by enclosure's

Re: class cast exception when using setAutomaticMultiWindowSupport(true)

2009-12-11 Thread Douglas Ferguson
AM, Douglas Ferguson doug...@douglasferguson.us wrote: The problem exists on the trunk. Has anybody else seen this? If nobody has seen this I will try to make a quickstart. D/ On Dec 10, 2009, at 4:11 PM, nino martinez wael wrote: have you tried with the latest from trunk? That way

Re: class cast exception when using setAutomaticMultiWindowSupport(true)

2009-12-11 Thread Douglas Ferguson
using trunk? Trunk is currently in highly unstable experimental state. -Matej On Fri, Dec 11, 2009 at 11:02 PM, Douglas Ferguson doug...@douglasferguson.us wrote: Anybody have any advice on how to do this quick start? Here's how I create the issue. 1) Open a new window (so

2 pagemap values in parameters

2009-12-11 Thread Douglas Ferguson
I'm still trying to sort out my class cast error, does know what might cause a value of resources? wicket:pageMapName = [people, resources] I'm seeing this when I set this: getPageSettings().setAutomaticMultiWindowSupport(true);

Re: 2 pagemap values in parameters

2009-12-11 Thread Douglas Ferguson
persists. On Dec 12, 2009, at 12:10 AM, Douglas Ferguson wrote: I'm still trying to sort out my class cast error, does know what might cause a value of resources? wicket:pageMapName = [people, resources] I'm seeing this when I set this: getPageSettings().setAutomaticMultiWindowSupport

Re: building tons of ajax links

2009-12-10 Thread Douglas Ferguson
() That seemed to make things a little better... D/ On Dec 10, 2009, at 1:49 AM, Per Lundholm wrote: ... or do not use ajax ... what happens when you click ... are you not taken to a search result ... might as well redraw the page. /Per On Thu, Dec 10, 2009 at 7:47 AM, Douglas Ferguson

autocomplete error after upgrade to 1.4.3

2009-12-10 Thread Douglas Ferguson
I'm getting this error from autocomplete after upgrading.. ... java.lang.ClassCastException: [Ljava.lang.String; cannot be cast to java.lang.String org.apache.wicket.request.target.coding.BookmarkablePageRequestTargetUrlCodingStrategy.decode(BookmarkablePageRequestTargetUrlCodingStrategy.java:91)

Re: autocomplete error after upgrade to 1.4.3

2009-12-10 Thread Douglas Ferguson
, Douglas Ferguson wrote: I'm getting this error from autocomplete after upgrading.. ... java.lang.ClassCastException: [Ljava.lang.String; cannot be cast to java.lang.String org.apache.wicket.request.target.coding.BookmarkablePageRequestTargetUrlCodingStrategy.decode

class cast exception when using setAutomaticMultiWindowSupport(true)

2009-12-10 Thread Douglas Ferguson
Douglas Ferguson doug...@douglasferguson.us I traced through this and there appears to be 2 items in the pagemap and I think it is related to getPageSettings().setAutomaticMultiWindowSupport(true); wicket:pageMapName = [people, resources] org.apache.wicket.markup.html.WicketEventReference

building tons of ajax links

2009-12-09 Thread Douglas Ferguson
I'm supporting some code that builds an ajax link per tag aka. tag cloud. When there are tons of tags, this can take quite some time. My guess is all the overhead in having wicket build all the callbacks for each link. Is there a way to implement a group of ajax links that share the same

Form submit error after upgrading to 4.1

2009-12-08 Thread Douglas Ferguson
I've been having some upgrade woes. I tried to upgrade to 4.3 and got the wicket:enclosure error then I rolled back to 4.1 and everything seemed fine, but I just found an error with a form that wouldn't submit. I had a drop drop that was set to required and it was preventing the form from

Re: Form submit error after upgrading to 1.4.1

2009-12-08 Thread Douglas Ferguson
I figured out that it has to do with required but not visible fields. Is this already a known issue? Also, I verified that it still exists in 1.4.4 D/ On Dec 8, 2009, at 4:32 PM, Igor Vaynberg wrote: quickstart+jira issue. -igor On Tue, Dec 8, 2009 at 2:24 PM, Douglas Ferguson doug

Re: wicket enclosure not finding child!?

2009-12-07 Thread Douglas Ferguson
, at 11:07 AM, Igor Vaynberg wrote: build it from source svn checkout mvn install -igor On Sat, Dec 5, 2009 at 7:25 AM, Douglas Ferguson doug...@douglasferguson.us wrote: What snapshot should I use? I tried using 1.4.4-SNAPSHOT but that doesn't work. and 1.4-SNAPSHOT has a date of 10/31 D

Re: wicket enclosure not finding child!?

2009-12-06 Thread Douglas Ferguson
/dependency On Dec 5, 2009, at 11:07 AM, Igor Vaynberg wrote: build it from source svn checkout mvn install -igor On Sat, Dec 5, 2009 at 7:25 AM, Douglas Ferguson doug...@douglasferguson.us wrote: What snapshot should I use? I tried using 1.4.4-SNAPSHOT but that doesn't work

Re: wicket enclosure not finding child!?

2009-12-05 Thread Douglas Ferguson
: https://issues.apache.org/jira/browse/WICKET-2519?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel Do not know, if this will fix your problem, but might be worth a try before you create a quickstart ... Douglas Ferguson wrote: Are there instructions for this? D/ On Dec 3, 2009

Re: wicket enclosure not finding child!?

2009-12-04 Thread Douglas Ferguson
=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel Do not know, if this will fix your problem, but might be worth a try before you create a quickstart ... Douglas Ferguson wrote: Are there instructions for this? D/ On Dec 3, 2009, at 4:51 PM, Igor Vaynberg wrote: create a quickstart or a testcase

Re: Has anybody seen this before?

2009-12-03 Thread Douglas Ferguson
Not intentionally, but users do the darndest things.. On Dec 3, 2009, at 12:22 AM, Igor Vaynberg wrote: do you have two query string parameters with the same name? -igor On Wed, Dec 2, 2009 at 4:11 PM, Douglas Ferguson doug...@douglasferguson.us wrote: [Ljava.lang.String; cannot be cast

wicket enclosure not finding child!?

2009-12-03 Thread Douglas Ferguson
I just upgraded to 1.4.3 from 1.4.0 and now I'm getting this: org.apache.wicket.WicketRuntimeException:Could not find child with id: mediaOutlet.namehttp://mediaOutlet.name in the wicket:enclosure org.apache.wicket.markup.html.internal.Enclosure.checkChildComponent(Enclosure.java:220)

Re: wicket enclosure not finding child!?

2009-12-03 Thread Douglas Ferguson
=mediaOutlet.name/):BR On Dec 3, 2009, at 3:43 PM, Igor Vaynberg wrote: the colon character is a path separator, if it has worked previously it was only by mistake. you should not use ids that contain : -igor On Thu, Dec 3, 2009 at 1:40 PM, Douglas Ferguson doug...@douglasferguson.us wrote

Re: wicket enclosure not finding child!?

2009-12-03 Thread Douglas Ferguson
Are there instructions for this? D/ On Dec 3, 2009, at 4:51 PM, Igor Vaynberg wrote: create a quickstart or a testcase and attach it to the jira issue -igor On Thu, Dec 3, 2009 at 2:18 PM, Douglas Ferguson doug...@douglasferguson.us wrote: I have no idea where that http: came from I

Has anybody seen this before?

2009-12-02 Thread Douglas Ferguson
[Ljava.lang.String; cannot be cast to java.lang.String java.lang.ClassCastException:[Ljava.lang.String; cannot be cast to java.lang.String

Re: strange error

2009-11-20 Thread Douglas Ferguson
and clicking stale links on the page. We get this whenever googlebot or similar browses our pages. ** Martin 2009/11/20 Douglas Ferguson doug...@douglasferguson.us: I am able to consistently reproduce this but only on win xp. D/ On Nov 19, 2009, at 4:27 PM, Douglas Ferguson wrote: I have

Re: request scoped variables

2009-11-20 Thread Douglas Ferguson
of LoadableDetachable is that you load it once and reuse it until detached, at least this is how LDM works. -igor On Thu, Nov 19, 2009 at 2:50 PM, Douglas Ferguson doug...@douglasferguson.us wrote: I am maintaining an app that is written in wicket. When a user logs in the userId is stored on the session

Re: strange error

2009-11-20 Thread Douglas Ferguson
production site, how can you reproduce it? My guess is that it somehow relates to invalid session and clicking stale links on the page. We get this whenever googlebot or similar browses our pages. ** Martin 2009/11/20 Douglas Ferguson doug...@douglasferguson.us: I am able to consistently

Re: request scoped variables

2009-11-20 Thread Douglas Ferguson
every request if it is lightweight? It seems you have a problem elsewhere? Maybe you have problems with object equalities etc? YOu can override MySession.detach to detach it. ** Martin 2009/11/20 Douglas Ferguson doug...@douglasferguson.us: Yeah, but how to I guarantee

Re: strange error

2009-11-20 Thread Douglas Ferguson
Does anybody have any idea of how to debug this? I.E. A component is visible in the screen but when clicked wicket barfs. D/ On Nov 20, 2009, at 9:28 AM, Douglas Ferguson wrote: I load the app and hit an ajax link. It is a specific ajax link that fails not all.. On Nov 20, 2009, at 9

3rd party js wicket

2009-11-20 Thread Douglas Ferguson
Hey, I added a third party js to my MainPage class, which is the base class for all my pages (header, footer, etc). This js has 2 sections. One goes to the top of the body tag and then the other at the bottom of the body tag. Now the requirement has come that I need to add the js to only 1

Re: strange error

2009-11-20 Thread Douglas Ferguson
20, 2009 at 3:30 PM, Douglas Ferguson doug...@douglasferguson.us wrote: Does anybody have any idea of how to debug this? I.E. A component is visible in the screen but when clicked wicket barfs. D/ On Nov 20, 2009, at 9:28 AM, Douglas Ferguson wrote: I load the app and hit an ajax link

Re: request scoped variables

2009-11-20 Thread Douglas Ferguson
elsewhere? Maybe you have problems with object equalities etc? YOu can override MySession.detach to detach it. ** Martin 2009/11/20 Douglas Ferguson doug...@douglasferguson.us: Yeah, but how to I guarantee that it will be detached and reloaded on every request. Also, the application

Re: 3rd party js wicket

2009-11-20 Thread Douglas Ferguson
put the script into wicket:container tags instead of div tags, wicket:container tags render into nothing. -igor On Fri, Nov 20, 2009 at 12:43 PM, Douglas Ferguson doug...@douglasferguson.us wrote: Hey, I added a third party js to my MainPage class, which is the base class for all my pages

Re: strange error

2009-11-20 Thread Douglas Ferguson
On Nov 20, 2009, at 2:47 PM, Douglas Ferguson wrote: On Nov 20, 2009, at 2:42 PM, Martijn Dashorst wrote: Probably you have a repeater serving out those ajax thingies. 1. Make sure you have a reuse items strategy set What is this? Ok. I investigated and we are sub classes DataView, so

request scoped variables

2009-11-19 Thread Douglas Ferguson
is there a best practice for request scoped variables in wicket? D/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

strange error

2009-11-19 Thread Douglas Ferguson
I have a user who is reporting a really strange error. The error seems to indicate that the a component is not on the page when it is visible on the page. The error is also intermittent. D/ Nov 19 16:06:56 ERROR [TP-Processor28] errors.NotifyUserOfException -

Re: request scoped variables

2009-11-19 Thread Douglas Ferguson
19, 2009 at 1:51 PM, Douglas Ferguson doug...@douglasferguson.us wrote: is there a best practice for request scoped variables in wicket? D/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional

Re: strange error

2009-11-19 Thread Douglas Ferguson
I am able to consistently reproduce this but only on win xp. D/ On Nov 19, 2009, at 4:27 PM, Douglas Ferguson wrote: I have a user who is reporting a really strange error. The error seems to indicate that the a component is not on the page when it is visible on the page. The error is also

Serialization Error

2009-11-03 Thread Douglas Ferguson
I'm getting a serialization error in my logs: Nov 03 23:00:01 ERROR [TP-Processor34] lang.Objects - Error serializing object class com.conducive.ui.userPages.monitor.manage.MonitorsManagePage [object=[Page class = com.conducive.ui.userPages.monitor.manage.MonitorsManagePage, id = 120, version

migrating to 1.5

2009-10-29 Thread Douglas Ferguson
From what I've read 1.5 is going to be a big departure. Do you guys have any early indication of what the migration impact will be like? - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands,

wicket:enclosure ( setting visible when hidden on render )

2009-10-22 Thread Douglas Ferguson
I have a component that is wrapped with a wicket enclosure. When the page is rendered I set the component visible(false) which make the entire wicket enclosure hidden. Then I set visible(true) during runtime and at the component to the AjaxTarget. The component is not rendered. Is there a

Re: Page instantiated twice

2009-10-20 Thread Douglas Ferguson
You can also check your html to make sure there aren't any urls that would get loaded by the browser. i.e. link, img, etc tags.. D/ On Oct 20, 2009, at 4:39 PM, Jeremy Thomerson wrote: Have you followed the suggestions in this thread? First, put a breakpoint to see what's instantiating

Re: Audit Trail For Fatal Error

2009-10-20 Thread Douglas Ferguson
can set pagemape error analysis environment to reproduce the user steps, seems possible... On Tue, Oct 20, 2009 at 6:15 PM, Douglas Ferguson doug...@douglasferguson.us wrote: I have a feature on our error page where users can submit a bug if they get a fatal error. In some cases the stack

Re: Hippo's patch for wicket ids

2009-10-19 Thread Douglas Ferguson
is that it makes your markup longer and that it will take slightly more cpu because the page-relative path has to be computed for every component on the page. -igor On Thu, Oct 15, 2009 at 9:04 AM, Douglas Ferguson doug...@douglasferguson.us wrote: Is there any drawback to using this in production

Re: Hippo's patch for wicket ids

2009-10-19 Thread Douglas Ferguson
Ah... I guess you can't use the selenium recorder then. D/ On Oct 19, 2009, at 3:43 PM, Igor Vaynberg wrote: you have to write your selenium tests to use that attribute instead of the component id. -igor On Mon, Oct 19, 2009 at 1:39 PM, Douglas Ferguson doug...@douglasferguson.us wrote

Re: Hippo's patch for wicket ids

2009-10-19 Thread Douglas Ferguson
to write your selenium tests to use that attribute instead of the component id. -igor On Mon, Oct 19, 2009 at 1:39 PM, Douglas Ferguson doug...@douglasferguson.us wrote: I added this: getDebugSettings().setOutputComponentPath(true); to my init() method but selenium is still not happy. Do

Re: Reporting Framework Wicket

2009-10-18 Thread Douglas Ferguson
though :) http://images.google.dk/images?client=firefox-arls=org.mozilla%3Aen-US%3Aofficialhl=dasource=hpq=jfreechartsbtnG=S%C3%B8g+i+billedergbv=2aq=foq= 2009/10/17 Douglas Ferguson doug...@douglasferguson.us I have to admit, I've never used Jasper or NexReports, so I'm not sure I follow

Re: Reporting Framework Wicket

2009-10-16 Thread Douglas Ferguson
(createParameterValues()) .formatAs(ReportRunner.HTML_FORMAT) .run(stream); Douglas Ferguson-2 wrote: Hey, I'm starting to look into reporting frameworks and was curious if anybody had successfully integrated with wicket? Are there any off the shelf integrations or will I have

Re: Reporting Framework Wicket

2009-10-15 Thread Douglas Ferguson
...) On Wed, Oct 14, 2009 at 6:08 PM, Douglas Ferguson doug...@douglasferguson.us wrote: Hey, I'm starting to look into reporting frameworks and was curious if anybody had successfully integrated with wicket? Are there any off the shelf integrations or will I have to roll my own? D

Re: Hippo's patch for wicket ids

2009-10-15 Thread Douglas Ferguson
...@jalbum.net wrote: Ok, I'm lazy and couldn't decipher that code at a glance. What does it do? // Daniel jalbum.net On 2009-10-15, at 03:09, Douglas Ferguson wrote: Has anybody seen this: http://www.onehippo.org/cms7/integration_testing.html Seems like a nice alternative vs. having

Reporting Framework Wicket

2009-10-14 Thread Douglas Ferguson
Hey, I'm starting to look into reporting frameworks and was curious if anybody had successfully integrated with wicket? Are there any off the shelf integrations or will I have to roll my own? D/ - To unsubscribe, e-mail:

Wicket Bench Selenium Tests

2009-10-14 Thread Douglas Ferguson
I'm getting the following error when I try to run a wicket bench selenium test. Exception in thread main java.lang.NoClassDefFoundError: org/mortbay/ http/HttpHandler at wicketbench.runner.Main.main(Main.java:14) Caused by: java.lang.ClassNotFoundException: org.mortbay.http.HttpHandler

Re: Wicket Bench Selenium Tests

2009-10-14 Thread Douglas Ferguson
For that matter, I'm not totally married to WicketBench, is anybody else successfully doing functional testing with wicket? D/ On Oct 14, 2009, at 2:54 PM, Douglas Ferguson wrote: I'm getting the following error when I try to run a wicket bench selenium test. Exception in thread main

Hippo's patch for wicket ids

2009-10-14 Thread Douglas Ferguson
Has anybody seen this: http://www.onehippo.org/cms7/integration_testing.html Seems like a nice alternative vs. having to set markupIds on all components. Thoughts? They have a patch for wicket: Index: jdk-1.4/wicket/src/main/java/org/apache/wicket/Session.java

AutoCompleteTextField Generics

2009-10-12 Thread Douglas Ferguson
Has anybody else had problems with AutoCompleteTextField and generics. It almost seems like I'm dealing with an eclipse bug. But basically if I call behavior.getChoices.add(xxx) it is always highlighted in red because, I am restricted by the model use T but the list wants ? extends T. D/

scroll position

2009-10-08 Thread Douglas Ferguson
I have a DataView that I add to the ajax target on a timer, so that data can be refreshed as loaded by a background process. If the user is view the data and scrolls down, the scroll bar is reset to the top when the timer refreshes the view. The only solution I can come up with is to set

Re: hide pagination

2009-10-08 Thread Douglas Ferguson
I override the onRender and set visibility conditionally. However, you have to remember to set visible in your page redraws or else wicket won't even bother calling the onRender method If you need, I can send you code. On Oct 8, 2009, at 7:18 PM, tubin gen wrote: I am using dataview which

Re: Ajax-Response xml to browser - DatePicker

2009-10-07 Thread Douglas Ferguson
Bump On Oct 6, 2009, at 9:20 PM, Douglas Ferguson wrote: Has anybody seen this before? On Oct 6, 2009, at 2:13 AM, Douglas Ferguson wrote: I'm seeing something really strange. I'm using DatePicker and sometimes when I click on it. I get a temporary screen that has the following text

Re: wicket bench 1.4

2009-10-07 Thread Douglas Ferguson
/10/7 Douglas Ferguson doug...@douglasferguson.us Does wicket bench work with wicket 1.4? - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: Ajax-Response xml to browser - DatePicker

2009-10-07 Thread Douglas Ferguson
/ On Oct 7, 2009, at 2:46 AM, Douglas Ferguson wrote: Bump On Oct 6, 2009, at 9:20 PM, Douglas Ferguson wrote: Has anybody seen this before? On Oct 6, 2009, at 2:13 AM, Douglas Ferguson wrote: I'm seeing something really strange. I'm using DatePicker and sometimes when I click on it. I get

Ajax-Response xml to browser - DatePicker

2009-10-06 Thread Douglas Ferguson
I'm seeing something really strange. I'm using DatePicker and sometimes when I click on it. I get a temporary screen that has the following text: If you see this, it means that both javascript and meta-refresh are not supported by your browser configuration. Please click this link to

wicket bench 1.4

2009-10-06 Thread Douglas Ferguson
Does wicket bench work with wicket 1.4? - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: Ajax-Response xml to browser - DatePicker

2009-10-06 Thread Douglas Ferguson
Has anybody seen this before? On Oct 6, 2009, at 2:13 AM, Douglas Ferguson wrote: I'm seeing something really strange. I'm using DatePicker and sometimes when I click on it. I get a temporary screen that has the following text: If you see this, it means that both javascript and meta

Issue with URL for

2009-10-05 Thread Douglas Ferguson
I'm using final String loginUrl = RequestUtils.toAbsolutePath(urlFor(PAGE_CLASS.class, null).toString()); It generates this link, without my domain. http://PageClass/urlKey/urlValue/etc/etc/

Re: Issue with URL for

2009-10-05 Thread Douglas Ferguson
Ok.. I just realized that the issue is when the link is generated on a page with Params. i.e. http://www.mysite.com/Page/Parm1/Value 1 but is works fine if you have http://www.mysite.com/Page On Oct 5, 2009, at 5:52 PM, Douglas Ferguson wrote: I'm using final String loginUrl

Re: Issue with URL for

2009-10-05 Thread Douglas Ferguson
Ok.. This is really odd. This urlFor(PAGE_CLASS.class, null).toString( is spitting out ../../MyPage If I have query params. Then RequestUtils.toAbsolutePath() decides to managle it further. On Oct 5, 2009, at 6:26 PM, Douglas Ferguson wrote: Ok.. I just realized that the issue is when

Pagemap locked

2009-10-03 Thread Douglas Ferguson
I am getting seeing the following stack, but I'm not sure what the client is doing to cause this. Is there anyway I can tie this to the request logger to try and determine what they were doing that locked the pagemap? Thanks, java.io.FileOutputStream MIME-Version: 1.0 Content-Type:

Re: Preventing Copy Pasting URL's In Same Browser Session

2009-10-02 Thread Douglas Ferguson
Added this field and notice that it writes additional params to the url for pagemap. Preliminary testing indicated that the page map url parameter doesn't have to exist. Are there any concerns with using this option? Douglas On Oct 1, 2009, at 7:14 PM, Douglas Ferguson wrote: What

Re: Preventing Copy Pasting URL's In Same Browser Session

2009-10-02 Thread Douglas Ferguson
Are there no pros and cons of using this? On Oct 2, 2009, at 11:39 AM, Douglas Ferguson wrote: Added this field and notice that it writes additional params to the url for pagemap. Preliminary testing indicated that the page map url parameter doesn't have to exist. Are there any concerns

setAutomaticMultiWindowSupport SecondLevelCacheSessionStore

2009-10-02 Thread Douglas Ferguson
I see this in the JavaDoc for setAutomaticMultiWindowSupport If two windows would share the same page map, the non-bookmarkable links on one window could refer to stale state after working a while in the other window. I am getting some bug reports from clients and I think they they are

Re: AjaxPagingNavigation

2009-10-01 Thread Douglas Ferguson
for ajax return an AjaxPagingNavigation. That is what your links don't work asynchronously. On Wed, Sep 30, 2009 at 8:49 PM, Douglas Ferguson doug...@douglasferguson.us wrote: I just realized that this might be what you wanted to know.. a class=font-xsmall title=Go to page 2 wicket:id

Re: Preventing Copy Pasting URL's In Same Browser Session

2009-10-01 Thread Douglas Ferguson
What are the implications of turning this one? D/ On Sep 30, 2009, at 1:23 AM, Igor Vaynberg wrote: the javadoc in the later versions mentions that it is enabled by default, however if you are using the default secondlevel caching page store it will be disabled... -igor On Tue, Sep 29,

Re: AjaxPagingNavigation

2009-09-30 Thread Douglas Ferguson
with /?wicket:interface=:3:4::: You refers to html A tag generated by navigations links. What you got on onclick tag attribute on your rendered page? On Mon, Sep 28, 2009 at 9:57 PM, Douglas Ferguson doug...@douglasferguson.us wrote: I'm using the AjaxPagingNavigation component and it works well

Re: AjaxPagingNavigation

2009-09-30 Thread Douglas Ferguson
send us some code? I'm curios to see the html code generated to link on your page. On Wed, Sep 30, 2009 at 3:59 PM, Douglas Ferguson doug...@douglasferguson.us wrote: That's my point. If your url is getting replaced, then it isn't using ajax. It is redrawing the page. D/ On Sep 29

Re: AjaxPagingNavigation

2009-09-30 Thread Douglas Ferguson
wrote: Ok, it is a bug. Could you send us some code? I'm curios to see the html code generated to link on your page. On Wed, Sep 30, 2009 at 3:59 PM, Douglas Ferguson doug...@douglasferguson.us wrote: That's my point. If your url is getting replaced, then it isn't using ajax

Re: AjaxPagingNavigation

2009-09-29 Thread Douglas Ferguson
Is anybody successfully using this and witnessing ajax calls? I can't figure out why it isn't using Ajax as the name implies. I tried overriding the onAjaxEvent method, but it is never called. Douglas On Sep 28, 2009, at 7:57 PM, Douglas Ferguson wrote: I'm using the AjaxPagingNavigation

AjaxPagingNavigation

2009-09-28 Thread Douglas Ferguson
I'm using the AjaxPagingNavigation component and it works well, but when I click on one of the links, my url is replaced with /?wicket:interface=:3:4::: This is making me thing that the entire page is getting replaced and not using ajax. Is is possible to get IPagingNavigationIncrementLink

Property Models

2009-09-07 Thread Douglas Ferguson
If I have a have this: CompoundPropertyModel(Person) PropertyModel(Person, name); Would this be accurate? CompoundPropertyModelPerson PropertyModelString -assuming name is a string - To unsubscribe, e-mail:

ajax - navigate to new location

2009-09-03 Thread Douglas Ferguson
target.prependJavascript(window.location.href=google.com); Is there a better way of doing this?

UTF-8

2009-08-31 Thread Douglas Ferguson
Is there a documented process for enabling UTF-8 in wicket? D/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: UTF-8

2009-08-31 Thread Douglas Ferguson
Excellent. I saw a bunch of emails floating around saying that you'd have to also 1) Edit connectors in server.xml and add URIEncoding=UTF-8 2) Call request.setCharacterEncoding(UTF-8) (at the very beginning of the cycle) Are those also necessary? I'm assuming that I'll need these: property

Re: guice-injection on page vs. components

2009-06-25 Thread Douglas Ferguson
If this is the case then why aren't components effected? D/ On 6/25/09 2:04 PM, Mauro Ciancio maurocian...@gmail.com wrote: On Wed, Jun 24, 2009 at 1:38 PM, Aaron Dixon atdi...@gmail.com wrote: org.apache.wicket.util.io.SerializableChecker$WicketNotSerializableException: Unable to

IResourceStreamWriter

2009-05-28 Thread Douglas Ferguson
Has anybody tried to use a an impl of IResourceStreamWriter? I created one and I have a link that set this to the RequestCyle in an on click. When I click the link, nothing happens in the browser, but I can use a debugger and see the impl get called and my code is writting to the

<    1   2   3   4   >