Multiple Form Feedback Messages / Showing one / Canceling of Form Processing? Filtering Feedback Messages?

2013-02-21 Thread Patrick Davids
Hi all, I have a quite simple form, but with many many form feedback messages. I read several articles about FormComponentFeedbackFilter, overriding form processing or conditional validations of forms etc but what I'm not able to find out, is just how to show only one feedback message (firs

Re: Multiple Form Feedback Messages / Showing one / Canceling of Form Processing? Filtering Feedback Messages?

2013-02-21 Thread Martin Grigorov
Hi, The approach with the custom filter should do it. Extend org.apache.wicket.feedback.ComponentFeedbackMessageFilter and return 'true' in #accept() only once, i.e. use a flag that a message is accepted and then reject all following. Make sure you use a new instance of this filter for every rende

Re: How to modify markup?

2013-02-21 Thread Zilvinas Vilutis
I think that is what borders are for ( read here: https://cwiki.apache.org/WICKET/consistent-page-layout-using-borders.html ) Regards Žilvinas Vilutis On Wed, Feb 20, 2013 at 8:20 PM, Stefan Renz wrote: > Hi, > > what would be the best way to modify the HTML output of a component? > > Conside

load resource from other project

2013-02-21 Thread oliver.stef
Hi, How can I load external properties file from other project? (I have WicketApplication Project and another project named GeneralResources. I want to load properties file that from GeneralResources project into my Wicket project).

Re: TinyMCE.

2013-02-21 Thread Andrea Del Bene
It seems that your application is missing the jar TinyMCE integration. You can find it at http://mvnrepository.com/artifact/org.wicketstuff/wicketstuff-tinymce/6.5.0 HI. when i execute my page with a textArea(with TinyMCE).java.lang.NoClassDefFoundError: wicket/contrib/tinymce/TinyMceBehavior T

[Blog] How to replace component with animation

2013-02-21 Thread Martin Grigorov
Hi, While fixing WICKET-5039 I've created an application that demonstrates how to replace a component with animation effect and blogged about it at http://wicketinaction.com/2013/02/replace-components-with-animation/ I hope you find it useful! -- Martin Grigorov jWeekend Training, Consulting, D

Re: load resource from other project

2013-02-21 Thread Martin Grigorov
Hi, Make GeneralResources a Maven dependency to WicketApplication, i.e. general-resources.jar should be in wicket-application.war#WEB-INF/lib/ folder. Then you can use org.apache.wicket.core.util.resource.ClassPathResourceFinder to load the resources On Thu, Feb 21, 2013 at 3:57 PM, oliver.stef

Re: Anyone using Wicket-Stuff Facebook

2013-02-21 Thread Stephen Walsh
This was the code that I implemented to get the access Token. Obviously it isn't finished yet because I need to implement some error handling, actual saving and of the user, etc., but it's a framework that hopefully can help someone else that wants to use OAuth in the Scribe package. Note: I'm al

Re: Multiple Form Feedback Messages / Showing one / Canceling of Form Processing? Filtering Feedback Messages?

2013-02-21 Thread mwwbf
A Simple Way? Implement your own FeedbackPanel and set the visiblity of listItem to false after one line has been rendered. The counter for the number of renderd feedback messages has to be global. Dirty but simple;) -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Mu

Regarding Facebook login API in wicket 1.5

2013-02-21 Thread kshitiz
Hi, I am trying to implement Facebook connect in my application as given in https://cwiki.apache.org/WICKET/adding-facebook-connect.html. I have copied the same code in my application but when hosted, I am not able to see facebook login UI in the application. I have not registered the application

Re: Regarding Facebook login API in wicket 1.5

2013-02-21 Thread Stephen Walsh
You will probably have to create at least a test application for this to work. I just supplied some code earlier today that worked for me. If you still want to use your method above, when you create your test application with Facebook, you can set the URL to a localhost of your choice so you can

Re: [Blog] How to replace component with animation

2013-02-21 Thread Andrea Del Bene
Just for curiosity, have you considered also to do this using global AJAX listeners (using handlers for '/dom/node/removing' and '/dom/node/adding')? Hi, While fixing WICKET-5039 I've created an application that demonstrates how to replace a component with animation effect and blogged about it

Re: JBoss RichFaces/AeroGear effort to create cross-framework components

2013-02-21 Thread Ondrej Zizka
Hi, actually, sorry for the confusion, it's a community effort. Richfaces might pick it up later. The people behind this effort are looking around for input and experts on frameworks to decide what would be the best shape of the common layer. I'll update on this when I know more. Regards, Ond

Re: [Blog] How to replace component with animation

2013-02-21 Thread Francois Meillet
Thanks Martin, I like it and I'm gonna use it ! François Meillet Formation Wicket - Développement Wicket Le 21 févr. 2013 à 18:50, Andrea Del Bene a écrit : > Just for curiosity, have you considered also to do this using global AJAX > listeners (using handlers for '/dom/node/removing' and

Re: [Blog] How to replace component with animation

2013-02-21 Thread Martin Grigorov
Hi Andrea, On Thu, Feb 21, 2013 at 7:50 PM, Andrea Del Bene wrote: > Just for curiosity, have you considered also to do this using global AJAX > listeners (using handlers for '/dom/node/removing' and '/dom/node/adding')? It wont work with the global events. As I describe in the article the anim

Re: [Blog] How to replace component with animation

2013-02-21 Thread Martin Grigorov
Well done, Ernesto! On Thu, Feb 21, 2013 at 9:13 PM, Ernesto Reinaldo Barreiro < reier...@gmail.com> wrote: > Martin, > > Thanks for sharing! > > Inspired by your article I came up with following behavior that will: > > 1-Make component appear when appear when page is loaded. > 2-Have the same e

Re: Why does my "HelloWorldPage" not work?

2013-02-21 Thread mike.hua
Thanks for your suggestion! The simple page has run successfully with "slf4j-api-1.7.2.jar","wicket-core-6.5.0.jar","wicket-request-6.5.0.jar" and "wicket-util-6.5.0.jar". I 've learned more from the sample! Then, I would like to appreciate each one friend who has given me hands! Thanks again!