Re: Getting url for a page

2011-12-19 Thread Francois Meillet
Hi Niranjan, Url url = RequestCycle.get().mapUrlFor(pageClass, parameters); String fullurl = RequestCycle.get().getUrlRenderer().renderFullUrl(url); François Le 20 déc. 2011 à 03:52, Niranjan Rao a écrit : Hi folks, On wicket 1.5.1 I have a page that calls a JSON service url in

Re: Communication (in-vm) between webapps

2012-02-04 Thread Francois Meillet
Hi Sebastian, 1) crossContext : Tomcat 7 - javadocs: Set to true if you want calls within this application to ServletContext.getContext() to successfully return a request dispatcher for other web applications running on this virtual host. But if you want something secure : Set

Re: AjaxTabbedPanel - Enable / Disable Individual Tab.

2012-02-12 Thread Francois Meillet
you can override the newLink method in the TabbedPanel François Le 12 févr. 2012 à 01:53, ej595 a écrit : Does anyone know how to enable or disable a Tab from a tabbedpanel. I dont mean visible or invisible. I want to be able to show all tabs, but disable the user from being able to click

Re: LoadableDetachableModels for a ListView ( database with Cayenne)

2012-02-16 Thread Francois Meillet
Hi Vineet, public LoadableDetachableModelYourClass load(final Long xxx) { LoadableDetachableModelListYourClass model = new LoadableDetachableModelListYourClass() { protected YourClass load() { try { ListYourClass list = get your liste

seo - canonical link element

2012-03-06 Thread Francois Meillet
Hi Wicketers, Do you use the Canonical Link Element in your page ? (A canonical page is the preferred version of a set of pages with highly similar content.) http://googlewebmastercentral.blogspot.com/2011/06/supporting-relcanonical-http-headers.html

Could not find component after session dies

2012-03-14 Thread Francois Meillet
Release: Wicket 6.0-SNAPSHOT The pages: All pages extends a Skeleton, which has a header panel. In this header panel, another panel is displayed, depending if the user is logged (ConnectedPanel) or not (HeaderLoginPanel). So when a user is not connected, the component's structure is

PageExpiredException and PageExpired

2012-03-14 Thread Francois Meillet
I have the following settings getPageSettings().setRecreateMountedPagesAfterExpiry(false); getApplicationSettings().setPageExpiredErrorPage(PageExpired.class); I don't get the PageExpired (which is bookmarkable) for PageExpiredException Do I forget something ? François

PageExpiredErrorPage - httpServletResponse.status

2012-03-15 Thread Francois Meillet
In 6.0-SNAPSHOT The default implementation of the PageExpiredErrorPage set the httpServletResponse.status to HttpServletResponse.SC_NOT_FOUND Why not HttpServletResponse.SC_GONE ? François - To unsubscribe, e-mail:

Re: Could not find component after session dies

2012-03-15 Thread Francois Meillet
great ! Thanks Martin Le 15 mars 2012 à 10:43, Martin Grigorov a écrit : https://issues.apache.org/jira/browse/WICKET-4454 On Wed, Mar 14, 2012 at 3:49 PM, Francois Meillet qq...@gmail.com wrote: Hi Martin, Here is the code (maven project) François Le 14 mars

Re: LDM - correct construction

2012-03-22 Thread Francois Meillet
Hi Jeffrey, Have a look to the Command Pattern. https://community.jboss.org/wiki/OpenSessionInView http://heapdump.wordpress.com/2010/04/04/should-i-use-open-session-in-view/ quote from Hibernate: It's clear that this pattern only makes sense if you can actually use a local Session when

Re: Event handling and swapping panels

2012-03-28 Thread Francois Meillet
Unless you override the onEvent method for each panel (MyPanel1, MyPanel2 and MyPanel3) , only the first working panel will manage the event. one solution would be : public class Admin extends WebPage { @Override public void onEvent(IEvent? event) { super.onEvent(event);

Re: Canonical link

2012-03-29 Thread Francois Meillet
Hi Chris, It may help you : Url url = RequestCycle.get().mapUrlFor(page.getClass(), getPageParameters()); String canonicalLink = RequestCycle.get().getUrlRenderer().renderFullUrl(url); François Le 27 mars 2012 à 00:49, Chris Colman a écrit : I'm implementing canonical in our wicket app

Re: DateField and AjaxFormComponentUpdatingBehavior in wicket 1.5.5

2012-04-12 Thread Francois Meillet
Hi, Should be better with a form private IModelDate date; public Test() { super(); add(new TestForm(form, date = new ModelDate(new Date(; } private class TestForm extends Form { public TestForm(String form, final IModelDate dateModel) {

Re: DateField and AjaxFormComponentUpdatingBehavior in wicket 1.5.5

2012-04-12 Thread Francois Meillet
Show me your code. full file class. Le 12 avr. 2012 à 16:41, dpmihai a écrit : It does not matter. Your code (DateTextField instead DateField) does not work either in Wicket 1.5.5 It prints just the current date no matter what date I choose. -- View this message in context:

Re: [Conception] question about mixed entities and model

2012-04-12 Thread Francois Meillet
Hi, using a fragment or a panel will help you public class MyMixedEntitiesPane extends Panel { public MyMixedEntitiesPanel(IModelUserDetails userDetails) { myMixedEntitiesPanel.add( new Label(x, ); myMixedEntitiesPanel.add( new Label(y, );

Re: [Conception] question about mixed entities and model

2012-04-12 Thread Francois Meillet
This is just an idea public class UserDetails { public UserDetails( Person person, Event event, Mail mail ) { // here you use the properties you need this.firstName = person.getFirstName(); this.xxx = event.getXXX();

Re: DateField and AjaxFormComponentUpdatingBehavior in wicket 1.5.5

2012-04-13 Thread Francois Meillet
try this public TestForm(String form, final IModelDate dateModel) { super(form, dateModel); DateTextField dateTextField = new DateTextField(txtDate, dateModel, new StrictPatternDateConverter(dd/MM/, false)); DatePicker datePicker = new DatePicker();

Re: wicket 6.0

2012-04-13 Thread Francois Meillet
Hi, I use 6, everything is ok but I encounter a problem with DatePicker. No event when there is an update. https://issues.apache.org/jira/browse/WICKET-4496 François Le 13 avr. 2012 à 14:24, Martin Grigorov a écrit : Hi, beta1 has been released at March 26 and so far there were 3 tickets

Re: Byte order mark is displayed on the page

2012-05-24 Thread Francois Meillet
Have a look to http://www.w3.org/International/questions/qa-utf8-bom.en.php Le 24 mai 2012 à 23:49, Alec Swan a écrit : Hello, I have HTML markup fie saved with UTF-8 encoding. When I open HTML in the browser it looks good, however if the same HTML is displayed by Wicket I see a

Re: AjaxSelfUpdatingTimerBehavior stops working

2012-07-09 Thread Francois Meillet
odd : the maximum value for the timout is Integer.MAX_VALUE. François Le 9 juil. 2012 à 15:11, esajjkh a écrit : When I create an instance of AjaxSelfUpdatingTimerBehavior with value of TIMEOUT, the onPostProcessTarget methods is being called immediately rather than it should wait for the

Re: AjaxSelfUpdatingTimerBehavior stops working

2012-07-09 Thread Francois Meillet
odd : the maximum value for the timout is Integer.MAX_VALUE. François Le 9 juil. 2012 à 15:11, esajjkh a écrit : When I create an instance of AjaxSelfUpdatingTimerBehavior with value of TIMEOUT, the onPostProcessTarget methods is being called immediately rather than it should wait for the

Re: jboss ignoring html request

2012-07-12 Thread Francois Meillet
-check the call of chain.doFilter(request, wrapper); at the end of the doFilter method of your previous filter -verify the patern you use in the filter configuration of the web.xml François Le 13 juil. 2012 à 06:53, wicket user a écrit : Hi, We are using Jboss app server, we wrote a

Re: Checking all input in refreshingview and set focus

2012-07-28 Thread Francois Meillet
have a look to https://cwiki.apache.org/WICKET/reference-library.html François Le 25 juil. 2012 à 09:06, Delange a écrit : Hi, i have an refreshingview with input fields. How can I check every field in a row and set focus on it when it's wrong? (Validators can not be used for all

wicket 1.6 snapshot - cdi - inject - NullPointerException

2012-07-28 Thread Francois Meillet
Hi All, The problem is : I got a NullPointerException after using @Inject environment : wicket 1.6 snapshot - cdi (weld) - inject - NullPointerException - tomcat 7 / jboss AS 7 module 1 : bookstoreservice (with a beans.xml file) module 2 : bookstoreweb (with a beans.xml file) in the

Re: wicket 1.6 snapshot - cdi - inject - NullPointerException

2012-07-28 Thread Francois Meillet
.jar:na] at bookstoreweb.test.BookPage.init(BookPage.java:85) ~[BookPage.class:na] Francois Le 28 juil. 2012 à 10:30, Igor Vaynberg a écrit : a stack trace would be helpful... -igor On Sat, Jul 28, 2012 at 11:26 AM, Francois Meillet francois.meil...@gmail.com wrote: Hi All

Re: wicket 1.6 snapshot - cdi - inject - NullPointerException

2012-07-28 Thread Francois Meillet
is created and injected by cdi... strange. -igor On Sat, Jul 28, 2012 at 2:41 PM, Francois Meillet francois.meil...@gmail.com wrote: Here it is : org.apache.wicket.WicketRuntimeException: Can't instantiate page using constructor 'public bookstoreweb.test.BookPage

Re: Wicket: Ajax callback onTimer() method not called

2012-07-30 Thread Francois Meillet
It works perfectly with Wicket 6 Francois - François Meillet Développeur Wicket - indépendant - Paris - IDF -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-Ajax-callback-onTimer-method-not-called-tp4650851p4650863.html Sent from the Users forum mailing

Re: Wicket: Ajax callback onTimer() method not called

2012-07-30 Thread Francois Meillet
Definitely ! you should use Wicket 6.x.x which is nearly in final release. The 6.0.0-beta3 is already very stable. François - François Meillet Développeur Wicket - indépendant - Paris - IDF -- View this message in context:

Re: IOException ZIP entry size is too large when downloading excel file

2012-08-25 Thread Francois Meillet
Have a look to ZipInputStreamZipEntrySource.java line 117 https://svn.apache.org/repos/asf/poi/trunk/src/ooxml/java/org/apache/poi/openxml4j/util/ZipInputStreamZipEntrySource.java Francois Le 25 août 2012 à 09:01, sdia1400 a écrit : Using eclipse/tomcat, I have a single page wicket app with a

Re: String Value Conversion Exception

2012-09-20 Thread Francois Meillet
parameters.get(id).toLong() throws this exception when id can't be converted to long. François Le 20 sept. 2012 à 19:06, Stephen Walsh step...@connectwithawalsh.com a écrit : I am new to Wicket and Java, so forgive any ignorance or lack of information. I am modeling a blog type

Re: String Value Conversion Exception

2012-09-20 Thread Francois Meillet
Walsh | http://connectwithawalsh.com On Thu, Sep 20, 2012 at 12:55 PM, Francois Meillet francois.meil...@gmail.com wrote: parameters.get(id).toLong() throws this exception when id can't be converted to long. François Le 20 sept. 2012 à 19:06, Stephen Walsh step

Re: Separating a form

2012-09-25 Thread Francois Meillet
Why not using the event handling mechanism ? A small idea : you can use a specific event as a constructor's argument for ContactEditPanel. This event would contain all the necessary information for the display, (what and where) and will also be resent by the onSubmit method. The listeners of

Re: Separating a form

2012-09-25 Thread Francois Meillet
In ContactEditPanel, you can have a constructor with the AjaxSubmitLink as an argument. Hope that help, François Le 25 sept. 2012 à 09:15, ChambreNoire a...@tentelemed.com a écrit : Hi, I have a simple ContactEditPanel which contains a form and a number of textfields. Up until now I

Re: Manipulate Form Input After Validation

2012-10-11 Thread Francois Meillet
You should modify the css (color) for the input for example, in place of changing the value, with an AttributeModifier. The value displayed in the text box comes from the model. François Le 10 oct. 2012 à 19:50, weslowsk weslo...@accesscomm.ca a écrit : Hi, I was wondering how I could

Re: How to veto textfield inputChanged()?

2012-10-11 Thread Francois Meillet
you can use that yourFormComponent.setEnabled( false ); François Le 11 oct. 2012 à 14:55, l yeung lenming.ye...@gmail.com a écrit : Hi, How do I veto textfield inputChanged()? I need to prevent this from happening inside AjaxFormComponentUpdatingBehavior(onchange). protected void

Re: Clueless on this error

2012-10-17 Thread Francois Meillet
The class com.campingawaits.CampingAwaitsApp is missing. It's not in the deployment.campingawaits-1.0-SNAPSHOT.war. And as this class is necessary at the startup, the app could not start. François Le 17 oct. 2012 à 20:29, Stephen Walsh stephen.wa...@me.com a écrit : Randomly got this today.

Re: Devoxx France 2013

2013-01-08 Thread Francois Meillet
Hi Cedric, I think it's a very good idea as Devoxx could help us to make Wicket better known in France. Ready to work on that with you. François Le 8 janv. 2013 à 17:30, Cedric Gatay gata...@gmail.com a écrit : Hi fellow Wicket'ers, I think many of you are aware of the second edition of

Re: By Pass the rendering strategie and set the HTTP return code

2013-01-09 Thread francois meillet
throw new AbortWithHttpErrorCodeException(HttpServletResponse.SC_INTERNAL_SERVER_ERROR); François On Wed, Jan 9, 2013 at 2:31 PM, Gaetan Zoritchak g.zoritc...@moncoachfinance.com wrote: Hi all, I've got a public website on which I fight against spammer. In the case of a form submit by a

Re: Variable changes on server running, don't change on localhost

2013-01-10 Thread francois meillet
Why do you make properties static, why TabPanel1 is static ? François On Thu, Jan 10, 2013 at 3:51 PM, Paolo irresistible...@gmail.com wrote: Hi, I am become crazy! My wicket web application works fine on my laptop on localhost, but don't work well on my home server. I made all the web

Re: Radio AjaxEventBehavior(onclick)

2013-01-14 Thread francois meillet
On the RadioGroup you can add an AjaxFormChoiceComponentUpdatingBehavior() François On Mon, Jan 14, 2013 at 12:01 PM, ronny.v...@consult.nordea.com wrote: Hi People I searched community on this scenario: Catch onclick event on Radio AT RadioGroup level (so to speak). So no matter how many

Re: Wicket getLocalizer().getString(.. Issue

2013-01-14 Thread Francois Meillet
Application.getResourceSettings().getLocalizer().clearCache() does that. You can also use the clearLocalizerCache method via jmx, within the Application mbean. François Le 14 janv. 2013 à 13:11, vijay sevijay@gmail.com a écrit : Hi All, I am using getLocalizer().getString(..,..) to

Re: [Announce] Introducing Wicked Charts

2013-01-19 Thread Francois Meillet
Hi Tom, Great work ! Many Thanks ! François Le 18 janv. 2013 à 23:44, Matthias Gasser wic...@matthiasgasser.com a écrit : Hi Tom, Great work! Thanks. Best regards, Matthias On 18.01.2013, at 23:30, tom.hombergs tom.hombe...@gmail.com wrote: Hi Wicket users, i would like to

Re: Component to String

2013-01-24 Thread Francois Meillet
Hi Cedric, Great ! It works on 6.5 François Le 24 janv. 2013 à 17:39, Cedric Gatay gata...@gmail.com a écrit : Hi, I recently needed to do this, I come with a simple solution (quickly deprecated by our main application architecture however). I blogged about it here

Re: ThreadContext.getSession(); return null in wicket 6.5.0

2013-01-24 Thread Francois Meillet
Are you sure your session has been bound ? François Le 24 janv. 2013 à 20:07, Raul ralva...@netwie.com a écrit : Hi, in my application I use ThreadContext.getSession () to get the session, and works well in wicket 6.4.0, upgrade to 6.5.0 but returns null, what is due? -- View this

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: 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: Select, Option and equals()

2013-01-29 Thread francois meillet
You can do that by using the decorator pattern : write a wrapper for the object and redefine equals and hashcode. François On Tue, Jan 29, 2013 at 2:38 PM, Sven Meier s...@meiers.net wrote: Hi all, I'm using Select/SelectOptions with model-objects that have a semantic equality but their

Re: Wicket dataprovider query / search time

2013-02-04 Thread Francois Meillet
Try to collect the search method's duration in your DAO. François Le 4 févr. 2013 à 16:36, Rob Audenaerde rob.audenae...@valuecare.nl a écrit : Hi All, I'm displaying (Lucene)search results in Wicket using a DataTable. The Datatable uses a IDataProvider to populate the toolbars and cells.

Re: Wicket dataprovider query / search time

2013-02-05 Thread Francois Meillet
amount of time. For this I could use a model that wraps a time collector variable in the DataProvider. Op 4 feb. 2013 om 17:44 heft Francois Meillet francois.meil...@gmail.com het volgende geschreven: Try to collect the search method's duration in your DAO. François Le 4 févr

Re: Wicket job market

2013-02-05 Thread Francois Meillet
Thanks Philippe for raising this issue Maybe it's time to take a step back to better analyse the situation and where we want to go. Because we don't want to be the only ones using the best framework. What need to be done ? If we promote Wicket right now, we will end up with a big failure. In

Re: Problem with ClientProperties

2013-02-07 Thread Francois Meillet
which methods ? François Le 7 févr. 2013 à 10:57, Raul ralva...@netwie.com a écrit : Hi, I need to keep the browser name and version, using it my clients, but some ClientProperties class methods return null, I use wicket 6.5.0. Does anyone knows what could it be? PD,

Re: wicket 6.x add additional folder

2013-02-09 Thread Francois Meillet
getResourceSettings().getResourceFinders().add(your IResourceFinder); exemple: getResourceSettings().getResourceFinders().add(new WebApplicationPath(getServletContext(), some/path)); more on https://cwiki.apache.org/WICKET/migration-to-wicket-60.html François Le 9 févr. 2013 à 11:00,

Re: Using tomcat server in wicket application

2013-02-11 Thread Francois Meillet
what do you mean by not able to find appropriate resource ? Francois Meillet AtomicThread Formation Développement Wicket Le 12 févr. 2013 à 07:37, kshitiz k.agarw...@gmail.com a écrit : Hi, I have a wicket application running fine using Jetty server. But I need to deploy

Re: Using tomcat server in wicket application

2013-02-11 Thread Francois Meillet
? extends Page getHomePage() { return HomePage.class; } Francois Meillet Formation Développement Wicket Le 12 févr. 2013 à 08:01, kshitiz k.agarw...@gmail.com a écrit : I mean when I run application using run as tomcat server, the server is not able find the first page

Re: Regarding using jetty 6 in wicket

2013-02-12 Thread Francois Meillet
Have a look to http://jetty.codehaus.org/jetty/jetty-6/apidocs/index.html or import org.apache.wicket.util.time.Duration; import org.eclipse.jetty.http.ssl.SslContextFactory; import org.eclipse.jetty.server.Connector; import org.eclipse.jetty.server.Server; import

Re: Expire page in Wicket 1.5/6.x

2013-02-13 Thread Francois Meillet
getSession().clear(); François Meillet Formation Wicket - Développement Wicket Le 13 févr. 2013 à 22:25, Nick Pratt nbpr...@gmail.com a écrit : Is it possible to forcibly expire all versions of a Page in Wicket 1.5/6 - if so, how? N

Re: Migration issue: code using MarkupStream.findCOmponentINdex

2013-02-13 Thread Francois Meillet
private boolean hasFragment(final String id, final Markup markup) { return markup.find(id) != null; } hope this help François Meillet Formation Wicket - Développement Wicket Le 13 févr. 2013 à 15:08, Martin Dietze d...@fh-wedel.de a écrit : I am currently migrating a project based on

Re: Migration issue: code using MarkupStream.findCOmponentINdex

2013-02-13 Thread Francois Meillet
have a look at the migration page 1.5 $ component rendering https://cwiki.apache.org/WICKET/migration-to-wicket-15.html#MigrationtoWicket1.5-Componentrendering François Meillet Formation Wicket - Développement Wicket Le 13 févr. 2013 à 15:08, Martin Dietze d...@fh-wedel.de a écrit : I

Re: how to modify internal JavascriptResourceReference packaged with component

2013-02-14 Thread Francois Meillet
Hi Evan, try this private static final ResourceReference YOURJS = new JavaScriptResourceReference( YourClassWhereJavascriptReside.js.class, YourModifiedJavascript.js); @Override public void renderHead(IHeaderResponse response) {

Re: how to modify internal JavascriptResourceReference packaged with component

2013-02-15 Thread Francois Meillet
like to make a minor modification to the actual javascript in , MultiFileUploadField.js, so in this case I will choose the renderHead override method. François Meillet Formation Wicket - Développement Wicket Thanks again, -Evan Francois Meillet wrote Hi Evan, try this private

Re: how to modify internal JavascriptResourceReference packaged with component

2013-02-15 Thread Francois Meillet
has maintenance implications, but I guess that might just be inevitable given what I want to do. Thanks for the help! Francois Meillet wrote Le 15 févr. 2013 à 16:48, evan lt; evan@ gt; a écrit : Hi Francois, Thanks, but actually this still has issues. At first I thought

Re: unselected choices of Palette contain duplicates ...

2013-02-16 Thread Francois Meillet
Can you show up the code where you send the event ? François Meillet Formation Wicket - Développement Wicket Le 16 févr. 2013 à 16:56, grazia grazia.russolass...@gmail.com a écrit : I have overriden the onEvent method of the Palette class in the attempt to populate the palette (on the

Re: unselected choices of Palette contain duplicates ...

2013-02-16 Thread Francois Meillet
In the onEvent method, update.getModelObject() is added to the choices collection. The collection is not a Set, but a List. So each time you add an item to choices, you create a new entry. François Meillet Formation Wicket - Développement Wicket Le 16 févr. 2013 à 16:56, grazia

Re: How to make a stateful mounted page bookmarkable?

2013-02-16 Thread Francois Meillet
Have a look to MountedMapper And also the Wicket in Action blog http://wicketinaction.com/2011/07/wicket-1-5-mounting-pages/ François Meillet Formation Wicket - Développement Wicket Le 17 févr. 2013 à 01:17, Bernard bht...@gmail.com a écrit : Hi all, We mount all our pages so that the

Re: unselected choices of Palette contain duplicates ...

2013-02-17 Thread Francois Meillet
-Can you dump getChoices() after the line this.getChoices().retainAll(choices) -also can you check your PaletteRenderer François Meillet Formation Wicket - Développement Wicket Le 17 févr. 2013 à 03:38, grazia grazia.russolass...@gmail.com a écrit : I agree, but that would mean that I

Re: how to modify internal JavascriptResourceReference packaged with component

2013-02-18 Thread Francois Meillet
final ResourceReference YOURJS = new JavaScriptResourceReference( Yourclass.class, YourMultiFileUploadField.js); final int max = 3; MultiFileUploadField x = new MultiFileUploadField(yourid){ @Override public void renderHead(IHeaderResponse response) {

Re: unselected choices of Palette contain duplicates ...

2013-02-19 Thread Francois Meillet
if you push the submit button before sending any event, you will see that changes made to the model are saved correclty. But in case you fire any event, you redisplay 'this' (the palette) before the model is updated. The state of this, in that case, is like a new original palette. So far, only

Re: Eclipse or IntelliJ

2013-02-19 Thread Francois Meillet
You have a mac ? Choose the best tool ! Choose Intellij ! François Meillet Formation Wicket - Développement Wicket Le 19 févr. 2013 à 23:06, Stephen Walsh step...@connectwithawalsh.com a écrit : That's what I'm hoping for. IntelliJ looks a lot more polished especially for the Mac.

Re: unselected choices of Palette contain duplicates ...

2013-02-19 Thread Francois Meillet
before target.add(this) ? On Tue, Feb 19, 2013 at 3:23 PM, Francois Meillet [via Apache Wicket] ml-node+s1842946n4656572...@n4.nabble.com wrote: if you push the submit button before sending any event, you will see that changes made to the model are saved correclty. But in case you fire

Re: Eclipse or IntelliJ

2013-02-19 Thread Francois Meillet
http://java.dzone.com/articles/why-idea-better-eclipse François Meillet Formation Wicket - Développement Wicket Le 20 févr. 2013 à 01:57, Igor Vaynberg igor.vaynb...@gmail.com a écrit : all the popular IDEs have more or less converged in regard to their java feature set. now its just a

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 an.delb...@gmail.com a écrit : Just for curiosity, have you considered also to do this using global AJAX listeners (using handlers for

Re: Free Wicket guide now available!

2013-03-21 Thread francois meillet
What a fantastic job ! Thanks a lot ! François On Thu, Mar 21, 2013 at 5:24 PM, Andrea Del Bene an.delb...@gmail.comwrote: Yes you are right. I've omitted the version because is reported in the introduction of the guide. But since there are few books around based on Wicket 6, I think I will

Re: Validation of 3 dependent fields

2013-04-14 Thread Francois Meillet
Hi André, You can add this validator to the form import org.apache.wicket.markup.html.form.Form; import org.apache.wicket.markup.html.form.FormComponent; import org.apache.wicket.markup.html.form.validation.AbstractFormValidator; import org.apache.wicket.util.string.Strings; import

Re: Dancing Debug window

2013-04-16 Thread francois meillet
Call the method component's setOutputMarkupId(true); feedbackPanel.setOutputMarkupId(true); see http://ci.apache.org/projects/wicket/apidocs/6.0.x/org/apache/wicket/Component.html#setOutputMarkupId(boolean) François On Tue, Apr 16, 2013 at 9:20 AM, Colin Rogers

Re: log4j not logging

2013-04-20 Thread Francois Meillet
Change this last line log4j.appender.stdout.Threshold=info by this one log4j.appender.stdout.Threshold=debug. François Meillet Formation Wicket - Développement Wicket Le 19 avr. 2013 à 22:36, omega anuram...@gmail.com a écrit : I have a simple logging mechanism in code - private

Re: DataTable update components on Page Change

2013-05-11 Thread Francois Meillet
You can use the event handling mechanism. François Meillet Formation Wicket - Développement Wicket Le 11 mai 2013 à 01:17, David Beer david.m.b...@gmail.com a écrit : Hi All I have an Ajax DataTable that extends DataTable and when I click the navigation panel to change page in the

Re: DataTable update components on Page Change

2013-05-12 Thread Francois Meillet
NoRecordsToolbar(this)); addBottomToolbar(new BootstrapNavigationToolbar(this)); } } Any help or examples are much appreciated. Thanks David On 11/05/13 08:27, Francois Meillet wrote: You can use the event handling mechanism. François Meillet Formation Wicket - Développement

Re: Wicket and custom URL handling

2013-05-30 Thread Francois Meillet
have a look to http://wicketinaction.com/2011/07/wicket-1-5-mounting-pages/ and https://cwiki.apache.org/confluence/display/WICKET/Request+mapping François Meillet Formation Wicket - Développement Wicket Le 30 mai 2013 à 20:48, Martin Sachs sachs.mar...@gmail.com a écrit : Hi, I am

Re: DateTextfield with DatePicker

2013-06-13 Thread francois meillet
DateTextField txtDatumVon = new DateTextField(txtDatumVon, new PatternDateConverter(dd/MM/, false)); François On Thu, Jun 13, 2013 at 1:03 PM, christoph.ma...@t-systems.com wrote: Hello, in my application I have a DateTextField with a DatePicker. I declared it like this:

Re: DatePicker and DateTextField

2013-06-14 Thread Francois Meillet
Set the model object (the date) behind the DateTextField to 00:00:00 JJ.MM.. François Meillet Formation Wicket - Développement Wicket Le 14 juin 2013 à 07:37, christoph.ma...@t-systems.com a écrit : Hello, how is the DatePicker binded tot he DateTextfield? How is the picked date

Re: Modifying components parent css

2013-06-19 Thread Francois Meillet
Hi Neil Use the AttributeModifier : div wicket:id=control class=control-group error input class=input-medium placeholder=Firstname type=text wicket:id=person.firstName /div WebMarkupContainer div = new WebMarkupContainer(control); div.add( new AttributeModifier(class,

Re: wiki down

2013-06-22 Thread Francois Meillet
Use https://cwiki.apache.org/confluence/display/WICKET François Meillet Formation Wicket - Développement Wicket Le 22 juin 2013 à 15:06, Dieter Tremel tre...@tremel-computer.de a écrit : Calling the wiki at https://cwiki.apache.org/WICKET/ results in Not Found The requested URL

Re: using the panel variant of wizard

2013-06-24 Thread francois meillet
see http://ci.apache.org/projects/wicket/apidocs/6.0.x/org/apache/wicket/extensions/wizard/WizardButtonBar.html and http://ci.apache.org/projects/wicket/apidocs/6.0.x/org/apache/wicket/extensions/wizard/Wizard.html#newButtonBar(java.lang.String) On Mon, Jun 24, 2013 at 1:49 PM, Piratenvisier

Re: java.lang.ClassNotFoundException: org.apache.wicket.request.UrlUtils

2013-06-25 Thread Francois Meillet
You need to add wicket-request in your dependencies. dependency groupIdorg.apache.wicket/groupId artifactIdwicket-request/artifactId /dependency François Meillet Formation Wicket - Développement Wicket Le 25 juin 2013 à 23:04, paulstar richard@gmail.com a écrit :

JQueryResourceReference.INSTANCE has private access

2013-07-02 Thread francois meillet
In 6.9.0, JQueryResourceReference.INSTANCE has private access. So DynamicJQueryResourceReference.INSTANCE is not reachable. François

Re: JQueryResourceReference.INSTANCE has private access

2013-07-02 Thread francois meillet
(). To be able to use custom versions of jQuery 1.x and 2.x you need to extend DynamicJQueryResourceReference and override #getVersion1() and #getVersion2(). In this case such static field/method will only confuse you. On Tue, Jul 2, 2013 at 11:39 AM, francois meillet francois.meil

Re: Strict date pattern for DateTextField in Wicket

2013-07-03 Thread francois meillet
search StrictPatternDateConverter in the forum François On Wed, Jul 3, 2013 at 12:21 PM, Jayakrishnan R jk.h...@gmail.com wrote: Hi All, I have a DateTextField component in my application and I want the input of date using a predefined pattern. The pattern that I need is -MM-dd. I

Re: Wicket 1.4.7 request listener

2013-07-12 Thread Francois Meillet
Have a to http://apache-wicket.1842946.n4.nabble.com/Catch-the-doGet-doPost-on-every-request-and-override-it-td4652038.html François Meillet Formation Wicket - Développement Wicket Le 12 juil. 2013 à 21:03, Entropy blmulholl...@gmail.com a écrit : My project uses wicket 1.4.7. We need

Re: Ajax Refreshing Issue

2013-07-16 Thread Francois Meillet
Can you show your stacktrace ? François Meillet Formation Wicket - Développement Wicket Le 16 juil. 2013 à 19:17, dhongyt davidhtr...@gmail.com a écrit : I have created a panel that I would like to have refresh every 5 seconds. I have tried using AbstractAjaxTimerBehavior and

Re: How to resolve this java.util.ConcurrentModificationException

2013-07-17 Thread Francois Meillet
LRUMap is not synchronized and is not thread-safe, you must use appropriate synchronization. see http://commons.apache.org/proper/commons-collections//javadocs/api-3.2.1/org/apache/commons/collections/map/LRUMap.html François Meillet Formation Wicket - Développement Wicket Le 17 juil.

Re: CSV-Export change Datepattern

2013-07-18 Thread Francois Meillet
Could be interresting : http://stackoverflow.com/search?q=excel+date+format http://dailydoseofexcel.com/archives/2010/10/06/excel-converts-to-date-when-opening-csv/ François - François Meillet Formation Wicket - Développement Wicket -- View this message in context:

Re: Reading placeholder parameters in mounted resources

2013-07-23 Thread Francois Meillet
Try this pattern /storage/${id}/#{shape} Optional parameters are denoted by using a # instead of $ François Meillet Formation Wicket - Développement Wicket Le 23 juil. 2013 à 19:14, Andrew Schetinin ascheti...@gmail.com a écrit : Hi, I have a shared resource mounted to a URL pattern

Re: Submitting a DateTextField value in a different timezone that the browser

2013-08-03 Thread Francois Meillet
Overriding the getClientTimeZone() method in the dateconverter sounds good. if the boolean applyTimeZoneDifference of the dateConverter is set to true. add(new DateTextField(xxx, new DateConverter(true) { @Override public String getDatePattern(Locale locale) {

Re: Styling label tags

2013-08-26 Thread francois meillet
have a look to http://ci.apache.org/projects/wicket/apidocs/6.0.x/org/apache/wicket/markup/html/form/FormComponentLabel.html and http://ci.apache.org/projects/wicket/apidocs/6.0.x/org/apache/wicket/markup/html/form/SimpleFormComponentLabel.html François On Sun, Aug 25, 2013 at 6:30 PM, Lucio

Re: AW: AW: AW: Styling label tags

2013-08-27 Thread francois meillet
try that private class FormExemple extends FormExempleModel { public FormExemple(String myForm, CompoundPropertyModelExempleModel model) { super(myForm, model); TextFieldString tf_name = new TextFieldString(name); add(tf_name);

Re: Styling label tags

2013-09-04 Thread francois meillet
the FormComponentLabel class, since wicket:id and wicket:for cannot be put together in the same label tag and I need a reusable and repeatable panel with a styled label tag inside. I asked for an example and Francois Meillet provided one, but his example didn't use the wiket:for attribute, which I need

Re: How to increase number of stored pages in PageStore for Wicket 6.8?

2013-09-24 Thread francois meillet
Have a look to setMaxSizePerSession() in the IStoreSettings interface application.getStoreSettings().setMaxSizePerSession(Bytes.megabytes(30)); François On Tue, Sep 24, 2013 at 10:34 AM, Hendy Irawan he...@soluvas.com wrote: Hi, When I checked the work/.../wicketFilter-filestore folder it

Re: continueToOriginalDestination issue

2013-10-02 Thread Francois Meillet
Hi, How user arrives to the HomePage.class ? By the security layer or by a link ? If it's by a link, continueToOriginalDestination will send the user to the original destination, which is HomePage.class. François Le 2 oct. 2013 à 19:28, shimin_q smq...@hotmail.com a écrit : Hello, My

Re: Error in authentication

2013-10-03 Thread Francois Meillet
Hi, java.lang.NoSuchMethodError: org.apache.wicket.authroles.authentication.AuthenticatedWebSession.authenticate(Ljava/lang/String;Ljava/lang/String;) means that you call the method with string arrays. The signature is public abstract boolean authenticate(final String username, final

Re: Error in authentication

2013-10-04 Thread Francois Meillet
Use generics like PropertyModelString(person, username) François Meillet Formation Wicket - Développement Wicket Le 4 oct. 2013 à 00:42, MartinoSuperman martinosuper...@live.nl a écrit : Hi, Thanks!!! I changed the version of wicket-auth-roles to 6.0.0. That is the version I use

  1   2   3   >