Re: OOM in PermGen after several deploy/undeploy

2008-04-01 Thread djo.mos
Hello, Martijn Dashorst wrote: There is a solution: not to deploy your application more than 2-3 times... Martijn Actually, there is a less radical solution, which is not to use a Sun JVM, as the PermGenSpace is a specific implementation limitation of these. IcedTea for example do not

Re: Make a Ajax button have a confirm dialog

2008-04-01 Thread djo.mos
Hi, Pinger wrote: I want to get a Yes/No confirm dialog, so I only Do Stuff if they say yes.. What kind of confirmation ? Javascript ? Html ? for the first, you could use this ajaxButton.add(new SimpleAttributeModifier(onclick, return confirm('Delete ?');)); Cheers -- View this message

Re: Set a dynamic color to a label

2008-03-19 Thread djo.mos
vincent Renaville-2 wrote: Hello, I try to display a application a table with odd line in red and even line in blue. For each cell of the table I use a label. Somebody know how can I set the color to a label. Thanks for your help Vincent Hello, I assume that you are using

Re: Is there a way to set ListView not to output span repeater tag

2008-03-19 Thread djo.mos
Or use wicket:container as the repeating element, instead of span ;-) -- View this message in context: http://www.nabble.com/Is-there-a-way-to-set-ListView-not-to-output-%3Cspan%3E-repeater-tag-tp16168409p16169452.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: [vote] Release 1.4 with only generics and stop support for 1.3

2008-03-17 Thread djo.mos
[ ] +1, Wicket 1.4 is 1.3 + generics, drop support for 1.3 -- View this message in context: http://www.nabble.com/-vote--Release-1.4-with-only-generics-and-stop-support-for-1.3-tp16090054p16097038.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: Default Focus Behavior?

2008-03-09 Thread djo.mos
jwcarman wrote: How about something like: public class DefaultFocusBehavior extends AbstractBehavior { private Component component; public void bind( Component component ) { this.component = component; component.setOutputMarkupId(true); }

Re: Can i assign parameters while calling the application?

2008-02-07 Thread djo.mos
Hi, I am not sure I understood why you are using filters ... anyway, it is perfectly possible to pass parameters to a Wicket page via URLs by providing a constructor taking a PageParameters as an argument + configuring the adequate URL encoding strategy. Look

Re: Evaluating Wicket

2008-02-06 Thread djo.mos
Hi, I'm myself discovering Wicket, but I'll try to nswer some of your questions ;) René Samselnig wrote: * What experience do you have regarding performance of wicket applications? I haven't built a large application with Wicket yet, but in a JPA CRUD examples I made, Wicket performs

Re: Evaluating Wicket

2008-02-06 Thread djo.mos
Ah, just an addition about performance: Session size can be a bottleneck in performance, so one have just to be careful about what to put in his session and by using detachable models for example. -- View this message in context:

Re: Reloading resource

2008-02-06 Thread djo.mos
Hi, gantini wrote: But when I modify any html file, no reload is performed :-(( This may take time, especially with HTML files (in opposition to class files change) and in an unvisible manner (again in opposition to class files change where Tomcat reloads the context). Try waiting for