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 renderi

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 a

Re: DateField and AjaxFormComponentUpdatingBehavior in wicket 1.5.5

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

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: > http:

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(IModel 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 IModel 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 ticket

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 byte-

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 f

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 booksto

Re: wicket 1.6 snapshot - cdi - inject - NullPointerException

2012-07-28 Thread Francois Meillet
~[bookstoremodel-4.0.jar:na] at bookstoreweb.test.BookPage.(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 > wrote:

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 > wrote: >> Here it is : >> >> org.apache.wicket.WicketRuntimeException: Can't instantiate page using >>

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 li

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: http://apache-wicket.1842946.n4.nabble.com/Wicket-Ajax-callback-onT

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 a écrit : > I am new to Wicket and Java, so forgive any ignorance or lack of information. > > I am modeling a blog type application after the Wicket Examp

Re: String Value Conversion Exception

2012-09-20 Thread Francois Meillet
_ > Stephen 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

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 thi

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 écrit : > Hi, > > I have a simple ContactEditPanel which contains a form and a number of > textfields. Up until now I included an AjaxSu

Re: Manipulate Form Input After Validation

2012-10-10 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 a écrit : > Hi, > > I was wondering how I could manipulate some form

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 a écrit : > Hi, > > How do I veto textfield inputChanged()? > I need to prevent this from happening inside > AjaxFormComponentUpdatingBehavior("onchange"). > > protected void onUpdate(AjaxReques

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 a écrit : > Randomly got this today. Tried upgrading to

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 a écrit : > Hi fellow Wicket'ers, > I think many of you are aware of the second edition of Devoxx in Paris

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 submi

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 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 site stateless. I d

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, 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 Radio I have, I could ha

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 a écrit : > Hi All, > > I am using getLocalizer().getString(..,..) to fetch the resource (

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 a écrit : > Hi Tom, > > Great work! Thanks. > > Best regards, > Matthias > > On 18.01.2013, at 23:30, "tom.hombergs" wrote: > >> Hi Wicket users, >> >> i would like to introduce to you the Wicked Char

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 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 > http://www.bloggure.info/work/java-

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 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 message in

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 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 parameters in th

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 a écrit : > Checking with Firebug, when I click the submit button it appears to do a POST > fo

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 wrote: > Hi all, > > I'm using Select/SelectOptions with model-objects that have a semantic > equality but their #equals() method

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 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. > > I try to figure ou

Re: Wicket dataprovider query / search time

2013-02-05 Thread Francois Meillet
t 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" > het volgende geschreven: > >> Try to collect the search method's duration in your DAO. >

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 m

Re: Problem with ClientProperties

2013-02-07 Thread Francois Meillet
which methods ? François Le 7 févr. 2013 à 10:57, Raul 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, properties.isBrowserMozilla metho

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, alway

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 a écrit : > Hi, > > I have a wicket application running fine using Jetty server. But I need to > deploy the appli

Re: Using tomcat server in wicket application

2013-02-11 Thread Francois Meillet
applicationClassName, here yourpackages.WicketApplication, you need to override getHomePage() public Class getHomePage() { return HomePage.class; } Francois Meillet Formation & Développement Wicket Le 12 févr. 2013 à 08:01, kshitiz a écrit : > I mean when I run application using

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 org.eclipse.jetty.server.bio.So

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 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 a écrit : > I am currently migrating a project based on Wicket 1.4 to 6

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 a écrit : > I am currently migr

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) { response.render(JavaScriptHeaderItem.forReference(YOURJ

Re: how to modify internal JavascriptResourceReference packaged with component

2013-02-15 Thread Francois Meillet
ust swap > some alternate resource file in place of the default one? > As you say, you 'd 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évelop

Re: how to modify internal JavascriptResourceReference packaged with component

2013-02-15 Thread Francois Meillet
and override any methods that > use any of them, to reference my own, is that right? Unfortunately, it > still has maintenance implications, but I guess that might just be > inevitable given what I want to do. > > Thanks for the help! > > > Francois Meillet wrote >

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 a écrit : > I have overriden the onEvent method of the Palette class in the attempt to > populate the palette (on the unleselected choices side) wi

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 a écrit :

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 a écrit : > Hi all, > > We mount all our pages so that the user can open

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 a écrit : > I agree, but that would mean that I would be add it twice. Why twice

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) { res

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 t

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 a écrit : > That's what I'm hoping for. IntelliJ looks a lot more polished especially > for the Mac. > > Eclipse is crippling at ti

Re: unselected choices of Palette contain duplicates ...

2013-02-19 Thread Francois Meillet
et.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. &

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 a écrit : > all the popular IDEs have more or less converged in regard to their > java feature set. now its just a matter of muscle memor

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: 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 wrote: > 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 follow your advice

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 org.apache.wic

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 < colin.rog...@objectconsulting.

Re: log4j not logging

2013-04-19 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 a écrit : > I have a simple logging mechanism in code - > > private static final Logger lo

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 a écrit : > Hi All > > I have an Ajax DataTable that extends DataTable and when I click the > navigation panel to change page in the table I would like to

Re: DataTable update components on Page Change

2013-05-12 Thread Francois Meillet
setVersioned(false); >addTopToolbar(new HeadersToolbar(this, dataProvider)); >addBottomToolbar(new NoRecordsToolbar(this)); >addBottomToolbar(new BootstrapNavigationToolbar(this)); >} > > } > > Any help or examples are much apprecia

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 a écrit : > Hi, > > I am search for customizing

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, wrote: > Hello, > > in my application I have a DateTextField with a DatePicker. I declared it > like this: > DateTextField txtDatumVon = new D

Re: DatePicker and DateTextField

2013-06-13 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, a écrit : > Hello, > > how is the DatePicker binded tot he DateTextfield? How is the picked date > written in the Textfield? I

Re: Modifying components parent css

2013-06-18 Thread Francois Meillet
Hi Neil Use the AttributeModifier : WebMarkupContainer div = new WebMarkupContainer("control"); div.add( new AttributeModifier("class", new Model("control-group")) ); add( div ) ; The css class will change François - François Meillet Formation Wicket -

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 a écrit : > Calling the wiki at https://cwiki.apache.org/WICKET/ results in >> Not Found >> >> The requested URL /WICKET/ was not found on

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 wr

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

2013-06-25 Thread Francois Meillet
You need to add wicket-request in your dependencies. org.apache.wicket wicket-request François Meillet Formation Wicket - Développement Wicket Le 25 juin 2013 à 23:04, paulstar a écrit : > I am upgrading from wicket 1.5.8 to 1.5.10. Compilation is fine but ran into

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
ew DynamicJQueryResourceReference(). > 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

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 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 > created the Da

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 a écrit : > My project uses wicket 1.4.7. We need to run some standard co

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 a écrit : > I have created a panel that I would like to have refresh every 5 seconds. > > I have tried using AbstractAjaxTimerBehavior and > AjaxSelfUpdatingTimerBehav

Re: How to resolve this java.util.ConcurrentModificationException

2013-07-16 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. 201

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: http://apache-wicket.

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 a écrit : > Hi, > > I have a shared resource mounted to a URL pattern "/storage/${id}" >

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 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 Cr

Re: AW: AW: AW: Styling tags

2013-08-27 Thread francois meillet
try that private class FormExemple extends Form { public FormExemple(String myForm, CompoundPropertyModel model) { super(myForm, model); TextField tf_name = new TextField("name"); add(tf_name); FormComponentLabel formComponentLabel = ne

Re: Styling tags

2013-09-04 Thread francois meillet
icket:id and wicket:for cannot be put together in the same > tag and I need a reusable and repeatable panel with a styled 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, and using a > dummy

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 wrote: > Hi, > > When I checked the work/.../wicketFilter-filestore folder it seems that for >

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 a écrit : > Hello, > > My homepage URL is

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 St

Re: Error in authentication

2013-10-03 Thread Francois Meillet
Use generics like PropertyModel(person, "username") François Meillet Formation Wicket - Développement Wicket Le 4 oct. 2013 à 00:42, MartinoSuperman a écrit : > Hi, > > Thanks!!! > > I changed the version of wicket-auth-roles to 6.0.0. That is the version I > use in my wicket-core. > >

Re: How to add component without html wicket:id?

2013-10-05 Thread Francois Meillet
You should read https://cwiki.apache.org/confluence/display/WICKET/ListView+and+other+repeaters and http://www.wicket-library.com/wicket-examples/repeater/ François Meillet Formation Wicket - Développement Wicket Le 5 oct. 2013 à 11:31, mike.hua a écrit : > I want to add a component in

Re: WicketTester with Atmosphere

2013-10-08 Thread francois meillet
Did you include the atmosphere.xml configuration file and configured the AtmosphereServlet ? François On Tue, Oct 8, 2013 at 11:26 AM, Vit Rozkovec wrote: > Any hints, please? > > Vit > > > On 6.10.2013 17:43, Vit Rozkovec wrote: > >> How is it possible to unit test Wicket application that use

Re: WicketTester with Atmosphere

2013-10-08 Thread francois meillet
The WicketRuntimeException says that there is no Atmosphere BroadcasterFactory configured On Tue, Oct 8, 2013 at 11:58 AM, Martin Grigorov wrote: > On Tue, Oct 8, 2013 at 12:55 PM, francois meillet < > francois.meil...@gmail.com> wrote: > > > Did you include the atmosph

Re: set session-timeout

2013-10-21 Thread francois meillet
HttpSession httpSession = ((ServletWebRequest) RequestCycle.get().getRequest()).getContainerRequest().getSession(); httpSession.setMaxInactiveInterval(timeOut); François On Mon, Oct 21, 2013 at 4:12 PM, Martin Grigorov wrote: > > http://docs.oracle.com/cd/E17802_01/webservices/webservices/docs/

Re: Problems with FileUploadFile and CompoundPropertyModels

2013-10-25 Thread Francois Meillet
FileUploadField needs a model which implements IModel> have a look to these threads http://apache-wicket.1842946.n4.nabble.com/file-upload-in-nested-form-with-CPM-needs-dummy-model-td4660468.html http://apache-wicket.1842946.n4.nabble.com/AW-file-upload-in-nested-form-with-CPM-needs-dummy-model-t

Re: Problems with FileUploadFile and CompoundPropertyModels

2013-10-25 Thread Francois Meillet
aner that creating a Dummy model. Overriding initModel() makes sure the > model won't be looked up in the component parents. > > > Edgar Merino > > On 25/10/13 13:03, Francois Meillet wrote: >> FileUploadField needs a model which implements IModel> >> >> hav

Re: wicket conversation scope - weld integration

2013-10-30 Thread francois meillet
It seems that you have more than one copy of weld in your claspath. Try with that : wicket-core cdi-api seam-conversation-spi wicket-cdi François On Wed, Oct 30, 2013 at 9:07 AM, brazz wrote: > Hi heapifyman, > > thanks for your reply. Yes i read it all. But the blog is from 2011 and is > ba

Re: wicket conversation scope - weld integration

2013-10-30 Thread francois meillet
your weld related jars in classpath should be: wicket-core cdi-api seam-conversation-spi wicket-cdi François On Wed, Oct 30, 2013 at 10:50 AM, brazz wrote: > Hello François, > > thanks for your reply! > I double checked this. > I have weld-servlet.jar in my classpath. According to the documen

Re: wicket conversation scope - weld integration

2013-10-31 Thread Francois Meillet
Hi, you need to use compatible dependencies run the 6.11 examples with these dependencies org.apache.wicket wicket-core 6.11.0 org.apache.wicket wicket-cdi 6.11.0 javax.enterprise cdi-api 1.0-

<    1   2   3   4   >