Re: AjaxFallbackLink Text

2009-06-28 Thread Martijn Dashorst
It is for an object you can use in the onclick handler. new AjaxFallbackLink("oo", new Model(person)) { onclick() { Person p = getModelObject(); p.delete(); } } to display dynamic text inside the link, just nest a Label component inside the link. Link link = new Link(..

Re: JPetStore or equivalent examples

2009-06-26 Thread Martijn Dashorst
search the list for wicket-phonebook, look at the example code for wicket in action (http://wicketinaction.com), and/or jtrac. Martijn On Fri, Jun 26, 2009 at 10:47 AM, Rory Graves wrote: > Hi, > I'm new to wicket and was looking for some good example projects.  I found > the wicket-examples, but

Re: Migration of wicket-ki-security to wicket-shiro-security

2009-06-26 Thread Martijn Dashorst
I think we have an attic for abandoned projects. Martijn On Fri, Jun 26, 2009 at 10:23 AM, Tauren Mills wrote: > I've created a new project in WicketStuff for wicket-shiro-security: > https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-core/shiro-security/ > > This pro

Re: [announce] Wicket 1.4-RC5 released

2009-06-24 Thread Martijn Dashorst
couple of hours On Wed, Jun 24, 2009 at 10:24 PM, Jeremy Thomerson wrote: > How long does that take to go into effect?  It's not out there yet. > > Thanks! > > -- > Jeremy Thomerson > http://www.wickettraining.com > > > > > On Wed, Jun 24, 2009 at 2

Re: [announce] Wicket 1.4-RC5 released

2009-06-24 Thread Martijn Dashorst
I've exported the whole space. I think infra might be doing some stuff. Confluence hasn't been updated in 3 years or so. They had to re-implement the export plugin and upgrade the whole bunch. Perhaps they are migrating stuff... I dunno Martijn On Wed, Jun 24, 2009 at 6:59 PM, Jeremy Thomerson wr

Re: AttributeModifier not added to a ListView item via an AjaxLink

2009-06-24 Thread Martijn Dashorst
or *always* add the attribute modifier and only output the class value when needed. Martijn On Wed, Jun 24, 2009 at 5:13 PM, Martijn Dashorst wrote: > listview.setReuseItems(true) > > Martijn > > On Wed, Jun 24, 2009 at 5:03 PM, Azzeddine Daddah wrote: >> Thanks again Vasu,

Re: AttributeModifier not added to a ListView item via an AjaxLink

2009-06-24 Thread Martijn Dashorst
listview.setReuseItems(true) Martijn On Wed, Jun 24, 2009 at 5:03 PM, Azzeddine Daddah wrote: > Thanks again Vasu, > > I've tried your solution but it does not work yet. Below my code: > > public TestPage() { >        final WebMarkupContainer container = new > WebMarkupContainer("container"); >  

Call to action: find and fix errata in 1.4 JavaDoc

2009-06-23 Thread Martijn Dashorst
Many of our JavaDoc examples are still Wicket 1.3 based. For example, just yesterday I found the JavaDoc for Link to contain an unnecessary cast. Before we finalize 1.4, we should try to fix all javadoc examples (mostly in components) to ensure they are up to par with 1.4. As the core team we can

Who went to the GWT vs Wicket presentation in Normandy and wants to share their findings?

2009-06-18 Thread Martijn Dashorst
There's been quite some announcements going across twitter, but no conclusion... Martijn - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: Usage DiskPageStore causes Session Swapping

2009-06-17 Thread Martijn Dashorst
I think we squashed a lingering thread local in 1.3.6 during request detaching, which could cause this to happen. Martijn On Wed, Jun 17, 2009 at 8:52 PM, Matej Knopp wrote: > Latest  release in 1.3 branch is 1.3.6. > > -Matej > > On Wed, Jun 17, 2009 at 8:48 PM, > rajendar.medishetty wrote: >> >

Re: DAO not getting injected, using springbean

2009-06-16 Thread Martijn Dashorst
However, you should let spring handle that one, as it is already a spring managed bean. Martijn On Tue, Jun 16, 2009 at 9:34 PM, Martijn Dashorst wrote: > @SpringBean only works with Components. For all other uses you should > either call InjectorHolder.getInjector().inject(this) i

Re: DAO not getting injected, using springbean

2009-06-16 Thread Martijn Dashorst
@SpringBean only works with Components. For all other uses you should either call InjectorHolder.getInjector().inject(this) in your constructor or use Salve. Martijn On Tue, Jun 16, 2009 at 9:26 PM, Bruce McGuire wrote: > Hello. > > I have created a new small project to try to figure out how to u

Re: Does @Transactional work on a Wicket Component's methods?

2009-06-16 Thread Martijn Dashorst
You'll need the AspectJ AOP support for this. Wicket components aren't Spring beans. Martijn On Tue, Jun 16, 2009 at 10:09 AM, Ben Hutchison wrote: > Hi all, > > We are using the Spring @Transactional annotation on a method of a Wicket > Panel, and it does not appear to be doing anything. From so

Re: what's too big for a session size?

2009-06-15 Thread Martijn Dashorst
Sessionsize recording is rather expensive, I wouldn't turn that on unless you're hunting for something. So the request times should be taken with a jar of salt. Session size per se is not the only factor. A session size of 1MiB can be perfectly ok, which would still support 1k users on one box giv

Fwd: [ANN] Maven Eclipse Plugin 2.7 Released

2009-06-14 Thread Martijn Dashorst
The Maven Eclipse plugin version 2.7 has been released, fixing the regression in functionality of 2.6 where Wicket resources (*.html, *.js, *.properties, etc) were not copied to the classpath. This release fixes that, and we can now all relax ;) Thanks to Barrie and other Maven devs for investing

Re: Noob question: error on quickstart project with maven 2.1.0 and wicket 1.3.6

2009-06-13 Thread Martijn Dashorst
fill in version 2.5.1 in the ecliipse plugin configuration in your pom. Maven automatically downloaded and used 2.6 for you, which is completely and utterly borked. 2.7 is almost out, so in the near future things will return to normal, but in the mean time you'll need to fix your pom to use maven-e

Re: AW: wicket on java server

2009-06-10 Thread Martijn Dashorst
y strange request.  Government? > > On Jun 10, 2009 8:37 AM, "Dorothée Giernoth" > wrote: > > It is not my choice ... I just have to make it work, so I thought there are > certain specifications that would make it work. > > > > -Ursprüngliche Nachricht--

Re: AW: inserting urls in script variables

2009-06-10 Thread Martijn Dashorst
e the url of the page, not the downloadlink. > > On 10 Jun, at 11:46, Martijn Dashorst wrote: > >> urlFor(dlink)? >> >> Martijn >> >> On Wed, Jun 10, 2009 at 11:27 AM, Bas Vroling wrote: >>> >>> Ok, that is starting to work, thanks

Re: AW: inserting urls in script variables

2009-06-10 Thread Martijn Dashorst
actual URL of the > dlink model in there? > > On 10 Jun, at 10:48, Martijn Dashorst wrote: > >> >> >> add(new WebMarkupContainer("filename").add(new >> SimpleAttributeModifier("value", ...))); >> >> On Wed, Jun 10, 2009 at 9:57 AM,

Re: wicket on java server

2009-06-10 Thread Martijn Dashorst
Instead of writing your own server, take a look at either: - embedding jetty or tomcat - using osgi as a server platform (spring has an offering, or you could roll your own and use any of the servlet bundles that are available) Martijn 2009/6/10 Dorothée Giernoth : > Now that helped. Thnx. > >

Re: AW: inserting urls in script variables

2009-06-10 Thread Martijn Dashorst
add(new WebMarkupContainer("filename").add(new SimpleAttributeModifier("value", ...))); On Wed, Jun 10, 2009 at 9:57 AM, Bas Vroling wrote: > If I set setRenderBodyOnly(true) it doesn't work either, and then it > shouldn't complain anymore. (wicket is the one complaining, not the applet > btw) >

Re: PropertyModel property expression fallback

2009-06-09 Thread Martijn Dashorst
Just create a method House#getFirstResident() that return null if there's none. And the generic type of the model should be the type that is the result of getObject(). Martijn On Tue, Jun 9, 2009 at 7:42 PM, Guillaume Simard wrote: > Hi everyone ! > I have two questions. > > First, I have a Prop

Re: Long JPA-Transactions (was: JPA EntityManager storage)

2009-06-09 Thread Martijn Dashorst
On Tue, Jun 9, 2009 at 5:12 PM, Martin Makundi wrote: > I say that for most cases, spring is your "premature optimization". Having gone through 3 weeks of connection leak hunting because we reasoned like this and implemented our own connection and transaction management solution (Not Invented Here

Re: Long JPA-Transactions (was: JPA EntityManager storage)

2009-06-09 Thread Martijn Dashorst
I tend to side with James. Though it seems like something you can quickly pull out of your hat, transaction demarcation in combination with proper connection pooling in web applications is something you'd better get from a well tested, widely used framework rather than suffer from NIH syndrome. Bee

Re: close button for a page

2009-06-02 Thread Martijn Dashorst
or: somewhere in your markup. Martijn On Tue, Jun 2, 2009 at 8:34 PM, Igor Vaynberg wrote: > add(new webmarkupcontainer("close") { oncomponenttag(tag) { > tag.put("onclick", "window.close();"); }}); > close > > -igor > > On Tue, Jun 2, 2009 at 11:18 AM, Eyal Golan wrote: >> Hello, >> How do

Re: OutOfMemory on certain combinations of controls

2009-05-30 Thread Martijn Dashorst
Please file a jira issue and Attach the quickstart. Saves a lot of hunting. Use the power of jira! Martijn On Friday, May 29, 2009, Flavius wrote: > > > I put a quickstart build up at http://silverlion.com/tmp2/OutOfMemory.zip. > > Just unzip it, change to that dir and run mvn jetty:run and go

Re: AjaxLazyLoadPanel fallback version?

2009-05-29 Thread Martijn Dashorst
It's called Panel. Either your users have to have javascript enabled and you can use LazyLoadPanel, or you have to use direct Panel's. There is no way to lazy load anything without having to resort to JavaScript. Think about it. How could you instruct the browser to retrieve and replace a part of

Re: wicket logo

2009-05-29 Thread Martijn Dashorst
On Wed, May 27, 2009 at 8:09 AM, Luther Baker wrote: > Is there an official Wicket website badge? Nope. > Any problems with dropping the orange Wicket logo into a "Power By Wicket" > slogan at the bottom of a site? Unfortunately, yes. This is something the Apache PRC committee is being very ana

Re: singletons, pools, wicket, web services and architecture

2009-05-28 Thread Martijn Dashorst
Might be a dumb question, but why not make your wicket front end use the JAX-WS services as well? Martijn On Thu, May 28, 2009 at 10:01 PM, Christopher L Merrill wrote: > I've got a few questions that are somewhat general to web development, > but since we've chosen Wicket as one of our front-en

Re: How do I reuse a rendered string, i.e. render once and past in multiple locations, e.g. paging nav at top and bottom?

2009-05-27 Thread Martijn Dashorst
You don't. Did a profiler tell you that this is a hotspot? Or are you optimizing for optimizing's sake? Martijn On Wed, May 27, 2009 at 9:53 PM, J.-F. Rompre wrote: >  I am trying to do something that should be easy to do, and may already be >  available from the API (I am still usin 1.3.5). > >

Re: Ordering a list component?

2009-05-27 Thread Martijn Dashorst
ListView has up and down links incorporated. I haven't used them, so I didn't document their use in WIA. You could take a look at them... see ListView#moveUpLink() They're not ajaxy enabled, but I think you can use them in a: kind of way. Martijn On Wed, May 27, 2009 at 5:04 PM, Philli

Re: How to receive digested emails once a day from this mailing list ???

2009-05-27 Thread Martijn Dashorst
Not sure if it is possible, but try sending a message to users-h...@wicket.apache.org, and see if it is an option... Martijn On Wed, May 27, 2009 at 5:06 PM, David Chang wrote: > > I am new to this mailing list and I like it very much. I like the active > community and the questions and answers

Re: Storing css and image files

2009-05-27 Thread Martijn Dashorst
This only refers to component (page) specific resources. Not global resources for your application. If you want to create reusable components/pages that you can share between projects, then they need to be on the classpath. If you have a app specific CSS that you include from your app specific Base

Re: Problem passing anonym-classes-models to pages

2009-05-27 Thread Martijn Dashorst
Don't pass IModels around, use the model values they represent. Unless of course, you know what you are doing. For example, if you share a Model between two pages, it actually becomes two different instances after being passed on: one in the first page PageA (serialized with PageA), and one in the

Re: DownloadLink (Javadoc)

2009-05-26 Thread Martijn Dashorst
Read the free downloadable bonus chapter 15 to WIA, downloadable from http://wicketinaction.com/downloads This explains all this stuff, including setting up your Eclipse workspace from maven, and running the embedded Jetty server. Martijn On Tue, May 26, 2009 at 4:52 PM, David Brown wrote: > He

Re: Storing css and image files

2009-05-26 Thread Martijn Dashorst
rtijn On Mon, May 25, 2009 at 6:38 PM, Luther Baker wrote: > **On Mon, May 25, 2009 at 2:34 AM, Martijn Dashorst < > martijn.dasho...@gmail.com> wrote: > >> or, if these images and css are for your application, and application >> wide (i.e. all pages include them), you coul

Re: Storing css and image files

2009-05-25 Thread Martijn Dashorst
or, if these images and css are for your application, and application wide (i.e. all pages include them), you could put them in src/main/webapp/.. and just them in your markup. Martijn On Sun, May 24, 2009 at 6:17 PM, Lucas Bonansea wrote: > Thanks for the responses, I'll try them out > >

Re: Separating Development and Deployment

2009-05-23 Thread Martijn Dashorst
ation depending on the > environment. I suppose I could store the connection information for both, > and then select one based on the Wicket configuration, though that sounds a > little hack-ish. > > On Wed, May 20, 2009 at 11:51 AM, Martijn Dashorst < > martijn.dasho...@gmail.com> wr

Re: Separating Development and Deployment

2009-05-20 Thread Martijn Dashorst
Set a system property in your server config or startup script that tells wicket it's running in deployment mode. -Dwicket.configuration=deployment is all there's to it. Martijn On Wed, May 20, 2009 at 6:40 PM, Dane Laverty wrote: > I've got my project set up to deploy with Maven's Tomcat plugin

Re: Building 1.3.6 from the source, test failures

2009-05-19 Thread Martijn Dashorst
t; On Mon, May 18, 2009, Martijn Dashorst wrote: > > [quote order fixed] >> On Mon, May 18, 2009 at 4:49 PM, Martin Dietze wrote: > >> >  I just checked out wicket 1.3.6 from the svn, changed into the >> > wicket-1.3.6 directory, ran `mvn package' and ran across t

Re: Building 1.3.6 from the source, test failures

2009-05-18 Thread Martijn Dashorst
Don't run the tests with java 6 Martijn On Mon, May 18, 2009 at 4:49 PM, Martin Dietze wrote: > Hi, > >  I just checked out wicket 1.3.6 from the svn, changed into the > wicket-1.3.6 directory, ran `mvn package' and ran across these > test failures: > > Failed tests: >  test_1(org.apache.wicket.

Re: Wizard, checkGroup and check

2009-05-14 Thread Martijn Dashorst
upgrading to a newer version is always preferred as a first measure. Martijn On Fri, May 15, 2009 at 1:12 AM, Igor Vaynberg wrote: > you can search jira for all known issues, i dont remember all of them > from the top of my head :) > > -igor > > On Thu, May 14, 2009 at 4:09 PM, Fernando Wermus >

Re: Component creation and initialization

2009-05-14 Thread Martijn Dashorst
This has been discussed till death previously and we have excluded it from our roadmap. We will never have an init() method for components. Gossling gave us a Constructor to initialize your Objects. Search and read the archives if you want more information on the subject. Martijn On Fri, May 15,

Re: FileUploadFile FileNotFoundException (Wicket 1.3.5)

2009-05-14 Thread Martijn Dashorst
Why are you looking up the client filename? Do you have access the the remote computer your user is on? Martijn On Thu, May 14, 2009 at 10:53 AM, Stefan Droog wrote: > Hi all, > > Currently I want to upload a file via FileUploadField. However when I select > a file and press upload I get a File

Re: possible bug

2009-05-12 Thread Martijn Dashorst
Nope. This is not a bug in wicket, but a bug in your configuration or the oracle parser. Either don't use the oracle xml parser, configure it to use the correct DOM tree parser, ensure you can use another parser next to the oracle parser or don't use xml property files. Apparently XMLComment does

Re: Out Of Memory with Websphere 6.1 & Wicket 1.3.5

2009-05-11 Thread Martijn Dashorst
*ALWAYS* start with deployment mode and *enable* stuff from development mode. Never start with development mode and disable stuff. This is bound to get you into trouble as we are adding new features to development mode to make the life of developers more easy. Martijn On Mon, May 11, 2009 at 4:24

Re: 60% waste

2009-05-08 Thread Martijn Dashorst
See jdave-wicket for better test support. Slated to come to you in Wicket 1.5 Martijn On Fri, May 8, 2009 at 5:48 PM, Martin Makundi wrote: > Hi! > > I use TDD: I spend 60% of my time type-checking and path-checking my > wicketTests and components. > > I always have the wrong path and I must pri

Re: Eelco's wicket-contrib-navmenu revival? OR: Doing menus in Wicket...

2009-05-08 Thread Martijn Dashorst
Wicket in Action does discuss menus: see page 185 (index entry: menu), though not multilevel menus. Just take a look at YUI-menu or some jquery plugin for menus. The reason for not continuing the menu component is that there are enough alternatives available for rendering a menu. And most folks wa

Re: Pimp your Wicket app!

2009-05-07 Thread Martijn Dashorst
To start myself: Name of your application: Vocus Industry: education Intranet or internet: [ ] intranet [X] internet Public or private site: [ ] public [X] private [ ] both Average number of concurrent users: 400 Max number of concurrent users you have encountered: 500 Average number of Wicket se

Pimp your Wicket app!

2009-05-07 Thread Martijn Dashorst
I (and possibly the rest of the Wicket community) would like to know more about your deployed Wicket applications. Even though we have a page that enables everyone to list their Wicket application, it lacks the details we all crave for. So I'd like to invite everyone to share their setup with us.

Re: unsubcribe

2009-05-06 Thread Martijn Dashorst
No worries... get well soon and then unsubscribe properly :) Martijn On Tue, May 5, 2009 at 11:14 PM, Clint Popetz wrote: > Oh, the shame.  My only excuse is that the drugs for a sickness were > stronger than expected, and I shouldn't have been typing then (or now, > likely.)   My apologies none

Re: Internationalized titles

2009-05-04 Thread Martijn Dashorst
why not use a ? Martijn On Mon, May 4, 2009 at 8:08 PM, Jeremy Thomerson wrote: > add(new Label("appTitle", new ResourceModel("your.title.key")); > > also, change your html: > this will be replaced > > Of course, if you don't use markup inheritance, you'll need to repeat > this throughout each

Re: Share Localization across many pages/componets

2009-05-03 Thread Martijn Dashorst
and use in your pages... but it seems you already found this one :) Martijn On Fri, May 1, 2009 at 4:45 PM, Jeremy Thomerson wrote: > Typically you should avoid this raw data push / pull and instead use a > ResourceModel. > > -- > Jeremy Thomerson > http://www.wickettraining.com > > > > > On Fr

Re: Analyzing Request Logger

2009-05-01 Thread Martijn Dashorst
GiB vs GB Martijn On Thu, Apr 30, 2009 at 11:58 PM, Douglas Ferguson wrote: > Shouldn't this: >                        long max = runtime.maxMemory() / 100; >                        long total = runtime.totalMemory() / 100; >                        long used = total - runtime.freeMemory(

Re: Tools for Managing a Wicket Project

2009-04-29 Thread Martijn Dashorst
Our current stack: - maven - Java 6 - hibernate - spring - Wicket - svn - hudson - artifactory (though we might switch to another one) [ - sonar (icing on the cake) ] Wendy Smoak taught me an valuable lesson: use a company repository manager for maven, and a local one on your machine. This

wicket talk in Paris tonight

2009-04-29 Thread Martijn Dashorst
Last chance to register for free for the wicket event tonight in paris. Http://wicket.eventbrite.com Many thanks to Zenika for making this event possible! Martijn Dashorst -- Become a Wicket expert, learn from the best: http://wicketinaction.com Apache Wicket 1.3.5 is released Get it now

Re: Logging for performance analysis

2009-04-28 Thread Martijn Dashorst
At my job we were able to connect yourkit to our production server and diagnose the problem in that way. If you have such spikes, it usually is the garbage collector trying to clean up. Martijn On Mon, Apr 27, 2009 at 10:39 PM, Douglas Ferguson wrote: > We are experiencing some hard to trace per

Re: https://issues.apache.org/jira/browse/WICKET-847

2009-04-28 Thread Martijn Dashorst
The commit was before 1.3.5 was cut, so IMO it should be already in 1.3.5. Martijn On Tue, Apr 28, 2009 at 9:31 AM, Jeremy Thomerson wrote: > There's a comment that says that it's actually NOT in 1.3.5 - implying > that the fix version is incorrect.  But Igor's comment seems to > indicate that i

Re: Performance Benchmarks

2009-04-27 Thread Martijn Dashorst
On Mon, Apr 27, 2009 at 11:55 AM, Johan Compagner wrote: > if you want to record 1 specific pages you should just do that in > Requestcycle.detach Or add a post-request file scanner that records the page sizes from the serialized instances on the filesystem. Martijn

Re: PagingNavigator isn't working properly

2009-04-26 Thread Martijn Dashorst
Ah, and how about adding the paging navigator to the ajax request target? Martijn On Sun, Apr 26, 2009 at 1:48 PM, Martijn Dashorst wrote: > How about providing your contacts listview with some actual objects to show? > > new Model() doesn't provide a list to iterate through. >

Re: PagingNavigator isn't working properly

2009-04-26 Thread Martijn Dashorst
How about providing your contacts listview with some actual objects to show? new Model() doesn't provide a list to iterate through. Martijn On Sun, Apr 26, 2009 at 12:05 PM, HHB wrote: > Hey, > I have a panel that consists of two divs: > one for listing available groups. > second will display c

Re: Factory for Components

2009-04-24 Thread Martijn Dashorst
On Fri, Apr 24, 2009 at 8:27 PM, James Carman wrote: > We'll just have to agree to disagree here. I agree :-P Martijn - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wic

Re: setEscapeModelStrings on PropertyColumn?

2009-04-24 Thread Martijn Dashorst
either create a subclass of propertycolumn that does this, or visitChildren(..) in onbeforerender (after super.onbeforerender) and call setEscapeModelStrings on the label component. Martijn On Fri, Apr 24, 2009 at 10:19 PM, Phillip Rhodes wrote: > I have a DefaultDataTable that I am adding Prope

Re: Factory for Components

2009-04-24 Thread Martijn Dashorst
In what way is MyConvolutedComponentFactory.createNewMyComponent() better than "new MyComponent()"? Martijn 2009/4/24 Nick Wiedenbrück : > Hi, > > I'm having many Components (DropDowns, ChoiceRenderers, ...) that are reused > in different places in my application. For example I have one > ChoiceR

Re: Native memory leak using wicket-1.2.6 / IBM JDK 1.4 / Windows 2003 Server SP1

2009-04-23 Thread Martijn Dashorst
Wicket doesn't do anything with native stuff—we're doing pure Java. Either you did something strange, or there's a bug in WebSphere or the IBM JDK you're running into. Martijn On Thu, Apr 23, 2009 at 1:37 PM, Basak, Prasan (TCS) wrote: > Hi, > > Our web application use following configuration fo

Re: Pagemap locking issue

2009-04-23 Thread Martijn Dashorst
Why would you want your users to wait for 1 minute to get results? On what planet and time/space continuum do you expect users to wait for that? Don't do the computation in the request thread. Compute the stuff in a separate thread, process or whatever and subscribe the user's session/page/whateve

Re: Wicket tester form submission problem

2009-04-21 Thread Martijn Dashorst
FormTester ft = tester.newFormTester("form"); ft.submit(); Did you also check for any validation errors? Martijn On Tue, Apr 21, 2009 at 6:03 PM, Chiradeep Chhaya wrote: > I have a form that contains an indicating ajax button which when > clicked performs some calculations and calls setResponse

Re: Wicket merchandise take 2

2009-04-21 Thread Martijn Dashorst
On Tue, Apr 21, 2009 at 1:41 PM, shetc wrote: > Only worn at weekends and dress-down Fridays. Slightly modified by beer and > hot dog mustard. Probably fits a woman in her third trimester as well now? :-) Martijn - To unsubscri

Re: changing style of ajax link

2009-04-20 Thread Martijn Dashorst
a link doesn't repaint itself automatically, you have to add it to the AjaxRequestTarget in the onclick handler. Martijn On Sat, Apr 18, 2009 at 12:57 AM, Jason Novotny wrote: > > Hi, > > I have code to create an ajax link and I want it to dynamically adjust its > css class when clicked. This do

Re: Haulting Execution of Page

2009-04-20 Thread Martijn Dashorst
see org.apache.wicket.AbortException and its subtypes. Martijn On Mon, Apr 20, 2009 at 9:30 AM, Douglas Ferguson wrote: > If I detect a certain scenario I want to hault execution of the page, however > if I "return" then wicket complains of components in the markup that aren't > on the page. >

[poll] Interest in regular Deventer Wicket meetup?

2009-04-17 Thread Martijn Dashorst
I want to poll if there is an interest in a regular Wicket meetup in Deventer, the Netherlands. We can only host at most ~20 people, so I expect this to be much lower key than the Amsterdam meetups. If there is an interest, I'll prod my employer to see if they are willing to help with space, beame

Re: [OT] Wicket spirited conference?

2009-04-16 Thread Martijn Dashorst
devoxx, øredev and javazone are the primary conferences that come to mind. Martijn On Wed, Apr 15, 2009 at 5:57 PM, nino martinez wael wrote: > Hi > > I know this is off topic, but I were wondering if any of you could > recommend any conferences (java related), preferably located in EU and > wit

Re: wsjquery unmaintained?

2009-04-15 Thread Martijn Dashorst
I think the main maintainers went to develop wickext Martijn On Wed, Apr 15, 2009 at 4:44 PM, Jeremy Thomerson wrote: > As long as no one objects in a couple days on this thread, just add to the > existing project and maintain it as if it were your own if you want to. > > -- > Jeremy Thomerson >

Re: WebApp Freezes

2009-04-15 Thread Martijn Dashorst
On Wed, Apr 15, 2009 at 3:41 PM, J wrote: > (Sorry for the empty message. First I tried Gmail, but that doesn't work > with this mailing list. Then I tried GMX webclient, but that client always > sends as HTML, which probably caused the message to be stripped to empty.) gmail just works. dunno wh

Re: WebApp Freezes

2009-04-15 Thread Martijn Dashorst
your max database connections should mirror the max request threads of tomcat. Otherwise you'll endup in deadlock country... Also make sure you don't have deadlocks in your database. The lack of errors in your tomcat logs don't necessarily mean there are no memory problems. Check with jstat -gc

Re: Turning off ModificationWatcher

2009-04-08 Thread Martijn Dashorst
Never *EVER* deploy your application in development mode. Use deployment mode and turn those features you want on. Martijn On Thu, Apr 9, 2009 at 4:33 AM, Matthew Welch wrote: > I'm experimenting with Wicket inside Google's new Java support for its App > Engine. My simple apps run fine if the co

Re: id attribute of Component Tag in renderHead?

2009-04-08 Thread Martijn Dashorst
On Wed, Apr 8, 2009 at 4:04 AM, Craig Tataryn wrote: > but the JavaDoc tells me not to use this > method as it's supposed to be used by Wicket internally only.  And they use > capital letters too when telling me this. That is because a kitten gets killed every time you call such methods. ;-) You

Re: How to use Wicket in cluster to avoid memory problem?

2009-04-07 Thread Martijn Dashorst
without telling us what you currently use for your settings, we won't be able to help you. how much memory did you allocate for your server. Does it only run your wicket app, did you use loadabledetachablemodels, did you profile your application to see if there's a leak or if you keep too much mem

Re: maven-eclipse-plugin 2.6 will break your wicket projects

2009-04-03 Thread Martijn Dashorst
On Fri, Apr 3, 2009 at 3:52 PM, Brill Pappin wrote: > failure to accommodate other > resource usage patterns). HUH? Care to elaborate? Wicket doesn't force its patterns upon you (unlike maven's eclipse 2.6 plugin). You are free to add your html/properties/etc in src/main/resources without ever t

Re: panel wicket:extend confusion

2009-04-03 Thread Martijn Dashorst
the solution to: > http://cwiki.apache.org/WICKET/markup-inheritance.html > > for the next guy! > > > On Apr 3, 2009, at 3:42 AM, Martijn Dashorst wrote: > >> You don't add the child to the right component: you have wrapped the >> tag inside a markup container. Yo

Re: panel wicket:extend confusion

2009-04-03 Thread Martijn Dashorst
You don't add the child to the right component: you have wrapped the tag inside a markup container. You have to make the markup container a transparent resolver, *or* add the child components to the markup container. Martijn On Fri, Apr 3, 2009 at 7:47 AM, Ryan McKinley wrote: > I have been usi

Re: maven-eclipse-plugin 2.6 will break your wicket projects

2009-04-02 Thread Martijn Dashorst
I won't be... then I have to maintain the wicket-eclipse-maven plugin. Martijn On Thu, Apr 2, 2009 at 4:26 PM, nino martinez wael wrote: > copy code from the eclipse plugin to wicket eclipse plugin.. And > everybodys happy :) > > 2009/4/2 Martijn Dashorst : >> Why f

Re: maven-eclipse-plugin 2.6 will break your wicket projects

2009-04-02 Thread Martijn Dashorst
Why fix something that isn't broken? Martijn On Thu, Apr 2, 2009 at 3:36 PM, Brill Pappin wrote: > That code is open... why not make a wicket-eclipse-plugin that puts the > files were you want them? > > - Brill Pappin > > On 2-Apr-09, at 6:27 AM, Martijn Dashorst wrote:

Re: London Wicket Event 01/04/09

2009-04-02 Thread Martijn Dashorst
It definitely is an event worth visiting. I had a blast, and enjoyed every minute of it (except for travelling back at 5am). Great crowd, finally being able to meet, greet, and drink beers with luminaries such as Cemal and Al. I hope we can create such an atmosphere over the world for the Wicket

Re: back button, deserialisation and readObject()

2009-04-02 Thread Martijn Dashorst
out other > transient fields, is it ok to override getObject on each page an re setup my > transient fields or is this going to cause issues down the track? > > > cheers, > Steve > > > > > > On 2 Apr 2009, at 12:22, Martijn Dashorst wrote: > >> magic word fo

Re: back button, deserialisation and readObject()

2009-04-02 Thread Martijn Dashorst
magic word for loggers: static and your assumption is correct: if you don't do anything, you'll get NPE's when you reference a transient field on an object that has been deserialized. Martijn On Thu, Apr 2, 2009 at 1:17 PM, Steve Swinsburg wrote: > All, > I have some questions regarding deseria

maven-eclipse-plugin 2.6 will break your wicket projects

2009-04-02 Thread Martijn Dashorst
Some brilliant guy thought it prudent to make the maven-eclipse-plugin only accept .java files from src/main/java and src/test/java in version 2.6. Do not upgrade to this maven-eclipse-plugin version if you intend to keep on working with your wicket projects in the way Wicket Intended. Always spe

Re: clean way to add visibility constraints

2009-04-01 Thread Martijn Dashorst
one is static, the other dynamic. You can make setVisible more dynamic by doing it in page.onBeforeRender Martijn On Wed, Apr 1, 2009 at 11:42 AM, Boydens Joeri (OZ) wrote: > > Is there prefered way between the methods below? > > if (condition) { >        component.setVisible(false); > } > > OR

Re: WicketTester assertPageLink and BookmarkablePageLink

2009-04-01 Thread Martijn Dashorst
clickLink("book"); assertRenderedPage(Book.class); Martijn On Tue, Mar 31, 2009 at 11:56 PM, rock star wrote: > Hi ! I have a very quick question. > Is there a way to test a BookmarkablePageLink ? Something similar to the > assertPageLink method? > Thanks, > Alan > -- Become a Wicket expert,

Re: Page Maps order

2009-04-01 Thread Martijn Dashorst
I'm pretty sure the order is by most recently visited. Martijn On Tue, Mar 31, 2009 at 5:10 PM, Pi Trash wrote: > Hi, > > are the pages in Page Maps ordered (e.g. chronological)? > > tia > > Pt! Schon vom neuen WEB.DE Multi

Re: acegi 1.0.6 + wicket1.3 +spring 2.5

2009-04-01 Thread Martijn Dashorst
2009/4/1 hhh2100 : >   i get problems if you want to chain multiple filters, especially the > concurrentsessionfilter. > i don't know how about it for my config file. I won't chain multiple filters again, I'm sorry they caused you problems ;-) On a more serious note: I'm not a acegi wizard, but

VOTE: Rename Apache Wicket to Apache WicketFX

2009-04-01 Thread Martijn Dashorst
The Wicket PMC has discussed the following action. Because I think it is prudent that the Wicket community keeps evolving with the state of Java, I've created a board resolution to rename Wicket to WicketFX (thanks Igor for the suggestion!) WHEREAS, the Board of Directors deems it to be in the bes

Re: session management

2009-03-31 Thread Martijn Dashorst
On Tue, Mar 31, 2009 at 1:52 PM, ptrash wrote: > That means if the user visites 3 bookmarkable pages, then three sessions will > be created? Yes, but TEMPORARY sessions that are not bound to a HTTP session. These will be available to the garbage collector after each request. This has nothing to

Re: session management

2009-03-31 Thread Martijn Dashorst
Yes, but the session is only permanent when you call bind(), or a stateful page is requested and the state needs to be stored for links, forms, ajax etc. As long as you use bookmarkable pages (and links to them), and stateless forms, and no ajax, your site will be stateless, and wicket will not au

Re: Custom rendering of components for different devices

2009-03-31 Thread Martijn Dashorst
As long as it is markup. Having a telnet component is not in scope of wicket (but was in 2005/2006/2007 very much for JSF). Martijn On Tue, Mar 31, 2009 at 11:35 AM, nino martinez wael wrote: > Hi > > For a component (panel page etc) you can specify a variant, you can > search the list for furth

Re: Page instantiated twice

2009-03-30 Thread Martijn Dashorst
Your page is stateless, which is a holy grail for most to attend. Be happy :) Since it is stateless, Wicket has to construct the page with each request, until it is no longer stateless. If you have a form, override its getstatelesshint method and return false. Martijn On Tue, Mar 31, 2009 at 8:

Re: WebResource and Guice

2009-03-30 Thread Martijn Dashorst
the only thing that comes to mind is salve Martijn On Mon, Mar 30, 2009 at 2:03 PM, Adriano dos Santos Fernandes wrote: > Hi! > > I've this, on my Application class: > > getSharedResources().add(name, new WebResource() { >   private static final long serialVersionUID = 1L; > >   @Override >   pu

Re: When and how to use tag 'wicket:component'?

2009-03-30 Thread Martijn Dashorst
Short answer: don't use it. It is not supported. Search the list archives for info if you still insist on learning more. Martijn On 3/30/09, Zenberg Ding wrote: > > Hi folks, I just wonder when and how to use tag 'wicket:component'. what's > the intention of this tag exists? > > Thanks > > > --

Re: How to insert ${...} literal in property file?

2009-03-30 Thread Martijn Dashorst
1. Please file a jira 2. Use 2 patternvalidators: one for each pattern Martijn On 3/30/09, Heidi Burn wrote: > Hello, guys, > > Please, help me to insert ${id} literal in a property file. Back > slashes don't work for me. > And how to tell PatternValidator to work differently for two fields in a

IMPORTANT: Nabble posting disabled due to spam

2009-03-30 Thread Martijn Dashorst
I've disabled posting through the Nabble interface because they don't seem able to prevent spam coming through their interface. If you want to ask a question, please subscribe to the list. If you don't want to do that, complain with Nabble support to improve their spam filtering. Martijn

<    2   3   4   5   6   7   8   9   10   11   >