Is there a "Wicket for Client-side Javascript Apps"?

2013-08-29 Thread Ashley Aitken
Sorry, this may be a bit off-topic but I can't think of a better group to ask. Does anyone know of a client-side Javascript framework that has the complete separation of Java(script) and HTML/CSS that Wicket has? I'm not a fan of loops and conditionals in the HTML. I'm thinking of a client-si

Re: Custom FormComponent and model update

2013-08-29 Thread Edgar Merino
I'm completely lost here, I've been debugging AjaxCheckBox just to see how it manages to not make the page dirty, but something strange happens when calling Component#dirty(boolean) on Component#modelChanging(), I set a breakpoint in the beginning of the Component#dirty(boolean) method but it n

Re: Custom FormComponent and model update

2013-08-29 Thread Edgar Merino
Found the problem, it has to do with versioning of pages... my callback is not changing the version number in the URL so everytime I refresh the web page I'm retrieving the older version of the page. I'm gonna have to work with AjaxRequestTarget in order to avoid this I guess. On 29/08/13 22:

Re: Custom FormComponent and model update

2013-08-29 Thread Edgar Merino
I have track this down to the Component#modelChanging() method, it seems that the actual modified page is not being stored in the session (perhaps it has something to do with dirty pages?). I'm a bit lost here, any clue would be appreciated. Thank you. On 29/08/13 14:33, Edgar Merino wrote: H

Re: Display Loading When Busy Navigator and DataView

2013-08-29 Thread Vignesh Palanisamy
Instead of normal link, use IndicatingAjaxFallbackLinkin Navigator.

AbstractAutoCompleteRenderer.getOnSelectJavaScriptExpression problem

2013-08-29 Thread Илья Нарыжный
Guys, I'm using Wicket 6.7 and I stack with following problem: I need to send AJAX request back to server once autocomplete variant has been selected. I thought to use getOnSelectJavaScriptExpression to add required AJAX call, but it's not possible simply obtain required callbackUrl from that met

Custom FormComponent and model update

2013-08-29 Thread Edgar Merino
Hello, I'm having a problem with a FormComponent I'm implementing, I'm manually calling FormComponent#validate(), FormComponent#valid() and FormComponent#updateModel() inside MyBehavior#onRequest() since the object is not attached to a Form, I'm using a custom Behavior (MyBehavior, which extend

WebSockets / Atmosphere with Glassfish 4.0?

2013-08-29 Thread Phill Ashworth
Has anyone managed to use Wicket + native WebSockets or Atmosphere on Glassfish 4.0? Neither of the current modules work out of the box on Glassfish 4.0, just wondering if anyone has had any success with this combination or can give me any time saving pointers. -Phill -

Wicket and microdata

2013-08-29 Thread Dirk Forchel
I'm currently try to add some kind of microdata (http://en.wikipedia.org/wiki/Microdata_%28HTML%29) to our project. Exists a wicketstuff project dealing with this problem? What is the preferred way to add "valueless" attributes to HTML tags? E.g. I have to add the following attributes to the body t

Re: AjaxChannel usage

2013-08-29 Thread Sven Meier
Hi Steve, Wicket serializes requests to pages, so Ajax channels won't help you for long running processes. You'll have to upload the file to a resource, so the user can continue to work on the page. You'll probably need an iframe for that, see: http://stackoverflow.com/questions/166221/how-

Re: Directory Listings

2013-08-29 Thread alessio
On Thu, Aug 29, 2013 at 10:59 AM, Sven Meier wrote: > > Sorry, that is what I meant. "Read the source Luke!" ;). I dont believe I understand your hint :) - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For addition

Re: AW: Redirect within a RequestCycleListener's onBeginRequest

2013-08-29 Thread Sven Meier
Hi, RedirectToUrlException is a ReplaceHandlerException, which is handled in RequestHandlerStack#execute() only (which is called after the listeners have been notified). > In onBeginRequest im throwing a custom runtime exception which I handle in onException > by returning a RedirectRequest

Re: Directory Listings

2013-08-29 Thread Sven Meier
using getResourceAsStream() Sorry, that is what I meant. "Read the source Luke!" ;). Sven On 08/29/2013 10:56 AM, alessio wrote: I believe I found the problem. It appears Wicket does not really pass non-Wicket requests back to a default handler, but handles them by itself in fallback() by u

Re: Directory Listings

2013-08-29 Thread alessio
I believe I found the problem. It appears Wicket does not really pass non-Wicket requests back to a default handler, but handles them by itself in fallback() by using getResourceAsStream() and in this case, for directories, WebSphere returns a listing regardless of its own directoryBrowsingEnabled

AW: Redirect within a RequestCycleListener's onBeginRequest

2013-08-29 Thread Ziegler, Christian
Hi again, for documentation purposes, it seems I found a way. In onBeginRequest im throwing a custom runtime exception which I handle in onException by returning a RedirectRequestHandler. Regards, Chris Von: Ziegler, Christian [christian.zieg...@pentasy