RE: Wicket - TinyMCE/FckEditor

2011-08-02 Thread Chris Colman
W dniu 2011-08-02 09:34, Josh Kamau pisze: Hi Michal, If you want a really nice and simple Rich Text Editor, take a look at visural-wicket project. NicEdit is dead. Its not supported for long time. Doh! I did noticed it has some quirks in it's operation.

Re: radio button example help

2011-08-02 Thread Sven Meier
Hi, wmike1...@gmail.com wrote: How is the current selection recognized? the RadioChoice get's a PropertyModel from the CompoundPropertyModel automagically. You could do it explicitely like the following: new RadioChoice(site, new PropertyModel(input, site), SITES); wmike1...@gmail.com

Re: How to handle exceptions caused by img src=GARBAGE?

2011-08-02 Thread jcgarciam
Are you expecting to actually serves images content from your own application directory using this methods?, you may need to parse and clean the HTML you are planning to serves in order to avoid those invalid HTTP GET. On Mon, Aug 1, 2011 at 11:45 PM, Alec Swan [via Apache Wicket]

Re: Wicket - TinyMCE/FckEditor

2011-08-02 Thread Steve Swinsburg
I created a Wicket FCKEditor component some time back. It takes care of rendering the javascripts and all the rest for you and you just instantiate it like: add(new FCKTextArea(id)); If you would like this, drop me a line and I'll dig out the code. cheers. Steve On 02/08/2011, at 3:53 PM,

Disabling Entire Page, and Redirecting to Page in N Seconds

2011-08-02 Thread eugenebalt
I need to disable an entire page, with all its components, and display a message (possibly in the FeedbackPanel) saying, Operation successful. You will be redirected in N seconds (e.g. 5). After N seconds, I will do a setRedirectPage(..) to a different page. The point is that the user should see

Re: Wicket 1.5 and glassfish 3.1.1 clustering (session replication)

2011-08-02 Thread Vytautas
Same application, Apache Tomcat 7.x with Cluster / enabled, Apache mod_proxy, mod_proxy_balancer - everything looks perfect :) Added getRequestCycleSettings().setRenderStrategy(RenderStrategy.ONE_PASS_RENDER); still no success on Glassfish. -- Regards, Vytautas

Re: Using IResourceCachingStrategy with context relative resources(non PackageResource)

2011-08-02 Thread Pedro Santos
Yes, it is there for package resources. Better would be write a javax.servlet.Filter with the described logic. On Tue, Aug 2, 2011 at 11:46 AM, Serban.Balamaci thespamtr...@gmail.com wrote: Hello all, I'm using Wicket 1.5RC5.1. It seems that IResourceCachingStrategy can only be used on

Re: Disabling Entire Page, and Redirecting to Page in N Seconds

2011-08-02 Thread Pedro Santos
Hi, Jquery UI has a nice css to overlay components. You can try to present one protecting the page and presenting some message. e.g. Overlay = { show : function() { var w = $('body').width(); var h = $('body').height(); var markup = 'div

Re: Using IResourceCachingStrategy with context relative resources(non PackageResource)

2011-08-02 Thread Alex Objelean
Serban, if you are using wro4j-maven-plugin, you can achieve the FilenameWithVersionResourceCachingStrategy feature by providing the http://code.google.com/p/wro4j/wiki/OutputNamingStrategy Resource Naming Strategy . -- View this message in context:

Re: Wicket 1.5 and glassfish 3.1.1 clustering (session replication)

2011-08-02 Thread Zilvinas Vilutis
I thought session is managed by container ( Glassfish in this case ) and wicket version should not matter at all. Unless wicket is checking host / path / port or whatever when checking to create a session or not? Regards Žilvinas Vilutis Mobile:   (+1) 623 330 6048 E-mail:   cika...@gmail.com

Re: Using IResourceCachingStrategy with context relative resources(non PackageResource)

2011-08-02 Thread Serban.Balamaci
Merci Alex, I indeed use the maven plugin and didn't consider a NamingStrategy, but at first look we would not be able to reference back the generated file in Wicket, right? But I think that context resources not only PackageResources should be candidates for a ResourceCachingStrategy and not

Safari hangs on ajax form submit

2011-08-02 Thread trodi
This problem is only present when using Safari (Chrome, FF, and IE work fine. Specifically I found this in Safari 5 on Windows 7). Also, only when using ajax buttons for both forms submittal, rather than a vanilla form submission for the second form. I have two forms on a single page, the second

Re: Safari hangs on ajax form submit

2011-08-02 Thread Dan Retzlaff
Are you encountering this? https://issues.apache.org/jira/browse/WICKET-3820 I also recently submitted this so failures like this aren't so catastrophic. https://issues.apache.org/jira/browse/WICKET-3937 On Tue, Aug 2, 2011 at 12:46 PM, trodi t_roy...@hotmail.com wrote: This problem is only

Re: Safari hangs on ajax form submit

2011-08-02 Thread trodi
Dan Retzlaff wrote: Are you encountering this? https://issues.apache.org/jira/browse/WICKET-3820 I also recently submitted this so failures like this aren't so catastrophic. https://issues.apache.org/jira/browse/WICKET-3937 Yes, this was the problem I was encountering. Your submitted

Re: Wicket 1.5 and glassfish 3.1.1 clustering (session replication)

2011-08-02 Thread Igor Vaynberg
looks like a glassfish bug. -igor On Tue, Aug 2, 2011 at 7:29 AM, Vytautas R. turi...@gmail.com wrote: Hello,  Environment: Windows platform, Glassfish 3.1.1, Apache Wicket 1.5-RC5.1 (quickstart from wicket.apache.org)  Created to nodes, deployed very simple web application.    

Re: Using IResourceCachingStrategy with context relative resources(non PackageResource)

2011-08-02 Thread Alex Objelean
It should be possible to include dynamically all resources in the page contained inside a servlet context folder (no need to know the exact name of the resource). -- View this message in context:

Re: Scala DSL for Wicket

2011-08-02 Thread Bruno Borges
Another interesting piece of code with this Scala DSL // gender radio button val gender = radioGroup[String](gender) gender.radio(male, Model.of(Male)) gender.radio(female, Model.of(Female)) gender.setRequired(true) The HTML: div wicket:id=sexo span input wicket:id=male

Re: Disabling Entire Page, and Redirecting to Page in N Seconds

2011-08-02 Thread eugenebalt
Thanks. Good suggestion. Will give it a try, but never worked with jQuery before. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Disabling-Entire-Page-and-Redirecting-to-Page-in-N-Seconds-tp3712976p3714169.html Sent from the Users forum mailing list archive at