Re: wicketstuffpush 1.5 timepushservice not working
I will try and find some time to check this out for you... On Fri, Sep 30, 2011 at 4:06 PM, vineet semwal vineetsemwal1...@gmail.comwrote: hellos ! i have used wicketstuff 1.4.17.2 push before with wicket 1.4.x with great success.. but i cant make wicketstuff 1.5.x push timerpushservice working with wicket 1.5.x i dont see error or any thing that can help me track something useful..,i am attaching a simple quickstart application for the same .. -- thank you, regards, Vineet Semwal - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Rodolfo Hansen CTO, KindleIT Software Development Email: rhan...@kitsd.com Mobile: +1 (809) 860-6669
Re: DynamicWebResource creation takes long; client timeout is the result
You might want to take a look at wicketstuff-push also.. :) On Tue, Aug 30, 2011 at 9:25 AM, Igor Vaynberg igor.vaynb...@gmail.comwrote: there isnt really a Wicket way that is preferred as this has nothing to do with wicket. you can do it either way: ajax polling or the file system. or combine both, ajax poll to see if the file has been written to the file system and then provide a download link. -igor On Tue, Aug 30, 2011 at 6:40 AM, Vries de, Robbert R (NSC) robbert.devr...@ns.nl wrote: Hi everyone! I think the title says it all. The idea is that the resource is created on request, using a ResourceReference and ResourceLink. Creating it takes too long (It's a huge Excel sheet) so at some point the client (or some upstream server) times out the connection. How can I fix this? Is it possible to have a background thread build the excel sheet and have the client page poll (using Ajax) for the finished version? Or is the only solid solution to render the resource to the filesystem? And provide a user with a link to the generated file? What's the Wicket way? Cheers, Robbert - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Rodolfo Hansen CTO, KindleIT Software Development Email: rhan...@kitsd.com Mobile: +1 (809) 860-6669
Re: Handling futures
Have you thought about keeping your future in another scope? a conversation scope for example, or delegating it to the application / session ? On Sat, Jul 23, 2011 at 10:31 PM, Bertrand Guay-Paquet ber...@step.polymtl.ca wrote: Thanks for your answers Scott. I thought Wicket could essentially serialize a page any time it sees fit. Is that the case? If so, that would mean that even if the page containing the Future reference is still open in the browser window, the Future could be thrown away. Wouldn't that be a definite possibility if a user has multiple browser windows open in the same session and keeps browsing the site in another window while the pending result window is still open? On 23/07/2011 11:10 AM, Scott Swank wrote: Perhaps a transient Future would work for you after all. If the user navigates away the Page is serialized and the Future is thrown away. If you do put futures in a Map, perhaps in the Session, I'd wrap that in an AbstractReadonlyModelFuture. Then you could use have a MapInteger, SoftReferenceFuture (assuming your key is an Integer) if you're still concerned about memory usage getting out of hand. Scott On Sat, Jul 23, 2011 at 8:02 AM, Bertrand Guay-Paquet ber...@step.polymtl.ca wrote: I haven't actually done it yet, but the 3 steps you list are what I have in mind. After these, I plan to use a javascript timer that polls the status of the request and updates a label (or icon). That ajax behavior would be the one polling the Future. What I can't wrap my head around is this: the ajax behavior can't directly hold a reference to the Future because it can be serialized with the page. On the other hand, if I store the Future in a map somewhere and keep a serializable handle in the behavior, there is a possibility that the user will navigate to another page before get() is called on the Future. To avoid running out of memory, this means that I would need to have a daemon that periodically nulls stale Futures from the map so they can be garbage collected. This kind of operation (submit + polling asynchronous result) seems rather common so I'm sure there's some (easy) way to handle it... On 23/07/2011 9:14 AM, Scott Swank wrote: What does your workflow look like? 1. submit form (or ajax event) 2. create Future 3. return response page (or ajax response) Now who checks the Future and what sort of UI result occurs? Scott On Fri, Jul 22, 2011 at 8:55 PM, Bertrand Guay-Paquet ber...@step.polymtl.cawrote: Hello, I can't find the correct way to handle java.util.concurrent.Future instances returned from asynchronous methods in Wicket. This interface does not extend Serializable so its instances can't be stored in components or pages. So what do you do with them? Do you store them in a map in the application and keep a handle (e.g. an int) in the Wicket component? I saw code on a github repository that implemented an ajax timer behavior that keeps a reference to a Future in a transient field to update a status. However, I can't understand how that would work. Wouldn't the transient field be nulled out if the behavior is serialized with the page and then deserialized? Essentially, my question is: what is the standard way to handle Futures in Wicket that run longer than the page rendering? (like processing an order or sending emails) I hope I'm not missing something obvious, but that might be the case... Regards, Bertrand --**--** - To unsubscribe, e-mail: users-unsubscribe@wicket.**apache.orgusers-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org --**--** - To unsubscribe, e-mail: users-unsubscribe@wicket.**apache.orgusers-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org --**--** - To unsubscribe, e-mail: users-unsubscribe@wicket.**apache.orgusers-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org --**--** - To unsubscribe, e-mail: users-unsubscribe@wicket.**apache.orgusers-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org --**--**- To unsubscribe, e-mail: users-unsubscribe@wicket.**apache.orgusers-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Rodolfo Hansen CTO, KindleIT Software Development Email: rhan...@kitsd.com Mobile: +1 (809) 860-6669
Re: Pushing events to Wicket Push generated outside of Wicket
You don't need to create a component to publish messages. What version are you using? All you need is a IPushChannel token; then you can publish events from any thread to that channel. On 06/01/2011 07:05 PM, Doug Leeper wrote: We have a system that subscribes to events from an ESB. These events need to be then translated / added to the Wicket Push Bus so the appropriate Wicket components get updated appropriately. From what I can see, everything in Wicket Push requires a component. Unfortunately, we need to wire up ESB event listener and subsequently the ESB/Wicket Push Bridge in the Application.init() method (so we think). The Application.init() method doens't have access to a component (unless we create a dummy component) Has someone done this? Is this possible? Any example that can referenced? Thanks in advance. - Doug -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Pushing-events-to-Wicket-Push-generated-outside-of-Wicket-tp3567200p3567200.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Wicket / Hibernate / Databinder (dead?)
I also have a bit of code we have been working on.. I was sorta procrastinating with it on my local box. Things have been rather overwhelming lately. If you would like to make a pull request, I will gladly review it, and merge it into my branch. I actually have some work regarding integration for the conversation scope with spring. On Sat, May 28, 2011 at 3:43 PM, James Carman jcar...@carmanconsulting.comwrote: Wicketopia doesn't require spring. On May 28, 2011 3:13 PM, jbrookover jbrooko...@cast.org wrote: James Carman wrote: You could check out Wicketopia. It has support for Hibernate. You can run the example application to see how it works. I've been doing some searching and found many of your replies to this statement, but I was thinking without Spring involvement. I don't have any solid reasons for not using Spring other than I have no idea what it does and haven't needed it :) Seems very heavy whereas Databinder was extremely light. Granted, perhaps Spring is in my future. Daniel Toffetti wrote: AFAIK Nathan was not maintaining it anymore but Rodolfo Hansen was working on it a while ago to get it up to new versions of Hibernate and Wicket, please check here: https://github.com/kryptt, last updates are from April 5. Those updates were just to the project structure, I believe. I checked out the project and made my own changes to the snapshot to get it working. There are many more changes and, being a newb to Git, I'm still working on getting those back into the mainstream. This is what prompted this thread - I don't want to make these fixes if people are using some other light library. Still seems like a common issue. People out there must be using Wicket + Hibernate without Spring, right? Jake -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-Hibernate-Databinder-dead-tp3557635p3557917.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Rodolfo Hansen CTO, KindleIT Software Development Email: rhan...@kitsd.com Mobile: +1 (809) 860-6669
Re: Wicket Google App Engine Compatible
Are you by any change using the maven-gae-plugin ? If so, did you use archetype supplied? On Fri, 2010-12-03 at 11:48 -0800, jgardner16 wrote: May have found answer here http://thoughts.inphina.com/2010/10/20/managing-wicket-serialization-problem-on-google-app-engine/.
Re: webapp shutdown listeners
The correct way, I believe is using the IDestryer (and Iinitializer) along with the correct wicket.properties in the classpath. On Thu, Dec 2, 2010 at 3:16 AM, Sebastian nospam...@gmx.net 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 requiring the user do modify their webapps onDestroy method or need to add a ServletContextListener. because this has the potential that the user forgets to add this potentially resulting in memory leaks on webapp restart. On 02.12.2010 10:38, alex shubert wrote: Why dont you add you very own listener to servlet container? - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Rodolfo Hansen CTO, KindleIT Software Development Email: rhan...@kitsd.com Mobile: +1 (809) 860-6669
Re: Free wicket from component hierarchy hell
It makes more sense to be before. I think the component hierarchy should be ready for onInitialize() On Mon, 2010-11-08 at 09:32 -0800, Igor Vaynberg wrote: On Mon, Nov 8, 2010 at 9:07 AM, Sebastian nospam...@gmx.net wrote: ...and that makes the queue method a candidate to replace the add method without breaking anything. not necessarily. while add() adds right away, queue holds componets in a buffer until after the oninitialize() cascade. so calling getparent() or walking the hieararchy cannot be done until after oninitialize() has been called on the parent container. this gives you no way to traverse and tweak the child hiearachy. i might move the code so it creates the hierarchy just before the parent's oninitialize(), post seemed safer at first glance. -igor 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 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 child's location below a given (code controlled) parent. This means if you replace the current add method with the behavior of the queue method, existing code will still work and we would not have two separate ways to add components. That sounds like a good solution. @Martin: please start arguing with the given arguments and stop moaning. Thanks. I would argue that it is not completely safe to _replace_ add method with queue method. As Igor pointed out before, we might want to define security boundaries: componentA must be inside componentB. Such code should be implemented either traditionally or otherwise the new way of adding components via queue must implement a security feature that allows restricting child components inside a certain parent component in a fluid but robust manner. thats exactly what it does, as my readme file explains in the git branch... -igor Plain queue implementation, however, is a very good starting point to begin studying various ways of imposing security boundaries. ** Martin On 08.11.2010 17:28, Igor Vaynberg wrote: it is not about fixing something that isnt broken, its about making it easier. anyways, i just updated the readme in my experimental branch that explains the solution a bit more: https://github.com/ivaynberg/wicket/tree/component-queuing -igor On Mon, Nov 8, 2010 at 8:23 AM, Vitaly Tsaplinvitaly.tsap...@gmail.com wrote: 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. +1 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: wicket 1.4.12 and wicket-push 1.4.8
IT does not work well for components INSIDE the datatable, You are not using push behavior correctly, if the push behavior adds a persistence communication channel between a component and the server, the channel will break once the component is removed. I still don't understand why you need push in these examples... On Thu, 2010-11-04 at 07:20 -0700, fachhoch wrote: Please suggest me if comet works with lazyloading components ? also I use AjaxDefaultDatatable each row in the datatable has a panel , each panel which listens to its own channel all channels are unique, the datatbale also has ajaxpagination so when 2 page is selected the datatbale is repainted and new panels are created for each row this was my use case and I had problems with comet , so in simple words does comet supports components which are replaced by ajax ?
Re: wicket 1.4.12 and wicket-push 1.4.8
Yes, this is safe. Sebastian did some great work cleaning up the original API and classes. The examples have also been extended to make the usage scenarios much clearer. We are working on moving all this work into wicketstuff right now, we would love for you to test it later as it becomes available, but please feel free to use the previous (1.4.8) release as it is still the most stable. On Mon, 2010-11-01 at 11:35 -0700, fachhoch wrote: I am using wicket 1.4.12 and wicket-push 1.4.8 , will this combination work fine or can cause any issues ? I cannot upgrade to wicket push to 1.4.12 because of bugs . Please tell me if it is ok to use this combination ?
Re: wicket-push upgrade to 1.4.12 ContinuationCometdServlet class not found
As Michael pointed out; after version 1.4.11 we upgraded to version 2.0 of cometd and replaced the dojo clientside code with our own implementation. I've tested most of these changes, but there may still be some kinks that need to be ironed out. Can you add an issue here: http://github.com/kryptt/wicket-push/issues A quick-start would go a long in fixing / identifying the issue On Fri, 2010-10-22 at 07:32 -0700, fachhoch wrote: resolved the servlet issue, but found new problem. the same code I have used to work with wicket-push1.4.8 after upgrading to 1.4.12 I got this error 2010-10-22 10:31:08,270 [qtp27288505-25] ERROR org.apache.wicket.RequestCycle - java.lang.NullPointerException at org.wicketstuff.push.cometd.CometdService.publish(CometdService.java:156) at gov.hhs.acf.web.pages.common.AuditProgramTaskPage$ProgramTaskPublisher.publish(AuditProgramTaskPage.java:115) at gov.hhs.acf.web.pages.auditprogram.GoReviewDocumentsPage$ReturnCommentsModalWindow$2.onClose(GoReviewDocumentsPage.java:246) at org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow$WindowClosedBehavior.respond(ModalWindow.java:959) at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:300) at org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:119) at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92) at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1250) at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329) at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1436) at org.apache.wicket.RequestCycle.request(RequestCycle.java:545) at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:484) at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:317) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1187) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265) at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149) at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1187) at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1187) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:421) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:493) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:924) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:358) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:860) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:245) at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:126) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:113) at org.eclipse.jetty.server.Server.handle(Server.java:335) at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:588) at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:1029) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:549) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:211) at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:418) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:476) at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:436) at java.lang.Thread.run(Thread.java:619)
Re: wicket push (comentd) and ajaxlazyloadingpanel
maybe some header javascript is not being rendered now... I will try to check later on. On Tue, 2010-10-19 at 13:03 -0700, fachhoch wrote: I update a label using cometd. It was working fine. this label was inside a panel . Now I changed the panel to AjaxLazyloadingPanel , the cometd listener is no more responding to comentd message , if I change it back to Panel it works , please tell me cometd has any problems with AjaxLazyLoadPanel ?
Re: wicket push (comentd) and ajaxlazyloadingpanel
Adding a cometd behavior on some other component else (that isn't lazily loaded and isn't hidden) should work. On Tue, 2010-10-19 at 15:29 -0700, fachhoch wrote: Thank you for your reply, Is there any quick fix I can do in my code ?
Re: using cometd
Yes, this message is safe to ignore. It is the bayeux implementation stating JSONCommented is deprecated. Later versions of push do not try to use it. On Tue, 2010-10-12 at 19:32 -0700, fachhoch wrote: JSONCommented
Re: Bug in Wicket Push TimerChannelService when used with background threads
Added. On Fri, 2010-10-01 at 13:14 +0200, Sebastian wrote: I just realized that the current session is also bound to the thread context. Would it make sense to attach the Session to the background thread using the same way we do it for the Application? E.g. Session oldSession = Session.exists() ? Session.get() : null; Session.set(_session); try { ... invoke... } finally { if (oldSession == null) Session.unset(); else Session.set(oldSession); } Without doing this, the exception IllegalSateException: You can only locate or create sessions in the context of a request cycle may be thrown. Seb On 01.10.2010 00:42, Rodolfo 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, parameters); } finally { Application.set(originalApplication); if (originalApplication != null) Application.set(originalApplication); } The problem is if this code is executed in a separate thread the originalApplication will be null. If you just omit the null check in the finally clause the setter will throw an IllegalArgumentException. So to remove the app from the ThreadContext we would have to call Application.unset() instead: if (originalApplication == null) Application.unset(); else Application.set(originalApplication); you are right, although i checked the source for set and didn't see the throw... amended in the 1.4 branches 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 release) and 1.4.12 There was an issue in your patch where the application could be left in the ThreadContext, which was fixed, as well as a simplification in the trigger function. On Wed, 2010-09-29 at 21:39 +0200, Sebastian wrote: Hi, there is a problem in the Push TimerChannelService implementation: Callbacks do not work reliable when they are invoked from non-Web threads. The There is no application attached to current thread WicketRuntimeException will occur in such a case. The attached patch fixes this issue. 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?
Regarding this patch.. Michael: how would you deal with a mixed jdk version project? should we move push-parent to jdk1.5 and disable the animal-sniffer-maven-plugin for the cometd module? On Wed, 2010-09-29 at 21:17 +0200, Sebastian wrote: Thanks. Here you go... On 29.09.2010 20:21, Rodolfo Hansen wrote: The current comet code is reliant on servlet 3.0 which in turn requires java 6. You are correct regarding the timer implementation, If you send a patch separating the cometd out, so the rest of push can be java5. I'll push it, but push-parent trunk compiles against wicket 1.5 On Wed, 2010-09-29 at 20:01 +0200, Sebastian wrote: 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 related to the dependencies of the wicketstuff-push. When I switched the wicketstuff build to use a real JDK 5 instead of JDK 6 in compatibility mode errors like this were seen: [INFO] [INFO] Error for project: Wicketstuff Push (during deploy) [INFO] [INFO] Compilation failure /home/wicket/.hudson/jobs/Wicket Stuff Core/workspace/wicketstuff-core/push-parent/push/src/main/java/org/wicketstuff/push/cometd/CometdService.java:[11,-1] cannot access org.cometd.bayeux.Channel bad class file: /home/wicket/.m2/repository/org/cometd/java/bayeux-api/2.0.0.RC2/bayeux-api-2.0.0.RC2.jar(org/cometd/bayeux/Channel.class) class file has wrong version 50.0, should be 49.0 * *This is why the project was moved to be built by java 6 instead of java 5. Regards, Mike * * 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 only Java 5 is allowed. all other wicket components retrieved via Maven repo1 work fine here. Regards, Seb - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Bug in Wicket Push TimerChannelService when used with background threads
Hi Sebastian, your patch is in: trunk (1.5) 1.4 branch (future 1.4.13 release) and 1.4.12 There was an issue in your patch where the application could be left in the ThreadContext, which was fixed, as well as a simplification in the trigger function. On Wed, 2010-09-29 at 21:39 +0200, Sebastian wrote: Hi, there is a problem in the Push TimerChannelService implementation: Callbacks do not work reliable when they are invoked from non-Web threads. The There is no application attached to current thread WicketRuntimeException will occur in such a case. The attached patch fixes this issue. Regards, Seb - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Bug in Wicket Push TimerChannelService when used with background threads
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); } finally { Application.set(originalApplication); if (originalApplication != null) Application.set(originalApplication); } The problem is if this code is executed in a separate thread the originalApplication will be null. If you just omit the null check in the finally clause the setter will throw an IllegalArgumentException. So to remove the app from the ThreadContext we would have to call Application.unset() instead: if (originalApplication == null) Application.unset(); else Application.set(originalApplication); you are right, although i checked the source for set and didn't see the throw... amended in the 1.4 branches 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 release) and 1.4.12 There was an issue in your patch where the application could be left in the ThreadContext, which was fixed, as well as a simplification in the trigger function. On Wed, 2010-09-29 at 21:39 +0200, Sebastian wrote: Hi, there is a problem in the Push TimerChannelService implementation: Callbacks do not work reliable when they are invoked from non-Web threads. The There is no application attached to current thread WicketRuntimeException will occur in such a case. The attached patch fixes this issue. Regards, Seb - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - 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?
The current comet code is reliant on servlet 3.0 which in turn requires java 6. You are correct regarding the timer implementation, If you send a patch separating the cometd out, so the rest of push can be java5. I'll push it, but push-parent trunk compiles against wicket 1.5 On Wed, 2010-09-29 at 20:01 +0200, Sebastian wrote: 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 related to the dependencies of the wicketstuff-push. When I switched the wicketstuff build to use a real JDK 5 instead of JDK 6 in compatibility mode errors like this were seen: [INFO] [INFO] Error for project: Wicketstuff Push (during deploy) [INFO] [INFO] Compilation failure /home/wicket/.hudson/jobs/Wicket Stuff Core/workspace/wicketstuff-core/push-parent/push/src/main/java/org/wicketstuff/push/cometd/CometdService.java:[11,-1] cannot access org.cometd.bayeux.Channel bad class file: /home/wicket/.m2/repository/org/cometd/java/bayeux-api/2.0.0.RC2/bayeux-api-2.0.0.RC2.jar(org/cometd/bayeux/Channel.class) class file has wrong version 50.0, should be 49.0 * *This is why the project was moved to be built by java 6 instead of java 5. Regards, Mike * * 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 only Java 5 is allowed. all other wicket components retrieved via Maven repo1 work fine here. Regards, Seb - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Page Expired after WebResponse
Use an AjaxLink (or extends abstractlink), this way the page version is not expected to increment. On Wed, 2010-09-22 at 18:27 +0300, Altuğ Bilgin Altıntaş wrote: Hi, Here is code to export excel; Link linkExcel = new Link(linkExcel) { public void onClick() { getRequestCycle().setRequestTarget( new ComponentRequestTarget(tableContainer) { @Override public void respond(RequestCycle requestCycle) { . WebResponse wr = (WebResponse) getResponse(); wr.setContentType(application/vnd.ms-excel; charset=utf-8 ); wr.setCharacterEncoding(Constants.ENCODING); wr.setHeader(content-disposition, attachment;filename= + Constants.DEFAULT_EXCEL_FILE); } } It works great. *Problem steps *: 1. Click excel link and get the excel file - great ! 2. Click a modalwindow link (Ajax) gets *Page Expired* error. Any suggestions on *step 2* ? Thanks. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Page Expired after WebResponse
Have you thought about using simply using a ResourceStremRequestTarget ? On Wed, 2010-09-22 at 20:26 +0300, Altuğ Bilgin Altıntaş wrote: AjaxLink doesn't throw an Excel file to user. Also I changed the code like that : WebResponse wr = (WebResponse)*target.getHeaderResponse().getResponse() ;* wr.setContentType(application/vnd.ms-excel; charset=windows-1254 ); wr.setCharacterEncoding(Constants.ENCODING); wr.setHeader(content-disposition, attachment;filename= + Constants.DEFAULT_EXCEL_FILE); It sends the table via Ajax :) but no excel file download process begins Any suggestions ? Thanks. 2010/9/22 Rodolfo Hansen kry...@gmail.com Use an AjaxLink (or extends abstractlink), this way the page version is not expected to increment. On Wed, 2010-09-22 at 18:27 +0300, Altuğ Bilgin Altıntaş wrote: Hi, Here is code to export excel; Link linkExcel = new Link(linkExcel) { public void onClick() { getRequestCycle().setRequestTarget( new ComponentRequestTarget(tableContainer) { @Override public void respond(RequestCycle requestCycle) { . WebResponse wr = (WebResponse) getResponse(); wr.setContentType(application/vnd.ms-excel; charset=utf-8 ); wr.setCharacterEncoding(Constants.ENCODING); wr.setHeader(content-disposition, attachment;filename= + Constants.DEFAULT_EXCEL_FILE); } } It works great. *Problem steps *: 1. Click excel link and get the excel file - great ! 2. Click a modalwindow link (Ajax) gets *Page Expired* error. Any suggestions on *step 2* ? Thanks. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Wicket Ajax integration
Nice, I implemented something very similar to that actually; and now I actually also need to send json from the client... On Thu, 2010-09-09 at 09:31 +0200, Joseph Pachod wrote: Rodolfo Hansen wrote: How can I use Wicket.Ajax.Request to post a json string to a DefaultAjaxBehaviour? Maybe this could help: http://josephonit.wordpress.com/2010/09/02/wicket-providing-json-content-through-ajax/ On the Javascript side I basically did something like this: function setupSend(xhr) { xhr.setRequestHeader(Wicket-Ajax, true); if (typeof(Wicket.Focus.lastFocusId) != undefined Wicket.Focus.lastFocusId != Wicket.Focus.lastFocusId != null) xhr.setRequestHeader(Wicket-FocusedElementId, Wicket.Focus.lastFocusId); xhr.setRequestHeader(Accept, text/xml); }; function success(data) { var xml = data; if (typeof xml == string) { xml = new ActiveXObject(Microsoft.XMLDOM); xml.async = false; xml.loadXML(data); } (new Wicket.Ajax.Call(${feedbackURL})).loadedCallback(xml); }; function call(data, revertFunc) { $.ajax({ url : ${feedbackURL}, type: 'POST', contentType: 'application/json;charset=UTF-8' ,dataType: (($.browser.msie) ? text : xml), data : $.toJSON(data) ,beforeSend : setupSend ,success : success, error : revertFunc }); }; to do something similar to what Wicket.Ajax.Request.post does, except I change the contentType to 'application/json' - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: HTML streaming on Link click
On Thu, 2010-09-09 at 14:11 -0700, DmitryM wrote: Rodolfo, If you're asking about Wicket application settings, then yes, it's set to default 2-pass request processing with buffered pages rendering. I thought the way the link is implemented it should not matter since I thought I would write directly into the HttpServlet output stream. And I really see the ((WebResponse)requestCycle.getResponse()).getHttpServletResponse().getOutputStream() returns me an instance of something from the web server itself (in my case it's Jetty HttpConnection$Output) Did I miss something? No, sorry, it seems correct. Did you use wireshark or something similar to make sure its not working as expected? It should work. -Dmitry
Wicket Ajax integration
How can I use Wicket.Ajax.Request to post a json string to a DefaultAjaxBehaviour? On the Javascript side I basically did something like this: function setupSend(xhr) { xhr.setRequestHeader(Wicket-Ajax, true); if (typeof(Wicket.Focus.lastFocusId) != undefined Wicket.Focus.lastFocusId != Wicket.Focus.lastFocusId != null) xhr.setRequestHeader(Wicket-FocusedElementId, Wicket.Focus.lastFocusId); xhr.setRequestHeader(Accept, text/xml); }; function success(data) { var xml = data; if (typeof xml == string) { xml = new ActiveXObject(Microsoft.XMLDOM); xml.async = false; xml.loadXML(data); } (new Wicket.Ajax.Call(${feedbackURL})).loadedCallback(xml); }; function call(data, revertFunc) { $.ajax({ url : ${feedbackURL}, type: 'POST', contentType: 'application/json;charset=UTF-8' ,dataType: (($.browser.msie) ? text : xml), data : $.toJSON(data) ,beforeSend : setupSend ,success : success, error : revertFunc }); }; to do something similar to what Wicket.Ajax.Request.post does, except I change the contentType to 'application/json' - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
WicketStuff Push Changes.
There are a couple of significant changes in the wicketstuff-push found at: https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-core/jdk-1.6-parent/push-parent It is more tightly integrated to Wicket and the new javascript comet code. It no longer depends on any external javascript library. It requires the new servlet 3.0 standard. It supports the HTML5 WebSocket class. Thanks to Martin Grigorov for his work on alot of these points! There has been extremely little testing done on this new code base, it is far from production ready; but it would be very nice to get feedback and bug reports on the new changes... thanks,
Re: using cometd with threads
You may use a servlet context listener... Get the spring applicationContext and add the Bayuex Service been to it when it context is initialized http://www.java-tips.org/java-ee-tips/java-servlet/how-to-work-with-servletcontextlistener.html On Tue, 2010-08-17 at 08:06 -0700, fachhoch wrote: I wan to inject Bayeaux service in a pojo initialized by spring , please sugest me how can I get servlet context in a spring bean ?
Re: Remove support for Portlets in Wicket 1.5
I used wikcet 1.4 inside Liferay 5.2 and sent a tiny patch that was implemented in 1.4.7 I no longer use wicket inside a portlet container, but I can help support it. On Wed, 2010-08-11 at 14:45 -0400, James Carman wrote: I'd say at least move it to wicketstuff, so that if there's some other person out there with the will and means to take the project on, they can do so. On Wed, Aug 11, 2010 at 2:35 PM, Martin Grigorov mgrigo...@apache.org wrote: Hi, I just created a ticket (https://issues.apache.org/jira/browse/WICKET-2976) to remove the support for Portlets in Wicket 1.5. It is currently broken because of the re-work of WicketFilter and request processing. Since none of the active core developers use this technology in his daily job it is hard for us to support it. Now is the time to vote against this decision and give us a hand to improve it or just silently agree. martin-g P.S. I sent this email earlier today but for some reason it was rejected. Excuse me if you receive it for second time. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: any good ideas about how to add a confirm check before leaving a page?
On Tue, 2010-08-10 at 16:08 +0200, Leszek Gawron wrote: On 2010-08-10 15:11, Joe Hudson wrote: Thank you very much for the response but my issue is not a simple as this Say I have a page with navigation links and the page doesn't know about the navigation links because they are controlled by functionality provided in the superclass. What I am trying to do is deal with the case where the user clicks a link of that type and intercept that event. Does anyone have any advice? Thanks. Do you need to intercept the event or just as user for permission to leave the page? If the latter: https://cwiki.apache.org/WICKET/composite-behaviors.html You can also find an implemented version of this behaviour here: http://code.google.com/p/koodaripalvelut-wicket/ You would want the change detector project. If your requirements are more conplex and you need to add a behavior to that link specifically, (to do something on the server, you should just add a AjaxEventBehaviour for that button, or simply do a replace(Component) on your child page.
Re: using cometd with threads
Yes, the code is designed to be thread safe. On Mon, 2010-08-02 at 07:15 -0700, fachhoch wrote: I was looking into cometd , I tried the example it worked for me.I havea new requirement , I have to update a panel in my page if a job running seperately in a thread has finished processing. for example user clicks a link, this starts a job in a thread asychronously. This job might take several days , when this user logs in back and if the job is completed I want to show the user that the job is completed, in my case a thread has to publish to a channel is this possible ? - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: using cometd with threads
How are you getting the Bayeux service? It is alright to think of the Bayeux service as a messaging api, that jumps across your various layers (from the service to the javascript client). As long as you remember you can't trust the javascript clients (malicious users), you are fine. On Mon, 2010-08-02 at 08:14 -0700, fachhoch wrote: but is it write to use web api in my service classes ? My job is in service layer as its a thread and web has nothing to do with , now I have to call web api (cometd api ) inside my service classes is this write ? - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: using cometd with threads
You can get it from the ServletContext: getServletContext().getAttribute(BayeuxServer.ATTRIBUTE); On Mon, 2010-08-02 at 11:18 -0700, fachhoch wrote: Please suggest me how to get Bayeux service in service layer , right now I have in subclass of org.apache.wicket.protocol.http.Application - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Wicketstuff Push Assistance request
Hi all, Anyone willing to lend me a hand on the wicketstuff-push project? I have some pretty good ideas, but can't find the time to implement them. If anyone is interested please write me directly. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Wicketstuff Push Assistance request
Cool, Well right now, if you checkout my branch in github, you'll see I actually stripped out the Dojo dependency and classes as the bayuex people have cleanly separated cometd from the dojo codebase. I also implemented an automatic copy of their cometd-javascript-common artifact into ours. What I haven't gotten around to doing is re-assembling everything. There should be some javascript and java code needed after the dojo strip. Thanks to your latest changes, we got up to HTML5 and servlet 3.0 support, what I was aiming at is a leaner codebase, without dojo extras. Also any ideas on where to setup a web-front? On Tue, 2010-07-20 at 18:12 +0200, Martin Grigorov wrote: Hi Rodolfo, I still want to upgrade this project to Dojo and Wicket (both versions 1.5). Please describe your idea with HTML5 WebSocket implementation here (in users@) and I guess someone else can also join. I also invest in html5 (svn .../wicket-stuff/trunk/wicket15-html5-parent) ;-) 2010/7/20 Rodolfo Hansen kry...@gmail.com Hi all, Anyone willing to lend me a hand on the wicketstuff-push project? I have some pretty good ideas, but can't find the time to implement them. If anyone is interested please write me directly. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: using comet to find all clients using a page
If they have javascript enabled and the comet loads correctly for them: Yes. On Fri, 2010-07-09 at 05:13 -0700, fachhoch wrote: using comet will I be able to get total number of clients using some page ? - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: wicketstuff-push causing WicketRuntimeException component not found on Page
Yes, it may be something with the wicket session. Can you send me a quickstart with the issue?? On Thu, 2010-06-24 at 23:22 -0700, david_ wrote: Yes indeed. Is it possible that wicket is updating for example 2 Component's of 2 different users with the same Component identifiers? Maybe that's why Wicket is unable to process the action for a link one of the 2 Components. 2010/6/25 Rodolfo Hansen [via Apache Wicket] ml-node+2267816-1187617804-232...@n4.nabble.comml-node%2b2267816-1187617804-232...@n4.nabble.com You mean to say the error is sporadic? On Wed, 2010-06-23 at 20:16 +0200, David Meulemans wrote: Hi I have a Listener object with a Map in it containing org.apache.wicket.Component objects that need to be updated every time the onChange(); method is called. For example caused by another user's actions. This works perfectly with wicketstuff-push. The org.apache.wicket.Component objects that need to be updated, have org.apache.wicket.ajax.markup.html.AjaxLink objects. Sometimes if I click on the one of the links, I get a WicketRuntimeException telling me that the Link is not found on the Page. Any suggestions? -- View message @ http://apache-wicket.1842946.n4.nabble.com/wicketstuff-push-causing-WicketRuntimeException-component-not-found-on-Page-tp2266008p2267816.html To start a new topic under Wicket - User, email ml-node+1842947-1066186228-232...@n4.nabble.comml-node%2b1842947-1066186228-232...@n4.nabble.com To unsubscribe from Wicket - User, click herehttp://apache-wicket.1842946.n4.nabble.com/subscriptions/Unsubscribe.jtp?code=bWV1bGVtYW5zLmRhdmlkQGdtYWlsLmNvbXwxODQyOTQ3fC0xOTcyOTcxMjQ2.
Re: wicketstuff-push causing WicketRuntimeException component not found on Page
You mean to say the error is sporadic? On Wed, 2010-06-23 at 20:16 +0200, David Meulemans wrote: Hi I have a Listener object with a Map in it containing org.apache.wicket.Component objects that need to be updated every time the onChange(); method is called. For example caused by another user's actions. This works perfectly with wicketstuff-push. The org.apache.wicket.Component objects that need to be updated, have org.apache.wicket.ajax.markup.html.AjaxLink objects. Sometimes if I click on the one of the links, I get a WicketRuntimeException telling me that the Link is not found on the Page. Any suggestions?
RE: is this a bug in ModelT?
Are you sure you want to override Model in the first place? Di you see LoadableDetachableModel ? Model is not ment to be an abstract class, I would argue its not a bug, but that would be a whole other debate... On Tue, 2010-06-15 at 06:56 -0400, Alex Rass wrote: No, Martin, it can't work. Look at the implementation. ALL other methods use object directly. SO if you just override getObject you'll endup with a broken: equals(), hashCode(), toString() methods (which breaks any form of caching) detach() would also be broken. So no, it can't work. You HAVE to super.setObject() or setObject() directly and use internal object to use ModelT class. Which is not deadly, but a need to know. Hence: is it a bug or a feature? Igor? :) - Alex -Original Message- From: Martin Makundi [mailto:martin.maku...@koodaripalvelut.com] Sent: Tuesday, June 15, 2010 6:11 AM To: users@wicket.apache.org Subject: Re: is this a bug in ModelT? I did something similar and it works. ** Martin 2010/6/15 Alex Rass a...@itbsllc.com: Hi. Was writing some code and encountered that org.apache.wicket.model.Model T Always uses direct references to 'object' variable directly. And never as getObject(). This may hinder overriding methods. (I found this cause I overwrote getObject() and NOTHING changed :) I then looked at the source and knew how to fix it) Bug or feature? This is Wicket 1.4.7 - Alex - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: [wicketstuff/wicket-contrib-jasperpreports] Is anyone supporting this?
I think I have a couple of lines of code I can submit, And I can help you out in case you need any help. On Mon, Jun 7, 2010 at 8:16 AM, Charles Deal chuckdea...@gmail.com wrote: Excellent. sf username: cdeal First things first then. If I get some patches put into scm other people will see that it is still a viable project. Then as I get time, I'll extract some of my code into some kind of example. What are the requirements for building with core and who do I contact to get this included in the core build process? On Thu, Jun 3, 2010 at 5:24 PM, nino martinez wael nino.martinez.w...@gmail.com wrote: go for commit rights. And for requirements it would be good to have an example project other than that it should just be working :) 2010/6/3 Charles Deal chuckdea...@gmail.com: Is anyone out there maintaining/using this library? I am using it and I have a handful of modifications that I'd like to push back into the source tree. Should I prepare a patch and JIRA issue or shall I pursue commit access for this library? I would also like to get it hooked into the build process. It seems like I only need to add the wicketstuff-core reference to this pom and have the wicketstuff-core pom updated to include this module. What else needs to be done? Are there specific requirements for a library to be part of the wicketstuff-core build? - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Rodolfo Hansen CTO, KindleIT Software Development Email: rhan...@kitsd.com Mobile: +1 (809) 860-6669
Re: [wicketstuff/wicket-contrib-jasperpreports] Is anyone supporting this?
Changes I made on my own code I could push-back. Some helper code; auto-caching of compiled jrxml; and support for accepting PDF Form submitions... On Mon, 2010-06-07 at 11:07 -0400, Charles Deal wrote: The first set of code I wanted to push back was just some housekeeping stuff. Use slf4j, reference wicketstuff-core, minor html changes. After that, I will look at anything that I did in my own code to customize it and see if i can push any of that back. What kind of changes did you have in mind for the project? On Mon, Jun 7, 2010 at 10:44 AM, Rodolfo Hansen rhan...@kitsd.com wrote: I think I have a couple of lines of code I can submit, And I can help you out in case you need any help. On Mon, Jun 7, 2010 at 8:16 AM, Charles Deal chuckdea...@gmail.com wrote: Excellent. sf username: cdeal First things first then. If I get some patches put into scm other people will see that it is still a viable project. Then as I get time, I'll extract some of my code into some kind of example. What are the requirements for building with core and who do I contact to get this included in the core build process? On Thu, Jun 3, 2010 at 5:24 PM, nino martinez wael nino.martinez.w...@gmail.com wrote: go for commit rights. And for requirements it would be good to have an example project other than that it should just be working :) 2010/6/3 Charles Deal chuckdea...@gmail.com: Is anyone out there maintaining/using this library? I am using it and I have a handful of modifications that I'd like to push back into the source tree. Should I prepare a patch and JIRA issue or shall I pursue commit access for this library? I would also like to get it hooked into the build process. It seems like I only need to add the wicketstuff-core reference to this pom and have the wicketstuff-core pom updated to include this module. What else needs to be done? Are there specific requirements for a library to be part of the wicketstuff-core build? - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Rodolfo Hansen CTO, KindleIT Software Development Email: rhan...@kitsd.com Mobile: +1 (809) 860-6669
New Behaviours
We've published a couple of new simple behaviors under the Apache License: You can find the info at: http://code.google.com/p/koodaripalvelut-wicket/ And a demo for the behaviors at: http://tustor-webtest.appspot.com/ At the moment there are two behaviors: - A SearchBox for DropDownChoice: which appends a simple search box to filter elements from a given DropDownChoice - A ChangeNotifier: which allows for the presentation of a warning dialog before already written form data is lost (in as much as allowed by the browser) Feel free to checkout, comment, file bugs, and add features at the Google code site. :) Regards, -- Rodolfo Hansen CTO, KindleIT Software Development Email: rhan...@kitsd.com Mobile: +1 (809) 860-6669
Re: Push Ajax, Streaming Ajax.
Have you looked into wicketstuff-push? I'm looking for help in including HTML5 support... patches welcome. :) On Mon, 2010-05-24 at 06:28 -0700, victordenisov wrote: I want to create streaming or push ajax. How can I do this with Wicket?
Re: Google Analytics and Wicket Dynamic Urls
What our team did was write a behavior for tracking wicket component rendering ajax behaviour execution which could be used to track wizard actions... On Sat, May 22, 2010 at 10:33 AM, M. Hammer nab...@hammer-tour.com wrote: I've been in the same situation, and decided against GA and in favour of my own implementation. Main reason is that GA is problematic in the EU due to privacy concerns. Nevertheless, whether you implement your own tracker or use GA, you need to come up with semantics of stateful content. So if the user clicks some link, you need to communicate the meaning of the target page to the tracker - I do not think you can bypass that, in the context of AJAX and stateful pages. I think you can use GA's API: http://code.google.com/apis/analytics/docs/gaJS/gaJSApi.html (Because of the privacy concerns I've not looked into it - there will be an issue of adding the required Javascript, I've built a footer contributor framework for a similar situation, if you are interested, I can give you info, but it is quite easy to do this...) Quoting Martin Makundi martin.maku...@koodaripalvelut.com: No. I do not want to omit. I want to track stateful content. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Rodolfo Hansen CTO, KindleIT Software Development Email: rhan...@kitsd.com Mobile: +1 (809) 860-6669
Re: wickestuff-push not working with jetty standalone
Hi, Check the logs and see what the cometd servlet is requiring, This is more of a jetty issue than a problem wicketstuff-push.. You should find something in the jetty mailing lists regarding the requirements for the comet servlet. On Thu, Apr 22, 2010 at 9:24 AM, vineet semwal vineetsemwal1...@gmail.comwrote: Hellos, I am using wicketuff-push in a project,i found it nice and used it a lot in a project i am currently working with.. my problem is it's not working when i am using jetty as standalone ie. usual java -jar start.jar i also have port forwarding enabled .. i don't see any long polling in logs .. what i see in logs are just http status codes,two lines from logs.. ** 122.160.42.236 - - [22/Apr/2010:12:48:25 +] POST /cometd HTTP/1.1 302 0 122.160.42.236 - - [22/Apr/2010:12:48:25 +] GET /cometd/ HTTP/1.1 200 1238 ** it works well when i am using it with maven-jetty plugin.. Following is my setup :- jetty:6.1.23 wicket:1.4.7 push:1.4.7-snapshot any advice will be welcomed... -- regards, Vineet Semwal -- Rodolfo Hansen CTO, KindleIT Software Development Email: rhan...@kitsd.com Mobile: +1 (809) 860-6669
Re: Senior Java Developer Role, £300-500 a day, Bri stol!
Hi, the position seems interesting enough, attached is my CV. I am currently located in the Caribbean, but am willing to move. On Wed, Apr 14, 2010 at 11:29 AM, Matt Williams matthewwilli...@peoplesource.co.uk wrote: Hi guys, Apologies in advance to anyone I have already contacted with regards to this role or if it has no relevance to you. My client are urgently seeking a Senior Java Developer with excellent Wicket knowledge to join their team on a 3 month contract in Bristol, UK. They will pay the required rates to secure the successful candidate if he/she is found.. There are interview slots waiting to be filled, and the start date is ASAP. Please contact me if this role is of interest to you. If you know of anyone who fits the bill, please forward this e-mail to them- I do pay a referral fee for successfully placed candidates. Regards, Matthew Williams Recruitment Consultant 01179227000 matthewwilli...@peoplesource.co.uk [image: cid:image001.jpg@01C9E5C4.98BE7860]http://www.peoplesource.co.uk/ [image: 2009 Fast Track 100 logo] [image: Buying Solutions suppliers logo colour 72dpi] [image: cid:093515311@23112009-15BA] *Approved Buying Solutions Supplier to NHS and Public Sector* *One of the UK’s Fastest Growing companies in 2008 and 2009.* People Source Consulting Ltd, 30 Queen Charlotte Street, Bristol, BS1 4HJ. Telephone 0117 922 7000, Fax 0117 925 9700 www.peoplesource.co.uk R http://www.peoplesource.co.uk/egistered in England and Wales 4389799, Vat registered 793455295 -- Rodolfo Hansen CTO, KindleIT Software Development Email: rhan...@kitsd.com Mobile: +1 (809) 860-6669 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Wicketstuff-Push without Dojo?
Hi Richard, Your ideas seam very interesting.. I haven't had alot of time to work on the project and am currently the only developer as the initial team isn't responding. I will checkout your patch, and would love to continue discussing changes with you. On Mon, Mar 8, 2010 at 11:03 AM, Richard Wilkinson richardjohnwilkin...@googlemail.com wrote: Hi again, Attached is a patch (zipped) to be applied to the push directory inside the push-parent directory under svn [1]. Any feedback or comments would be welcome. [1] - https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-core/push-parent - Regards - Richard Wilkinson Developer, jWeekend: OO Java Technologies - Development and Training http://jWeekend.com On 8 March 2010 14:37, Richard Wilkinson richardjohnwilkin...@googlemail.com wrote: Hi, We have been working on the wicketstuff-push project offline; so far we have modified the code to run using jQuery (using wiQuery [1]) with the latest version of the cometd javascript, and fixed a few bugs / made some improvements. For example the current code wasn't as efficient as it could have been when you subscribe to more than one event per page. We also have added a 'push model', where when you update the contents of a components model, that component is updated as usual with wicket ajax, and some helper code for working with wiQuery. All of this code is work-in-progress, but we want to start a dialog with the main developer(s) of the push project to see if we can contribute our work back to the community. We also experimented with using atmosphere [2] which allows cometd to work on more servlet containers than just jetty, but while the integration worked fine, there is currently a bug in the atmosphere code which means that it doesn't work with the current version of the cometd servlet [3]. A version based only on wicket ajax sounds interesting, if you look at the jQuery binding, most of the actual work is done by the framework-agnostic cometd.js file, with jQuery providing the ajax mechanism and the JSON evaluation, however I know that the wicket ajax backend is being re-written in 1.5, so any work done on the 1.4 branch would be relatively short lived. I will try and get together a patch with our work in it for the push project and post it here, or I could maybe branch the main push-parent in the wicketstuff svn. [1] - http://code.google.com/p/wiquery/ [2] - https://atmosphere.dev.java.net/ [3] - http://n2.nabble.com/Bayuex-problems-tt4633855.html -- Regards - Richard Wilkinson Developer, jWeekend: OO Java Technologies - Development and Training http://jWeekend.com On 8 March 2010 13:36, Martin U ufer.mar...@googlemail.com wrote: Hi Folks, i need some COMETD or something equal implemention in my web-application. So i found wickestuff-push. But as far as is see, it users dojo to do the client-side magic. I dont want to blow up my application more as it still is ;) so i want ask for an wicket + comet workaround with jQuery or with wicket-own javascript functionality. thanks in advance for any hint. - Martin - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Rodolfo Hansen CTO, KindleIT Software Development Email: rhan...@kindleit.net Mobile: +1 (809) 860-6669
Re: wicketstuff-push and component replacing
The changes are in 1.4-SNAPSHOT But it seems wicketstuff isn't building the package at the moment, I will look into that. For now, you need to checkout the source and build it yourself. On Wed, Feb 3, 2010 at 8:21 AM, Roland rolan...@gmail.com wrote: Thank you for replying. As I understand you made some changes, from where can I get them. Originally I used this for source: http://wicketstuff.org/maven/repository/org/wicketstuff/push/1.4.1/ but I don't see any changes there. I agree on part that push service is complicated. I could try comet if I'd find proper example and it would allow me to do what I'd like to achieve. But AjaxTimeoutBehavior..did you mean AbstractAjaxTimerBehavior instead, as I find no references to the first one? If yes, I implemented it with it currently, but new alarms checking with it creates considerable traffic and is therefore not the cleverest solution I suppose Roland Rodolfo Hansen wrote: Try now... To me, the push service is overly complicated, and you could easily get away with simply using Wicket's AjaxTimeoutBehavior as there are no technical advantages over the later. The comet version of push offers a couple of serious advantages for the server, and client side. Why can't you use that instead? On Tue, Jan 26, 2010 at 11:12 AM, Rodolfo Hansen kry...@gmail.com wrote: I have basically concentrated on the CometD Service This should be a simple bug to fix. On Fri, Jan 22, 2010 at 10:34 AM, Roland Vares roland.va...@uptime.eewrote: Hello, I'm currently developing wicket based application, which displays alarms on map and allows their modification. New alarms are sent to server through soap service and map with few other components on page for all browser clients needs to be refreshed. I'm using wicketstuff-push for the push service implementation. org.wicketstuff.push.timer.TimerPushService to be clear. As an in examples I have method on wicket page which is activated when server sends notification about an event: // set new listener for incoming events final IPushTarget pushTarget = getTimerPushService().installPush(this); getPushService().addMapListener(new MapServiceListener() { public void onEventChange(final Event event) { if (pushTarget.isConnected()) { Label label = new Label(labelonpage,label); //label to be replaced pushTarget.addComponent(label); pushTarget.trigger(); } else { // remove inactive listener LOG.debug(Removing map listener + this); getPushService().removeMapListener(this); } ... Problems start with line : Label label = new Label(labelonpage,label); which results with: org.apache.wicket.WicketRuntimeException: There is no application attached to current thread btpool0-2 at org.apache.wicket.Application.get(Application.java:179) at org.apache.wicket.Component.getApplication(Component.java:1323) at org.apache.wicket.Component.init(Component.java:920) It seems that in this push method, context is lost, I have no session, request,... Is there any way I gan regain it or make new? Or how should I implement push service, which needs to replace some components on page? Thanks in advance, Roland -- Rodolfo Hansen CTO, KindleIT Software Development Email: rhan...@kindleit.net Mobile: +1 (809) 860-6669 -- Rodolfo Hansen CTO, KindleIT Software Development Email: rhan...@kindleit.net Mobile: +1 (809) 860-6669 -- View this message in context: http://old.nabble.com/wicketstuff-push-and-component-replacing-tp27274128p27435497.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Rodolfo Hansen CTO, KindleIT Software Development Email: rhan...@kindleit.net Mobile: +1 (809) 860-6669
wicketstuff-core subprojects correct version number??
Which should it be? Anyone else know about this? On Wed, Feb 3, 2010 at 6:04 PM, vineet semwal vineetsemwal1...@gmail.comwrote: i can't build the wicketstuff core for last few days,i think the problem is some projects have their parents as 1.4-SNAPSHOT while others have their parents as 1.4.2-SNAPSHOT. On Wed, Feb 3, 2010 at 9:59 PM, Rodolfo Hansen kry...@gmail.com wrote: The changes are in 1.4-SNAPSHOT But it seems wicketstuff isn't building the package at the moment, I will look into that. For now, you need to checkout the source and build it yourself. On Wed, Feb 3, 2010 at 8:21 AM, Roland rolan...@gmail.com wrote: Thank you for replying. As I understand you made some changes, from where can I get them. Originally I used this for source: http://wicketstuff.org/maven/repository/org/wicketstuff/push/1.4.1/ but I don't see any changes there. I agree on part that push service is complicated. I could try comet if I'd find proper example and it would allow me to do what I'd like to achieve. But AjaxTimeoutBehavior..did you mean AbstractAjaxTimerBehavior instead, as I find no references to the first one? If yes, I implemented it with it currently, but new alarms checking with it creates considerable traffic and is therefore not the cleverest solution I suppose Roland Rodolfo Hansen wrote: Try now... To me, the push service is overly complicated, and you could easily get away with simply using Wicket's AjaxTimeoutBehavior as there are no technical advantages over the later. The comet version of push offers a couple of serious advantages for the server, and client side. Why can't you use that instead? On Tue, Jan 26, 2010 at 11:12 AM, Rodolfo Hansen kry...@gmail.com wrote: I have basically concentrated on the CometD Service This should be a simple bug to fix. On Fri, Jan 22, 2010 at 10:34 AM, Roland Vares roland.va...@uptime.eewrote: Hello, I'm currently developing wicket based application, which displays alarms on map and allows their modification. New alarms are sent to server through soap service and map with few other components on page for all browser clients needs to be refreshed. I'm using wicketstuff-push for the push service implementation. org.wicketstuff.push.timer.TimerPushService to be clear. As an in examples I have method on wicket page which is activated when server sends notification about an event: // set new listener for incoming events final IPushTarget pushTarget = getTimerPushService().installPush(this); getPushService().addMapListener(new MapServiceListener() { public void onEventChange(final Event event) { if (pushTarget.isConnected()) { Label label = new Label(labelonpage,label); //label to be replaced pushTarget.addComponent(label); pushTarget.trigger(); } else { // remove inactive listener LOG.debug(Removing map listener + this); getPushService().removeMapListener(this); } ... Problems start with line : Label label = new Label(labelonpage,label); which results with: org.apache.wicket.WicketRuntimeException: There is no application attached to current thread btpool0-2 at org.apache.wicket.Application.get(Application.java:179) at org.apache.wicket.Component.getApplication(Component.java:1323) at org.apache.wicket.Component.init(Component.java:920) It seems that in this push method, context is lost, I have no session, request,... Is there any way I gan regain it or make new? Or how should I implement push service, which needs to replace some components on page? Thanks in advance, Roland -- Rodolfo Hansen CTO, KindleIT Software Development Email: rhan...@kindleit.net Mobile: +1 (809) 860-6669 -- Rodolfo Hansen CTO, KindleIT Software Development Email: rhan...@kindleit.net Mobile: +1 (809) 860-6669 -- View this message in context: http://old.nabble.com/wicketstuff-push-and-component-replacing-tp27274128p27435497.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: wicketstuff-push and component replacing
I have basically concentrated on the CometD Service This should be a simple bug to fix. On Fri, Jan 22, 2010 at 10:34 AM, Roland Vares roland.va...@uptime.eewrote: Hello, I'm currently developing wicket based application, which displays alarms on map and allows their modification. New alarms are sent to server through soap service and map with few other components on page for all browser clients needs to be refreshed. I'm using wicketstuff-push for the push service implementation. org.wicketstuff.push.timer.TimerPushService to be clear. As an in examples I have method on wicket page which is activated when server sends notification about an event: // set new listener for incoming events final IPushTarget pushTarget = getTimerPushService().installPush(this); getPushService().addMapListener(new MapServiceListener() { public void onEventChange(final Event event) { if (pushTarget.isConnected()) { Label label = new Label(labelonpage,label); //label to be replaced pushTarget.addComponent(label); pushTarget.trigger(); } else { // remove inactive listener LOG.debug(Removing map listener + this); getPushService().removeMapListener(this); } ... Problems start with line : Label label = new Label(labelonpage,label); which results with: org.apache.wicket.WicketRuntimeException: There is no application attached to current thread btpool0-2 at org.apache.wicket.Application.get(Application.java:179) at org.apache.wicket.Component.getApplication(Component.java:1323) at org.apache.wicket.Component.init(Component.java:920) It seems that in this push method, context is lost, I have no session, request,... Is there any way I gan regain it or make new? Or how should I implement push service, which needs to replace some components on page? Thanks in advance, Roland -- Rodolfo Hansen CTO, KindleIT Software Development Email: rhan...@kindleit.net Mobile: +1 (809) 860-6669
Re: wicketstuff push, publishing event in a page2 and component installed with channel listener in page1
Ok, thanks for the quickstart. I just submitted the fix to svn... On Tue, Jan 19, 2010 at 2:38 AM, vineet semwal vineetsemwal1...@gmail.comwrote: thanks, i will take a look at them. On Mon, Jan 18, 2010 at 9:32 PM, Rodolfo Hansen kry...@gmail.com wrote: On Fri, Jan 15, 2010 at 5:24 AM, vineet semwal vineetsemwal1...@gmail.comwrote: Sorry ,a little late .. push is a great project,thanks for your efforts. i am a little confused, 1)does the time out only happens after a remove event is published or apart from this, there is another timeout which happens when server is finished pushing into the client? Here are the configuration options for the Jetty implementation of cometd. You can change the connection timeout value to notice disconects sooner (at the cost of ineffiency) http://cometd.org/documentation/cometd-java/server/configuration You can check the bayeux specificition for the details. ( http://svn.cometd.com/trunk/bayeux/bayeux.html) 2)i see some problems when using more than one listener on one component, i tried reproducing the problem by a little tinkering in your example , currently the example in the quickstart i am attaching has two listeners on different components ,you can reproduce the problem by adding listeners to the same component. a event in one channel is caught by channel listener meant for another channel. Great, I'll look into this. thanks again .. On Sat, Dec 26, 2009 at 11:15 PM, Rodolfo Hansen kry...@gmail.com wrote: Regarding remove listeners: Most browsers fail to report the remove event. Only firefox reports removal immediately, all other browsers depend on the timeout for a comet reconnect to notice and fire the remove event; you may need to lower the timeout for the cometd connections. Also,can i install more than one channel listener on a component? Never tried it, but there should be no problem, can you write a quickstart with your use cases, so I can flesh any bugs out? On Thu, Dec 24, 2009 at 10:03 AM, vineet semwal vineetsemwal1...@gmail.comwrote: Hellos, recently i started using wicketstuff push ,i have few doubts as following .. i have a situation where i need to publish a event in page 2 and add the channel listener in page 1 . for eg. a sign out event published in page 2 which i do using a remove listener. Also,can i install more than one channel listener on a component? -- regards, Vineet Semwal -- Rodolfo Hansen CTO, KindleIT Software Development Email: rhan...@kindleit.net Mobile: +1 (809) 860-6669 -- regards, Vineet Semwal - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Rodolfo Hansen CTO, KindleIT Software Development Email: rhan...@kindleit.net Mobile: +1 (809) 860-6669 -- regards, Vineet Semwal -- Rodolfo Hansen CTO, KindleIT Software Development Email: rhan...@kindleit.net Mobile: +1 (809) 860-6669
Re: wicketstuff-push and component replacing
Try now... To me, the push service is overly complicated, and you could easily get away with simply using Wicket's AjaxTimeoutBehavior as there are no technical advantages over the later. The comet version of push offers a couple of serious advantages for the server, and client side. Why can't you use that instead? On Tue, Jan 26, 2010 at 11:12 AM, Rodolfo Hansen kry...@gmail.com wrote: I have basically concentrated on the CometD Service This should be a simple bug to fix. On Fri, Jan 22, 2010 at 10:34 AM, Roland Vares roland.va...@uptime.eewrote: Hello, I'm currently developing wicket based application, which displays alarms on map and allows their modification. New alarms are sent to server through soap service and map with few other components on page for all browser clients needs to be refreshed. I'm using wicketstuff-push for the push service implementation. org.wicketstuff.push.timer.TimerPushService to be clear. As an in examples I have method on wicket page which is activated when server sends notification about an event: // set new listener for incoming events final IPushTarget pushTarget = getTimerPushService().installPush(this); getPushService().addMapListener(new MapServiceListener() { public void onEventChange(final Event event) { if (pushTarget.isConnected()) { Label label = new Label(labelonpage,label); //label to be replaced pushTarget.addComponent(label); pushTarget.trigger(); } else { // remove inactive listener LOG.debug(Removing map listener + this); getPushService().removeMapListener(this); } ... Problems start with line : Label label = new Label(labelonpage,label); which results with: org.apache.wicket.WicketRuntimeException: There is no application attached to current thread btpool0-2 at org.apache.wicket.Application.get(Application.java:179) at org.apache.wicket.Component.getApplication(Component.java:1323) at org.apache.wicket.Component.init(Component.java:920) It seems that in this push method, context is lost, I have no session, request,... Is there any way I gan regain it or make new? Or how should I implement push service, which needs to replace some components on page? Thanks in advance, Roland -- Rodolfo Hansen CTO, KindleIT Software Development Email: rhan...@kindleit.net Mobile: +1 (809) 860-6669 -- Rodolfo Hansen CTO, KindleIT Software Development Email: rhan...@kindleit.net Mobile: +1 (809) 860-6669
Re: wicketstuff push, publishing event in a page2 and component installed with channel listener in page1
On Fri, Jan 15, 2010 at 5:24 AM, vineet semwal vineetsemwal1...@gmail.comwrote: Sorry ,a little late .. push is a great project,thanks for your efforts. i am a little confused, 1)does the time out only happens after a remove event is published or apart from this, there is another timeout which happens when server is finished pushing into the client? Here are the configuration options for the Jetty implementation of cometd. You can change the connection timeout value to notice disconects sooner (at the cost of ineffiency) http://cometd.org/documentation/cometd-java/server/configuration You can check the bayeux specificition for the details. ( http://svn.cometd.com/trunk/bayeux/bayeux.html) 2)i see some problems when using more than one listener on one component, i tried reproducing the problem by a little tinkering in your example , currently the example in the quickstart i am attaching has two listeners on different components ,you can reproduce the problem by adding listeners to the same component. a event in one channel is caught by channel listener meant for another channel. Great, I'll look into this. thanks again .. On Sat, Dec 26, 2009 at 11:15 PM, Rodolfo Hansen kry...@gmail.com wrote: Regarding remove listeners: Most browsers fail to report the remove event. Only firefox reports removal immediately, all other browsers depend on the timeout for a comet reconnect to notice and fire the remove event; you may need to lower the timeout for the cometd connections. Also,can i install more than one channel listener on a component? Never tried it, but there should be no problem, can you write a quickstart with your use cases, so I can flesh any bugs out? On Thu, Dec 24, 2009 at 10:03 AM, vineet semwal vineetsemwal1...@gmail.comwrote: Hellos, recently i started using wicketstuff push ,i have few doubts as following .. i have a situation where i need to publish a event in page 2 and add the channel listener in page 1 . for eg. a sign out event published in page 2 which i do using a remove listener. Also,can i install more than one channel listener on a component? -- regards, Vineet Semwal -- Rodolfo Hansen CTO, KindleIT Software Development Email: rhan...@kindleit.net Mobile: +1 (809) 860-6669 -- regards, Vineet Semwal - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Rodolfo Hansen CTO, KindleIT Software Development Email: rhan...@kindleit.net Mobile: +1 (809) 860-6669
Re: wicketstuff push, publishing event in a page2 and component installed with channel listener in page1
Regarding remove listeners: Most browsers fail to report the remove event. Only firefox reports removal immediately, all other browsers depend on the timeout for a comet reconnect to notice and fire the remove event; you may need to lower the timeout for the cometd connections. Also,can i install more than one channel listener on a component? Never tried it, but there should be no problem, can you write a quickstart with your use cases, so I can flesh any bugs out? On Thu, Dec 24, 2009 at 10:03 AM, vineet semwal vineetsemwal1...@gmail.comwrote: Hellos, recently i started using wicketstuff push ,i have few doubts as following .. i have a situation where i need to publish a event in page 2 and add the channel listener in page 1 . for eg. a sign out event published in page 2 which i do using a remove listener. Also,can i install more than one channel listener on a component? -- regards, Vineet Semwal -- Rodolfo Hansen CTO, KindleIT Software Development Email: rhan...@kindleit.net Mobile: +1 (809) 860-6669
Re: Java Wicket Job Opportunity, Finland
Hi, I am interested in learning more about the offer. I'm the maintainer for wicketstuff-push and maven-gae-plugin, I can also point you to some sites we've done for our clients, with jQuery or wicket. I would like to know the details regarding tour products, so please feel free to reply or im me at kry...@gmail.com. Sincerely, Rodolfo Hansen On Sat, Dec 19, 2009 at 6:21 AM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: Hi! We are looking for talented individuals to work with us on our online products. Development tools include: * java + wicket * m2eclipse, eclipse ide * jpa + hibernate * javascript + jquery Contact me for more information if you are interested. ** Martin - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Java Wicket Job Opportunity, Finland
Sorry. On Sat, Dec 19, 2009 at 1:36 PM, Jeremy Thomerson jer...@wickettraining.com wrote: I think that it is always best to reply directly to the person offering the job rather than posting to the list. The default action for reply is to the list - so please double check who you are sending emails to before sending. -- Jeremy Thomerson http://www.wickettraining.com On Sat, Dec 19, 2009 at 9:46 AM, Rodolfo Hansen rhan...@kindleit.net wrote: Hi, I am interested in learning more about the offer. I'm the maintainer for wicketstuff-push and maven-gae-plugin, I can also point you to some sites we've done for our clients, with jQuery or wicket. I would like to know the details regarding tour products, so please feel free to reply or im me at kry...@gmail.com. Sincerely, Rodolfo Hansen On Sat, Dec 19, 2009 at 6:21 AM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: Hi! We are looking for talented individuals to work with us on our online products. Development tools include: * java + wicket * m2eclipse, eclipse ide * jpa + hibernate * javascript + jquery Contact me for more information if you are interested. ** Martin - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Rodolfo Hansen CTO, KindleIT Software Development Email: rhan...@kindleit.net Office: 1 (809) 732-5200 Mobile: 1 (809) 299-7332
Re: wicketstuff-push question
Can you prepare an example? There are a few things I have to iron out in that code... I recently published a couple of changes to On Thu, Oct 8, 2009 at 2:39 AM, Daniel Dominik Holúbek dankodo...@gmail.com wrote: hello everybody, has anyone here any experience with wicketstuff-push? i am trying to use it in my app, but it behaves somewhat strangely. when i call cometdService.publish(event) method from form's onSubmit method, it works like a charm. but when i call it from another method - for example ListView's onModelChanged, then nothing happens. the reason i need to call it that way is, that i am using xmpp protocol for a chat application. in form's onSubmit method, i send the message via xmpp's sendMessage method. When received, the message is processed in a jabber listener. that is the place for publishing cometd event. if i publish it in onSubmit, clients often refresh themselves before the message actually arrives, and that's a problem. thank you for any help with this. :) -- -danoh- -- Rodolfo Hansen CTO, KindleIT Software Development Email: rhan...@kindleit.net Office: 1 (809) 732-5200 Mobile: 1 (809) 299-7332
Re: Google Analytics and AJAX
I have a couple of behaviors I wrote somewhere.. Don't think they're worth writing a project though... On Wed, Jul 29, 2009 at 12:15 AM, John Armstrong siber...@gmail.com wrote: Is anyone doing this: http://www.google.com/support/googleanalytics/bin/answer.py?hl=enanswer=55519 If so can you share your code? If not I'll build it ;) John- -- Rodolfo Hansen CTO, KindleIT Software Development Email: rhan...@kindleit.net Office: 1 (809) 732-5200 Mobile: 1 (809) 299-7332
Re: jWicket -- jQuery with Wicket integration
/dev/LWUGReg/). Did you look at this project too ? Lionel tauren wrote: jWicket has now been released as a wicketstuff project. jWicket is an integration of Wicket and jQuery that was previously called WicketJQuery (by Stefan Lindner). I realize there are already a few Wicket/jQuery integrations, but I think that Stefan's WicketJQuery implementation has some advantages over the others. Stefan and I discussed how to best move the WicketJQuery project forward and decided it was best if it became a standard maven project to make it easy for others to use. We decided to host it at wicketstuff so that it would be available via a maven repository. We also decided to rename it since there were already wicketstuff projects with very similar names. So it will now be known as jWicket. At this point, the code committed to WicketStuff is essentially the same codebase available on the original WicketJQuery SVN server. I have refactored it with the org.wicketstuff.jwicket namespace and have structured the project in a standard maven manner. I also split the project into jwicket-parent, jwicket, and jwicket-examples. The demo app is now separate from jwicket itself so that it doesn't need to be imported into projects. The original WIcketJQuery project developed by Stefan Lindner can be found at: http://subversion.visionet.de/project/WicketJQuery/wiki Tauren - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - http://richard-wilkinson.co.uk My blog: http://richard-wilkinson.co.uk -- View this message in context: http://www.nabble.com/jWicketjQuery-with-Wicket-integration-tp24584280p24611730.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Rodolfo Hansen CTO, KindleIT Software Development Email: rhan...@kindleit.net Office: 1 (809) 732-5200 Mobile: 1 (809) 299-7332
Re: [Announce] wicketstuff-push ported to use wicket 1.4 jetty 6.1.14
No, not yet. I haven't had a chance to write it, nor test it out. Check bellow in the thread for some guidance, and if you want write me directly at kryptt at gmail.com to see if we can start a patch with it. On Thu, Jul 16, 2009 at 5:06 AM, freak182 eman.noll...@gmail.com wrote: Hello, Is there a patch/servlet to run cometd in glassfish? because im having trouble to run push-examples on glassfish as it will be used in production. Thanks a lot. Cheers. Rodolfo Hansen wrote: On Mon, Apr 20, 2009 at 6:26 AM, pmarrone paolo.marr...@gmail.com wrote: Hi Rodolfo, I'm trying to deploy the wicketstuff-push example on a Glassfish server V3, but without success. Can you give some information about how to use your wicketstuff-push implementation outside Jetty? For Glassfish there are a couple of configurations you need to set in the glassfish domain. Also, you might have to write your own servlet, as in this post: http://weblogs.java.net/blog/jfarcand/archive/2006/10/writting_a_come.html I know that Glassfish has support for cometd, so it should be possible. I propose to insert in the example package this kind of information, because jetty is not normally adopted in real production environments. Yes, if you can, can you write the Glassfish Servlet for cometd integration and post it as a patch, or send it to me directly? rhan...@kindleit.net Thank you very much for your kind response. Regards Paolo Rodolfo Hansen-2 wrote: Hi, a new version of wicketstuff-push was moved to the wicketstuff-core group of projects, as push-parent (as was specified in the wiki) A couple of new things were done: It is no longer compatible with java 1.4, is built for wicket 1.4 and requires jetty 6.1.14. The dependencies on dojo have been reduced even further, so this package is basically just a cometd client/server project for wicket. The RemoveListener is now working and is extended with a new type of WicketRemoveListener that allows access to the Wicket Application Singleton and the session that registered the singleton (i thought of a couple of ways to register them, and decided to choose the one present in the code for it) Please let me know of any suggestions, ideas for the proj. -- View this message in context: http://www.nabble.com/-Announce--wicketstuff-push-ported-to-use-wicket-1.4-jetty-6.1.14-tp20914051p23134109.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Rodolfo Hansen CEO, KindleIT Software Development Email: rhan...@kindleit.net Office: 1 (809) 732-5200 Mobile: 1 (809) 299-7332 -- View this message in context: http://www.nabble.com/-Announce--wicketstuff-push-ported-to-use-wicket-1.4-jetty-6.1.14-tp20914051p24512870.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Rodolfo Hansen CTO, KindleIT Software Development Email: rhan...@kindleit.net Office: 1 (809) 732-5200 Mobile: 1 (809) 299-7332
Re: [Announce] wicketstuff-push ported to use wicket 1.4 jetty 6.1.14
Hi, You have two options: 1. use a previous version of wicketstuff-push, 2. or help out with branching the current code back to 1.3.x Right now, the code requres java 1.5, so if your proyect requires java 1.4 then I recomend using a previous version. the old wicket 1.3, java 1.4 branch is here: https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/branches/wicketstuff-push/ On Mon, Jul 13, 2009 at 3:10 AM, freak182 eman.noll...@gmail.com wrote: Hello, I checkout the latest wicket-push in wicketstuff but unfortunately this was built in 1.4. How can I build for 1.3.x wicket? Because our application is using 1.3.x and I cannot tell them to migrate to 1.4 since the development has already started. Thanks a lot. Cheers. Rodolfo Hansen wrote: On Mon, Apr 20, 2009 at 6:26 AM, pmarrone paolo.marr...@gmail.com wrote: Hi Rodolfo, I'm trying to deploy the wicketstuff-push example on a Glassfish server V3, but without success. Can you give some information about how to use your wicketstuff-push implementation outside Jetty? For Glassfish there are a couple of configurations you need to set in the glassfish domain. Also, you might have to write your own servlet, as in this post: http://weblogs.java.net/blog/jfarcand/archive/2006/10/writting_a_come.html I know that Glassfish has support for cometd, so it should be possible. I propose to insert in the example package this kind of information, because jetty is not normally adopted in real production environments. Yes, if you can, can you write the Glassfish Servlet for cometd integration and post it as a patch, or send it to me directly? rhan...@kindleit.net Thank you very much for your kind response. Regards Paolo Rodolfo Hansen-2 wrote: Hi, a new version of wicketstuff-push was moved to the wicketstuff-core group of projects, as push-parent (as was specified in the wiki) A couple of new things were done: It is no longer compatible with java 1.4, is built for wicket 1.4 and requires jetty 6.1.14. The dependencies on dojo have been reduced even further, so this package is basically just a cometd client/server project for wicket. The RemoveListener is now working and is extended with a new type of WicketRemoveListener that allows access to the Wicket Application Singleton and the session that registered the singleton (i thought of a couple of ways to register them, and decided to choose the one present in the code for it) Please let me know of any suggestions, ideas for the proj. -- View this message in context: http://www.nabble.com/-Announce--wicketstuff-push-ported-to-use-wicket-1.4-jetty-6.1.14-tp20914051p23134109.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Rodolfo Hansen CEO, KindleIT Software Development Email: rhan...@kindleit.net Office: 1 (809) 732-5200 Mobile: 1 (809) 299-7332 -- View this message in context: http://www.nabble.com/-Announce--wicketstuff-push-ported-to-use-wicket-1.4-jetty-6.1.14-tp20914051p24457098.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Rodolfo Hansen CEO, KindleIT Software Development Email: rhan...@kindleit.net Office: 1 (809) 732-5200 Mobile: 1 (809) 299-7332
Re: [Announce] wicketstuff-push ported to use wicket 1.4 jetty 6.1.14
On Mon, Apr 20, 2009 at 6:26 AM, pmarrone paolo.marr...@gmail.com wrote: Hi Rodolfo, I'm trying to deploy the wicketstuff-push example on a Glassfish server V3, but without success. Can you give some information about how to use your wicketstuff-push implementation outside Jetty? For Glassfish there are a couple of configurations you need to set in the glassfish domain. Also, you might have to write your own servlet, as in this post: http://weblogs.java.net/blog/jfarcand/archive/2006/10/writting_a_come.html I know that Glassfish has support for cometd, so it should be possible. I propose to insert in the example package this kind of information, because jetty is not normally adopted in real production environments. Yes, if you can, can you write the Glassfish Servlet for cometd integration and post it as a patch, or send it to me directly? rhan...@kindleit.net Thank you very much for your kind response. Regards Paolo Rodolfo Hansen-2 wrote: Hi, a new version of wicketstuff-push was moved to the wicketstuff-core group of projects, as push-parent (as was specified in the wiki) A couple of new things were done: It is no longer compatible with java 1.4, is built for wicket 1.4 and requires jetty 6.1.14. The dependencies on dojo have been reduced even further, so this package is basically just a cometd client/server project for wicket. The RemoveListener is now working and is extended with a new type of WicketRemoveListener that allows access to the Wicket Application Singleton and the session that registered the singleton (i thought of a couple of ways to register them, and decided to choose the one present in the code for it) Please let me know of any suggestions, ideas for the proj. -- View this message in context: http://www.nabble.com/-Announce--wicketstuff-push-ported-to-use-wicket-1.4-jetty-6.1.14-tp20914051p23134109.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Rodolfo Hansen CEO, KindleIT Software Development Email: rhan...@kindleit.net Office: 1 (809) 732-5200 Mobile: 1 (809) 299-7332
Re: Cometd Servlet mapping for wickestuff-push example
On Sun, Apr 19, 2009 at 1:06 PM, Paolo Marrone paolo.marr...@gmail.comwrote: Hi all, first of all, I'm sorry for a wicketstuff question posted on this list, but I cannot find a mailing list for wicketstuff, so I hope someone can help me. I'm a happy user of wicket (great framework!), and because I need also the server-side push feature, I gave a look to the wicketstuff-dojo-1.1 project, that includes an implementation of server-push based on Dojo-cometd. I'm able to run the example within the embedded jetty server, without modifications, but because I need to use Glassfish (it is the servlet container we use in production), I tried to run the wicketstuff-push examples on a Glassfish v3 server, but without success. The problem, in my opinion, depends on the content of web.xml. This is the original web.xml (it works on jetty, but not on Glassfish): web-app id=WebApp_ID display-namewicketstuff-push-examples/display-name welcome-file-list welcome-fileindex.html/welcome-file welcome-fileindex.htm/welcome-file welcome-fileindex.jsp/welcome-file welcome-filedefault.html/welcome-file welcome-filedefault.htm/welcome-file welcome-filedefault.jsp/welcome-file /welcome-file-list /web-app My apologies, the web.xml is now fixed in the current version. I added the following lines to web.xml in order to make the application compatible with wicket: ... filter filter-namePushExamples/filter-name filter-class org.apache.wicket.protocol.http.WicketFilter /filter-class init-param param-nameapplicationClassName/param-name param-value org.wicketstuff.push.examples.application.ExampleApplication /param-value /init-param /filter filter-mapping filter-namePushExamples/filter-name url-pattern/*/url-pattern /filter-mapping ... with the above new web.xml the webapp apparently seems to work in Glassfish (I can reach the home page, that contains just a list of links to launch all the wicketstuff-push examples), but when I try to launch some Cometd based example, I get the following error: WicketMessage: Can't instantiate page using constructor public org.wicketstuff.push.examples.pages.WicketCometdChat(org.apache.wicket.PageParameters) and argument Root cause: javax.servlet.ServletException: Error searching for cometd Servlet at org.wicketstuff.push.cometd.CometdAbstractBehavior.getCometdServletPath(CometdAbstractBehavior.java:232) at org.wicketstuff.push.cometd.CometdAbstractBehavior.clinit(CometdAbstractBehavior.java:28) at org.wicketstuff.push.cometd.CometdService.addChannelListener(CometdService.java:74) at org.wicketstuff.push.examples.pages.WicketAbstractChat.init(WicketAbstractChat.java:49) at org.wicketstuff.push.examples.pages.WicketCometdChat.init(WicketCometdChat.java:13) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) It seems that the cometd servlet mapping cannot be found. My questions are: - Why the original web.xml can work in jetty? Where does it get the wicket filter definition, and the cometd servlet mapping? - Someone tried the wicketstuff-push example on a different servlet container? If yes, which is the right web.xml file to use? Please help me. Thank you Paolo Marrone - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Rodolfo Hansen CEO, KindleIT Software Development Email: rhan...@kindleit.net Office: 1 (809) 732-5200 Mobile: 1 (809) 299-7332
Re: Employ JQuery Accordion in Wicket
Try out wickext ... http://code.google.com/p/wickext/ On Wed, Apr 1, 2009 at 8:30 AM, HHB hubaghd...@yahoo.ca wrote: Hey, My team lead is insisting on employing JQuery Accordion in our Wicket application. As you know that the Accordion consists of pairs of headers and contents panels. The requirement is to hide/show some pairs depending on the user's permission. Is is possible to do so? if yes, would you please give me some clues how to implement it? Thanks for help, this is my first Wicket project and my team lead is putting the heavy weight on my shoulders. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Rodolfo Hansen CEO, KindleIT Software Development Email: rhan...@kindleit.net Office: 1 (809) 732-5200 Mobile: 1 (809) 299-7332
Re: Wicket stuff core, archetypes?
Yes, you should use the nexus index for the repository http://nexus.sonatype.org/ The indexer api is pretty straight forward: http://docs.codehaus.org/display/M2ECLIPSE/Nexus+Indexer#NexusIndexer-NexusIndexerAPIExample you could search for artifacts with the appropriate metadata, or search inside the jars for some specific file / class (I think) On Thu, Jan 15, 2009 at 5:00 AM, francisco treacy francisco.tre...@gmail.com wrote: wasn't this someone martijn? On Tue, Dec 16, 2008 at 8:55 PM, Martijn Dashorst martijn.dasho...@gmail.com wrote: For perusing the maven repository, one should contact the guys from nexus. They have an api for reading/indexing the repository. Don't crawl the repository-that will surely get you banned. i replied martijn, banning policies are issued by repository owners. i don't know which repo you're referring to as the maven repository. central? apache? i suggested setting up or reusing a repo that would be mainly for wicket components, and owned by the project/ community. advantages: - we simply don't ban wickethub's crawler - we provide guidelines for wicket developers to easily publish their artifacts (and possibly check if metadata is present, etc) as for the rest ('non-compliant'), that would be maintained manually so no crawling involved. francisco On Wed, Jan 14, 2009 at 11:40 PM, Jonathan Locke jonathan.lo...@gmail.com wrote: yeah, you really do need a maven expert's help i think. i was chatting with someone about this and they said something to the effect of: oh, god no don't crawl the maven repo. you'll get banned. so there's some more official way of doing this apparently. francisco treacy-2 wrote: here it is: http://code.google.com/p/wickethub/ (source code for the http://wickethub.org/ webapp) a small piece of code (with not even unit tests so far) but hopefully the way to start addressing our ideas: http://www.nabble.com/idea:-automatic-component-repo-to17979177.html http://web.mac.com/jonathan.locke/iWeb/JonathanLocke/Blog/ECA681FB-4B9C-4C27-9947-C9901F99E154.html http://www.nabble.com/wickethub.org-td20995774.html let me know if you're interested in contributing. i'd particularly like to find a maven power-user(s) who'd like to help implementing some of jon's automatic component repo thingy. nino, what about the archetypes for wicketstuff? francisco On Sat, Dec 20, 2008 at 9:00 PM, Nino Martinez nino.martinez.w...@gmail.com wrote: Ahh, no did'nt follow the thing that far, will read up on it now.. I'll be looking forward to see some stuff in a couple of weeks :) francisco treacy wrote: hi nino, have you seen jon's idea of automatic component , and/or wickethub.org thread? discussion went around providing to wicket component developers some sort of archetype that can help to 'standardize'/ 'give more structure' - also useful to perhaps crawl those artifacts (with metadata) and keep them up-to-date in a sort of registry. it would be good to join efforts. http://www.nabble.com/idea:-automatic-component-repo-to17979177.html http://web.mac.com/jonathan.locke/iWeb/JonathanLocke/Blog/ECA681FB-4B9C-4C27-9947-C9901F99E154.html http://www.nabble.com/wickethub.org-td20995774.html i'd really like to really tackle this one, once i'm back from holidays in about 2 weeks. gonna tidy up a bit and open source that wickethub code. cheers, francisco On Sat, Dec 20, 2008 at 9:22 AM, Nino Martinez nino.martinez.w...@gmail.com wrote: Hi I were thinking that it would be nice to have archetypes for single wicketstuff core project and one with a multi module (the stuff project and a example one), I guess it would provide event more structure.. WDYT? regards Nino - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- View this message in context: http://www.nabble.com/Wicket-stuff-core%2C-archetypes--tp21102842p21466906.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For
Re: Gant like component in wicket
If you want, you can also extend WebMarkupContainer, and share those components through wicketstuff for example. On Fri, Jan 9, 2009 at 6:15 AM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: Just a Wicket WebMarkupContainer will do. Put it in a listview. t. Martin 2009/1/9 lizz elisabeth.thor...@bouvet.no: Yes I know but this should be displayed in a wicket web page and the number of tasks types is not static (it is based on the page datamodel (CompundPropertyModel), so I think i need a wicket component for generating the html when the page is created). lizz wrote: Has anyone made a gant like chart component in wicket? I want to create a gantlike component where all the tasks are links and are of html input type button. You should be able to click on them to display specific information for that task and change the task button background color based on some criteria. (I.e. make all the tasks that is within a sertain time period red.) There will be more than one task button per task type (or row). Thought about using a list in a list (Property list view). But not really sure ow to position the the task buttons (the row) since they need a specific position and width. -- View this message in context: http://www.nabble.com/Gant-like-component-in-wicket-tp21366378p21366761.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: [Announce] wicketstuff-push ported to use wicket 1.4 jetty 6.1.14
Ok, I moved it into the 1.3.x branch as you suggested so trunk can stay clean. Thanks for the heads up on the clutter. On Wed, Dec 31, 2008 at 1:25 PM, Jeremy Thomerson jer...@wickettraining.com wrote: svn mv to the 1.3 branch: https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/branches/wicket-1.3.x/ You'll have to see if whatever you already have existing in that branch can be overwritten. Let me know if I can be of assistance to you in any way. -- Jeremy Thomerson http://www.wickettraining.com On Wed, Dec 31, 2008 at 2:08 AM, Rodolfo Hansen kry...@gmail.com wrote: Sorry, was away. Um, I don't know where to put the old one. Basically the old code still works with Java 1.4 and wicket 1.3, where would the best place to put it be? just drop it? On Sat, Dec 27, 2008 at 3:31 PM, Jeremy Thomerson jer...@wickettraining.com wrote: Rodolfo - why is there still a wicketstuff-push folder in trunk [1]? I didn't notice until today when a user asked a question about it. Was it an oversight, or is it something different? Just Curious and Confused, Jeremy Thomerson http://www.wickettraining.com On Tue, Dec 9, 2008 at 6:46 AM, Rodolfo Hansen rhan...@kindleit.net wrote: Hi, a new version of wicketstuff-push was moved to the wicketstuff-core group of projects, as push-parent (as was specified in the wiki) A couple of new things were done: It is no longer compatible with java 1.4, is built for wicket 1.4 and requires jetty 6.1.14. The dependencies on dojo have been reduced even further, so this package is basically just a cometd client/server project for wicket. The RemoveListener is now working and is extended with a new type of WicketRemoveListener that allows access to the Wicket Application Singleton and the session that registered the singleton (i thought of a couple of ways to register them, and decided to choose the one present in the code for it) Please let me know of any suggestions, ideas for the proj.
Re: [Announce] wicketstuff-push ported to use wicket 1.4 jetty 6.1.14
Sorry, was away. Um, I don't know where to put the old one. Basically the old code still works with Java 1.4 and wicket 1.3, where would the best place to put it be? just drop it? On Sat, Dec 27, 2008 at 3:31 PM, Jeremy Thomerson jer...@wickettraining.com wrote: Rodolfo - why is there still a wicketstuff-push folder in trunk [1]? I didn't notice until today when a user asked a question about it. Was it an oversight, or is it something different? Just Curious and Confused, Jeremy Thomerson http://www.wickettraining.com On Tue, Dec 9, 2008 at 6:46 AM, Rodolfo Hansen rhan...@kindleit.net wrote: Hi, a new version of wicketstuff-push was moved to the wicketstuff-core group of projects, as push-parent (as was specified in the wiki) A couple of new things were done: It is no longer compatible with java 1.4, is built for wicket 1.4 and requires jetty 6.1.14. The dependencies on dojo have been reduced even further, so this package is basically just a cometd client/server project for wicket. The RemoveListener is now working and is extended with a new type of WicketRemoveListener that allows access to the Wicket Application Singleton and the session that registered the singleton (i thought of a couple of ways to register them, and decided to choose the one present in the code for it) Please let me know of any suggestions, ideas for the proj.
Re: Asynchron push/update/redirect
Yeah, I've been thinking about that issue a little. There are a couple of ways to deal with this: I was undecided between these 2 approaches: 1. Put the WicketSessionFilter in your cometd servlet http://wicket.apache.org/docs/wicket-1.3.2/wicket/apidocs/index.html 2. Extend the Cometd listeners to retain wicket information check out: org.wicketstuff.push.cometd.WicketRemoveListener I think, in your case you should choose the WicketSessionFilter. On Wed, Dec 10, 2008 at 3:15 PM, alexander.elsholz alexander.elsh...@widas.de wrote: hi, thanks, it works fine for model-changes, so that components could read actual data. the open one is to switch the page by the asynchron server-push. there is no Requestcycle in the my asynchron event (its null). to deal with this problem i tried to display the user a link, but there is a secound problem. when i try to set the link visible true i get this exception: java.lang.IllegalStateException: you can only locate or create sessions in the context of a request cycle at org.apache.wicket.Session.findOrCreate(Session.java:206) could you help me again? thanks alex Michael Sparer wrote: take a look at wicketstuff-push or wicketstuff-dojo-1.1. (which also includes cometd that provides your desired push behaviour) regards, Michael alexander.elsholz wrote: Hi, i need a possibility to refresh parts of view, when data on the server changed. there is no synchron ajax-event, where i can use the requesttarget, because i use a thread to ask an other service for the result. actually i use the ajaxSelfUpdateBehavior, but i think its too much traffic. also i want to switch the side in a asynchron event. when the event is occured i want to redirect the user to previews page. here i can also use a modal window, which displays two buttons (yes i want and no, i won't) thanks alex -- View this message in context: http://www.nabble.com/Asynchron-push-update-redirect-tp20934629p20942140.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: [Announce] wicketstuff-push ported to use wicket 1.4 jetty 6.1.14
Yeah, Jquery started something which I tested a couple of months ago with no luck. Writing/Finding a leaner comet client is in the TODO right now... The idea Jesse McConnel has is of making it simpler to marshall data to-from clients. To make it, an actual bus for communication. We haven't had much time to discuss all this though. On Fri, Dec 12, 2008 at 4:09 AM, Michael Sparer michael.spa...@gmx.atwrote: AFAIK jquery started something, but I just heard of that and didn't look into it. If dojo seems too bloated to you you can easily build your own dojo with just the modules you need - then it isn't bloated at all (except you're using too many components). There's a post announcing wicketstuff-dojo-1.1. somewhere on the mailinglist that explained (or at least offered to explain ;-)) how to build your own dojo - on the wiki it's described with 0.4 if I remember correctly regards, michael Peter Ertl-3 wrote: concerning the proper javascript client for comet... is there anything reasonable except dojo-cometd-client to use? The dojo stuff feels really bloated for me Am 11.12.2008 um 15:00 schrieb Michael Sparer: Alright, I'll keep an eye on changes of your project. Maybe we can merge some useful stuff in the future, but for now I'm of the same opinion as you. Let's keep them seperate for now. greetings from ice-cold austria, Michael Rodolfo Hansen-2 wrote: Yeah, I think we might just want to separate them, the goals will start becoming a bit different as well.. Especially since push has other options other than cometd / dojo for the general notion of getting push to web clients... So its better to separate those concerns and have push with its own mindset, no? On Tue, Dec 9, 2008 at 9:40 AM, Michael Sparer michael.spa...@gmx.atwrote: Rodolfo, so you finally decided to stick with your initial idea ;-) did you at least have a look at the cometd stuff in the new wicketstuff-dojo-1.1. project? I'm still against the idea to split up wicketstuff-push completely from the dojo project, but we had the discussion before without result ... regards, Michael Rodolfo Hansen-2 wrote: Hi, a new version of wicketstuff-push was moved to the wicketstuff-core group of projects, as push-parent (as was specified in the wiki) A couple of new things were done: It is no longer compatible with java 1.4, is built for wicket 1.4 and requires jetty 6.1.14. The dependencies on dojo have been reduced even further, so this package is basically just a cometd client/server project for wicket. The RemoveListener is now working and is extended with a new type of WicketRemoveListener that allows access to the Wicket Application Singleton and the session that registered the singleton (i thought of a couple of ways to register them, and decided to choose the one present in the code for it) Please let me know of any suggestions, ideas for the proj. - Michael Sparer http://talk-on-tech.blogspot.com -- View this message in context: http://www.nabble.com/-Announce--wicketstuff-push-ported-to-use-wicket-1.4-jetty-6.1.14-tp20914051p20914877.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - Michael Sparer http://talk-on-tech.blogspot.com -- View this message in context: http://www.nabble.com/-Announce--wicketstuff-push-ported-to-use-wicket-1.4-jetty-6.1.14-tp20914051p20955950.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - Michael Sparer http://talk-on-tech.blogspot.com -- View this message in context: http://www.nabble.com/-Announce--wicketstuff-push-ported-to-use-wicket-1.4-jetty-6.1.14-tp20914051p20971370.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: [Announce] wicketstuff-push ported to use wicket 1.4 jetty 6.1.14
Yeah, I think we might just want to separate them, the goals will start becoming a bit different as well.. Especially since push has other options other than cometd / dojo for the general notion of getting push to web clients... So its better to separate those concerns and have push with its own mindset, no? On Tue, Dec 9, 2008 at 9:40 AM, Michael Sparer [EMAIL PROTECTED]wrote: Rodolfo, so you finally decided to stick with your initial idea ;-) did you at least have a look at the cometd stuff in the new wicketstuff-dojo-1.1. project? I'm still against the idea to split up wicketstuff-push completely from the dojo project, but we had the discussion before without result ... regards, Michael Rodolfo Hansen-2 wrote: Hi, a new version of wicketstuff-push was moved to the wicketstuff-core group of projects, as push-parent (as was specified in the wiki) A couple of new things were done: It is no longer compatible with java 1.4, is built for wicket 1.4 and requires jetty 6.1.14. The dependencies on dojo have been reduced even further, so this package is basically just a cometd client/server project for wicket. The RemoveListener is now working and is extended with a new type of WicketRemoveListener that allows access to the Wicket Application Singleton and the session that registered the singleton (i thought of a couple of ways to register them, and decided to choose the one present in the code for it) Please let me know of any suggestions, ideas for the proj. - Michael Sparer http://talk-on-tech.blogspot.com -- View this message in context: http://www.nabble.com/-Announce--wicketstuff-push-ported-to-use-wicket-1.4-jetty-6.1.14-tp20914051p20914877.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[Announce] wicketstuff-push ported to use wicket 1.4 jetty 6.1.14
Hi, a new version of wicketstuff-push was moved to the wicketstuff-core group of projects, as push-parent (as was specified in the wiki) A couple of new things were done: It is no longer compatible with java 1.4, is built for wicket 1.4 and requires jetty 6.1.14. The dependencies on dojo have been reduced even further, so this package is basically just a cometd client/server project for wicket. The RemoveListener is now working and is extended with a new type of WicketRemoveListener that allows access to the Wicket Application Singleton and the session that registered the singleton (i thought of a couple of ways to register them, and decided to choose the one present in the code for it) Please let me know of any suggestions, ideas for the proj.
Re: Best way to implement OSIV (open session in view) pattern in Wicket
You could use a custom WebRequestCycle. I've written a couple, and if you check out databinder's you can see that its pretty simple to do, plus, (in databinder) no session is started unless its required. On Sat, Dec 6, 2008 at 12:38 PM, Azzeddine Daddah [EMAIL PROTECTED]wrote: Hi guys, I want to use Hibernate in my Wicket web application. I've found a way to to this by creating: - a custom WebApplication to initialise and destroy the SessionFactory. - a custom WebRequestCycle to handle opening and closing/committing connections and transactions Is this a good way? Are there maybe other/better ways to integrate Hibernate in Wicket? Examples are welcome :) P.S. I know that you can use Spring or DataBinder to handle this but I'm not using them in this project. Gr. Hbiloo
Re: wicketstuff-push is over, wickestuff-dojo-1.1 is born ???
I'm currently using wicketstuff-push on a small app I have. The only bug I am aware of is related to the RemoveListener. What exactly is the issue you are having? On Thu, Nov 6, 2008 at 4:17 AM, Julien Graglia [EMAIL PROTECTED]wrote: Hi, I have read some posts (1) that seems to say that wicketstuff-push will be replaced by a new wicketstuff-dojo-1.1 artifact. The post says that this artifact is in a private SVN repo, but will be available shortly.. Do you have any informations about that? I need to do reverse ajax with wicket (cometd...) ie. push event from a server thread at the server initiative. It works with an old (rev 4245) version of wicketstuff-push. The trunk seems corrupted : a dojo folder is missing.. 1 : http://www.nabble.com/New-wicketstuff-dojo-project-td19070145.html -- Julien Graglia NetCeler - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: I have some Wicket based opportunities/jobs if you're interested.
Hi Wayne, I am curious about your project. If you want, please contact me personally so we can see if it is a good match. On Thu, Aug 21, 2008 at 1:27 PM, Eduardo Sasso [EMAIL PROTECTED]wrote: Hi Waine, I've bumped into your email accidentally and I've got pretty interested in it. I would really like to talk to you about your project, I have a good experience using Wicket from my last two projects and i really enjoy working with it. I'm a Brazilian guy but i have an Italian citizenship also, so it would be no problem for me to work legally in Europe. For the last 8 months I've been working from home so the 37signals model fits well for me too. The following sites are Wicket projects that I've built: http://tradd.us http://openjobs.com.br http://abduzeedo.com/jobs I'm looking forward to hearing from you. Regards, Eduardo Sasso On Thu, Aug 21, 2008 at 11:43 AM, Wayne Pope [EMAIL PROTECTED] wrote: Hi, Ok following my last email I have some opportunities for the right people. I'm in the middle of creating a new start-up with funding already sorted. We've got a great idea for an online application totally based on Wicket. I'm activity seeking 2 to 4 developers who would like to get involved in this new startup. We're based in the South of France/Cannes area (though I'm personally from the UK) and ideally looking for people to join us here for a 6 month contract to start with. However I realise that many of you a) already have jobs b) happy living where you are. So with this in mind I'm looking at perhaps creating a distributed/remote team to work on this. - think 37signals.com for those who are aware. We can pay a straight daily rate, or perhaps more motivating - to have shares in the company and grow with it. It's a strong business case, and I believe we have to right people onboard outside of development. I wanted to go with an Agile/XP approach to this - so lots of fun coding and constant working version. This however isn't going to work as well if it ends up being a remote team so may have to adopt. Like I said previously - we're looking to create the small team here on the Riviera *ideally*. So if this sounds interesting please do email me or reply to this, and we can talk some more. Thanks Wayne - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: patterns for web ui apps. mvc models
Igor, stop taking the piss... What he means is: Wicket is *NOT* an MVC framework... On Tue, Jul 1, 2008 at 2:35 PM, Sven Meier [EMAIL PROTECTED] wrote: Well, in Wicket the markup doesn't do much (which is a good thing) besides layout. If you're correctly using CSS, the markup isn't even responsible for the look (and feel). I don't know if this qualifies it as a 'V' in MVC. Sven James Carman schrieb: On Tue, Jul 1, 2008 at 1:56 PM, Eelco Hillenius [EMAIL PROTECTED] wrote: I've been thinking about the way in which wicket is an MVC framework and whether people use it according to the MVC pattern. The MVC pattern is bastardized - especially when it comes to web application frameworks - up to the point that it is hardly useful to use the term. Everyone seems to have their own interpretation. If you had to explain Wicket in MVC terms, my take would be that components represent the Controller and View (together, just like Swing), and the model is separated behind the IModel interface. But I think it is better to just let the whole MVC mania behind us and explain frameworks on their own terms :-) You could argue that the view is the markup file and the controller is the component/page class? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: generics
I too like this compromise alot Although I don't see a good use case for generifying Link ? Am I missing something? On Fri, Jun 27, 2008 at 2:49 PM, Timo Rantalaiho [EMAIL PROTECTED] wrote: On Fri, 27 Jun 2008, Igor Vaynberg wrote: since no one complained, should we apply this change over the weekend? and soon thereafter release m3? I prefer this over M2. Even though: user). so far these are link,form,formcomponent Link might be better without the type parameter. It's no big deal though. And yes, it would be good if for example Johan and Gerolf who have invested a lot of effort on the generification could have a closer look and tell what they think before proceeding. Best wishes, Timo -- Timo Rantalaiho Reaktor Innovations OyURL: http://www.ri.fi/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: patterns for web ui apps. mvc models
joking about On Tue, Jul 1, 2008 at 2:45 PM, Igor Vaynberg [EMAIL PROTECTED] wrote: you mean taking a piss? -igor On Tue, Jul 1, 2008 at 11:42 AM, Rodolfo Hansen [EMAIL PROTECTED] wrote: Igor, stop taking the piss... What he means is: Wicket is *NOT* an MVC framework... On Tue, Jul 1, 2008 at 2:35 PM, Sven Meier [EMAIL PROTECTED] wrote: Well, in Wicket the markup doesn't do much (which is a good thing) besides layout. If you're correctly using CSS, the markup isn't even responsible for the look (and feel). I don't know if this qualifies it as a 'V' in MVC. Sven James Carman schrieb: On Tue, Jul 1, 2008 at 1:56 PM, Eelco Hillenius [EMAIL PROTECTED] wrote: I've been thinking about the way in which wicket is an MVC framework and whether people use it according to the MVC pattern. The MVC pattern is bastardized - especially when it comes to web application frameworks - up to the point that it is hardly useful to use the term. Everyone seems to have their own interpretation. If you had to explain Wicket in MVC terms, my take would be that components represent the Controller and View (together, just like Swing), and the model is separated behind the IModel interface. But I think it is better to just let the whole MVC mania behind us and explain frameworks on their own terms :-) You could argue that the view is the markup file and the controller is the component/page class? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Wicket CMS
Yeah, we are interested in working out a CMS based on wicket too... haven't had much time for it just yet. but its a must do for us... On Tue, Jun 24, 2008 at 11:46 AM, Thomas Mäder [EMAIL PROTECTED] wrote: It might spark interest if you add a bit of documentation and a live demo. Not everyone has the time to read through your code. Thomas On Tue, Jun 24, 2008 at 4:21 PM, james yong [EMAIL PROTECTED] wrote: Hi, Is there anyone who would like to pool efforts for a wicket-based cms? Currently, I have a prototype verson at http://code.google.com/p/welo/, but I would like to put efforts into a better one (not necessary mine). Regards, James -- View this message in context: http://www.nabble.com/Wicket-CMS-tp18092129p18092129.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Mounting dynamic content
I think maybe what you want is to use a DynamicWebResource and customize the ResourceState to return the correct content type... It makes more sense that a .doc link be of that type I think... On Thu, May 29, 2008 at 10:18 AM, Martijn Lindhout [EMAIL PROTECTED] wrote: setting the HTTP Content-Disposition may help. The value should be something like attachment; filename=DummyFilename.doc 2008/5/26 Martin Makundi [EMAIL PROTECTED]: Hi! I have a web page whose content the user is supposed to save as a XYZ.doc file. With Firefox it is sufficient to set the content-type to application/msword. However, Internet Explorer takes my context path (the part before the url parameters) as the filename, say webapp and forgets about the content type already. Is there a simple way to mount my dnyamic page as DummyFilename.doc? I would rather not use BookmarkablePage because the parameters are huge. Ofcourse I could pass the parameters via an internal model, but if there is a fast moujnting strategy for a dynamic page, I would be interested. ** Martin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Martijn Lindhout JointEffort IT Services http://www.jointeffort.nl [EMAIL PROTECTED] +31 (0)6 18 47 25 29
Re: Mounting dynamic content
there is a DynamicWebResource (String filename) constructor you can use to specify the filename you want for the resource... On Thu, May 29, 2008 at 4:27 PM, Martin Makundi [EMAIL PROTECTED] wrote: It is an IE bug or feature that it disregards the content type after opening up the download (file save/open) dialog - It uses windows file extension detection after that ;) On Firefox the content type suffices, but for IE I must hack the filename too. ** Martin 2008/5/29 Rodolfo Hansen [EMAIL PROTECTED]: I think maybe what you want is to use a DynamicWebResource and customize the ResourceState to return the correct content type... It makes more sense that a .doc link be of that type I think... On Thu, May 29, 2008 at 10:18 AM, Martijn Lindhout [EMAIL PROTECTED] wrote: setting the HTTP Content-Disposition may help. The value should be something like attachment; filename=DummyFilename.doc 2008/5/26 Martin Makundi [EMAIL PROTECTED]: Hi! I have a web page whose content the user is supposed to save as a XYZ.doc file. With Firefox it is sufficient to set the content-type to application/msword. However, Internet Explorer takes my context path (the part before the url parameters) as the filename, say webapp and forgets about the content type already. Is there a simple way to mount my dnyamic page as DummyFilename.doc? I would rather not use BookmarkablePage because the parameters are huge. Ofcourse I could pass the parameters via an internal model, but if there is a fast moujnting strategy for a dynamic page, I would be interested. ** Martin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Martijn Lindhout JointEffort IT Services http://www.jointeffort.nl [EMAIL PROTECTED] +31 (0)6 18 47 25 29 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]