Form sending encoding problem 1.5-M3

2010-11-26 Thread Java Programmer
Hello, I have migrated with a small project to Wicket 1.5-M3, and most of things work fine, but I have one problem with encodings. All my pages are UTF-8, the messages from properties, and database data is fetched fine, But problem appear when I try to send data from form, and it contains some

Re: Form sending encoding problem 1.5-M3

2010-11-26 Thread Java Programmer
Hello again, I have checked one more thing - I have removed from code and html MultiFileUploadField, so the POST request wasn't multipart, and everything was fine this time (UTF-8 data send from form). Any ideas, what's wrong? A bug in multipart forms processing? -- Thanks in advance, Adrian

Re: Form sending encoding problem 1.5-M3

2010-11-26 Thread Martin Grigorov
try with form accept-charset=UTF-8 http://www.w3schools.com/tags/att_form_accept_charset.asp On Fri, Nov 26, 2010 at 10:40 AM, Java Programmer jprogrami...@gmail.comwrote: Hello again, I have checked one more thing - I have removed from code and html MultiFileUploadField, so the POST request

Re: Form sending encoding problem 1.5-M3

2010-11-26 Thread Java Programmer
Unfortunately it wouldn't help - in source: form wicket:id=addEvent accept-charset=UTF-8 id=addEvent9 method=post action=../wicket/page?2-2.IFormSubmitListener-addEvent enctype=multipart/form-data but still characters are messed up. -- Best regards, Adrian On Fri, Nov 26, 2010 at 10:57 AM,

Re: visural-wicket 0.6.5 released!

2010-11-26 Thread Marc Ende
May be you should mention the need for visural-common in the basic-usage. When using the InputHintBehavior I got an ClassNotFound exception. anyway: a visural-wicket is a great collection of components. ;) marc 2010/11/25 Richard Nichols r...@visural.com What error are you getting? It may

Re: nested form in FormComponentPanel validation issue

2010-11-26 Thread Joseph Pachod
On 11/25/2010 08:26 PM, Igor Vaynberg wrote: addressedit should be composing itself in its convertinput() method based on the converted input of the subcomponents. thanks igor it did so but the nested form was validating after the FormComponentPanel, so the converted inputs of the nested

Same panel, different ids and models, used more than once in the same page: panel's component...has the same wicket:id as another component already added at the same level

2010-11-26 Thread Poko Booth
Hi all, I'm probably doing something wrong here: I have a long data entry page in which at some point user has to enter address information 2-3 times [for different objects]. I created a panel with 4 fields [city/postal code/street/number]. The panel takes an IModelAddress in its constructor and

Re: Same panel, different ids and models, used more than once in the same page: panel's component...has the same wicket:id as another component already added at the same level

2010-11-26 Thread Martin Grigorov
show the code On Fri, Nov 26, 2010 at 12:17 PM, Poko Booth poko.bo...@gmail.com wrote: Hi all, I'm probably doing something wrong here: I have a long data entry page in which at some point user has to enter address information 2-3 times [for different objects]. I created a panel with 4

Re: Same panel, different ids and models, used more than once in the same page: panel's component...has the same wicket:id as another component already added at the same level

2010-11-26 Thread Poko Booth
Sorry, don't bother. My bad. I don't even dare to try to explain what was wrong, you will block me :) On Fri, Nov 26, 2010 at 1:21 PM, Martin Grigorov mgrigo...@apache.orgwrote: show the code On Fri, Nov 26, 2010 at 12:17 PM, Poko Booth poko.bo...@gmail.com wrote: Hi all, I'm probably

Localizing validation messages

2010-11-26 Thread Josh Kamau
Hi there I have a very simple question How do i localize/i18n a message like is 'sdfasdf' not a valid Integer. It doest fall under any of the validators that i know e.g Required, NumberValidator.Range. etc regards. Josh

Re: Preventing user input script-injection attacks

2010-11-26 Thread Ian Marshall
Hello Igor, I remain an Ant person for now and not a Maven person, so instead of a quickstart project I attach HTML and Java code for a Wicket test page: http://apache-wicket.1842946.n4.nabble.com/file/n3060397/PageSpecificTest.html PageSpecificTest.html

Re: visural-wicket 0.6.5 released!

2010-11-26 Thread Andrea Del Bene
Hi Richard and thank you for your work! I've developed a custom multi select widget which is much more user friendly then classic HTML multiselect control. This widget looks like this: http://drupal.org/files/issues/filefield_sources_multiselect_widget_0.jpg. It's build upon standard Wicket

Re: visural-wicket 0.6.5 released!

2010-11-26 Thread Matthias Keller
Hi Isn't this exactly the same as a wicket Palette ? Matt On 2010-11-26 15:42, Andrea Del Bene wrote: Hi Richard and thank you for your work! I've developed a custom multi select widget which is much more user friendly then classic HTML multiselect control. This widget looks like this:

Re: visural-wicket 0.6.5 released!

2010-11-26 Thread Andrea Del Bene
Damn! Didn't know about the existence of this component. BTW, there are two examples about Palete (here http://wicketstuff.org/wicket14/compref/) and one is about wicket.markup.html.form.palette.Palette, but it seems that this class doesn't exist in Wicket source. Is this an error? Hi Isn't

Re: visural-wicket 0.6.5 released!

2010-11-26 Thread Matthias Keller
Palette is in wicket-extensions at: org.apache.wicket.extensions.markup.html.form.palette.Palette The one listed as wicket.markup is actually extensions too when you click on it - it just appears to be misnomed on the index page Matt On 2010-11-26 16:20, Andrea Del Bene wrote: Damn!

component not visible exception

2010-11-26 Thread Douglas Ferguson
I have an error I've been seeing in the production logs for awhile now and haven't been able to to figure it out. My thought is that it is due to a stale page or the back button, but it seems to me that it is happening alot, so I thought I might inquire. Any thoughts on what might be causing

Re: Preventing user input script-injection attacks

2010-11-26 Thread Igor Vaynberg
yes, we only escape on the output. escaping the input itself makes little sense. if you want to escape the input before you store it use Strings.escapeMarkup() util method. -igor On Fri, Nov 26, 2010 at 6:34 AM, Ian Marshall ianmarshall...@gmail.com wrote: Hello Igor, I remain an Ant person

Re: nested form in FormComponentPanel validation issue

2010-11-26 Thread Igor Vaynberg
quickstart, jira issue. -igor On Fri, Nov 26, 2010 at 2:52 AM, Joseph Pachod j...@thomas-daily.de wrote: On 11/25/2010 08:26 PM, Igor Vaynberg wrote: addressedit should be composing itself in its convertinput() method based on the converted input of the subcomponents. thanks igor it did

Re: nested form in FormComponentPanel validation issue

2010-11-26 Thread Joseph Pachod
On 11/26/2010 05:41 PM, Igor Vaynberg wrote: quickstart, jira issue. thanks, I wasn't sure about creating an issue I will do then, but since I moved on (removing the nested form), so it could take a little while (+ we are on 1.4.9, so maybe latest versions are better there, no clue) ++

Re: component not visible exception

2010-11-26 Thread Pedro Santos
Look for any setVisible(false) or isVisible implementation changing your form visibility in an undesirable way. Basically you user in clicking in an not visible in the hierarchy submitting component. On Fri, Nov 26, 2010 at 2:12 PM, Douglas Ferguson doug...@douglasferguson.us wrote: I have an

Re: Maven: Where to find the current binaries

2010-11-26 Thread Uwe Schäfer
On 11/17/2010 12:17 AM, Uwe Schäfer wrote: Hi fellow Wicketeers i am quite puzzle due the maven behaviour described below. I took this to the maven mailinglist, but with no result. I think it is crucial to other projects (such as wicket) to have a pom working no matter what version of maven

RE: ERROR: exceded the 65,535 byte limit Please Help me!

2010-11-26 Thread Vadim Tesis
you cannot call cheeses.add() where you do. do it in the constructor of MainApplication or some other method before cheeses is being used. From: irresistible...@gmail.com To: users@wicket.apache.org Subject: Re: ERROR: exceded the 65,535 byte limit Please Help me! Date: Sun, 14 Nov 2010

calling a javascript function after ajax loading a component

2010-11-26 Thread Josh Kamau
Hi guys; I have a javascript function that i would like to call after loading a panel with ajax. What clientside event should trigger my function? regards. josh

Re: calling a javascript function after ajax loading a component

2010-11-26 Thread Ernesto Reinaldo Barreiro
public class MyPanel extends Panel implements IHeaderContributor { private static final long serialVersionUID = 1L; /** * @param id */ public MyPanel(String id) { super(id); } public void renderHead(IHeaderResponse response)

onSubmit sequence call with AjaxFormSubmitBehavior

2010-11-26 Thread Arjun Dhar
On reading some material, it explains that when a Button is within a Form, the Buttons onSubmit should be called before the Forms onSubmit. (if not configured otherwise). Which makes perfect sense. However; when I add AjaxButton to the Form, and have it within the Form. I see the order of

Re: calling a javascript function after ajax loading a component

2010-11-26 Thread Josh Kamau
Thanks Ernesto. Let me try it. On Sat, Nov 27, 2010 at 8:54 AM, Ernesto Reinaldo Barreiro reier...@gmail.com wrote: public class MyPanel extends Panel implements IHeaderContributor { private static final long serialVersionUID = 1L; /** * @param id */