Re: Wicket 6 and wicket push

2012-11-11 Thread Martin Grigorov
Hi, WicketStuff-Push has nothing common with wicket-atmosphere. I.e. you can use them both in the same application if you want. On Sat, Nov 10, 2012 at 10:18 PM, Noven noven_...@yahoo.com wrote: Hi all, Just wanna ask question. Since wicket 6 is now featuring atmosphere, does it still work

Re: Wicket 1.5 migration: AbstractCrypt#decryptByteArray(..) throws IllegalBlockSizeException

2012-11-11 Thread Sven Meier
Where is encodedStr coming from? Are you using Cryptomapper? Please give us a stacktrace. Sven On 11/11/2012 02:13 AM, Alec Swan wrote: Hello, After we migrated from 1.4.x to 1.5.x my CachingSunJceCryptFactory.newCrypt().decryptUrlSafe(encodedStr) started returning null. In 1.4.x the same

Howto Callback from JavaScript?

2012-11-11 Thread Volker Katz
Hi, I'm quite new Wicket and JavaScript. I just started with a small project to get my hands on Wicket. I'm trying to use an JQuery Selector. I used this JQuery Example: http://jqueryui.com/selectable/#serialize I wrote an SelectableBeavior and added it to an WebMarkupContainer. But I

Re: Wicket 6 and wicket push

2012-11-11 Thread Noven
Hi Martin, I just did migration from wicket 1.4 to wicket 6.1. My wicket 1.4 apps used wicketstuff-push. As wicket 6 has featured Atmosphere, I change the wicketstuff-push to atmosphere instead. Everything work fine in my local tomcat7. But when deployed to server, the atmosphere failed to

Wicket-Atmosphere complex JS

2012-11-11 Thread Pierre Goupil
Hi all, When I submit complex JS to my client using target.appendJavaScript() with a @Subscribe method from Wicket-Atmosphere, I got this message in the browser console: Wicket.Ajax: Wicket.Ajax.Call.failure: Error while parsing response: Could not find root ajax-response element I do have an

Re: Wicket 1.5 migration: AbstractCrypt#decryptByteArray(..) throws IllegalBlockSizeException

2012-11-11 Thread Alec Swan
When a user submits a form we take all parameters, encode them and store encoded string in the database. When the users want to see which values they submitted we pull the encoded string from the database, decode it and show values to the user. Encoding is done with

Deploy on production: optimization tip tricks

2012-11-11 Thread Oscar Besga Arcauz
Hi wickers ! Thanks to your previous help, I'm about to launch a website based on wikcet. I'm making some final optimizations, some general-web-server related; as seen in http://developer.yahoo.com/performance/rules.html or cookie-free elements

Re: Wicket 1.5 migration: AbstractCrypt#decryptByteArray(..) throws IllegalBlockSizeException

2012-11-11 Thread Johan Compagner
what is the salt that you use? because we use the session specific key, but that can also already be used like that in 1.4 is it maybe a different default so that you now use a session key as salt? does the database have enough room voor the encrypted? is it not truncated? Op 11 nov. 2012 17:04

Re: Howto Callback from JavaScript?

2012-11-11 Thread Martin Grigorov
Hi, You have to extend from AbstractDefaultAjaxBehavior instead. See the javadoc of AbstractAjaxBehavior - it is for simpler cases where Wicket.Ajax is not used. About the docs: there is https://cwiki.apache.org/confluence/display/WICKET/Wicket+Ajax but better check the sources of

Re: Wicket 1.5 migration: AbstractCrypt#decryptByteArray(..) throws IllegalBlockSizeException

2012-11-11 Thread Alec Swan
what is the salt that you use? because we use the session specific key, but that can also already be used like that in 1.4 is it maybe a different default so that you now use a session key as salt? We did not change the encryptionKey in cryptFactory = new

Ability to simply enable jQuery.noConflict() globally for an application in Wicket 6

2012-11-11 Thread Marcin ZajÄ…czkowski
Hi, I have an application which internally uses prototype. After migration from Wicket 1.5 to 6 I had problems with conflicts. It helped to enable non conflict mode in jQuery, but to do this globally I had to do a few things: - an one line script - a corresponding JavaScriptResourceReference -

SortableDataProvider setSort default sort order

2012-11-11 Thread steven.li
Hi all what's the default sort order of SortableDataProvider ? such as , I have column A,B,C, and I call setSort(C, SortOrder.descending), then how it will return results if 10 rows with the same value C ? that means, how to compare between column A and column B, which I didn't specify in the