Preventing AJAX behavior to execute during page reload

2020-03-06 Thread Sebastian Lichtenfels
end action AND page reload should be triggered). How can I achieve this? Best regards, Sebastian

Re: Redirect to relative URL

2013-02-23 Thread Sebastian Gaul
This is exactely what I tried. The problem is, that RedirectRequestTarget handles the URL as context-specific (but it is domain-specific). Using external links (as mentioned on the website) is not an option, because the redirect is based on internal settings rather than user interaction. Any

Redirect to relative URL

2013-02-22 Thread Sebastian Gaul
Hello, I have a server-relative URL like /target/index (starting with a slash) and I'm looking for a way to redirect to http://mydomain.com*/target/index*. In Wicket (unfortunately still 1.4) I tried the following: RequestCycle.get().setRequestTarget( new

Re: Twenty-Six Wicket Tricks Book

2013-02-22 Thread Sebastian Gaul
section of Jonathan's blog (it's an excellent book, by the way) and ask him your question from there. Ian Sebastian Gaul wrote I cannot find anything related there. His blog started long after the book. Am 14.02.2013 14:51 schrieb Ian Marshall lt; IanMarshall.UK@ gt;: Perhaps

Re: Twenty-Six Wicket Tricks Book

2013-02-15 Thread Sebastian Gaul
I cannot find anything related there. His blog started long after the book. Am 14.02.2013 14:51 schrieb Ian Marshall ianmarshall...@gmail.com: Perhaps a good source of information is Jonathan's blog at: http://codeact.wordpress.com http://codeact.wordpress.com Ian Sebastian Gaul wrote

Re: How to null-check manually converted TextField values?

2013-02-14 Thread Sebastian Gaul
); } Hope this helps, Sebastien. On Wed, Feb 13, 2013 at 4:46 PM, Sebastian Gaul sebast...@mgvmedia.comwrote: I have a TextField which overrides it's getConverter method to add a Joda time converter instead: new TextFieldP(id) { @Override public P IConverterP getConverter(ClassP

Twenty-Six Wicket Tricks Book

2013-02-14 Thread Sebastian Gaul
Does anyone know what happened to the book Twenty-Six Wicket Tricks by Jonathan Locke? Some code looks very promising and I would like to read it. However, the code seems to be very old and I cannot find any way to purchase the book. Is the project still alive?

How to null-check manually converted TextField values?

2013-02-13 Thread Sebastian Gaul
I have a TextField which overrides it's getConverter method to add a Joda time converter instead: new TextFieldP(id) { @Override public P IConverterP getConverter(ClassP type) { return (IConverterP) new JodaDateTimeConverter(); } }; The converter returns null if input was

wicketstuff-core 1.5.2 released?

2011-11-02 Thread Sebastian
Hi, I can see a wicketstuff-core 1.5.2 release in the maven-repo, however in github no tag exists and no formal announcement has been made. So my question is, what's in it and what happened to the regular announcement? Regards, Seb

Re: wicketstuff-core 1.5.2 released?

2011-11-02 Thread Sebastian
I'm talking about wicketstuff http://wicketstuff.org/, not wicket. The releases used to be announced here too. On 02.11.2011 12:13, nino martinez wael wrote: it's right on the homepage: http://wicket.apache.org/ But are you thinking of a announcement here on the list? 2011/11/2

Re: wicketstuff-core 1.5.2 released?

2011-11-02 Thread Sebastian
wicketstuff 1.5.2 has been released already: http://repo1.maven.org/maven2/org/wicketstuff/wicketstuff-core/1.5.2/ However, especially if - as you say - anyone can do this, it is even more relevant to understand the release's state and the included changes. On 02.11.2011 12:31, Martin

Re: wicketstuff-push examples working across browsers

2011-10-27 Thread Sebastian
hi Soheb, no problem. I gave it a try this morning on IE9 and it also failed with the current push version in trunk. I just committed a change that makes it work in IE. https://github.com/wicketstuff/core/commit/3e09edf3e21fdb039cdb844e88653ccfdd33a4c4 Regards, Seb On 27.10.2011 15:58,

Re: wicketstuff-push examples working across browsers

2011-10-26 Thread Sebastian
hi, cometd had a bug that affects websocket support in conjunction with chrome browsers. It is fixed in the latest 1.4.0RC1 release of cometd. We incorporated the changes (and fixed some other issues) in wicketstuff trunk. thus they will be available with the wicketstuff 1.5.2 release.

Re: [wicketstuff-push] How to disconnect cleanly?

2011-10-21 Thread Sebastian
hi, we fixed it in trunk now. please give it a try. regards, seb On 12.10.2011 11:18, vineet semwal wrote: thank you martin ! herald ,i have opened a issue for you https://github.com/wicketstuff/core/issues/66 thank you ! On Wed, Oct 12, 2011 at 2:19 PM, Martin

Re: Update Component automatically without extending Session life

2011-09-23 Thread Sebastian Lütge
As a workaround / alternate solution to my problem of eventually terminating a session that is kept alive by an AjaxSelfUpdatingTimerBehavior I'm currently trying to update a TextField via JavaScript (detecting user activity) and then passing this timestamp to wicket. My question now is: how do I

Re: ModalX: Modal Window Enhancements library (Open Source) for wicket

2011-08-04 Thread Sebastian
Hi, the live demo does not seem to work. Getting the following exception, no matter which link I click. Cheers, Seb Root cause: java.lang.NullPointerException at com.sas.ui.wicket.modal.optional.ModalXPage.allocateModalWindow(ModalXPage.java:139) at

Re: wicketstuff-push Documentation?

2011-07-04 Thread Sebastian
Hi Jake, there is currently not any more documentation. When you use push as decribed in the WIKI (EventHandler+PushNode) then you will need an additional message dispatching service (which often is the case in enterprise environments). If you want to communicate within a wicket application

Re: regarding wicketstuff push

2011-06-23 Thread Sebastian
hi vineet, you are right. this is probably a left over from the refactoring we did. I just fixed it on github. regards, seb On 23.06.2011 22:58, vineet semwal wrote: hellos ! i was just looking at wicketstuff push and i saw a lot of changes in api and other improvements are done ,thanks

Re: facebook like notification

2011-06-19 Thread Sebastian
You can use the wicketstuff-push component https://github.com/wicketstuff/core/wiki/Push which can either use a polling approach or cometd to update clients based on server-side events. Seb On 19.06.2011 11:50, Noven wrote: Hi All.. Newbie need guide , I just registered and this is my first

Re: Moving wicketstuff to github

2010-12-28 Thread Sebastian
Hi Martijn, can we commit to wicketstuff again? If so, where: sf.net or github? Regards, Seb On 23.12.2010 11:04, Martijn Dashorst wrote: All, Last week we (wicket+wicketstuff devs) had a discussion on dev@ and decided to move all wicketstuff code to github.com. Reasons to move to github

Re: webapp shutdown listeners

2010-12-02 Thread Sebastian
we are working on an extension for wicket apps and want to make the usage as easy as possible for users. When in usage, the extension should be able to register itself to a webapp shutdown event transparently without requiring the user do modify their webapps onDestroy method or need to add a

Re: webapp shutdown listeners

2010-12-02 Thread Sebastian
That is cool! From the docs at http://wicket.apache.org/apidocs/1.4/org/apache/wicket/IInitializer.html: public interface IInitializer Initializes something when application loads. ... You don't have to pre-register package resources, as they can be initialized lazily. Initializers can

webapp shutdown listeners

2010-12-01 Thread Sebastian
Hi, is there a generic way to add one or multiple wicket app shutdown listener to a wicket application instance without having to override the onDestroy method and roll my own listener registration code? Regards, Seb - To

Re: Wicket design incompatible with Web 2.0 ?

2010-11-15 Thread Sebastian
Thanks for sharing. I like the graceful Websocket fallback of Atmosphere in case the server or the client do not support it. However it looks like the approach discussed in the blog entry is very low-level, meaning you have to work with JavaScript directly etc. to actually do updates (but I

Re: Free wicket from component hierarchy hell

2010-11-09 Thread Sebastian
From my understanding the proposal works like this that you have a partially code controlled hierarchy of components when you need it for functional reasons (security, AJAX refresh, visibility, etc). You can define the parent of a component but technical you allow child components being nested

Re: Free wicket from component hierarchy hell

2010-11-09 Thread Sebastian
On the other hand if you only have to do component nesting programmatically in case of functional reasons (like security) your code will probably much cleaner and you'll realize issues like using the wrong parent faster. Instead of: myComponent.add(child1) child1.add(child2)

Re: Free wicket from component hierarchy hell

2010-11-08 Thread Sebastian
I'm sorry to say, but the whole discussion makes little sense to me and these attempts to fix something that is not broken actually scares me a bit. As far as I understand the philosophy of Wicket it is a Java centric and Java code drive web application framework. This makes it very unique to

Re: Free wicket from component hierarchy hell

2010-11-08 Thread Sebastian
Vigor, as I understand the readme the queue method basically has only a slightly different behavior compared to the add method in the way that it either adds a component as a direct child to the parent or as a sub-child as defined in the markup. So the markup is only used to determine the

Re: Free wicket from component hierarchy hell

2010-11-08 Thread Sebastian
...and that makes the queue method a candidate to replace the add method without breaking anything. Regards, Seb On 08.11.2010 18:03, Igor Vaynberg wrote: On Mon, Nov 8, 2010 at 8:58 AM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: as I understand the readme the queue method

Re: wicket 1.4.12 and wicket-push 1.4.8

2010-11-02 Thread Sebastian
As part of wicketstuff 1.4.13 we have the new implementation released now. give it a try and also check the examples since the API has changed. Regards, seb On 01.11.2010 19:35, fachhoch wrote: I am using wicket 1.4.12 and wicket-push 1.4.8 , will this combination work fine or can cause any

Re: Bug in Wicket Push TimerChannelService when used with background threads

2010-10-01 Thread Sebastian
wrote: On Thu, 2010-09-30 at 23:48 +0200, Sebastian wrote: There was an issue in your patch where the application could be left in the ThreadContext, which was fixed, Hi Rodolfo, I think you are referring to try { Application.set(_application); methods[m].invoke(o, parameters

Wicket Serialization

2010-10-01 Thread Sebastian
Hi, is it possible to configure a wicket app in a way that definitely will use page serialization/deserializion on each request and will not hold any page/component instances between requests in memory? I'd like to use this during development time to test some aspects of my wicket components.

Re: Wicket Serialization

2010-10-01 Thread Sebastian
hi, on a local copy of Wicket I now temporarily modified the SecondLevelCacheSessionStore class and always have the SecondLevelCachePageMap.getLastPage() method return null. This enforces that a freshly deserialized page object instance is used on each request. The reason why I am doing

Re: Wicket Serialization

2010-10-01 Thread Sebastian
the push service does not directly keep references, this happens because of the usage of anonymous classes created within the components, e.g. callbacks, eventlisteners, e.g.: final Label label = new Label(label,); final IPushTarget pushTarget = getTimerPushService().installPush(this);

Re: How to use jWicket ResizableBehavior

2010-09-30 Thread Sebastian
ResizableBehaviour(){{ addUserProvidedResourceReferences(AbstractJqueryUiEmbeddedBehaviour.jQueryUiBaseCss); }}; myComponent.add(resizer); Seb On 29.09.2010 19:08, Sebastian wrote: Hi, I'd like to make a DIV resizable. The JavaDoc of ResizableBehavior says I just need to add a new behavior instance

Re: Bug in Wicket Push TimerChannelService when used with background threads

2010-09-30 Thread Sebastian
the ThreadContext we would have to call Application.unset() instead: if (originalApplication == null) Application.unset(); else Application.set(originalApplication); Regards, Seb On 30.09.2010 23:08, Rodolfo Hansen wrote: Hi Sebastian, your patch is in: trunk (1.5) 1.4 branch (future 1.4.13

How to use jWicket ResizableBehavior

2010-09-29 Thread Sebastian
Hi, I'd like to make a DIV resizable. The JavaDoc of ResizableBehavior says I just need to add a new behavior instance to a Wicket component (in my case a WebMarkupContainer) to make it resizable. Doing so results in my HTML output referencing the minified jquery libs and containing code

Wicket Push for Java 5?

2010-09-29 Thread Sebastian
Hi, why is the wicket push module available in the Maven repo1 compiled with Java 6? I checked out the code and cannot find a single usage of any new Java 6 features (except the @Override annotation used on methods of implemented interfaces). I'm currently working in an environment where

Re: Wicket Push for Java 5?

2010-09-29 Thread Sebastian
Hi Mike, thanks for your resoponse. Maybe you can just have the push-comet module being compiled with Java 6? I am using the push.timer implementation currently. I recompiled it using Java5 and it works fine. Regards, Seb On 29.09.2010 19:55, Michael O'Cleirigh wrote: Hi Sebastian, Its

Reporting bugs for Wicketstuff components

2010-09-29 Thread Sebastian
Hi, where can I report bugs for wicketstuff components? Regards, Seb - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Bug in Wicket Push TimerChannelService when used with background threads

2010-09-29 Thread Sebastian
/timer/TimerChannelBehavior.java (working copy) @@ -50,6 +50,7 @@ * appropriately the resources associated with the page. * * @author Xavier Hanin + * @author Sebastian Thomschke fixed There is no application attached to current thread * * @see IChannelService * @see

Re: OT: Best practices regarding service layers DAOs

2010-08-30 Thread Sebastian
Alexander, If I understand you correctly, you are saying: view-only operations (e.g. listings, search forms) can access the DAOs directly, and all operations that modify data should be routed through the service layer? How do you deal with enforcing security constraints (e.g. user X with role Y

OT: Best practices regarding service layers DAOs

2010-08-30 Thread Sebastian
Hi all, I've been struggling with some design questions in some wicket projects lately, and hope to get some insights from fellow wicketeers. Some years ago I started with Databinder as a DAO layer, without a service layer. This led to UI code building queries or adding Restrictions to a jpa

Using up/down/remove links of ListView items clears text fields

2010-08-14 Thread Sebastian
Hi, I am trying to use a list view component on a page where rows with text fields can be added, removed or moved around. I am using the removeLink, moveUpLink and moveDownLink methods of the listview to create the respective links for each list item. The problem is that even when I enable

Re: Using up/down/remove links of ListView items clears text fields

2010-08-14 Thread Sebastian
Hi Martin, thanks for pointing me to the reuse component concept. It solved my problem partially but not completely. The problem is, that the links provided by the listview result in HTTP GET request which means that any values recently entered will not be transferred back and get lost. I am

Re: Using up/down/remove links of ListView items clears text fields

2010-08-14 Thread Sebastian
Couldn't detect the listview if it is part of a form and decide for SubmitLink or Link? On 14.08.2010 18:51, James Carman wrote: But then all listviews that need up/down links have to be in a form. On Aug 14, 2010 12:37 PM, Sebastiannospam...@gmx.net wrote: Hi Martin, thanks for pointing

Re: Using up/down/remove links of ListView items clears text fields

2010-08-14 Thread Sebastian
Hi Martin, how would I use this in my case? I am relatively new to Wicket. Also does it have a graceful fallback for browsers having JS disabled? Seb On 14.08.2010 18:39, Martin Makundi wrote: Hi! Again, I have a custom solution for you :) It's called

scriptaculous SortableListView

2010-06-27 Thread Sebastian Gabriel
to let the sortablelistview allow free dragging not only horizontal or vertical. Perhaps you have some ideas? Thanks Sebastian - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h

jWicket SortableList

2010-06-10 Thread Sebastian Gabriel
. Thanks. Sebastian - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

jWicket Drag'n'Drop

2010-06-06 Thread Sebastian Gabriel
Hello, I am trying to build a drag and drop component, which display three different list and the user should be able to move the listeitems between the different lists. I have the lists and I'm able to move the items to other lists where they also be displayed. My problem is when I drop a

Re: jWicket Drag'n'Drop

2010-06-06 Thread Sebastian Gabriel
mean with cloned? Stefan -Ursprüngliche Nachricht- Von: Sebastian Gabriel [mailto:sebastian.gabr...@hs-augsburg.de] Gesendet: Sonntag, 6. Juni 2010 13:49 An: users@wicket.apache.org Betreff: jWicket Drag'n'Drop Hello, I am trying to build a drag and drop component, which display

AutoCompleteTextField Problem Submitting

2010-05-12 Thread Sebastian Gabriel
); } } return ret.iterator(); } }; Thanks, Sebastian

Re: AutoCompleteTextField Problem Submitting

2010-05-12 Thread Sebastian Gabriel
to identify the right object, hasn't it? Thanks Sebastian Am 12.05.2010 um 19:26 schrieb Zilvinas Vilutis: I had the same problem, its something related to converters or how your text value is converted to ( in your case ) Subject - and as there is no converter for that - it is just failing

Complex URL mapping

2008-07-30 Thread Sebastian
Hi, I am currently trying to convert a custom application to Wicket and hit an issue regarding URL mappings. We have the requirement for URL-to-page mappings as follows: 1) http://localhost/app/ - WelcomePage.java 2) http://localhost/app/info -

Re: Asynchronous Components

2008-07-30 Thread Sebastian
this would be to drop each component into an iframe and make it poll for data which is retrieved using some global threadpool. -igor On Tue, Jul 22, 2008 at 2:12 PM, Sebastian [EMAIL PROTECTED] wrote: Hi, I have not yet looked much into Wicket but am quite interested in the project. We have

Asynchronous Components

2008-07-22 Thread Sebastian
Hi, I have not yet looked much into Wicket but am quite interested in the project. We have a specific requirement where I could not yet find the right information/documentation for. We need to put multiple components onto a page receiving data through web services. A single web services