Re: WiQuery SortableBehavior/DroppableBehavior questions

2012-10-26 Thread Benedikt Schlegel
Hi Decebal, thank you for your reply. I had a look at your project and I can see that you collect the sort order with a custom js function onStopWidgetMove(), but I'm not able to actually track down where this information is received or the stopEvent is handled. Could you please point me out how y

RE: EXTERNAL: Migration of generateCallbackScript to Wicket 6

2012-10-26 Thread Phillips, David
Ah ok, thanks for the clarification. The parameters in 'getCallbackFunction()' would definitely be a cleaner approach. Thanks, -David Phillips - USAA -Original Message- From: Sebastien [mailto:seb...@gmail.com] Sent: Friday, October 26, 2012 4:50 PM To: users@wicket.apache.org Subject:

Re: EXTERNAL: Migration of generateCallbackScript to Wicket 6

2012-10-26 Thread Sebastien
Ops, I wrote a mistake: #getCallbackParameters does not exists; it my own method! However, the way to specify/handle callback parameters is still to provide an array of CallbackParameter (wicket-6.x, then) to AbstractDefaultAjaxBehavior#getCallbackFunction() You will find the static methods (c

RE: EXTERNAL: Migration of generateCallbackScript to Wicket 6

2012-10-26 Thread Phillips, David
I don't see that API in AbstractAjaxBehavior or AbstractDefaultAjaxBehavior (I'm looking at 6.2). Where is that available? Thanks, -David Phillips - USAA -Original Message- From: Sebastien [mailto:seb...@gmail.com] Sent: Friday, October 26, 2012 1:03 PM To: users@wicket.apache.org Subje

Re: EXTERNAL: Migration of generateCallbackScript to Wicket 6

2012-10-26 Thread Sebastien
Hi, >If you want to add in additional parameters you can override 'getCallbackUrl()' and return your additional params. Although it's still valid in wicket 6, the best is now to override getCallbackParameters() protected CallbackParameter[] getCallbackParameters() { return new CallbackParameter[]

RE: EXTERNAL: Migration of generateCallbackScript to Wicket 6

2012-10-26 Thread Phillips, David
'generateCallbackScript()' was removed, but 'getCallbackScript()' still remains. You can call that to retrieve the necessary scripts, or 'getCallbackFunction()' if you want to generate a full function. If you want to add in additional parameters you can override 'getCallbackUrl()' and return yo

Re: WiQuery SortableBehavior/DroppableBehavior questions

2012-10-26 Thread Decebal Suiu
HiSee how I resolved the problem in wicket-dashboard . At the end drag and drop operation I sent (using javascript) a json that keeps the positions for all widgets to wicket. For more details see StopSortableAjaxBehavior

Theoretical Q: JQuery client-only/RPC app?

2012-10-26 Thread Emmanouil Batsis (Manos)
Now that wicket uses jquery, would it be possible to implement a jquery/client-only app for a wicket backend? To be more specific, I am asking mainly about the possibility of producing a javascript-only application client for a wicket6 app/json RPC backend. Thanks, Maons ---

Migration of generateCallbackScript to Wicket 6

2012-10-26 Thread Adriano dos Santos Fernandes
Hi! I'm migrating from Wicket 1.5 to 6, and I have a couple of generateCallbackScript usage that I have no idea what to do. An example: class ToolbarBehaviour extends AbstractDefaultAjaxBehavior { private static final long serialVersionUID = 1L; @Override protect

Re: Custom CSS for Feedback message is broken in 1.5

2012-10-26 Thread Joachim Schrod
Martin Grigorov wrote: > Hi, > > Here is an example of the produced markup for an single INFO message: > > > > > > Saved model [TestInputObject > stringProperty = 'test', integerProperty = 100, doubleProperty = 20.5, > booleanProperty = false, integerInRangeProperty

Oracle Coherence as an IDataStore

2012-10-26 Thread Bruno Borges
Hi all, I've been playing with Coherence for a while and started to code an implementation of IDataStore. If there's someone here interested in this, please contact me. The code will soon be published on GitHub, but I'd like to have someone using Coherence and/or WebLogic to share ideais and to he

RE: Multiple Wicket:Child Tag Support - with link to JIRA feature request

2012-10-26 Thread Chris Colman
I found the JIRA request. This request has many links to discussions on the topic over the years: https://issues.apache.org/jira/browse/WICKET-1134 >-Original Message- >From: Kapil Dhawan [mailto:kapil.dha...@tecnotree.com] >Sent: Friday, 26 October 2012 5:37 PM >To: 'users@wicke

RE: Multiple Wicket:Child Tag Support

2012-10-26 Thread Chris Colman
I forgot to mention - I have effectively achieved a multiple wicket:child tag support by adding my own special 'slot' tags that allow me to name slots and optionally override them in derived markup files. Obviously Wicket doesn't support my new 'slot' tags as is, so I run my markup with the speci

RE: Multiple Wicket:Child Tag Support

2012-10-26 Thread Chris Colman
This feature has been requested multiple times in the past (including by me a long time ago). It has even had fairly detailed implementation options discussed (and in one case developed) but never seems to make it to the core code base but given the interest in it hopefully it's just a matter of ti

Re: How to compare and show differences of two xml files in wicket

2012-10-26 Thread Ernesto Reinaldo Barreiro
Hi, On Fri, Oct 26, 2012 at 8:26 AM, venkat wrote: > Hi , > > In my application, i have a scenario where I need to compare data of sql > server tables from two environemnts and show the differences in side by > side > panels. > > I am using SQL server For XML () to convert the sql table data in

Re: WiQuery SortableBehavior/DroppableBehavior questions

2012-10-26 Thread Benedikt Schlegel
Thanks for the hint, i was able to fix that. Also, I found out, that I'm able to achieve my goal with SortableBehavior's onUpdate hook. There are a couple more hooks for catching different events fired from jquery.ui.sortable, but all don't work as I expect them to do. 1. When an item is moved fro

Re: Ajax file manager 'CKFinder' and Wicket >= 1.5.8

2012-10-26 Thread Steamus
Seems, yes. Because I didn’t check 1.5.9. I jumped to 6.1.1 and it didn’t work yet. Thank you, Martin -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Ajax-file-manager-CKFinder-and-Wicket-1-5-8-tp4653275p4653383.html Sent from the Users forum mailing list archive

Re: Ajax file manager 'CKFinder' and Wicket >= 1.5.8

2012-10-26 Thread Martin Grigorov
Hi, I think I know what broke it. It should be fine in 1.5.9 again with https://issues.apache.org/jira/browse/WICKET-4752 On Fri, Oct 26, 2012 at 12:35 PM, Steamus wrote: > Hi, Martin > > Yesterday, I migrated to the Wicket 6.2.0 and it started working again! > > I didn’t see any messages about

Re: Ajax file manager 'CKFinder' and Wicket >= 1.5.8

2012-10-26 Thread Steamus
Hi, Martin Yesterday, I migrated to the Wicket 6.2.0 and it started working again! I didn’t see any messages about some javascript’s error in browser, but I didn’t use any special tools to debug javascript. Integration was enough easy, so there is not so much to share. They provide several jars

Re: Load table rows lazy when click browser scrollbar

2012-10-26 Thread vineet semwal
that limitation i described earlier is only in the case of Reuse.ITEMSNAVIGATION and Reuse.ALL ie. only in the case where you want to add new items/rows without re-rendering the parent/quickview ,anyway this is not what you are asking. looks like the html you posted didn't pass through in the mail

Re: Load table rows lazy when click browser scrollbar

2012-10-26 Thread steven.li
Yes, I can find a workround for this limit. but met into another one, in my case, each row contains multiple, and under , there are label, span. seems it doesn't work well if is wrapped by . see attached zip file, If I remove the , it works fine in IE. but failed to reload next page

RE: Multiple Wicket:Child Tag Support

2012-10-26 Thread Kapil Dhawan
Thanks Martin. I will consider it. Thanks & Regards Kapil Dhawan -Original Message- From: Martin Grigorov [mailto:mgrigo...@apache.org] Sent: Friday, October 26, 2012 12:20 PM To: users@wicket.apache.org Subject: Re: Multiple Wicket:Child Tag Support Hi, On Fri, Oct 26, 2012 at 9:37

RE: Multiple Wicket:Child Tag Support

2012-10-26 Thread Kapil Dhawan
Thanks a lot Ronny. I was trying to avoid Panels/Fragments but now will consider. Thanks & Regards Kapil Dhawan -Original Message- From: ronny.v...@consult.nordea.com [mailto:ronny.v...@consult.nordea.com] Sent: Friday, October 26, 2012 12:21 PM To: users@wicket.apache.org Subject: RE:

Re: javascript modal onclose event

2012-10-26 Thread Martin Grigorov
Hi, With JavaScript it is very easy to override the default behavior by using a technique called "Monkey patching". This way you can override the function that closes the ModalWindow with your own one that do something first and then calls the super implementation. On Thu, Oct 25, 2012 at 9:01 PM