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

download link in abstractTab

2010-11-12 Thread fachhoch
I have a link in a AbstractTab , on click I start download a file , any time I click on this link whole tab is reloaded , please tell me is this normal? , is there any way I can control this ? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/download-link-in-abstractT

Re: Wicket design incompatible with Web 2.0 ?

2010-11-12 Thread Rodolfo Hansen
There are several long polling implementations around wicket. wicketstuff-push for example was designed for continuous communication between client and server. There are a couple of details to working with it, and you seem to be worried on the general ability to do long-polling with wicket. T

Re: Wicket design incompatible with Web 2.0 ?

2010-11-12 Thread John Armstrong
Filed https://issues.apache.org/jira/browse/WICKET-3165 Thanks Igor John- On Fri, Nov 12, 2010 at 11:47 AM, 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 "agg

Re: Wicket + GAE

2010-11-12 Thread Martin Grigorov
Hi Alex, Can you try with Wicket 1.5-SNAPSHOT ? Yesterday I closed your ticket. I read all blogs about the topic and no one complains about this problem, but in the appengine ticket I mentioned in my first mail there are 30 users having this problem and the ticket is still not resolved. On Fri,

Re: Wicket design incompatible with Web 2.0 ?

2010-11-12 Thread Igor Vaynberg
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 callbacks within the same request. please file a jira issue. -igor On Fri, Nov 12, 2010 at 11:44 AM, Jo

Re: Wicket + GAE

2010-11-12 Thread Alex Objelean
Martin, are you sure you deployed the application using DEPLOYMENT mode and resourcePollFrequency is null? At least these are the only configurations needs to be updated (in wicket 1.4) in order to work with GAE. Alex -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/

Re: Wicket design incompatible with Web 2.0 ?

2010-11-12 Thread John Armstrong
EXT-JS does a nice queueing model where you can set a queue timer (say 100ms) and any AJAX requests get bundled up into a single package that goes across the wire at once, returning and then being sent back to their callers. This lets a page update many components at once in what appears to be rea

Re: Wicket design incompatible with Web 2.0 ?

2010-11-12 Thread Arjun Dhar
Hi, so I learn wicket as I go along right, dont mind me. :) I implemented an alerting system using JSONP and WebServices (i prefer REST). In my opinion that would scale well for multiple servers also. ..why would one even require Wicket in this picture? ..Also, am interested to know how would t

Re: Wicket design incompatible with Web 2.0 ?

2010-11-12 Thread Josh Kamau
AjaxSelfUpdatingTimerBehavior works perfectly for notifications. I guess it wouldnt work very well for a chat-like scenario. I have set mine to 30 seconds and it works perfectly. Long polling would hold a request with nothing to report back in most of the times. regards. On Fri, Nov 12, 2010 at

Re: Wicket design incompatible with Web 2.0 ?

2010-11-12 Thread Igor Vaynberg
why would you need a request every few milliseconds. what is so urgent about a notification that you cant poll every ten seconds? what your long polling thread can do is access the page, render a part of it, and send it back to the client - but, only when it has something to say. which instead of

Re: Wicket design incompatible with Web 2.0 ?

2010-11-12 Thread José Monzón
Hi Sebastian, Thanks for the hint. I'll have a look to wicket-push. Hope it works :) On Fri, Nov 12, 2010 at 4:46 PM, Sebastian wrote: > 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 > alter

Re: Wicket design incompatible with Web 2.0 ?

2010-11-12 Thread José Monzón
AjaxSelfUpdatingTimerBehavior is cool for simple repetitive requests. But if you try to do long polling with that (comet, retain the request in the server as long as you can while there's nothing to send back) you will see how your other ajax requests are queued and your page freezes. I've seen ma

Re: Everything serializable (and a Java general question)

2010-11-12 Thread Igor Vaynberg
the models have to be serializable, not the model objects they point to. for example if you are accessing a hibernate entity then the model that accesses it has to be serializable, not the entity itself. this is why we have LoadableDetachableModels. -igor On Fri, Nov 12, 2010 at 8:18 AM, Brown,

Re: Everything serializable (and a Java general question)

2010-11-12 Thread James Carman
Service objects should be injected via proxies, thus they would be serializable already. On Fri, Nov 12, 2010 at 11:18 AM, Brown, Berlin [GCG-PFS] wrote: > I haven't entirely researched this.  But I know wicket recommends > declaring your model objects as serializable so that if the page > seria

Re: Wicket + GAE

2010-11-12 Thread Martin Grigorov
I hope there is some appengine setting Otherwise https://issues.apache.org/jira/browse/WICKET-3138 is useless for GAE :-) On Fri, Nov 12, 2010 at 5:34 PM, Pedro Santos wrote: > If I correctly remember, I had the same problem, solved by calling > page.setVersioned(false) > > On Fri, Nov 12, 2010

Re: Wicket + GAE

2010-11-12 Thread Pedro Santos
If I correctly remember, I had the same problem, solved by calling page.setVersioned(false) On Fri, Nov 12, 2010 at 2:30 PM, Martin Grigorov wrote: > Hi GAE users, > > I'm trying to run Wicket 1.5 application in Google AppEngine and I'm > experiencing problem for which I cannot find a solution so

Wicket + GAE

2010-11-12 Thread Martin Grigorov
Hi GAE users, I'm trying to run Wicket 1.5 application in Google AppEngine and I'm experiencing problem for which I cannot find a solution so far: SEVERE: Error serializing object class org.wicketstuff.gae.HomePage [object=[Page class = org.wicketstuff.gae.HomePage, id = 0, render count = 1]] jav

Everything serializable (and a Java general question)

2010-11-12 Thread Brown, Berlin [GCG-PFS]
I haven't entirely researched this. But I know wicket recommends declaring your model objects as serializable so that if the page serializes than so do the objects. With this approach, I tend to define all or most of my beans and service objects as serializable. Do you have to define an object

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 Martin Grigorov
Also take a look at: http://jfarcand.wordpress.com/2010/10/07/writing-websocket-application-using-apache-wicket/ https://github.com/jfarcand/atmosphere/tree/master/samples/wicket-clock/ https://github.com/

Re: Wicket design incompatible with Web 2.0 ?

2010-11-12 Thread jcgarciam
Thanks Sebastian, i was going to suggest the same thing. I haven't tried myself but should be the way to go. On Fri, Nov 12, 2010 at 12:47 PM, Sebastian-61 [via Apache Wicket] < ml-node+3039789-309873457-65...@n4.nabble.com > wrote: > You can use the wicketstuff wicket-push project. It should w

Re: Wicket design incompatible with Web 2.0 ?

2010-11-12 Thread jcgarciam
Josh, what monzonj saids is valid. When doing ajax operation in wicket, you can't trigger other ajax operation in parallel that change the component tree because it will get block until the first operation finishes. But having said that, you need to consider that web browser limits the amount of

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: Need Wicket Book

2010-11-12 Thread dhar_ar
I agree with you; the idea of a book should really be to clarify concepts. Because technology keeps moving on and that's where the code and user forums come is. But a foundation ;..specially on architecture and life cycles is best explained bya book. That's what I"m searching for . But each one

Re: Wicket design incompatible with Web 2.0 ?

2010-11-12 Thread Josh Kamau
I have implemented an application that alerts the user on various events. I created a notification's bar at the top of my page. This bar has a panel on which i added AjaxSelfUpdatingTimerBehavior. The Panel is available in all pages. whatever the page the use is, as long as the panel is rendered,

RE: Need Wicket Book

2010-11-12 Thread Frank Silbermann
When I coded my application originally based on Wicket 1.2, I after looking at the DataTable example, I had to peruse the DataTable (and, for 1.2, DefaultDataTable) code to figure out what I needed to do for my task. Even if I had had _Wicket_in_Action_ at my disposal back then, I think I still

Re: Wicket design incompatible with Web 2.0 ?

2010-11-12 Thread Frank van Lankvelt
On Fri, Nov 12, 2010 at 3:55 PM, 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 hope guys you can > throw some light into it. > > I need to create a web application that uses ajax to keep itself > udpated while

Re: Ajax response render as source in the browser

2010-11-12 Thread Dan Retzlaff
We're running 2.2.15 with the AJP connector. Before we'd pinpointed our problem, we were considering using the HTTP connector instead. That affects the requestor's IP in Tomcat though, so I'm glad we didn't have to. On Fri, Nov 12, 2010 at 12:31 AM, Wayne W wrote: > Thanks Dan, > > I thought I'd

Re: Need Wicket Book

2010-11-12 Thread dhar_ar
Yes I did see one mention it; see my post. The other book . On my phone so can't remember the name. They don't have a paypal option and I can't remember the name so that's bad marketing for them. But looks like a good book (I read the sample chapters) Sent from BlackBerry® on Airtel -Origin

Re: Need Wicket Book

2010-11-12 Thread Martijn Dashorst
On Fri, Nov 12, 2010 at 3:24 PM, Frank Silbermann wrote: > Does any Wicket book describe the use of Wicket Extensions, such as > DataTable?  I didn't see anything on that subject in _Wicket_in_Action_. In order to keep the book manageable (in thickness) and to be able to publish it on some derail

Wicket design incompatible with Web 2.0 ?

2010-11-12 Thread José Monzón
I recently run into a problem that has make me consider whether continuing using Wicket or not for a project. I hope guys you can throw some light into it. I need to create a web application that uses ajax to keep itself udpated while still allows the user interact with it also using Ajax. Imagine

RE: Need Wicket Book

2010-11-12 Thread Frank Silbermann
Does any Wicket book describe the use of Wicket Extensions, such as DataTable? I didn't see anything on that subject in _Wicket_in_Action_. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e

Re: Memory Leak in 1.4.13?

2010-11-12 Thread James Carman
I believe the original posters said he used a profiler On Nov 12, 2010 1:46 AM, "Nico Guba" wrote: > Wouldn't a profiler help pinpoint the culprit? > > Sent from my iPhone > > On 12 Nov 2010, at 00:06, Mark Doyle wrote: > >> I don't have any details to add except I say I saw this today too. >> >>

Re: Edit whole ListItem via Ajax

2010-11-12 Thread Martin Grigorov
See http://wicketstuff.org/grid-examples/data-grid/editable.1 https://oss.sonatype.org/content/repositories/snapshots/org/wicketstuff/inmethod-grid/ On Fri, Nov 12, 2010 at 12:41 PM, Patrick Petermair < patrick.peterm...@openforce.com> w

Edit whole ListItem via Ajax

2010-11-12 Thread Patrick Petermair
Hey list! I have a ListView and each ListItem has multiple labels. I want to add an "edit" button at the end of each line so that the user can switch into an edit mode, edit every label and then save them all at once. So far, I've used AjaxEditableLabel for a single label and it works great.

Re: Need Wicket Book

2010-11-12 Thread Mark Doyle
You don't get royalties? :o It's a great book by the way, in fact I think it's the perfect book to start your Wicket career with. On Thu, Nov 11, 2010 at 2:53 PM, Martijn Dashorst < martijn.dasho...@gmail.com> wrote: > On Thu, Nov 11, 2010 at 2:15 PM, Nico Guba wrote: > > Wouldn't the imminent

Re: Configuration of AbstractCalendar

2010-11-12 Thread Jan Ferko
Is there any other component to use instead of AbstractCalendar for plain calendar without DatePicker? Jan 2010/11/9 Igor Vaynberg > the value should be available in the formcomponent's model the datepicker is attached to. -igor On Tue, Nov

Re: Ajax response render as source in the browser

2010-11-12 Thread Wayne W
Thanks Dan, I thought I'd foudn my answer then! However we're using: Server version: Apache/2.2.9 (Unix) Server built: Dec 10 2008 18:22:18 So it looks like we already have that fix. Which version are you running? On Fri, Nov 12, 2010 at 5:19 AM, Dan Retzlaff wrote: > We had this issue wi

Re: Guice 3 / Guice persist 3 and wicket 1.5 M3 filter issue

2010-11-12 Thread Josh Kamau
Thanks Martin Am posting the same to Guice mailing list On Fri, Nov 12, 2010 at 3:25 AM, Martin Grigorov wrote: > Looks like a question for Guice Persist folks. > > The error message doesn't say what exactly is the problem but for some > reason PersistFilter cannot be instantiated. > > On Fri,

Re: Guice 3 / Guice persist 3 and wicket 1.5 M3 filter issue

2010-11-12 Thread Martin Grigorov
Looks like a question for Guice Persist folks. The error message doesn't say what exactly is the problem but for some reason PersistFilter cannot be instantiated. On Fri, Nov 12, 2010 at 9:16 AM, Josh Kamau wrote: > Hi there; > > Has anyone tried working with the wicket 1.5-m3 and the new guice

Guice 3 / Guice persist 3 and wicket 1.5 M3 filter issue

2010-11-12 Thread Josh Kamau
Hi there; Has anyone tried working with the wicket 1.5-m3 and the new guice/guice persist 3 snapshots? am getting the below error: java.lang.InstantiationException: com.google.inject.persist.PersistFilter at java.lang.Class.newInstance0(Class.java:340) at java.lang.Class.newInstance(Clas