MinimumValidator shows password in error message

2013-01-28 Thread René Hartwig
Hi, I recognized that the MinimumValidator shows the given password in its error message. Is that intentional? Best regards, René Hartwig -- René Hartwig Senior Developer Befine Solutions

Re: MinimumValidator shows password in error message

2013-01-28 Thread Martin Grigorov
Hi, You don't mention which version you use. This is improved in Wicket 6. RangeValidator.minimum=The value of '${label}' must be at least ${minimum}. RangeValidator.maximum=The value of '${label}' must be at most ${maximum}. #deprecated, use RangeValidator.minimum MinimumValidator=The value of

Re: MinimumValidator shows password in error message

2013-01-28 Thread Ernesto Reinaldo Barreiro
Martin, I see Application_es.properties does not contain Spanish translation new messages on Application.properties... Shall I will fix that and attach patch to a new issue? Cheers, Ernesto On Mon, Jan 28, 2013 at 9:39 AM, Martin Grigorov mgrigo...@apache.orgwrote: Hi, You don't mention

Re: MinimumValidator shows password in error message

2013-01-28 Thread Martin Grigorov
Hi Ernesto, Any improvements are always welcome! :-) On Mon, Jan 28, 2013 at 10:50 AM, Ernesto Reinaldo Barreiro reier...@gmail.com wrote: Martin, I see Application_es.properties does not contain Spanish translation new messages on Application.properties... Shall I will fix that and

Re: MinimumValidator shows password in error message

2013-01-28 Thread René Hartwig
Hi, yes - it was in wicket 1.5 - as I am now using a custom validator and wicket 6 its no problem. Just wanted to make sure you are aware of this. Thanks and regards, René Hartwig René Hartwig

Re: MinimumValidator shows password in error message

2013-01-28 Thread Martin Grigorov
On Mon, Jan 28, 2013 at 11:05 AM, René Hartwig rene.hart...@befine-solutions.com wrote: Hi, yes - it was in wicket 1.5 - as I am now using a custom validator and wicket 6 its no problem. Just wanted to make sure you are aware of this. Yes, we are aware. There is an entry about this

Re: JQuery - best practice

2013-01-28 Thread Sebastien
Hi Pieter I am not sure to undestand your first point. What libraries are you refering to? Internal wicket's library? A jQuery plugin? Another? About your second point, the ResizeBehavior does not currently implement the 'resize' event (which can retrieve size position). To stay consistent with

Re: JQuery - best practice

2013-01-28 Thread Pieter Claassen
Hi Sebastian, Thanks. Wicket 6.5 is what I am using. As to your question: I am referring to the fact that Wicket documentation mentioned that JQuery has been selected for the internal AJax implementation in Wicket. I take that means that there is a JQuery JS library that ships with Wicket-core

Re: Preventing inner form processing?

2013-01-28 Thread Sebastien
Hi Martin, Thanks for your answer! I was thinking I did no have a submit button to provide (and that the form was submitted using a div#onclick (wicket 1.5)) But... As I have a submit button, I can supply it in the wicketSubmitFormById method... Thanks again! Sebastien. On Mon, Jan 28, 2013 at

Re: JQuery - best practice

2013-01-28 Thread Sebastien
Hi Pieter, Yes, wicket is embedding jquery core library. If you include another jquery core well yes, you will probably get into troubles. If you really want to do that, you can specify your own jQuery core library version, in Wicket Application#init(): IJavaScriptLibrarySettings settings =

Re: documentation

2013-01-28 Thread Philippe Demaison
The community is very responsive. Thanks you very much, the documentation will help us. Philippe Demaison 2013/1/25 Martin Grigorov mgrigo...@apache.org Hi, I just pushed a new branch named 'reference-guide' to our Git repo. It contains the setup to write documentation and include code

Re: JQuery - best practice

2013-01-28 Thread Pieter Claassen
Sebastien, So by including the wicket-jquery-ui (if I follow the installation instructions), does that not conflict with the jquery core library? Regards, Pieter On Mon, Jan 28, 2013 at 11:38 AM, Sebastien seb...@gmail.com wrote: Hi Pieter, Yes, wicket is embedding jquery core library. If

Re: JQuery - best practice

2013-01-28 Thread Martin Grigorov
Hi Pieter, Both Wicket and the libraries which integrate with jQuery UI provide ways to setup custom JavaScriptResourceReference (JSRR) that loads jquery.js. The easiest way is to tell the jquery-ui integration library to not contribute its JSRR at all. Only Wicket will contribute it. If for

Re: JQuery - best practice

2013-01-28 Thread Sebastien
Hi Pieter, hi Martin, As you are using wicket 6 and wicket-jquery-ui 6, there is no version conflict because wicket-jquery-ui relies on wicket's embedded jquery core, so there is only one reference of jquery-js But a problem may arise: - if you are youself using a version of jquery core

Re: Upgrade to 6.5.0

2013-01-28 Thread Paul Bors
Looks like your application server is not finding your com.myApp.myAppApp as per: Caused by: java.lang.ClassNotFoundException: com.myApp.myAppApp from [Module deployment.myApp-1.0-SNAPSHOT.war:main from Service Module Loader] at

Re: [6.0] CouldNotLockPageException

2013-01-28 Thread Paul Bors
Well I would recommend adding this in your Application class: @Override protected void init() { ... if(isDevelopmentMode()) { ... IRequestCycleSettings#**setTimeout(); ... } ... } public boolean isDevelopmentMode() { return (getConfigurationType() ==

Re: [6.0] CouldNotLockPageException

2013-01-28 Thread Martin Grigorov
I don't see a reason why this setting should be modified at all. It is normal that while debugging it will take more time. This exception is harmless while you debug another (a real) problem. I'd change the value of this setting only if I know that there are paths in the code which need more time

Re: Triggering a server request (ajax?) after page render to re-render certain parts of the page

2013-01-28 Thread Martin Grigorov
Hi, On Mon, Jan 28, 2013 at 1:35 PM, manish41711 manish41...@gmail.com wrote: On my page there is a panel that shows a list of car dealers. The panel displays a list of dealers with information for each dealer as mentioned below. -For each dealer I need to show : name, address, phone,

Re: [6.0] CouldNotLockPageException

2013-01-28 Thread Paul Bors
Nice, thanks for that Martin. We've carried this webapp since early versions of wicket and we haven't yet upgraded older utility methods. Goes to shows how nicely some of the API carried forward in Wicket :) ~ Thank you, Paul Bors On Mon, Jan 28, 2013 at 10:57 AM, Martin Grigorov

Issue with panel ,model refresh

2013-01-28 Thread mohallo
I have the following code with a label and a model .Which works as expected .I added a timer which refreshes the component and hence the getObject of the model is called . If I use the same code and Replace the timerLabel with a panel I would have thought it would work the same way . The Idea is

Re: [6.0] CouldNotLockPageException

2013-01-28 Thread Pierre Goupil
Sure things men. But I need to raise this timeout in dev mode since I want to have the graphical result of my (Ajax) request after having browsed through the code: when the browser throws an error, I have no way to know if what I have seen in my debugger is correct or not. Anyway: +1 for

Re: Upgrade to 6.5.0

2013-01-28 Thread Stephen Walsh
That ended up being the issue. Had to clear out my JBOSS and change a line in my web.xml. Thanks! __ Stephen Walsh | http://connectwithawalsh.com On Jan 28, 2013, at 9:48, Paul Bors p...@bors.ws wrote: Looks like your application server is not finding your

Re: Issue with panel ,model refresh

2013-01-28 Thread Martin Grigorov
Hi, This is the working code, right ? Can you show us the non-working one ? On Sat, Jan 26, 2013 at 2:08 AM, mohallo moha...@qwest.com wrote: I have the following code with a label and a model .Which works as expected .I added a timer which refreshes the component and hence the getObject of

Re: Wicket 6.5 CompoundPropertyModel constructor ambiguity

2013-01-28 Thread Martin Grigorov
I believe that this question has been asked recently and it got a response. http://markmail.org/thread/rfcqarnvct3t2gh3 On Fri, Jan 25, 2013 at 11:24 AM, Pieter Claassen pieter.claas...@gmail.com wrote: When I try to create the following model after migrating to wicket 6.5.0 new

How to prevent form input appended as URL parameters ?

2013-01-28 Thread heikki
hello, I have a form on my page, which when submitted goes the next page, but all the form's fields appear as URL parameters in the resulting page. I'm using Wicket 6.5.0. My code is like StatelessForm? form = new StatelessFormVoid(myForm) { protected void onSubmit() { final String

Re: How to prevent form input appended as URL parameters ?

2013-01-28 Thread Francois Meillet
You can use a CryptoMapper or use setResponsePage(new NextPage( txtValue ) (NextPage will be stateful) François Le 28 janv. 2013 à 18:37, heikki tropic...@gmail.com a écrit : hello, I have a form on my page, which when submitted goes the next page, but all the form's fields appear as URL

Re: Wicket 6.5 CompoundPropertyModel constructor ambiguity

2013-01-28 Thread Eric Jablow
On Fri, Jan 25, 2013 at 4:24 AM, Pieter Claassen pieter.claas...@gmail.com wrote: When I try to create the following model after migrating to wicket 6.5.0 new CompoundPropertyModelReportWebModel(reportWebModel) *where* ReportWebModel extends BaseWebModelReport *and* BaseWebModelT

Re: How to prevent form input appended as URL parameters ?

2013-01-28 Thread Martin Grigorov
This is strange. Can you verify with Dev Tools/Firebug that POST is used for the submittion ? On Mon, Jan 28, 2013 at 7:37 PM, heikki tropic...@gmail.com wrote: hello, I have a form on my page, which when submitted goes the next page, but all the form's fields appear as URL parameters in

Re: How to prevent form input appended as URL parameters ?

2013-01-28 Thread heikki
Checking with Firebug, when I click the submit button it appears to do a POST followed by a GET: POST http://localhost:8080/webappname/mountedpagepath;jsessionid=0F040B88573ADE2932D8D41DF3845DA1?0-1.IFormSubmitListener-myFormtxt=userprovided GET

Re: Issue with panel ,model refresh

2013-01-28 Thread Paul Bors
I'm confused by your question... The Idea is to attach a model to the Panel and when the panel gets refreshed it will call the getObject on the model... is this what Wicket's MVC dose for you? If you want to refresh a panel via Ajax, then simply call setOutputMarkupId() on the panel and add it

Re: How to prevent form input appended as URL parameters ?

2013-01-28 Thread Martin Grigorov
This looks OK. The POST is the form submittion. And the GET is after setResponsePage(Class, PageParameters) I don't see how the POST parameters appear in the final url. As we can see they are not in the redirect url (the GET one). On Mon, Jan 28, 2013 at 8:54 PM, heikki tropic...@gmail.com

Re: How to prevent form input appended as URL parameters ?

2013-01-28 Thread heikki
yes, they are: txt=userprovided. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-prevent-form-input-appended-as-URL-parameters-tp4655843p4655850.html Sent from the Users forum mailing list archive at Nabble.com.

Re: How to prevent form input appended as URL parameters ?

2013-01-28 Thread Francois Meillet
I did the test with 6.5.0 OSX / Safari 6.0.2 = http://localhost:8080 OSX / Firefox 10.0.2 = http://localhost:8080/wicket/bookmarkable/test.Test?txt=azerty François Le 28 janv. 2013 à 20:54, heikki tropic...@gmail.com a écrit : Checking with Firebug, when I click the submit button it

Re: How to prevent form input appended as URL parameters ?

2013-01-28 Thread Martin Grigorov
On Mon, Jan 28, 2013 at 9:30 PM, heikki tropic...@gmail.com wrote: yes, they are: txt=userprovided. this comes from: final String txtValue = txt.getModelObject(); PageParameters pageParameters = new PageParameters(); pageParameters.add(txt, txtValue);

Re: How to prevent form input appended as URL parameters ?

2013-01-28 Thread Andrea Del Bene
Page parameters always contribute to the final URL of the page (in your example with parameter txt). You can avoid this passing the value with a different technique, for example passing the textfield model via constructor. Something like: StatelessForm? form = new StatelessFormVoid(myForm) {

Re: Issue with panel ,model refresh

2013-01-28 Thread mohallo
Thanks for looking at this . that is the working code that I previously posted . This is what I am trying to do . private RefreshPanel refreshPanel; private WebMarkupContainer container; private AjaxSelfUpdatingTimerBehavior ajaxTimer; private PanelRefreshForm panelRefreshForm; public

Re: Issue with panel ,model refresh

2013-01-28 Thread mohallo
It works for the Label .Trying to implement the same for the Panel . -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Issue-with-panel-model-refresh-tp4655775p4655855.html Sent from the Users forum mailing list archive at Nabble.com.

Re: JQuery - best practice

2013-01-28 Thread Sebastien
Hi Pieter, I added the ResizablePanel component and deployed the snapshot release (wicket-jquery-ui-core-6.2.1-SNAPSHOT) You may find how it works on the demo site: http://www.7thweb.net/wicket-jquery-ui/resizable/ResizablePanelPage I hope it will suit your use case, do not hesitate to come

Re: Issue with panel ,model refresh

2013-01-28 Thread Paul Bors
Unfortunately the live wicket examples for the component references is offline right now so I can't point you to an Ajax example :( http://www.wicket-library.com/wicket-examples/compref/ But take a look at: http://wicket.apache.org/learn/examples/ajaxcounter.html Your code is too complex to

Re: Pages, Panels, and Dependency Injection

2013-01-28 Thread Bill Speirs
Still struggling with how to do this. Martin, I understand that most people will simply call new PanelA and new PanelB inside their MyPage code instead of trying to inject them. However, how does one setup a page that requires some service (DAO for example) and that might optionally require a

Re: editable tree table: submit all changes at once

2013-01-28 Thread grazia
This is what I did, comments are welcome. On each row, I have an action's cell (actions like save or delete). That cell is represented by a class that extends Panel. Its constructor takes an id and a PropertyModel as arguments. The PropertyModel allows me to get the tree node in that row.

Re: editable tree table: submit all changes at once

2013-01-28 Thread Paul Bors
Why re-invent the wheel? Take a look at the examples for Wicket Components at: http://www.wicket-library.com/ The Wicketstuff InMethod Grid's Editable TreeGrid: http://www.wicket-library.com/inmethod-grid/tree-grid/editable The project you're looking for is at:

Re: JQuery - best practice

2013-01-28 Thread Ernesto Reinaldo Barreiro
Hi, On Tue, Jan 29, 2013 at 12:38 AM, Sebastien seb...@gmail.com wrote: Hi Pieter, I added the ResizablePanel component and deployed the snapshot release (wicket-jquery-ui-core-6.2.1-SNAPSHOT) You may find how it works on the demo site:

Re: JQuery - best practice

2013-01-28 Thread Martin Grigorov
On Tue, Jan 29, 2013 at 7:31 AM, Ernesto Reinaldo Barreiro reier...@gmail.com wrote: Hi, On Tue, Jan 29, 2013 at 12:38 AM, Sebastien seb...@gmail.com wrote: Hi Pieter, I added the ResizablePanel component and deployed the snapshot release (wicket-jquery-ui-core-6.2.1-SNAPSHOT)

Re: JQuery - best practice

2013-01-28 Thread Ernesto Reinaldo Barreiro
Hi, On Tue, Jan 29, 2013 at 7:55 AM, Martin Grigorov mgrigo...@apache.orgwrote: On Tue, Jan 29, 2013 at 7:31 AM, Ernesto Reinaldo Barreiro reier...@gmail.com wrote: Hi, On Tue, Jan 29, 2013 at 12:38 AM, Sebastien seb...@gmail.com wrote: Hi Pieter, I added the ResizablePanel

Re: JQuery - best practice

2013-01-28 Thread Ernesto Reinaldo Barreiro
HI On Tue, Jan 29, 2013 at 8:05 AM, Ernesto Reinaldo Barreiro reier...@gmail.com wrote: Hi, On Tue, Jan 29, 2013 at 7:55 AM, Martin Grigorov mgrigo...@apache.orgwrote: On Tue, Jan 29, 2013 at 7:31 AM, Ernesto Reinaldo Barreiro reier...@gmail.com wrote: Hi, On Tue, Jan 29, 2013 at

Re: Pages, Panels, and Dependency Injection

2013-01-28 Thread Martin Grigorov
Hi, You can do something like: class MyPage extends WebPage { @Inject private DAO dao; @Inject @Nullable private UserBean currentUser; ... // use dao or currentUser anywhere in your class } And Guice will try to inject these beans if they are defined in a Guice module. See

Re: Issue with panel ,model refresh

2013-01-28 Thread Martin Grigorov
The examples for 6.x are OK - http://www.wicket-library.com/wicket-examples-6.0.x/index.html I'll see what is the problem with 1.5.x On Tue, Jan 29, 2013 at 1:31 AM, Paul Bors p...@bors.ws wrote: Unfortunately the live wicket examples for the component references is offline right now so I