Re: Pluggable architecture for wicket application
You can try wicket-plugin [1]. [1] https://github.com/decebals/wicket-plugin -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Pluggable-architecture-for-wicket-application-tp4676135p4676192.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
Re: Wicketstuff TimerPushService memory leak?
Hi Martin I don't understand you. I talk about the browser memory and I feel like you're talking about java memory. My problem is the browser (tab process) memory and not the java memory. Best regards, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicketstuff-TimerPushService-memory-leak-tp4665418p4665541.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
Re: Wicketstuff TimerPushService memory leak?
Thanks Martin! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicketstuff-TimerPushService-memory-leak-tp4665418p4665548.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
Re: Wicketstuff TimerPushService memory leak?
I created another test. It' very simple. Just put a Label in a HomePage and add AjaxSelfUpdatingTimerBehavior on this component (label.add(new AjaxSelfUpdatingTimerBehavior(Duration.seconds(2)));) The results are the same: the memory increases with time. The ajax call looks ok. To monitor the memory consumption, for this time, I used the task manger for chrome (Shift-Esc). Also I updated wicket from 6.12 to 6.14 but with no effect. I don't know what conclusion to draw, but AjaxSelfUpdatingTimerBehavior seems unusable it this condition :) Best regards, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicketstuff-TimerPushService-memory-leak-tp4665418p4665463.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
Re: Register Wicket Components @ Runtime
Maybe wicket-plugin [1] help you. Best regards, Decebal [1] https://github.com/decebals/wicket-plugin -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Register-Wicket-Components-Runtime-tp4664724p4664743.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
Re: Component Queueing is here (master), aka Free Wicket From Hierarchy Hell, aka Markup Driven Component Tree
Thanks! It is a major feature in Wicket 7. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Component-Queueing-is-here-master-aka-Free-Wicket-From-Hierarchy-Hell-aka-Markup-Driven-Component-Tre-tp4664719p4664722.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
About getMarkupType() from MarkupContainer
Hi I have an issue on wicket-jade (https://github.com/decebals/wicket-jade/issues/1) and I cannot find a nice solution. The use case is that I have an EmbeddedPanel (html markup) in a JadePanel (jade markup) and when I try to run my test I get a MarkupNotFoundException: Failed to find markup file associated. The problem is that JadePanel (parent of EmbeddedPanel) returns new MarkupType(jade, text/x-jade) on getMarkupType and current implementation for Markupcontainer.getMarkupType is: public MarkupType getMarkupType() { MarkupContainer parent = getParent(); if (parent != null) { return parent.getMarkupType(); } return null; } It's clear that wicket search for EmbeddedPanel.jade and not EmbeddedPanel.html It's a solution to override getMarkupType() from EmbeddedPanel to returnMarkupType.HTML_MARKUP_TYPE but I want something more general because I must override manually all my panels embedded in JadePanel. Any idea? Best regards, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/About-getMarkupType-from-MarkupContainer-tp4664340.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
Re: About getMarkupType() from MarkupContainer
Forget about. I resolved my problem much easy. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/About-getMarkupType-from-MarkupContainer-tp4664340p4664343.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
Re: a little question about add(new XComponent(id).setVisible(false))
Hi Sebastian I see that in Component.internalBeforeRender() the call of onBeforeRender() is conditioned by determineVisibility() and this explains all. I think it's fine to change the hierarchy in onBeforeRender() ... , this is even made explicit in the source code of MarkupContainer#onBeforeRender() Sorry, but I don't see explicit that I can modify the hierarchy of my object in onBeforeRender(). Another question in my mind is: is it ok that call of onInitialize() is not conditioned by isVisible? By the way do you know a document, something, that explains the rendering process? Best regards, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/a-little-question-about-add-new-XComponent-id-setVisible-false-tp4663041p4663065.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
a little question about add(new XComponent(id).setVisible(false))
Hi First, the scenario (a simplified version): I have a XPage (extends WebPage) and in the constructor of this page I want to add a YPanel (extends Panel) but depending on a condition. if (condiiton) { add(new YPanel(panel)); } else { add(new WebMarkupContainer(panel).setVisible(false)); } In fact my scneario is a little complicated, with four children (a CartPage that contains EmptyLabel, CartPanel, LoginPanel, CheckputPanel) and a compund condition (isEmptyCart, isUserLogged) and in this situation my code is verbose and a little spaghetti. The code above resolves my scenario but in my opinion is more readable only a single line add(new YPanel(panel).setVisible(condition)); The solution with a single line is more readable but it has an impediment. For example if in YPanel I want to add 100 labels (hypothetically), I created 100 label only to add nothing if the condition is not satisfied :) The solution is to have a slim constructor for YPanel and to add the children in a method (something like onInitialize) that depends on component visibility. I want something like I know that this component is invisible so don't bother to create the children. I know about the request cycle (not in details) and that it's impossible for now, I know that my issue is a philosophical issue but maybe someone has a good question. Best regards, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/a-little-question-about-add-new-XComponent-id-setVisible-false-tp4663041.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
Re: a little question about add(new XComponent(id).setVisible(false))
I tested with: public class MyPanel extends Panel { public MyPanel(String id) { super(id); } @Override protected void onBeforeRender() { super.onBeforeRender(); add(new MyLabel(l1, Label 1)); add(new MyLabel(l2, Label 2)); add(new MyLabel(l3, Label 3)); } } in MyPanel, where MyLabel extends Label with the constructor contains and debug message: public MyLabel(String id, String label) { super(id, label); System.out.println(MyLabel.MyLabel(): + id); } And yes, the MyLabel constructed is not called if MyPanel is not visible. My impression was that in onBeforeRender I cannot change the hierarchy (add children). The 100 children was a random number that show you that my panel contains many components :) Thanks, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/a-little-question-about-add-new-XComponent-id-setVisible-false-tp4663041p4663045.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
Please remove the spam post from the wicket forum
Hi Is it someone that can make a clean on the wicket forum? It is frustrating to see a lot of spam posts (for example in start page only few posts are non spam). For a new coming these spam posts create a bad impression. Thanks, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Please-remove-the-spam-post-from-the-wicket-forum-tp4662979.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
Re: Please remove the spam post from the wicket forum
Sorry, I talk about Mailling Lists [1] [1] http://apache-wicket.1842946.n4.nabble.com/ -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Please-remove-the-spam-post-from-the-wicket-forum-tp4662979p4662981.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
Re: Please remove the spam post from the wicket forum
Or it's a possibility to filter these spam posts? How do you read these mailling posts? Best regards, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Please-remove-the-spam-post-from-the-wicket-forum-tp4662979p4662982.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
Re: Please remove the spam post from the wicket forum
Thanks Martin -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Please-remove-the-spam-post-from-the-wicket-forum-tp4662979p4662984.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
Little issue with tree component
Hi I write this post for sven as a feedback for his excellent tree component from wicket 6. I encounter a problem with the tree component (nothing happens on expand) in the conversion process of NextReports from wicket 1.5 to wicket 6. My problem happened because the NestedTree.updateBranch method compares two model objects (with equals): if (model.equals(branch.getModel())) // line 118 in wicket 6.12.0 My EntityModel (the model returned by ITreeProvider.(Entity object)) hasn't an equals method because I didn't find usefully to implement this method in my (wicket) models. For this reason the above line return false in all scenario; I don't know if it's a better idea to compare the model objects instead models (I see a little performance with model objects comparation - my EntityModel extends extends LoadableDetachableModelEntity) but in the current implementation it's hard to debug what it's wrong with my tree. Obviously, I resolved my problem with a simple equals method added in my EntityModel but take me some time to found what wasn't wrong with my tree. Best regards, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Little-issue-with-tree-component-tp4662914.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
Re: Blogging platform written in Wicket?
Hi I have a platform for you (I created with other two friends, some time ago.) :) I like to open this platform and to publish the code on github under a friendly open source license (probably Apache License). Now the platform it's converted for wicket 6 but need more tests. On this platform we have a site (it's version for wicket 1.5) in production, launched some time ago. In fact it's more than a blogging platform (we use this platform as a debate platform). On MyAgora you can: - add posts (various types: article, news) - add comments - vote a post or comment - show users' score points (details on category types) - show users' ranking (we support many rank levels (beginner, mdeium, advanced, master, ... - you can choose a nice name for each level) ) - sort posts by some criteria categories, view count, most commented - seo ready (slugify) - security - mail notifications (un each post or comment) - validation process for posts and comments (only valid text is published on site); any admin can validate a text (comment, post) - social integration (facebook, twitter, digg) [1] http;//www.myagora.ro Best regards, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Blogging-platform-written-in-Wicket-tp4662033p4662050.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
Re: Blogging platform written in Wicket?
My mistake. myagora.ro is built with wicket 1.4 Best regards, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Blogging-platform-written-in-Wicket-tp4662033p4662051.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
[Announce] NextReports is open source
Hi I post this announce on the wicket forum because NextReports Server [1] is a wicket application and maybe it is useful for some wicket developers. In few words, the entire NextReports Suite [2] (a reporting and dashboarding tool released under Apache License) is available on github. The technology stack used by NextReports Server is: - JCR (Apache Jackrabbit) - Spring Framework - Spring Security - JAX-RS (Jersey) - Quartz Scheduler - Wicket [1] https://github.com/nextreports/nextreports-server [2] https://github.com/nextreports/nextreports, http://www.next-reports.com/ Best regards, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Announce-NextReports-is-open-source-tp4662006.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
Re: [Announce] wicket-jade
Hi I try to implement a JadeMarkupFactory (wicket custom MarkupFactory). You can see my current implementation at https://gist.github.com/decebals/6183796 My problem is that if I want to render the jade template I need the map with the variables. JadePanel takes as parameter in constructor a IModel with jade variables (MapString, Object). I think that it's not possible to extract such information in a MarkupFactory, correct? Or maybe my approach is not good? Best regards, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Announce-wicket-jade-tp4660722p4660783.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
Re: [Announce] wicket-jade
Hi Heiner I tested with maven 2 and it works fine: $ mvn -version Apache Maven 2.2.1 (r801777; 2009-08-06 22:16:01+0300) Java version: 1.6.0_17 Java home: /opt/java/jdk1.6.0_17/jre Default locale: en_US, platform encoding: UTF-8 OS name: linux version: 2.6.32-50-generic arch: i386 Family: unix $ git clone https://github.com/decebals/wicket-jade.git $ cd wicket-jade/ $ mvn install -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Announce-wicket-jade-tp4660722p4660766.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
[Announce] wicket-jade
Hi I implemented a tiny wicket-jade [1] integration solution. It's the first version and it's a quick and dirty implementation (Proof of concept). Jade [2] is a cool, high-performance (and probably the most used template engine for Node.js) template engine. I like the HAML-like syntax of Jade's; it's very simple and intuitive. Best regards, Decebal [1] https://github.com/decebals/wicket-jade [2] http://jade-lang.com -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Announce-wicket-jade-tp4660722.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
Re: [Announce] wicket-jade
Hi Martin I will try to implement your idea. I know about wicket-freemarker, wicket-velocity. I didn't know about wicket-mustache. By the way I think that your wicket-ractive project is interested (I like it because it's ajax aware without a custom AjaxRequestTarget). I think that jade/haml syntax is more html oriented than mustache syntax but it's my opinion. Fremarker, Velocity, Mustache are more general. Best regards, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Announce-wicket-jade-tp4660722p4660724.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
Re: [Announce] wicket-jade
Hi Martin I created a branch https://github.com/decebals/wicket-jade/tree/children-components for your idea. I increased the complexity of demo application a little bit. Now, the HomePage contains a BooksPanel that contains an AuthorPanel. Both panels extend JadePanel. BooksPanel.jade contains a div(wicket:id=authorPanel). The markup for authorPanel is AuthorPanel.jade. Everything works fine. Is this what you want or I misunderstand you? Can you explain your idea in more words? Best regards, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Announce-wicket-jade-tp4660722p4660739.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
Re: Wicket plugin architecture
Hi If anybody is interested, Wicket Plugin https://github.com/decebals/wicket-plugin is now available on github. Best regards, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-plugin-architecture-tp4652305p4660307.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
Re: Dynamic Components
Hi Can I see the code. The pastebin show me a Unknown Paste ID! message on link [1]. [1] http://pastebin.com/p4cSNsUw Best regards, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Dynamic-Components-tp4654308p4656289.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
Re: [Announce] Introducing Wicked Charts
See another implementation wicket-jqplot in wicketstuff (https://github.com/wicketstuff/core/wiki/JqPlot-Plugin-Integration) Best regards, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Announce-Introducing-Wicked-Charts-tp4655519p4655581.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
Re: motion jpeg and wicket
Hi Marc Thanks for response. A custom Mapper with a RequestHandler that do my job was one of ideas but onRespond I must implement a while loop and I know if it's ok. For example: public void respond(IRequestCycle requestCycle) { // se content type to multipart/x-mixed-replace;boundary=myboundry // set no cache // send grab images while (!stop) { // send next images // sleep some milliseconds related to FPS (frames on second) } } A solution is to use an external servlet that handles request related to webcam or a wicket push technic. For me, wicket is a (nice) hammer on web development and the problem is that I intend to resolve all problems this hammer :) Best regards, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/motion-jpeg-and-wicket-tp4655294p4655340.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
motion jpeg and wicket
Hi Is it possible to implement a motion jpeg in wicket [1]. I want to implement a webcam viewer in wicket. I have a library that give me BufferedImage(s) from a webcam. Now I can display an BufferedImage in wicket but I want to move to the next level. I see two option: --- Implement M-JPEG over HTTP HTTP streaming separates each image into individual HTTP replies on a specified marker. RTP streaming creates packets of a sequence of JPEG images that can be received by clients such as QuickTime or VLC. In response to a GET request for a MJPEG file or stream, the server streams the sequence of JPEG frames over HTTP. A special mime-type content type multipart/x-mixed-replace;boundary=boundary-name informs the client to expect several parts (frames) as an answer delimited by boundary-name. This boundary name is expressly disclosed within the MIME-type declaration itself. The TCP connection is not closed as long as the client wants to receive new frames and the server wants to provide new frames. --- I can use wicket 6.x websocket (atmosphere or native) to push the next image frame to wicket component. See you another approach? Any advice is welcome. [1] http://en.wikipedia.org/wiki/Motion_JPEG Best regards, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/motion-jpeg-and-wicket-tp4655294.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
Re: motion jpeg and wicket
Hi @Marc Implementation using AjaxSelfUpdatingTimerBehavior is better that nothing, it's quick and dirty but it's not scalable. Think at some webcams on the same page with a FPS (frame per second) around 5. @Ernesto Cabzola has a streamer based on multipart/x-mixed-replace mime type but it uses a SocketServer to servers the clients and I want to use my servlet container that host my wicket application. I can use mjpg-streamer [1] or motion [2] to achieve the same functionality but I don't want to install additional software on my machine. Also I can write a StreamerServlet that serves requests related to motion jpeg but my idea is to use the security, page parameters from my wicket application. For example on http://webcamapp/webcam?fps=2webcamId=1 request I want to have the freedom to response with a multipart/x-mixed-replace mime type and writing my image bytes on response.getOutputStream(); I want here to do what I must do in a StreamerServlet [3] . Is it possible to have access completely to http response from wicket? Must I use a mapper or a bookmarkable page? Does my idea make sense? Another idea of mine is to use websocket (I want to explore more on this field :)) but I don't know if it's recommended for my scenario. [1] http://sourceforge.net/projects/mjpg-streamer/ [2] http://www.lavrsen.dk/foswiki/bin/view/Motion/WebHome [3] out.writeBytes(Content-Type: multipart/x-mixed-replace;boundary= + BOUNDARY + \r\n); out.writeBytes(\r\n); out.writeBytes(-- + BOUNDARY + \n); byte[] imageBytes = ... ; while (true) { out.writeBytes(Content-type: image/jpeg\n\n); out.write(imageBytes); // pseudo code out.writeBytes(-- + BOUNDARY + \n); out.flush(); Thread.sleep(500); } Best regards, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/motion-jpeg-and-wicket-tp4655294p4655309.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
RE: [Announce] wicket-dashboard
Thanks Paul for your interest. I'm curios to see how your dashboard looks (and maybe some code that shows us how to integrate highcharts as widget in wicket-dashboard; maybe we can create a wicket-dashboard-highcharts project). Best regards, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Announce-wicket-dashboard-tp4652308p4654927.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
Re: [Announce] wicket-dashboard
Hi I removed wiquery as dependency. To control all resources (js, css - see res folder) used by wicket-dashboard I created DashboardSettings class. All resources are added to DashboardPanel using DashboardResourcesBehavior(that uses DashboardSettings). I will try to migrate to wicket 6 if it's a request for this. Best regards, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Announce-wicket-dashboard-tp4652308p4654886.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
Re: [ANN] wicket-dnd now ready for Wicket 6
Thanks. I appreciate your contribution to wicket (ui components in special). Best regards, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/ANN-wicket-dnd-now-ready-for-Wicket-6-tp4654761p4654820.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
[Announce] wicket-plugin
Hi I implemented a plugin framework for wicket that can be found at https://github.com/decebals/wicket-plugin I have a tiny demo application. The demo application is in demo folder. In demo/api folder I declared an extension point (Section) that is a tab in a wicket TabbedPanel. Each section has an title, an icon and a content (a simple text message in my demo). In demo/plugin* I implemented two plugins: plugin1, plugin2 (each plugin adds an extension for Section). Best regards, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Announce-wicket-plugin-tp4653875.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
Re: [Announce] wicket-plugin
Thanks Martin I'm working to implement this functionality. If you see some problems with my wicket-plugin implementation please tell me. Any suggestions and advice is welcome. Have a nice day, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Announce-wicket-plugin-tp4653875p4653877.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
need advice for wicket-plugin's implementation
Hi I'm working to first version of wicket-plugin. I encounter some problems. In few words I implemented a PluginManagerInitializer that create a PluginManager, load and start the plugins from a directory and store the plugin manager to application using wicket meta data. Each plugin is loaded with a PluginClassLaoder. I want to map each plugin's resources on ./plugin/plugin-name/... My problem is how to create a reference to a plugin resource. See this code: @Extension public static class HelloSection extends SimpleSection { public HelloSection() { //super(new ModelString(Hello), new PluginResourceReference(HelloSection.class, settings.png)); super(new ModelString(Hello), new PackageResourceReference(HelloSection.class, settings.png)); } } In above code I want to add a new tab (section) to my TabbedPanel (I created a demo application with a tabbed panel and itabs from plugins) but HelloSection.class is not visible to wicket (I retrieve a CastClassException). It seems to me that I cannot use ResourceReference in my case because scope parameter (must be visible in wicket but I want something relative to plugin baseResourcesPath). Any advice how can I implement my idea is welcome. Best regards, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/need-advice-for-wicket-plugin-s-implementation-tp4653751.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
Re: need advice for wicket-plugin's implementation
Hi I will abort the solution with ResourceReference. I will try to use a IRequestMapper (PluginResourceMapper) for each started plugin (if request url is ./plugin/plugin-name/...). The mapRequest() method will return a ResourceRequestHandler (PluginResourceRequestHandler) that returns a ContextRelativResource (PluginResource) on getResource() method. Each wicket plugin has a method getPluginResourceUrl(String relativePath) - with a possible implementation getRequestCycle().urlFor(PluginResourceRequestHandler).toString(). Does this make sense? Best regards, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/need-advice-for-wicket-plugin-s-implementation-tp4653751p4653755.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
Re: Charts in Wicket
jqplot https://github.com/inaiat/jqplot4java . See some jqplot charts in action with wicket-dashboard https://github.com/decebals/wicket-dashboard . -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Charts-in-Wicket-tp4653548p4653555.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
Re: how to add rel=nofollow to all links
Hi In your Application.init() add this line: getComponentInstantiationListeners().add(new LinkListener()); public class LinkListener implements IComponentInstantiationListener { @Override public void onInstantiation(Component component) { if (component instanceof Link) { component.add(AttributeModifier.append(rel, nofollow)); } } } Best regards, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/how-to-add-rel-nofollow-to-all-links-tp4653459p4653460.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
Re: WiQuery SortableBehavior/DroppableBehavior questions
Hi First, onStopWidgetMove() function from dashboard.js is called on sortableBehavior.setStopEvent(). That js function creates a json with the new widgets positions. Second, the StopSortableAjaxBehavior (see respond method) is called with parameter data (json created above). For more info see: protected void onBind() { getComponent().add(sortableBehavior); sortableBehavior.setStopEvent(new JsScopeUiEvent() { ... }); } protected void respond(AjaxRequestTarget target) { ... } Best regards, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/WiQuery-SortableBehavior-DroppableBehavior-questions-tp4653349p4653434.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
Re: WiQuery SortableBehavior/DroppableBehavior questions
First, I think that line 55 is not necessary because jquery makes the modification on the client side. The important part is to save changes to xml (on the server side). Maybe a programmatic detach on your model resolves your problem. In the update method you make some modifications on response, the model object is in cache and detach method is call automatically by wicket at the end of request. Best regards, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/WiQuery-SortableBehavior-DroppableBehavior-questions-tp4653349p4653448.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
Re: WiQuery SortableBehavior/DroppableBehavior questions
HiSee how I resolved the problem in wicket-dashboard https://github.com/decebals/wicket-dashboard . At the end drag and drop operation I sent (using javascript) a json that keeps the positions for all widgets to wicket. For more details see StopSortableAjaxBehavior https://github.com/decebals/wicket-dashboard/blob/master/core/src/main/java/ro/fortsoft/wicket/dashboard/web/StopSortableAjaxBehavior.java .Best regards,Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/WiQuery-SortableBehavior-DroppableBehavior-questions-tp4653349p4653396.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
Re: Mount Page
In your panel: WebApplication application = getApplication(); application.mountPage(...); // for mount and application.unmount(...); // for unmount -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Mount-Page-tp4653318p4653322.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
Re: something similar with setOutputMarkupContainerClassName
public class DesignModeListener implements IComponentInstantiationListener { private boolean designMode = true; @Override public void onInstantiation(Component component) { if (component instanceof WebMarkupContainer) { Class? klass = component.getClass(); while (klass.isAnonymousClass()) { klass = klass.getSuperclass(); } if (klass.getName().startsWith(com.acme)) { component.add(new DesignModeBehavior()); } } } private class DesignModeBehavior extends Behavior { private static final long serialVersionUID = 1L; @Override public void beforeRender(Component component) { super.beforeRender(component); if (designMode) { // TODO Class? klass = component.getClass(); while (klass.isAnonymousClass()) { klass = klass.getSuperclass(); } Response response = component.getResponse(); response.write(\n); } } @Override public void afterRender(Component component) { super.afterRender(component); if (designMode) { // TODO Class? klass = component.getClass(); while (klass.isAnonymousClass()) { klass = klass.getSuperclass(); } Response response = component.getResponse(); response.write(\n); } } } } In WicketApplication.init(): getComponentInstantiationListeners().add(new DesignModeListener()); In WebPage.java: add(new HeaderPanel(header)); In WebPage.html: div wicket:id=header id=header/div My problem is that DesignModeBehavior decorates HeaderPanel with two comments (before and after component tag) but the behavior what I want to achieve is the same with setOutputMarkupContainerClassName on DebugSettings (see MarkupContainer.renderAssociatedMarkup) - the comments are placed before and after component tag body. Is it more clear now? Best regards, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/something-similar-with-setOutputMarkupContainerClassName-tp4653202p4653243.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
Re: something similar with setOutputMarkupContainerClassName
AbstractTransformerBehavior can be a solution but I must parse the output to retrieve the component tag body. For a particular situation (Jesse Long situation) to parse the output it's not a big deal but in my situation (something general for all my markup containers) I don't see a solution. Maybe I suppose that all my container markups are divs (div .../div). Is it an util class in wicket that can help me with the parsing operation? I want to retrieve the component tag body only. Best regards, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/something-similar-with-setOutputMarkupContainerClassName-tp4653202p4653252.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
Re: something similar with setOutputMarkupContainerClassName
And this is my implementation: private class DesignModeBehavior extends AbstractTransformerBehavior { private static final long serialVersionUID = 1L; @Override public CharSequence transform(Component component, CharSequence output) throws Exception { String className = component.getMetaData(CLASS_NAME_KEY); StringBuilder pre = new StringBuilder(); pre.append(!- quot;); pre.append(className); pre.append(quot; BEGINquot;); pre.append(quot; -\n); StringBuilder post = new StringBuilder(); post.append(!- quot;); post.append(className); post.append(quot; ENDquot;); post.append(quot; -\n); StringBuilder tmp = new StringBuilder(output); int i1 = tmp.indexOf(); int i2 = tmp.lastIndexOf(); tmp.insert(i2, post.toString()); tmp.insert(i1 + 1, pre.toString()); return tmp; } } -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/something-similar-with-setOutputMarkupContainerClassName-tp4653202p4653263.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
something similar with setOutputMarkupContainerClassName
Hi I want to implement something like setOutputMarkupContainerClassName but more dynamic (not a simple flag in IDebugSettings and not a hard-coded html comment). My situation is that I want to offer an application as a service. In my application, in design mode (an url parameter in request), I want to display the information about the markup container that rendered that html fragment as a comment (for example if com.acme.web.BasePage rendered that html fragment I want something like !-- BasePage Begin). Is it possible? Best regards, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/something-similar-with-setOutputMarkupContainerClassName-tp4653202.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
Re: something similar with setOutputMarkupContainerClassName
Thanks Martin for response. I implemented an DesignModeListener that implements IComponentInstantiationListener. The main problem is that my comment is placed before the container markup tag. Example: div id=container div id=header ... /div ... /div Above you can see the difference between DesignModeListener and IDebugSettings.setOutputMarkupContainerClassName. The div with id=header is not generated by HeaderPanel. Best regards, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/something-similar-with-setOutputMarkupContainerClassName-tp4653202p4653205.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
Re: Integrate Reporting tools with Wicket
Hi I prefer NextReports http://next-reports.com because is developed by me and a friend of mine :) The designer and engine are free. The server is a wicket application, very affordable, with support for scheduling, reports delivery via email, ftp, ssh..., real time dashboard, security and much more. For more information see the blog http://blog.next-reports.com/ . Another option is jasper reports (I know that it's a project in wicketstuff that integrates jasper with wicket). Best regards, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Integrate-Reporting-tools-with-Wicket-tp4653075p4653076.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
RE: Wicket plugin architecture
Hi Michal I will commit the initial version of my wicket-plugin https://github.com/decebals/wicket-plugin project in a few days (now i'm a little busy). This project is based on another project developed by me PF4J https://github.com/decebals/pf4j and is intended to add a little improvement over the solution chosen by you. A demo will be also available. I will come with more information in the next post. Any suggestion or idea is welcome. Best regards, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-plugin-architecture-tp4652305p4653078.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
Re: [Announce] wicket-dashboard
Hi I divided the project in modules and sub-modules: - core - demo - widgets (repository for widgets: ofchart - open flash chart and loremipsum - for test only) Also I found a DI solution relative smooth. My solution is based on these entities: DashboardContext, DashboardContextAware, DashboardContextInjector. DashboardContext give me all information about (or access to) WidgetFactory, WidgetRegistry, DashboardPersiter. Any wicket component can implemnents DashboardContextAware (that contains only a method setDashboardContext(DashboardContext dashboardContext)). And finally DashboardContextInjector that implements IComponentInstantiationListener and injects DashboardContext in wicket components that are dashboard context aware. In your application (see WicketApplication from demo package) in init method you can add some codes: // dashboard settings DashboardContextInjector dashboardConextInjector = new DashboardContextInjector(); DashboardContext dashboardContext = dashboardConextInjector.getDashboardContext(); WidgetRegistry widgetRegistry = dashboardContext.getWidgetRegistry(); widgetRegistry.registerWidget(new LoremIpsumWidgetDescriptor()); widgetRegistry.registerWidget(new ChartWidgetDescriptor()); getComponentInstantiationListeners().add(dashboardConextInjector); With this solution you can define the dashboard context as spring bean, with all needed widgets and do something like this in WicketApplication: @SpringBean private DashbaordContext dashboardContext; public void init() { ... getComponentInstantiationListeners().add(new DashboardContextInjector(dashboardContext)); } See you any inconvenience with this approach? Best regards, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Announce-wicket-dashboard-tp4652308p4652706.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
Re: [Announce] wicket-dashboard
Hi Paul Thanks for the feedback. I will split the project in modules asap. In my mind are some problems related to modularity that cannot be resolved so easy: how can I inject some components (DashboardPersister, WidgetFactory, WidgetRegistry) in wicket-dashboard? Now these components are singletons defined in DashboardApplication (demo package). In a real application (NextReports server for example), you may want to inject these components using a DI framework (spring framework in our case) and probably you want to save the dashboard layout in a database or jcr. Other problem is to add custom actions to widget header panel as contributors. Sure, the first step will be to split the project in core, demo, standard widgets and after this step to resolve the problems described above. Best regards, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Announce-wicket-dashboard-tp4652308p4652595.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
Re: [Announce] wicket-dashboard
Hi James I will improve the wiki with a new page Creating a custom widget. To create a custom widget is very simple. You must declare three components: - a TableWidgetDescriptor (implements WidgetDescriptor) that supplies information (meta data) about widget (display name, provider, description, widget class name); these information are displayed in AddWidgetPage when the user wants to add a new widget instance to dashboard. - a TableWidget (typical extends AbstractWidget) with a single method createView(String viewId):WidgetView. - a TableWidgetView (extends WidgetView) that it's the content widget panel. In this component you must add a DataTable or other repeater. If you have some settings for widget you can use these settings in widget view to create a custom view (some filtering on sql data, ...). For example I want to display two widgets with last five customers and last five orders. You can have a table widget with a view that contains a datatable with different dataprovider or two widgets types (it is your option) - LastCustomersWidget and LastOrdersWidget. After you create these three components, you must register the new widget type in WidgetRegistry (see DashboardApplication constructor) with widgetRegistry.registerWidget(new TableWidgetDescriptor()); It is more clear now? Best regards, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Announce-wicket-dashboard-tp4652308p4652597.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
Re: [Announce] wicket-dashboard
Hi Thanks Paul for the nice words. wicket-dashboard code is used in production in NextReports server (see http://apache-wicket.1842946.n4.nabble.com/How-to-create-a-dashboard-with-draggable-widgets-tp4652210p4652218.html) but with some additional features (multiple dashboards, detached widgets, ...). If you have any questions, ideas or suggestions, please do not hesitate to contact me. Best regards, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Announce-wicket-dashboard-tp4652308p4652565.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
[Announce] wicket-dashboard
Hi I implemented a simple dashboard for wicket that can be found at https://github.com/decebals/wicket-dashbaord You can drag and drop widgets, perform some actions on each widget, add or remove new widgets, change widget settings, collapse widgets. I have a tiny demo application. In this demo I have implemented two widgets types: a chart widget (using open flash chart) and a text widget (display a Lorem Ipsum). Best regards, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Announce-wicket-dashboard-tp4652308.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
Re: Wicket plugin architecture
Good question and good answers :) I am searching for an answer too. In our product (NextReports server) we use spring framework for this purpose. You can add contributors as section, menu action, popup action, ... and at runtime a component (for example a menu panel) takes all contributors and generate the markup. It's ok but this approach requires extra library (spring) and it's not a true plugin system (no class loaders management). Personal, I like the plugin system for Jenkins/Hudson. This system uses a specific class loader for each plugin. For more information see https://wiki.jenkins-ci.org/display/JENKINS/Plugin+Structure. You can define extension points and you can write extension for an extension points (similar to brixcms). I suppose that the key is how to define an extension point. In jenkins an extension point implements ExtensionPoint and an extension has an @Extension annotation. At runtime, jenkins search all @Extension annotations (It seems to me a time consuming operation). As plugin framework you can use something like http://jpf.sourceforge.net/ Best regards, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-plugin-architecture-tp4652305p4652321.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
Re: Wicket plugin architecture
Hi Jenkins/Hudson has this ability (do it with class loaders management). See more at http://kohsuke.org/2011/12/06/installing-plugins-to-jenkins-without-restart/. Jenkins is so popular because it uses a relative simple (vs osgi) with a good versatility plugin system. Probably it's possible to adapt jenkins plugin system to wicket but I don't know how big is this task. It's anybody here that can explains us how the plugin system is implemented in brixcms? Best regards, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-plugin-architecture-tp4652305p4652327.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
Re: How to create a dashboard with draggable widgets?
Hi I will release today or Monday a wicket-dashboard project on github. This project it's an open source project (Apache license) based on the dashboard implementations from nextserver (for a live demo see http://http://demo.next-reports.com/ user:demo, password:demo). I used jquery sortable from wiquery (in another project I uesd jqwicket) for dragdrop. When user stop on dragdrop a widget, a js function calls a wicket behavior with a json (as parameter) that contains the position (column and row) for each widget. I have a implementation for widgets like charts (openflashchart), text, pivot (see https://github.com/decebals/wicket-pivot) Best regards, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-create-a-dashboard-with-draggable-widgets-tp4652210p4652218.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
Re: problem with IResourceListener
I analyzed these lines (two iframes = two sessions): requestUrl = widget?0-IResourceListener-widget-renderer-chartid=32836b83-27c5-43f7-a166-8ba38407d7dd objectHashCode = 12027390 requestUrl = widget?0-IResourceListener-widget-renderer-chartid=fb7e5efe-77c9-4494-9f99-9a577fef1687 objectHashCode = 12027390 The both request urls are the same without id parameter: widget?0-IResourceListener-widget-renderer-chart. My impression is that wicket doesn't have enough information to make a distinction between listener instances and it returns one of instances. Is my assumption correct? Best regards, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/problem-with-IResourceListener-tp4652109p4652134.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
Re: problem with IResourceListener
Thanks Martin I understand this. But why urlFor(IResourceListener.INTERFACE, null); returns 0-IResourceListener-widget-renderer-chart in both situations (two iframes in the same html file). The page version remains the same for both calls. It's ok this behavior? The problem appears only when I open for the first time the page with iframes. After a refresh from browser (Firefox, Chrome) everything is ok. Best regards, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/problem-with-IResourceListener-tp4652109p4652137.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
problem with IResourceListener
Hi I want to make a open flash chart visible for an external web application using a iframe. For this, I create a ChartWebPage and mount this page to /chart. In a few words, my problem is that the json data (string) returned by OpenFlashChart (implements IResourceListener) are identical for both iframe calls. Seems that wicket (1.5) returns same OpenFlashChart instance (see hashCode from the console messages attached at end of the message) for both iframe calls. In other solution with json data served by a ChartDataResourceReference mount on a /chart-data everything it's ok but are many code lines that requires a change and I have a aggressive deadline. My code: public class ChartWebPage extends WebPage { public ChartWebPage(PageParameters pageParameters) { // for debug (see console) System.out.println(ChartWebPage.ChartWebPage()); System.out.println(RequestCycle.get().getRequest().getUrl()); String chartId = pageParameters.get(id).toString(); String chartData = chartService.getJson(chartId); add(new OpenFlashChart(chart, Model.of(chartData))); } ... } public class OpenFlashChart extends GenericPanelString implements IResourceListener { public OpenFlashChart(String id, IModelString jsonModel) { super(id, jsonModel); } @Override public void onResourceRequested() { // for debug (see console) System.out.println(OpenFlashChart.onResourceRequested()); System.out.println(requestUrl = + RequestCycle.get().getRequest().getUrl()); System.out.println(... + this.hashCode()); IResource jsonResource = createJsonResource(); IRequestHandler requestHandler = new ResourceRequestHandler(jsonResource, null); requestHandler.respond(getRequestCycle()); } private IResource createJsonResource() { // for debug (see console) System.out.println(OpenFlashChart.createJsonResource()); String jsonData = getModelObject(); System.out.println(jsonData = + jsonData); IResource jsonResource = new ByteArrayResource(text/plain, jsonData.getBytes()) { @Override protected void setResponseHeaders(ResourceResponse data, Attributes attributes) { data.disableCaching(); super.setResponseHeaders(data, attributes); } }; return jsonResource; } } In body section of my test.html file: iframe id=1 src=http://localhost:8081/nextserver/app/chart?id=32836b83-27c5-43f7-a166-8ba38407d7dd;/iframe iframe id=2 src=http://localhost:8081/nextserver/app/chart?id=fb7e5efe-77c9-4494-9f99-9a577fef1687;/iframe In application console: ChartWebPage.ChartWebPage() chart?id=32836b83-27c5-43f7-a166-8ba38407d7dd ChartWebPage.ChartWebPage() chart?id=fb7e5efe-77c9-4494-9f99-9a577fef1687 OpenFlashChart.onResourceRequested() requestUrl = chart?0-IResourceListener-widget-renderer-chartid=32836b83-27c5-43f7-a166-8ba38407d7dd ... 12027390 OpenFlashChart.createJsonResource() jsonData = {y_axis:{min:4.3441,colour:00,grid-colour:33, ...} OpenFlashChart.onResourceRequested() requestUrl = chart?0-IResourceListener-widget-renderer-chartid=fb7e5efe-77c9-4494-9f99-9a577fef1687 ... 12027390 OpenFlashChart.createJsonResource() jsonData = {y_axis:{min:4.3441,colour:00,grid-colour:33, ...} Best regards, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/problem-with-IResourceListener-tp4652109.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
Re: problem with IResourceListener
Additional information: if I put multiple OpenFlashChats in a (Dashboard)Panel everything is ok. The problem appears if I use iframes. Thanks, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/problem-with-IResourceListener-tp4652109p4652117.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
Re: WiQuery 6.0.0 has been released!
Congratulations -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/WiQuery-6-0-0-has-been-released-tp4651802p4651832.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
Re: The Apache Software Foundation Announces Apache Wicketâ„¢ 6.0.0
Good job -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/The-Apache-Software-Foundation-Announces-Apache-Wicket-6-0-0-tp4651780p4651798.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
Re: Jqwicket
Hi In my opinion the main advantage of the jqwicket over wiquery/wicket-jquery-ui is the impressive list of jquery plugins (ui components). See http://code.google.com/p/jqwicket/w/list for more details. Of course, it's not difficult to accommodate these jquery components with wiquery/wicket-jquery-ui. Best regards, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Jqwicket-tp4651665p4651704.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
Re: Jqwicket
Hi On the jqwicket forum on Jul 14 I posted a simple question about jqwicket and wicket 6.0. No response. The last commit on svn was on 30 Dec 2011. Good luck :) Best regards, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Jqwicket-tp4651665p4651690.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
RE: wicket-dnd strange situation
Hi Hielke First, I want to say thanks for wiquery. I integrated wiquery in a big project with success and we are happy with them. I know that the 2 code snippets do exactly the same. The first uses the wicket mechanism and the second uses the jquery mechanism. I read at http://code.google.com/p/wicket-dnd/issues/detail?id=13#c1 that WiQueryCoreInitializer(hooked up via WiQueryInitializer) installs its custom WiQueryDecoratingHeaderResponse and I suppose that WiQueryDecoratingHeaderResponse translate the first code snippet in the second. In my case the problem is $ jquery variable instead $.noConflict() (we need to use another JavaScript library - prototype from wicekt-dnd - alongside jQuery). Probably a jquery layer in the wicket core will help more the wicket developers that consume jquery (core, ui) and the projects that integrate wicket with jquery. In this layer I see a standard mode to add jquery.js, some behaviors that add jquery core functions in wicket and also different kinds of helpers (options) for function parameters (boolean, string, ) Best regards, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-dnd-strange-situation-tp4650918p4651220.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
pivot table for wicket
Hi I implemented a simple pivot table for wicket that can be found at https://github.com/decebals/wicket-pivot Best regards, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/pivot-table-for-wicket-tp4651031.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
Re: wicket-dnd strange situation
Nice. I see a beautiful future :) wicket-dnd integrated with wicket tree and of course wicket-dnd part of wicket core. Now, I'm waiting a clarification from a member of wiquery. Thanks again, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-dnd-strange-situation-tp4650918p4650947.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
Re: wicket-dnd strange situation
Hi Julien Thanks for the fast response. Sven says that for wicket 6, wicket-dnd will be port to jquery but now I see that I have only one option: to give up one library (wiquery or wicket-dnd). Both libraries are very good and I want to keep both. Is it a chance to activate jquery no conflict mode in wiquery? Other advice is welcome. Thanks Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-dnd-strange-situation-tp4650918p4650950.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
Re: wicket-dnd strange situation
Another technical question is who (I suppose wiquery) and why change Wicket.Event.add(window, domready, function(event) { new wicketdnd.DropTarget(...) }); in $(document).ready(function(event){new wicketdnd.DropTarget(...)}); Best regards, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-dnd-strange-situation-tp4650918p4650951.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
wicket-dnd strange situation
Hi I use wicket-dnd (0.5.0) with wicket 1.5.5. Initial I developed a small application with these libraries but now I want to integrate the code in a big application (copy/paste with some rename on packages). In the big application I retrieves Uncaught TypeError: Object #HTMLDocument has no method 'ready' in firebug. In the generated html I see some differences: in the big application and in the small application My html head looks (the strip version): link rel=stylesheet type=text/css href=./wicket/resource/org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow/res/modal-ver-1338386033000.css link rel=stylesheet type=text/css href=./wicket/resource/wicketdnd.theme.WebTheme/web/theme-ver-1316016245000.css Can somebody explain me why these differences happen? Thanks, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-dnd-strange-situation-tp4650918.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
Re: wicket-dnd strange situation
Wicket.Event.add(window, domready, function(event) { new wicketdnd.DropTarget(...) }); // works $(document).ready(function(event){new wicketdnd.DropTarget(...)}); // error (probably jquery not found or a conflict between jquery and prototype) -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-dnd-strange-situation-tp4650918p4650920.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
Re: Custom XHTML tag
Hi First, is it a good question. My solution use jqwicket tooltip and I touch both java and html files but it's ok for me. InlineHelp.java public class InlineHelp extends Panel { private static final long serialVersionUID = 1L; public InlineHelp(String id, IModelString messageModel) { super(id, messageModel); } public InlineHelp(String id, String message) { super(id, Model.Stringof(message)); } @Override protected void onInitialize() { super.onInitialize(); setRenderBodyOnly(true); WebComponent image = new ContextImage(image, /images/help.png) { private static final long serialVersionUID = 1L; @Override protected void onComponentTag(ComponentTag tag) { tag.put(title, (String) InlineHelp.this.getDefaultModelObject()); } }; image.add(new TipTipBehavior(new TipTipOptions().maxWidth(auto))); add(image); } } InlineHelp.html ?xml version=1.0 encoding=utf-8? html xmlns:wicket=http://wicket.apache.org/; wicket:panel /wicket:panel /html How to use java form.add(new InlineHelp(emailHelp, If you want some notifications)); html Email notifications input type=checkbox wicket:id=emailNotification/ Best regards, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Custom-XHTML-tag-tp4650489p4650506.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
Re: Missingresourceexception only in Firefox but not in Chrome or Safari
In your Session override getLocale() ? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Missingresourceexception-only-in-Firefox-but-not-in-Chrome-or-Safari-tp4650503p4650508.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
Re: Generate html page from java POJO in Wickets
See at http://incubator.apache.org/isis/viewer/wicket/docbkx/html/guide/ch01s02.html a comparison between apache isis wicket viewer and other wicket rad frameworks. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Generate-html-page-from-java-POJO-in-Wickets-tp4650360p4650512.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
Thanks
Thanks for the articles about wicket 6 on http://wicketinaction.com/ Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Thanks-tp4650450.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
wicket (1.5) push with cometd or atmosphere?
Hi I want to use a push technology (now I use comet-timer from wicketstuff) for some notifications in my wicket (1.5) application and I have to chose between cometd (wicketstuff) or atmosphere. I like wicket-atmosphere and wicket-native-socket from wicket-experimental but these require wicket 6. Finally I want to chose a push technology that not depends on servlet container. Any advice, links? Thanks, Decebak -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-1-5-push-with-cometd-or-atmosphere-tp4650458.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
Re: wicket 1.5 confirmation ajaxbutton
add(new AjaxLinkFile(delete) { @Override public void onClick(AjaxRequestTarget target) { } @Override protected IAjaxCallDecorator getAjaxCallDecorator() { return new ConfirmAjaxDecorator(Delete?); } }); public class ConfirmAjaxDecorator extends AjaxCallDecorator { private String message; public ConfirmAjaxDecorator(String message) { this.message = message; } @Override public CharSequence decorateScript(Component c, CharSequence script) { return new StringBuilder(if(!confirm(').append(message).append(')) { return false; };).append(script); } } -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-1-5-confirmation-ajaxbutton-tp4650460p4650462.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
Re: Generate html page from java POJO in Wickets
https://sites.google.com/site/wicketrad/getting-the-source-code -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Generate-html-page-from-java-POJO-in-Wickets-tp4650360p4650463.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
Re: Generate html page from java POJO in Wickets
https://sites.google.com/site/wicketrad/downloads -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Generate-html-page-from-java-POJO-in-Wickets-tp4650360p4650464.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
Re: Confirmation on AjaxLink
See http://apache-wicket.1842946.n4.nabble.com/wicket-1-5-confirmation-ajaxbutton-tp4650460p4650462.html, works on wicket 1.5 -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Confirmation-on-AjaxLink-tp4650466p4650467.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
Re: Generate html page from java POJO in Wickets
See also http://code.google.com/p/wicket-jsr303-validators/. It's not uptodate but you can see how it works. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Generate-html-page-from-java-POJO-in-Wickets-tp4650360p4650389.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
Re: Generate html page from java POJO in Wickets
https://sites.google.com/site/wicketrad/ http://wicketwebbeans.sourceforge.net/ -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Generate-html-page-from-java-POJO-in-Wickets-tp4650360p4650361.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
Re: Twitter Bootstrap Navigation and JQuery Impromptu demo / tutorial
Thanks. I like Twitter Bootstrap -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Twitter-Bootstrap-Navigation-and-JQuery-Impromptu-demo-tutorial-tp4650273p4650279.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
Re: pivot table in wicket
Robert Kimotho wrote Why don't you try using jpivot, the front end is done using html and they have css that you can override to suit your needs. This also makes it easy to embed in your wicket pages. Not unless you want to write one from scratch, which I think will be very time consuming. PS: jpivot uses mdx to query the database I wrote a PivotTable component in wicket and I'm very happy with this. This component uses a PivotTableModel that uses a generic PivotDataSource as data source. For me olap with mdx, ... it's to heavy. I want to use a simple sql select as data source. The other difficult part was to create the structures and algorithms behind ui. I will came with more information and a real world example asap. Thanks, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/pivot-table-in-wicket-tp4603028p4640994.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
pivot table in wicket
Hi Has anybody implemented a (simple) pivot table in wicket? How can I store the pivot data (maybe a java library)? I want to create a simple pivot table in wicket with data retrieved from a database query. Any advice is welcome. Thanks, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/pivot-table-in-wicket-tp4603028.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
Re: Wicket 1.5 ListMultipleChoice add Serializable values
Maybe you must override TextField.getConverter() because the text field component cannot knows to convert text to object/serializable. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-1-5-ListMultipleChoice-add-Serializable-values-tp4585991p4586299.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
Re: Clear markup cache
Another question: I know what markup files are changed do you think that it's a good idea to use MarkupCache.removeMarkup(String key) to improve the performance? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Clear-markup-cache-tp4575033p4576743.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
Re: A/B testing with wicket
Maybe Google Website Optimizer/ Google Analytics and not Google AddWords. My idea is to use Component.getVariation() as start point. Best reagrds, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/A-B-testing-with-wicket-tp4571946p4573185.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
Clear markup cache
Hi I use a CustomResourceLocator (extends ResourceStreamLocator) to load markup files. The workflow is to search in a custom folder and if the file doesn't exists call super.locate If I add/remove some markup files in/from custom folder I see that wicket keeps in cache some old files and I want to invalidate that cache programmatic (all cache or only for that files). How can I do this? wicket 1.5.5 Thanks, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Clear-markup-cache-tp4575033p4575033.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
Re: Clear markup cache
I resolved with: // clear markup cache getApplication().getMarkupSettings().getMarkupFactory().getMarkupCache().clear(); -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Clear-markup-cache-tp4575033p4575132.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
A/B testing with wicket
Hello Any advice how can I implement the A/B testing (http://en.wikipedia.org/wiki/A/B_testing) in wicket. Anybody already implemented this concept in an ecommerce or page landing site? Thanks, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/A-B-testing-with-wicket-tp4571946p4571946.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
Re: WebResource in Wicket 1.5
Hi I have the same problem. I changed WebResource to ByteArrayResource but I don't know how I can migrate the following lines: public void onResourceRequested() { createJsonResource(); // TODO wicket 1.5 // jsonResource.onResourceRequested(); } No method onResourceRequested() in ByteArrayResource. // CharSequence dataPath = RequestCycle.get().urlFor(OpenFlashChart.this, IResourceListener.INTERFACE); CharSequence dataPath = RequestCycle.get().urlFor(new ComponentRenderingRequestHandler(this)); System.out.println(*** + dataPath); datePath is null after migration to wicket 1.5 Best regards, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/WebResource-in-Wicket-1-5-tp4106181p4498851.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
Re: WebResource in Wicket 1.5
Thanks Martin for the your prompt response. In constructor of OpenFlashChart I have these lines: jsonResource = new ByteArrayResource(text/plain, getJsonData().getBytes()); CharSequence dataPath = urlFor(new ResourceRequestHandler(jsonResource, null)); System.out.println(*** + dataPath); dataPath is null the wicket version is 1.5.4 -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/WebResource-in-Wicket-1-5-tp4106181p4499017.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
Cannot find AnnotApplicationContextMock in wicket 1.5
Hi I migrate my application from wicket 1.4 to wicket 1.5.4 but I cannot find AnnotApplicationContextMock class. Thanks, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Cannot-find-AnnotApplicationContextMock-in-wicket-1-5-tp4478148p4478148.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
PropertyModel with x.y as property name (from a properties file)
Hello I have a form with new CompoundPropertyModelValueMap(properties) as model where properties are loaded from a properties file (legacy). My problem is that in properties file I have keys like x.y and I cannot use form.add(new TextFieldString(body.background-color)); How do I solve this problem? Thanks, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/PropertyModel-with-x-y-as-property-name-from-a-properties-file-tp4282146p4282146.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
jqwicket question
Hello I want to migrate from wiquery to jqwicket but I have a problem. In wiquery I used add(new HeaderContributor(new CoreJavaScriptHeaderContributor())) in BasePage to force adding jquery.js first before others js (my_application.js or jquery plugins). How can I do this with jqwicket? Thanks, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/jqwicket-question-tp3989947p3989947.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
maven repository for JQWicket
Hello Do you know a public maven repository for JQWicket? Thanks, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/maven-repository-for-JQWicket-tp3963213p3963213.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
Re: maven repository for JQWicket
Ignore. I found it. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/maven-repository-for-JQWicket-tp3963213p3963258.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