Design patterns for integration of RingoJS modules in Wicket

2012-02-27 Thread Kayode Odeyemi
Hi, I have lots of RingoJS modules that can be accessed via a url in a browser. I have decided to use RingoJS for building simple modules that I will like to include in wicket application as Page web parts - especially for features I need to be completely written in Javascript. If there's anyone

Re: Cannot reproduce a wicket error.

2012-02-27 Thread cosmindumy
There is another exception that I don't know where it comes from. It sais: java.lang.IllegalStateException: ServletRequest does not contain multipart content. One possible solution is to explicitly call Form.setMultipart(true), Wicket tries its best to auto-detect multipart forms but there are

Re: Wicket 1.5.4 - Application crashing on German umlaut characters

2012-02-27 Thread toytown
Thanks. It worked. But strange that such basic settings are not enabled in Tomcat -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-1-5-4-Application-crashing-on-German-umlaut-characters-tp4412794p4424640.html Sent from the Users forum mailing list archive at

Re: Cannot reproduce a wicket error.

2012-02-27 Thread Martin Grigorov
Hi, Try to submit all forms that have input type=file element. On Mon, Feb 27, 2012 at 2:07 PM, cosmindumy cosmind...@yahoo.com wrote: There is another exception that I don't know where it comes from. It sais: java.lang.IllegalStateException: ServletRequest does not contain multipart content.

Re: Design patterns for integration of RingoJS modules in Wicket

2012-02-27 Thread Martin Grigorov
Hi, Isn't that very slow ? Rhino is not the fastest script engine. On Mon, Feb 27, 2012 at 1:49 PM, Kayode Odeyemi drey...@gmail.com wrote: Hi, I have lots of RingoJS modules that can be accessed via a url in a browser. I have decided to use RingoJS for building simple modules that I will

Re: ExternalLink close modalWindow

2012-02-27 Thread Martin Grigorov
On Fri, Feb 24, 2012 at 8:28 PM, DuneBug mdelau...@gmail.com wrote: I have a modal window with links, the links need to open a page in a new browser window, and close the modal window in the current window. This works fine with an ajaxLink with this onClick function EXCEPT THAT, it triggers

Re: CAS with shibboleth Idp integration.

2012-02-27 Thread Martin Grigorov
Hi, You may check how integrations with OpenId/OAuth work. There is a recipe about this in Apache Wicket cookbook by Packt Publishing and I think Xaloon project [1] also has OpenId integration. 1. http://code.google.com/p/xaloon/ On Sun, Feb 26, 2012 at 8:18 PM, mejat.joseph

Re: Exception (Header was already written to response!) when setting response page in IRequestCycleListener

2012-02-27 Thread Martin Grigorov
Hi, On Sat, Feb 25, 2012 at 12:20 AM, Neil Curzon neil.cur...@gmail.com wrote: Hi all, We've been using an IRequestCycleListener in order to redirect to a certain page for all requests if certain conditions are met. We're finding that it's giving an exception in 1.5.4:

Re: How to use autoAdd?

2012-02-27 Thread Martin Grigorov
Hi, Use it as #add(), the only difference is that you have to add it for each request (thus in #onBeforeRender() or onConfigure()) because it is dropped automatically at the end of the request. On Sat, Feb 25, 2012 at 7:11 AM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: if the

Re: Design patterns for integration of RingoJS modules in Wicket

2012-02-27 Thread Kayode Odeyemi
On Mon, Feb 27, 2012 at 3:25 PM, Martin Grigorov mgrigo...@apache.orgwrote: Hi, Isn't that very slow ? Rhino is not the fastest script engine. I didn't compare rhino to the likes of node.js, rubyracer etc when I started trying it out. My decision was based on use case and the fact that it

Re: Exception (Header was already written to response!) when setting response page in IRequestCycleListener

2012-02-27 Thread Neil Curzon
Hi Martin, Sorry, should have mentioned that I also tried doing that. The result is the orange exception page with Unexpected Runtime Exception: Last cause: null Stacktrace Root cause: org.apache.wicket.RestartResponseException Thanks, Neil On Mon, Feb 27, 2012 at 11:01 AM, Martin Grigorov

Re: help with drag and drop (wicket-dnd)

2012-02-27 Thread Dan12321
Thank you. I look at example of ExampleLabel. But it do not help so much Now, I can drag element, I see that it was dragged and I can drop it on element, that is allowed by }.dropCenter(span)); Methods onDrop (in DropTarget) and onAfterDrop (in DragSource) are called. I use there code, that

Re: help with drag and drop (wicket-dnd)

2012-02-27 Thread Sven Meier
wicket-dnd doesn't change the HTML markup as popular Javascript libraries do. Instead the markup must be generated on the server side, as it's done with Wicket most of the time. You have to update your component tree in onDrop(), e.g. change models, persist something to the database. Then

Re: help with drag and drop (wicket-dnd)

2012-02-27 Thread Dan12321
So I cannot modify html? Make html from this (it is without attributes): table tr td spanAAA /span /td td /td /tr /table to this (span from first td was moved to second td): table tr td /td td spanAAA /span /td /tr /table But, when i want to move content of first td to

RE: Getting new lines in RepeatingView

2012-02-27 Thread Dale Ogilvie
Using an override of RepeatView, I get better output. The only slight imperfection being that each individual row does not take it's starting cue from the position of the repeated element. I can live with that. i.e. output now has the first element positioned per the template, the remainder are

CheckBoxColumnProperty in inmethodgrid updates

2012-02-27 Thread Chris Colman
Has anyone used the new editable column classes in inmethod grid provided by Tom Burton? I really like the extra functionality Tom has added to inmethod grid but I can't get the check box to appear as a check box. It appears only as text showing either true or false. Has anyone else tried

RE: CheckBoxColumnProperty in inmethodgrid updates

2012-02-27 Thread Chris Colman
I'm using Wicket 1.5. It seems that protected EditableCellPanel newCellPanel(String componentId, IModelI rowModel, IModelBoolean cellModel) { return new CheckBoxPanel(componentId, cellModel, rowModel, this); } is never called for some reason. That would explain why a panel

Re: Wicket-Source: Click-through from browser back to Java source

2012-02-27 Thread Jenny Brown
I've updated the Firefox plugin for wicket-source to include support for Firefox 10. This is just metadata so that Firefox updates will stop complaining, as it was already code compatible. The new wicketsou...@gmail.com.xpi plugin file is available from the downloads area.