Re: Generated drop down list of countries in Wicket - any better way?

2013-11-18 Thread Martin Grigorov
Hi, I think you can use IModel for the dropdown. This will be the country code. The transformation from id to name and back (if needed) can be moved to a custom IChoiceRenderer. There you have access to the current locale for each rendering. CountryChoiceRenderer can delegate the actual work to Co

Re: searching for a Rich text editor

2013-11-18 Thread Maxim Solodovnik
We are using this one: http://www.7thweb.net/wicket-jquery-ui/plugins/wysiwyg/WysiwygEditorPage?0 seems to work as expected :) On Tue, Nov 19, 2013 at 4:30 AM, Sebastien wrote: > Hi Dirk, > > For the Kendo one, this is because Kendo has released a new version > (kendoui.web.2013.2.716), whereas

Generated drop down list of countries in Wicket - any better way?

2013-11-18 Thread Marcin ZajÄ…czkowski
Hi, Working on Wicket frontend for AppFuse I had to implement a drop down choice of countries. I did it, but don't like the solution and I wonder if it could be done easier/prettier? Issues: 1. In domain model there is a country represented as a String field (a country code) in an address class.

Re: searching for a Rich text editor

2013-11-18 Thread Sebastien
Hi Dirk, For the Kendo one, this is because Kendo has released a new version (kendoui.web.2013.2.716), whereas wicket-kendo-ui-12.0.0 is still based on the previous. you can try out wicket-kendo-ui-6.12.1-SNAPSHOT. Remember to clean your browser's cache. https://github.com/sebfz1/wicket-jquery-ui

Re: searching for a Rich text editor

2013-11-18 Thread Adam Hammer
For the most part you just integrate any rich text editor at the HTML/JS layer with a TextArea in wicket. There might need to be JS hooks in there in order to ensure that the Editor content is in the TextArea when the user submits the form. Overall though you don't need special integration for yo

searching for a Rich text editor

2013-11-18 Thread Dirk Wichmann
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 Di

Re: Filtered feedback message cleanup

2013-11-18 Thread meduolis
attaching quickstart: feedbackI18n.zip -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Filtered-feedback-message-cleanup-tp4662503p4662505.html Sent from the Users forum mailing list archi

RE: DownloadLink and ProgressBar

2013-11-18 Thread seyaw
Yes Paul, getting the progress of the file generation is one of my challenge right now. The file generation is, in my case is not linear. For example, the time it takes for different procedures is depend on the project size. Currently, I just make a rough estimation so that the user at least can se

Filtered feedback message cleanup

2013-11-18 Thread meduolis
Hello, I am not sure if it's a Wicket bug, or a lack of my wicket knowledge , but I really need an assistance here. I have a simple form with two different input fields: RequiredTextField and PasswordTextField. Also there is a feedback panel, but it filters out PasswordTextField feedback message

Filtered feedback message cleanup

2013-11-18 Thread meduolis
Hello, I am not sure if it's a Wicket bug, or a lack of my wicket knowledge , but I really need an assistance here. I have a simple form with two different input fields: RequiredTextField and PasswordTextField. Also there is a feedback panel, but it filters out PasswordTextField feedback message

Re: DownloadLink and ProgressBar

2013-11-18 Thread Ernesto Reinaldo Barreiro
What do you mean? How to compute how much has been generated? Or how to pass this info to the client? Or something else? On Mon, Nov 18, 2013 at 8:00 PM, Paul Bors wrote: > How do you track the progress of your file generation in order to show the > status bar? > > ~ Thank you, > Paul Bors >

RE: DownloadLink and ProgressBar

2013-11-18 Thread Paul Bors
How do you track the progress of your file generation in order to show the status bar? ~ Thank you, Paul Bors -Original Message- From: seyaw [mailto:seidy...@gmail.com] Sent: Monday, November 18, 2013 3:52 AM To: users@wicket.apache.org Subject: Re: DownloadLink and ProgressBar Hi Ern

Re: upgrade from 1.5 to Wicket 6 Form field issue and Ajax Link

2013-11-18 Thread Peter Henderson
Hi, Another approach. Add OnChangeAjaxBehavior or AjaxFormComponentUpdatingBehavior to the fields to keep the server side up to date. Peter. On 18 November 2013 12:57, Martin Grigorov wrote: > Hi, > > AjaxLink does not submit values. > Use AjaxSubmitLink or AjaxButton instead. > > > On Mon, N

Re: upgrade from 1.5 to Wicket 6 Form field issue and Ajax Link

2013-11-18 Thread Martin Grigorov
Hi, AjaxLink does not submit values. Use AjaxSubmitLink or AjaxButton instead. On Mon, Nov 18, 2013 at 2:51 PM, lucast wrote: > Dear Forum, > I have a main form and within this form, I have two fields: a drop-down > list > and a text field followed by an ajax-link which is meant to add the val

upgrade from 1.5 to Wicket 6 Form field issue and Ajax Link

2013-11-18 Thread lucast
Dear Forum, I have a main form and within this form, I have two fields: a drop-down list and a text field followed by an ajax-link which is meant to add the values from two fields to a list (scenario described in previous AjaxFormComponentUpdatingBehavior( "change" ) on a DropDownChoice

Re: CSS reference order

2013-11-18 Thread Martin Grigorov
Hi, Override ResourceReference#getDependencies() for the reference that contribute bootstrap-override.css. It should depend on CssHeaderItem.forRefernce(de.agilecoders.wicket.core.markup.html.themes.bootstrap.BootstrapCssReference) See http://wicketinaction.com/2012/07/wicket-6-resource-management

CSS reference order

2013-11-18 Thread mac
I have integrated in my application wicket-bootstrap library. I also have my own bootstrap-override.css which is added in renderHead method as a CssHeaderItem. Wicket renders bootstrap-override reference first in a head section. How can I change the reference order that my file will be loaded as th

Re: DownloadLink and ProgressBar

2013-11-18 Thread Ernesto Reinaldo Barreiro
Thanks for the pointer! On Mon, Nov 18, 2013 at 10:54 AM, Martin Grigorov wrote: > I think > > https://github.com/wicketstuff/core/tree/master/jdk-1.6-parent/progressbar-parent > has > such examples > > > On Mon, Nov 18, 2013 at 10:52 AM, seyaw wrote: > > > Hi Ernesto, > > A working example mig

Re: DownloadLink and ProgressBar

2013-11-18 Thread Martin Grigorov
I think https://github.com/wicketstuff/core/tree/master/jdk-1.6-parent/progressbar-parent has such examples On Mon, Nov 18, 2013 at 10:52 AM, seyaw wrote: > Hi Ernesto, > A working example might be helpful. > Thank you > > > > -- > View this message in context: > http://apache-wicket.1842946.n4

Re: PackageResource

2013-11-18 Thread Martin Grigorov
Hi, It is a caching problem. Use NonCachingImage component instead of Image. On Mon, Nov 18, 2013 at 11:19 AM, MartinoSuperman wrote: > Hi > > For my website, I am using a ResourceReference, in which a PNG file is > loaded to show it on the web page. > > The PNG picture shown well, but when I c

Re: Rendering a component into a String

2013-11-18 Thread MartinoSuperman
What I do in solving such problems, is making my own custom component class in Java, in which extension takes place. Example: I wanted to get text out of a TextField. Example code: TextField tfExample = new TextField("name", Model.of*"")) This example code generates an empty text field. It i

Re: Advice for upgrading from an old version of Wicket

2013-11-18 Thread MartinoSuperman
When you use a different version of Wicket, check, if the version is the same in NetBeans. Otherwise, it will be get stuck... -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Advice-for-upgrading-from-an-old-version-of-Wicket-tp4662469p4662488.html Sent from the User

Re: Refreshing PNG picture in web page after redrawing it.

2013-11-18 Thread Ernesto Reinaldo Barreiro
NonCachingImage? On Mon, Nov 18, 2013 at 10:20 AM, MartinoSuperman wrote: > Hi > > For my website, I am using a ResourceReference, in which a PNG file is > loaded to show it on the web page. > > The PNG picture shown well, but when I change that PNG picture by redrawing > it in Java with the hel

Refreshing PNG picture in web page after redrawing it.

2013-11-18 Thread MartinoSuperman
Hi For my website, I am using a ResourceReference, in which a PNG file is loaded to show it on the web page. The PNG picture shown well, but when I change that PNG picture by redrawing it in Java with the help of Graphics2D, you still see the former PNG picture on the web page, whereas the newest

PackageResource

2013-11-18 Thread MartinoSuperman
Hi For my website, I am using a ResourceReference, in which a PNG file is loaded to show it on the web page. The PNG picture shown well, but when I change that PNG picture by redrawing it in Java with the help of Graphics2D, you still see the former PNG picture on the web page, whereas the newest

Re: DownloadLink and ProgressBar

2013-11-18 Thread seyaw
Hi Ernesto, A working example might be helpful. Thank you -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/DownloadLink-and-ProgressBar-tp4662451p4662485.html Sent from the Users forum mailing list archive at Nabble.com. --

Re: DownloadLink and ProgressBar

2013-11-18 Thread Martin Grigorov
I didn't read the question correctly. It indeed talks about showing progress for the generation process, not the download. On Mon, Nov 18, 2013 at 10:39 AM, Ernesto Reinaldo Barreiro < reier...@gmail.com> wrote: > Martin, > > Thanks for your comments. > > On Mon, Nov 18, 2013 at 9:10 AM, Martin

Re: DownloadLink and ProgressBar

2013-11-18 Thread Ernesto Reinaldo Barreiro
Martin, Thanks for your comments. On Mon, Nov 18, 2013 at 9:10 AM, Martin Grigorov wrote: > Hi, > > I haven't seen a web application that shows progress bar for download. > The browser itself shows such information - Google Chrome in the > bottom-left corner, Firefox in its download window/manag

Re: DownloadLink and ProgressBar

2013-11-18 Thread Martin Grigorov
Hi, I haven't seen a web application that shows progress bar for download. The browser itself shows such information - Google Chrome in the bottom-left corner, Firefox in its download window/manager. On Sat, Nov 16, 2013 at 11:40 AM, Ernesto Reinaldo Barreiro < reier...@gmail.com> wrote: > Hi,

Re: Advice for upgrading from an old version of Wicket

2013-11-18 Thread Martin Grigorov
Hi, I'd advice you to read the migration guides 1.4->1.5 and 1.5->6.0. Then start migrating the app and ask here if you have specific problems. On Sun, Nov 17, 2013 at 11:33 PM, Scott Carpenter wrote: > Hi -- I've inherited a wicket site that was first developed four years ago. > It is running

Re: wicket "library" example, but with tabs

2013-11-18 Thread Martin Grigorov
Hi Erik, Thanks for offering your code! Unfortunately we cannot add every use case to the examples. This will make it even harder to understand for the users and hard to maintain for us. I hope you like what you have learnt from Wicket so far! Have fun! On Sun, Nov 17, 2013 at 11:47 PM, eosterm