Re: wicket-el - is this a safe way to hook into wicket?
On 19/12/13 18:45, Martin Grigorov wrote: So far no one needed to add custom MarkupElements and that's why it is not very easy. You can fork Wicket and create a branch where you can make modifications to make it easier and later we can review the needed changes and probably apply them back in Wicket. Hi Martin, I've found a way to achieve the goal of immutable markup. It's basically what we were talking about with a subclass of ComponentTag and RawMarkup. And I've found a better way to hook into wicket to generate this Markup by adding a MarkupFilter to the MarkupParser. This has the advantage of not even needing to subclass Markup as I can replace MarkupElements in MarkupFilter#postProcess. There's also huge benefits in the wicket-el code... Removing the need for quite a bit of complex code to manage situations where an EL component has associated markup that contains expressions that belong to one of it's child components. The only change needed to wicket to achieve this is removing the 'final' modifier from the RawMarkup class. I haven't been able to fully test it yet as I'm having trouble getting wicket-core to compile in eclipse. But it's very clear that the approach will work. So what it is the best way to go about requesting a change to wicket-core? I'm happy to fork and create a pull request etc but it seems overkill for removing a single word from one class. Should I create a JIRA ticket perhaps? I imagine I'll need to maintain the current implementation for a while as if the request change to RawMarkup is accepted it will take some time for it to appear in a release version. Any idea how long that would take? - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: searching for a Rich text editor
Hello Dirk, I'm not on the track, but this RTEs are just javascript helper to create html documents. What do you see? Do you check that javascript loaded, or html be escaped? But in generally, it should just work. Have you see some examples from wicketstuff: https://github.com/wicketstuff/core/tree/master/jdk-1.6-parent/tinymce-parent/tinymce-examples/src/main/java/wicket/contrib/examples/tinymce ? Best Regards Anton On 18.11.2013 22:13, Dirk Wichmann wrote: Hi, I'm searching for Rich text editor to integrate in my page, but at the moment nothing seems to work. Found Tynimce Wicket-jQuery (Kendo) Visural Wicket and examples, but they dont work with wicket 6.12 maybe. Have you maybe any hint for me?? Thanks in advance Cheers Dirk - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Certified Prince2:2009 Project Manager Professional Scrum Master I II Oracle Certified Expert, Enterprise JavaBeans Developer Oracle Certified Professional, Java SE 6 Programmer Now that's a test of the character of an organization. Of the organizations that are attempting to implement Scrum probably, 30% - 35% will successfully implement it. - Ken Schwaber
Re: Lazyload does not work with deployment mode
Hello, How did you manage to get your wicket application running on a tomcat server?I am developing in development mode with jetty server.Can you give me workaround how to do it? Many thanks in advance! Greetings Gerrit letien tien...@toshiba-tsdv.com , 21-12-2013 14:20: hi Guys, I just developed a web application using wicket and is running on a tomcat server I use lazyload on wicket framework. lazyload works great at development mode. But I change to deployment mode init-param param-nameconfiguration/param-name param-valuedeployment/param-value /init-param I can not get image, loading indicator rotates in endless. (I using lazyload for display image) I try debug in server and client side bug don't found problems. I using Lazy Load - jQuery 1.8.4, wicket 6.4.0 Any help please ... Regards -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Lazyload-does-not-work-with-deployment-mode-tp4663172.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
wicketstuff-facebook
Good afternoon, I'm currently struggling with wicketstuff-facebook 6.12.0 with the same version of Wicket. I'm unable to have the logged in callback executed. Here is my code: final LoginButton button = new LoginButton(loginButton, FacebookPermission.user_events); button.setShowFaces(true); this.add(button); final ModelString responseModel = new ModelString(); final MultiLineLabel responseLabel = new MultiLineLabel(response, responseModel); responseLabel.setOutputMarkupId(true); this.add(responseLabel); this.add(new AuthLoginEventBehavior() { private static final long serialVersionUID = 1L; @Override protected void onSessionEvent(final AjaxRequestTarget target, final String status, final String userId, final String signedRequest, final String expiresIn, final String accessToken) { final StringBuilder sb = new StringBuilder(); sb.append(status: ).append(status).append('\n'); sb.append(userId: ).append(userId).append('\n'); sb.append(signedRequest: ).append(signedRequest).append('\n'); sb.append(expiresIn: ).append(expiresIn).append('\n'); sb.append(accessToken: ).append(accessToken).append('\n'); LoginModalWindow.LOGGER.info(sb.toString()); responseModel.setObject(sb.toString()); target.add(responseLabel); } }); Moreover, I have added new FacebookSdk(fb-root, my-app-id)) and its corresponding markup div id=fb-root wicket:id=fb-root/div at the very beginning of the body, as requested. I have no error in the Tomcat logs. Does anyone have a clue, please? Regards, Pierre
Re: Generate PDF
Hi there I am a beginner of PDF processing .And i am looking for a PDF processing http://www.rasteredge.com/how-to/csharp-imaging/pdf-processing/ program.I know there are many third party program which supports to process PDF files.But i want to get a free trial package before i decided to purchase it.Thanks for any suggestions. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Generate-PDF-tp3651354p4663182.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