Preventing AJAX behavior to execute during page reload

2020-03-06 Thread Sebastian Lichtenfels
backend 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 other

Re: "Twenty-Six Wicket Tricks" Book

2013-02-22 Thread Sebastian Gaul
> 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 &quo

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 RedirectRequestTarget("/target/index

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" : > Perhaps a good source of information is Jonathan's blog at: > >http://codeact.wordpress.com <http://codeact.wordpress.com> > > Ian

"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? http://code.google.com/p/twenty-si

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

2013-02-14 Thread Sebastian Gaul
d.properties will contain: >> MyJodaDateTextField.ConversionError='${date}' is not a valid Joda datetime >> >> Also pay attention to check the type in getConverter >> >> { >> if (Date.class.isAssignableFrom(type)) >> { >>

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 TextField(id) { @Override public IConverter getConverter(Class type) { return (IConverter) new JodaDateTimeConverter(); } }; The converter returns null if input was invalid.

IResourceStream.contentType ignored

2012-03-06 Thread Sebastian A. Vik
RequestHandler handle the Content-Type automatically". Am I missing something? Shouldn't ResourceStreamResource.newResourceResponse(Attributes attributes) check for null value returned from stream.getContentType() before calling Application.getMimeType()? Thank you very much, Sebastian

Re: wicketstuff-core 1.5.2 released?

2011-11-02 Thread Sebastian
he.org/ But are you thinking of a announcement here on the list? 2011/11/2 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 regul

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

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-push examples working across browsers

2011-10-27 Thread Sebastian
the email (it's not what I actually meant to say), and I really do appreciate your hard work and effort towards wicketstuff (as I have seen on git). Soheb - Original Message ----- From: "Sebastian" To: users@wicket.apache.org Sent: Wednesday, 26 October, 2011 5:21:52 PM Subject:

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. Regar

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 Grigorov wrote: On Wed, O

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 s

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 com.sas.ui.modal.example.HomePage$3.onCl

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 o

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 fo

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 are

Re: webapp shutdown listeners

2010-12-02 Thread Sebastian
operties in the classpath. On Thu, Dec 2, 2010 at 3:16 AM, Sebastian wrote: 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 req

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 S

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 via websocket

2010-11-19 Thread Sebastian
try wicketstuff wicket-push cometd implementation http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-push regards, seb On 19.11.2010 15:17, kamiseq wrote: ok so for a simple case I generate a page with wicket (GET) with controls and with JS that on load will start web socket on a clie

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 ma

Re: ERROR: exceded the 65,535 byte limit Please Help me!

2010-11-14 Thread Sebastian
Do yourself a favor and remove your product data from the class. If you insist on not using a DB, than use a CSV file and read the data from there via http://opencsv.sourceforge.net/ Regards, Seb On 14.11.2010 15:12, Paolo wrote: I use Eclipse Europe and Wicket 1.4.10 I am newbie. I am try t

Re: Multiple URL coding strategies on the same mount path

2010-11-14 Thread Sebastian
page. -igor On Sat, Nov 13, 2010 at 5:15 PM, Sebastian wrote: Hi, we are currently migrating a webapp to Wicket and have the requirement to keep the existing URL structure. Here is an example of REST-like URLs we need to match to different pages: /shop

Multiple URL coding strategies on the same mount path

2010-11-13 Thread Sebastian
Hi, we are currently migrating a webapp to Wicket and have the requirement to keep the existing URL structure. Here is an example of REST-like URLs we need to match to different pages: /shop/=> ShopWelcomePage.class /shop/A/ => BrandsByFirstCharPage.class /s

Re: Redirect after download a pdf

2010-11-13 Thread Sebastian
I suppose it works the other way round. You redirect to the completion page first which then triggers the download in the browser by another redirect to the PDF. Regards, Seb On 13.11.2010 19:02, okrohne wrote: Hi, after a form submit I create a PDF which I send to the user with a ResourceSt

Re: Wicket design incompatible with Web 2.0 ?

2010-11-12 Thread Sebastian
wicket-push also does update queueing. Regards, Seb On 12.11.2010 20:47, Igor Vaynberg wrote: not a bad idea. we already have a concept of "channels", but right now they can only queue or drop requests. with some work it should be possible to add an "aggregate" mode and process multiple callba

Re: Wicket design incompatible with Web 2.0 ?

2010-11-12 Thread Sebastian
...and in case you are trying wicket-push, please use the latest version 1.4.13. We did some substantial improvements there. Regards, Seb On 12.11.2010 15:55, José Monzón wrote: I recently run into a problem that has make me consider whether continuing using Wicket or not for a project. I hop

Re: Wicket design incompatible with Web 2.0 ?

2010-11-12 Thread Sebastian
You can use the wicketstuff wicket-push project. It should work for your case. It either uses a stateful cometd channel to receive update requests or alternatively a timer-based polling approach. It does not block the UI, you can continue using AJAX requests. Regards, Seb On 12.11.2010 15:55

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) child2.add(child3)

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-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 wrote: as I understand the readme the queue method basically has only a slightly differe

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 chi

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: 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: Wicket Serialization

2010-10-01 Thread Sebastian
and thus fix it. On 02.10.2010 00:40, Igor Vaynberg wrote: sounds wrong, no one should be keeping references to components -igor On Fri, Oct 1, 2010 at 3:32 PM, Sebastian wrote: hi, on a local copy of Wicket I now temporarily modified the SecondLevelCacheSessionStore cl

Re: Wicket Serialization

2010-10-01 Thread Sebastian
serialization for you in dev mode -igor On Fri, Oct 1, 2010 at 5:37 AM, Sebastian wrote: 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&#

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: Bug in Wicket Push TimerChannelService when used with background threads

2010-10-01 Thread Sebastian
lfo Hansen 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,

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

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 instan

Bug in Wicket Push TimerChannelService when used with background threads

2010-09-29 Thread Sebastian
icketstuff/push/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 ICha

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

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,

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 onl

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 like

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 (hi

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 c

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

2010-08-14 Thread Sebastian
alled AjaxFormSubmittingChangeListenerBehavior http://apache-wicket.1842946.n4.nabble.com/New-behavior-AjaxFormSubmittingChangeListenerBehavior-td1909633.html#a1909633 2010/8/14 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

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, "Sebastian" wrote: Hi Martin, thanks for pointing

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

2010-08-14 Thread Sebastian
On 14.08.2010 16:40, Martin Makundi wrote: Hi! You can solve this in a robust manner using reusemanager: http://osdir.com/ml/users-wicket.apache.org/2010-08/msg00161.html 2010/8/14 Sebastian: Hi, I am trying to use a list view component on a page where rows with text fields can be added

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 the

scriptaculous SortableListView

2010-06-27 Thread Sebastian Gabriel
now how 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 comma

jWicket SortableList

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

Re: jWicket Drag'n'Drop

2010-06-06 Thread Sebastian Gabriel
ly do you 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 > &

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 list

Re: AutoCompleteTextField Problem Submitting

2010-05-12 Thread Sebastian Gabriel
n order 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 &g

AutoCompleteTextField Problem Submitting

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

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

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 -

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 ca