Re: log4j MDC IRequestLogger

2016-02-18 Thread Francois Meillet
tLogger() > > Martin Grigorov > Wicket Training and Consulting > https://twitter.com/mtgrigorov > > On Wed, Feb 17, 2016 at 2:34 PM, Francois Meillet < > francois.meil...@gmail.com> wrote: > >> Dear All, >> >> I use the Mapped Diagnostic Context conce

Re: log4j MDC IRequestLogger

2016-02-17 Thread Francois Meillet
he.wicket.Application#newRequestLogger() > > Martin Grigorov > Wicket Training and Consulting > https://twitter.com/mtgrigorov > > On Wed, Feb 17, 2016 at 2:34 PM, Francois Meillet < > francois.meil...@gmail.com> wrote: > >> Dear All, >> >> I use the Mapp

log4j MDC IRequestLogger

2016-02-17 Thread Francois Meillet
Dear All, I use the Mapped Diagnostic Context concept https://logging.apache.org/log4j/2.x/manual/thread-context.html). Using log4j 2.x and a specific AbstractRequestCycleListener, I overrided onBeginRequest() to perform a ThreadContext.push(id) and onDetach(RequestCycle cycle) to perform a

Re: Wicket need Votes! :-)

2016-02-16 Thread Francois Meillet
+1 François Le 16 févr. 2016 à 14:06, andrea del bene a écrit : > > > No need to say it :) >> Done too! >> >> On Tue, Feb 16, 2016 at 1:25 PM, Thomas Jarnot wrote: >> >>> Am 16.02.2016 10:10, schrieb Tobias Soloschenko: >>> Hi all,

https://twitter.com/apache_wicket after 10 months

2016-02-05 Thread Francois Meillet
Dear All, https://twitter.com/apache_wicket after 10 months : 50 tweets posted about technical articles 50 tweets posted about src example lib 500 tweets posted about websites based on Apache Wicket Stay tuned, follow @apache_wicket on Twitter ! https://twitter.com/apache_wicket François

Re: WicketStuff status and future; awesome-wicket project

2016-02-04 Thread Francois Meillet
rding solutions: I don't want to have in the list sites - under > solutions I assume just software which can be installed standalone. > > Regards, > Ilya > > - > Orienteer(http://orienteer.org) - Modern Data Warehouse for your busin

Re: WicketStuff status and future; awesome-wicket project

2016-02-02 Thread Francois Meillet
Hi Ilya, You can add theses products : Under Web Frameworks Apache OODT http://oodt.apache.org Data grid framework for transparent search and discovery of disparate science resources Apache Openmeetings http://openmeetings.apache.org Apache Openmeetings provides video conferencing, instant

Re: model does not get updated when radio is clicked - radiogroup with AjaxFormChoiceComponentUpdatingBehavior

2016-01-14 Thread Francois Meillet
Thu, Jan 14, 2016 at 10:59 PM, Francois Meillet < > francois.meil...@gmail.com> wrote: > >> Thnaks I override updateAjaxAttributes for the time being >> François >> >> >> >> >> >> >> >> >> Le 14 janv. 2016 à 22:16

Re: model does not get updated when radio is clicked - radiogroup with AjaxFormChoiceComponentUpdatingBehavior

2016-01-14 Thread Francois Meillet
gt; > Yes! > I've forgot it :-/ > > I've found an issue with the traversing of children components in > 7.2.0-SNAPSHOT. > Both issues look like a blocker to me. > > >> >> Best regards >> Sven >> >> >> >> >> On 14.01.2016

Re: Wicket 7 - OutOfMemory PermGen

2015-11-18 Thread Francois Meillet
searchForm.add(searchSubmitButton); > >//Reset Button >searchForm.add(new AjaxButton("searchClear") { > private static final long serialVersionUID = 1L; > >@Override >protected void onSubmit(AjaxRequestTarget target, Form form) > { >

Re: Wicket 7 - OutOfMemory PermGen

2015-11-18 Thread Francois Meillet
nts DomainObject { > > private static final long serialVersionUID = 1L; > public Long getId() { >return null; >} > > //ASM fields >private long userNbr; >private String userName; >private String password; >private String fir

Re: Wicket 7 - OutOfMemory PermGen

2015-11-18 Thread Francois Meillet
Could you show us the SearchDealerPage code François Le 18 nov. 2015 à 17:25, Mihir Chhaya a écrit : > Hello, > > I am using Wicket 7 + Spring 4.x + Hibernate 4.x (recently migrated from > Wicket 1.4). > > Since deployment of the app on JBOSS, the application

Re: Adding css from my webapp directory

2015-09-17 Thread Francois Meillet
PriorityHeaderItem renders at the beginning of the header response.render(new PriorityHeaderItem(CssHeaderItem.forReference(CSS))); François Le 17 sept. 2015 à 21:47, Ephraim Rosenfeld a écrit : > Hello Team Wicket: > > I have the following situation: > > I have a

Re: BeanValidation --> wrong maxlength value in TextField

2015-09-16 Thread Francois Meillet
> Enjoy! > > Martin Grigorov > Wicket Training and Consulting > https://twitter.com/mtgrigorov > > On Tue, Sep 15, 2015 at 11:00 AM, Francois Meillet < > francois.meil...@gmail.com> wrote: > >> Hi, >> >> I have a very strange problem !!! &g

Re: error from WebPage # reportMissingHead

2015-07-23 Thread Francois Meillet
create a Jira issue for this. For now you could just override #onConfigure() instead of #onInitialize(). Have fun Sven On 23.07.2015 18:45, Francois Meillet wrote: Hi Wicketers, Use case : --- on 'PageWithForm', after having filled the form, the user press a submit button

Re: New Wicket Website

2015-07-11 Thread Francois Meillet
Thanks for this superb website !!! François Le 11 juil. 2015 à 20:01, Tobias Soloschenko tobiassolosche...@googlemail.com a écrit : Hi, just want to thank all for the great work! The new site is awesome! https://wicket.apache.org kind regards Tobias

Re: problem submitting a form twice - quickstart joined

2015-07-03 Thread Francois Meillet
type=checkbox id=onOff28 name=onOff checked=checked wicket:id=onOff /td /tr Have fun Sven On 03.07.2015 00:23, Francois Meillet wrote: Wicket version is 7.0.M6 Le 2 juil. 2015 à 23:47, Francois Meillet francois.meil...@gmail.com a écrit : Description

Re: problem submitting a form twice - quickstart joined

2015-07-02 Thread Francois Meillet
Wicket version is 7.0.M6 Le 2 juil. 2015 à 23:47, Francois Meillet francois.meil...@gmail.com a écrit : Description - In the quickstart, the HomePage contains a form. The form's model is a CompoundPropertyModel(new QuestionUnit(Boolean.TRUE)); The QuestionUnit class has 2

Re: Wicket page serialization what causes delay?

2015-07-01 Thread Francois Meillet
There is very little chance that the problem come from the serialization. Do you use the Open Session in View pattern ? with some OpensessionInViewFilter filter ? I guess when the page is serialized, some requests are done against the database to load collections or initialize proxies that

Re: Graphing Framework for Wicket

2015-06-02 Thread Francois Meillet
You have also Wicket-chartjs that combines Apache Wicket and Chart.js free for all private AND commercial projects (Apache Licence v2). https://twitter.com/apache_wicket/status/591569565760561153 François Meillet Le 2 juin 2015 à 10:38, Johannes Renoth johannes.ren...@gmx.de a écrit :

Re: Stateful panel.

2015-05-26 Thread Francois Meillet
One way of doing this : 1) go to your detail page add( new LinkVoid(detail) { @Override public void onClick() { setResponsePage(new YourPage(getPage().getPageReference())); } }); public YourPage(PageReference pageReference) { this.pageReference = pageReference; } 2)

Re: Wicket Listmodel (attach objects to model but not to list)

2015-04-17 Thread Francois Meillet
It's not possible. Look at the ListModel's consructor. public ListModel(ListT list) { setObject(list); } And the setObject() method implementation, which is in the superclass, is @Override public void setObject(T object) { if (!(object instanceof Serializable))

Re: retrieve public ip adress

2015-04-13 Thread Francois Meillet
Look at the getRemoteAddr(RequestCycle requestCycle) method from org.apache.wicket.protocol.http.request.WebClientInfo François Meillet Le 13 avr. 2015 à 01:20, Chris chris...@gmx.at a écrit : Hi all, I have deployed the Wicket app on a PAAS provider and would like to save the IP

Re: Download serves empty files with correct number of pages !?!

2015-03-31 Thread Francois Meillet
org.apache.wicket.request.resource.ContentDisposition ContentDisposition.INLINE ContentDisposition.ATTACHMENT resourceResponse.setContentDisposition(contentDisposition); François Le 31 mars 2015 à 13:35, ChambreNoire a...@tentelemed.com a écrit : OK so the empty PDFs where due to some

Re: Download serves empty files with correct number of pages !?!

2015-03-30 Thread Francois Meillet
path = new ClassPathResource(descriptors/hc).getFile(); the path isn't null ? François Le 30 mars 2015 à 18:03, ChambreNoire a...@tentelemed.com a écrit : Sure but no exception is thrown! -- View this message in context:

Re: Download serves empty files with correct number of pages !?!

2015-03-30 Thread Francois Meillet
printing the exception could help } catch (IOException exception) { return null; -- print stack } François Le 30 mars 2015 à 17:44, ChambreNoire a...@tentelemed.com a écrit : Hello, I have a strange problem. Ever since I have moved the files I'm linking to in the

Re: Wicket roadmap

2015-03-15 Thread Francois Meillet
Thanks you all servlet 4.0 / yes it's too early monitoring / metrics / ok server-sent events / didn't see it / :-) http://bitstorm.github.io/wicket-site/ is superb May we add a why Wicket link in the header I agree with Tobias's ideas on mobile François Meillet Le 8 mars 2015 à

Re: Wicket roadmap

2015-03-08 Thread Francois Meillet
On Sat, Mar 7, 2015 at 11:05 AM, Francois Meillet francois.meil...@gmail.com wrote: Hi All, Is there any Wicket roadmap for the future (after version 7) ? What is your point of view about the Wicket's future ? Thanks François Meillet

Re: Wicket roadmap

2015-03-07 Thread Francois Meillet
/the-state-of-wicket-2014/ kind regards Tobias Am 07.03.15 um 10:05 schrieb Francois Meillet: Hi All, Is there any Wicket roadmap for the future (after version 7) ? What is your point of view about the Wicket's future ? Thanks François Meillet

Wicket roadmap

2015-03-07 Thread Francois Meillet
Hi All, Is there any Wicket roadmap for the future (after version 7) ? What is your point of view about the Wicket's future ? Thanks François Meillet

Apache Wicket with Lambda Expressions

2015-02-27 Thread Francois Meillet
From Rodrigo Uchôa's blog https://rodrigouchoa.wordpress.com/2015/02/26/apache-wicket-with-lambda-expressions/ François Meillet

form AjaxFormComponentUpdatingBehavior validation

2015-02-18 Thread Francois Meillet
Hi All, 1) I have a Form with a Textfield which has a AjaxFormComponentUpdatingBehavior (blur) When the entire form is submitted (via an AjaxButton) the ajaxFormComponentUpdatingBehavior.onEvent() is called then the formComponent.validate() is called and then when the form.validate() is

Re: form AjaxFormComponentUpdatingBehavior validation

2015-02-18 Thread Francois Meillet
(OnDomReaderHeaderItem.forScript($( + c.getMarkupId() + ).on('mousedown', function() { mousedownHappened = true });); } }); Regards Sven On 18.02.2015 15:59, Francois Meillet wrote: Thanks Sven, yes this is a javascript issue. I look for a nice way (a la Wicket) to disable the blur event when onunload

Re: form AjaxFormComponentUpdatingBehavior validation

2015-02-18 Thread Francois Meillet
://stackoverflow.com/questions/13729837/jquery-stop-blur-event-when-clicking-submit-button Regards Sven On 18.02.2015 11:35, Francois Meillet wrote: Hi All, 1) I have a Form with a Textfield which has a AjaxFormComponentUpdatingBehavior (blur) When the entire form is submitted (via an AjaxButton

Re: ListPanel - update model

2015-02-15 Thread Francois Meillet
Hi Chris, The ListModel keeps a reference on the model created at the first occurence of that line pModel = new ListModelP(someService.caculate()); The simplest thing you could do is to reset the listpanel's model, but this is not a good practice. listPanel.setDefaultModel(model); add(new

Re: New committer - Sebastien Briquet

2015-02-13 Thread Francois Meillet
Welcome Sébastien Thanks for your commitment ! François Le 13 févr. 2015 à 22:55, Tobias Soloschenko tobiassolosche...@googlemail.com a écrit : Congratulations!!! kind regards Tobias Am 13.02.2015 um 22:05 schrieb Zala Pierre GOUPIL goupilpie...@gmail.com: \o/ Bienvenue

NoClassDefFoundError: org/objectweb/asm/Type

2015-01-21 Thread Francois Meillet
Hi Martin, with version 7.0.4 and using JMX (wicket-jmx.jar) I get java.lang.NoClassDefFoundError: org/objectweb/asm/Type at net.sf.cglib.core.TypeUtils.parseType(TypeUtils.java:184) at net.sf.cglib.core.KeyFactory.clinit(KeyFactory.java:66) at

Re: NoClassDefFoundError: org/objectweb/asm/Type

2015-01-21 Thread Francois Meillet
mgrigo...@apache.org wrote: Please create a ticket! Thanks! Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Wed, Jan 21, 2015 at 8:50 PM, Francois Meillet francois.meil...@gmail.com wrote: Hi Martin, with version 7.0.4 and using JMX (wicket

Re: What is the proper way to start a secondary process in Wicket 6

2015-01-05 Thread Francois Meillet
Thanks Ernesto ! François Meillet Le 5 janv. 2015 à 10:38, Ernesto Reinaldo Barreiro reier...@gmail.com a écrit : Martin

Re: Possible memory leak in Wicket 1.5.12

2014-12-21 Thread Francois Meillet
Hi Satrix, Make sure you remove the second constructor. (the one wih the inputstream argument) And the stream could be a local property (in the getImageData method) and not an instance property. François Meillet Formation Wicket - Développement Wicket Le 20 déc. 2014 à 14:26, Satrix

Re: Possible memory leak in Wicket 1.5.12

2014-12-20 Thread Francois Meillet
Can you show up the entire class ? François Meillet Formation Wicket - Développement Wicket Le 20 déc. 2014 à 09:56, Satrix satrix...@gmail.com a écrit : Hi, It would be quite hard to reproduce the problem in quickstart application. Here is the code of DynamicImageResource:

Re: Switching between wicket tabs

2014-12-20 Thread Francois Meillet
use parameters PageParameters parameters = new PageParameters(); parameters.set(TAB_NUM, 3); parameters.set(USERNAME_ID, username); setResponsePage(YourCLaasContainingTheTabbedPanel.class, pageParameters); and in your YourCLaasContainingTheTabbedPanel.class extract the parameters int tabindex

Re: Possible memory leak in Wicket 1.5.12

2014-12-20 Thread Francois Meillet
Hi Satrix, When the second constructor is used, with the inputsream argument, the stream is open. When this inputsream is opened ? François Meillet Le 20 déc. 2014 à 10:03, Satrix satrix...@gmail.com a écrit : Yeah, sure. Here is the code: public class LocalFileResource extends

Re: Possible memory leak in Wicket 1.5.12

2014-12-20 Thread Francois Meillet
Can you show me the class when you open the stream ? Did you moved the stream creation to the getImageData this morning ? François Meillet Formation Wicket - Développement Wicket Le 20 déc. 2014 à 10:58, Satrix satrix...@gmail.com a écrit : Hi, It's used very rarely so it should not be

Re: Possible memory leak in Wicket 1.5.12

2014-12-20 Thread Francois Meillet
Moving the stream creation, opening and closing it in getImageData is a good thing. You should also remove the second constructor (with the inputstream argument). Now with your tests classes with the WicketTester, (you do have tests ;-) ), you can play yours pages with a debugger and see what

Re: Possible memory leak in Wicket 1.5.12

2014-12-19 Thread Francois Meillet
Could you show us the code you use to serve these images ? François Meillet Le 19 déc. 2014 à 17:02, Satrix satrix...@gmail.com a écrit : Hello, I've developed an Wicket website in Wicket 1.5.12. It's hosted on Glassfish server 3.1.2.2 and lately I've run into the following problem:

Re: Session management on timeout

2014-12-17 Thread Francois Meillet
Look at application#sessionUnbound(String sessionId) François Meillet Formation Wicket - Développement Wicket Le 17 déc. 2014 à 10:23, Rodrigo Heffner rodrigo.heff...@gmail.com a écrit : Hello, I'm implementing session management on my application, adding each authenticated session to

Re: Session management on timeout

2014-12-17 Thread Francois Meillet
Session#onInvalidate() Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Wed, Dec 17, 2014 at 11:25 AM, Francois Meillet francois.meil...@gmail.com wrote: Look at application#sessionUnbound(String sessionId) François Meillet Formation Wicket

Re: submenu in NavbarDropDownButton

2014-12-17 Thread Francois Meillet
What is the error, any stacktrace ? François Meillet Formation Wicket - Développement Wicket Le 17 déc. 2014 à 11:55, Hasan Çelik hsnclk1...@gmail.com a écrit : Thanks Martin, I am newbie for wicket... It may be easy error for you but I didn't understand...Why am I getting this error?

Re: submenu in NavbarDropDownButton

2014-12-17 Thread Francois Meillet
640 96 25 Adres : 1271. Sokak 33/14 Sabri Mermutlu İş Merkezi Balgat Ankara On 17 December 2014 at 13:03, Francois Meillet francois.meil...@gmail.com wrote: What is the error, any stacktrace ? François Meillet Formation Wicket - Développement Wicket Le 17 déc. 2014 à 11:55

session invalidateNow vs invalidate

2014-12-15 Thread Francois Meillet
just a reminder session invalidateNow vs invalidate if session#invalidateNow is called before a setResponsepage then the application#sessionUnbound is called twice. as invalidateNow is invoked in session#detach. ko getSession().invalidateNow(); setResponsePage(Logout.class); ok #

Re: Form delegateSubmit migration question

2014-11-09 Thread Francois Meillet
String inputName = ((FormComponent) submittingButton).getInputName(); François Meillet Formation Wicket - Développement Wicket Le 9 nov. 2014 à 13:08, Maxim Solodovnik solomax...@gmail.com a écrit : Hello All, I'm trying to migrate project from Wicket 1.4 to Wicket 6. previously

Re: Form delegateSubmit migration question

2014-11-09 Thread Francois Meillet
org.apache.wicket.markup.html.form.FormComponent == false submittingButton instanceof org.apache.wicket.Component == false submittingButton instanceof submittingButton instanceof org.apache.wicket.behavior.Behavior == false On 9 November 2014 18:37, Francois Meillet francois.meil...@gmail.com

Re: How to use CSVDataExporter

2014-11-06 Thread Francois Meillet
=2926A68F12DAE4CAC910C18699676209?0 https://doc.codelutin.com/cantharella/xref/nc/ird/cantharella/web/utils/data/TableExportToolbar.html François François Meillet Formation Wicket - Développement Wicket Le 6 nov. 2014 à 13:07, suvojit168 suvojit...@gmail.com a écrit : Francois Meillet wrote

Re: How to use CSVDataExporter

2014-11-05 Thread Francois Meillet
We have IExportableColumnT, S where T is the type of each row in the table. where S is the type of the sort property of the table. and the method public T void exportData(IDataProviderT dataProvider, ListIExportableColumnT, ? columns, OutputStream outputStream) try

Re: Error in java.lang.String during Internationalisation of a wicket project

2014-10-31 Thread Francois Meillet
When the toString() method of your class de.myproject.MyClass is called, you get a LazyInitializationException. This is from Hibernate To get the LazyInitializationException's full explanation, see https://developer.jboss.org/wiki/LazyInitializationExceptionOvercome?_sscc=t

Re: Stateful StatelessForm works most of the time. How to make it crash?

2014-10-18 Thread Francois Meillet
Can you post your code ? François Meillet Formation Wicket - Développement Wicket Le 17 oct. 2014 à 17:26, pureza pur...@gmail.com a écrit : Dear Wicket users, I believe I have found the cause of a long standing issue in my application. Basically, a form would submit with everything

Re: resource encoding troubles

2014-08-28 Thread Francois Meillet
Look at http://apache-wicket.1842946.n4.nabble.com/How-to-localize-options-in-drop-down-tt4661751.html#a4661768 François Meillet Formation Wicket - Développement Wicket Le 28 août 2014 à 17:47, Garret Wilson gar...@globalmentor.com a écrit : I have Wicket 7.0.0-M2 running on embedded

Re: resource encoding troubles

2014-08-28 Thread Francois Meillet
use *.utf8.properties François Meillet Formation Wicket - Développement Wicket Le 28 août 2014 à 17:47, Garret Wilson gar...@globalmentor.com a écrit : I have Wicket 7.0.0-M2 running on embedded Jetty, which is correctly returning a content type of UTF-8 for my Wicket page: Date:

Re: resource encoding troubles

2014-08-28 Thread Francois Meillet
, Garret On 8/28/2014 10:18 AM, Francois Meillet wrote: use *.utf8.properties François Meillet Formation Wicket - Développement Wicket Le 28 août 2014 à 17:47, Garret Wilson gar...@globalmentor.com a écrit : I have Wicket 7.0.0-M2 running on embedded Jetty, which is correctly

Re: StringResourceModel with a defaultValue as model

2014-07-18 Thread Francois Meillet
In your Application.properties you add the key key.to.be.good=theValue and you can use the StringResourceModel like that add( new Label(, new StringResourceModel(key.to.be.good, null))); François Meillet Formation Wicket - Développement Wicket Le 18 juil. 2014 à 18:14, Patrick Davids

Re: Validate FormComponent raw input before conversion

2014-07-12 Thread Francois Meillet
TextFieldInteger t = new TextFieldInteger(xyz) { @Override public final C IConverterC getConverter(ClassC clazz) { return (IConverterC) new IntegerConverter() { @Override protected

Re: Pom.xml errors in Wicket

2014-07-08 Thread Francois Meillet
Add dependency groupIdorg.apache.wicket/groupId artifactIdwicket-core/artifactId version${wicket.version}/version /dependency dependency groupIdorg.slf4j/groupId artifactIdslf4j-api/artifactId

Re: [6.16] AjaxButton.onSubmit not working after upgrading to wicket 6

2014-07-05 Thread Francois Meillet
On Wicket 7.02 it works. With wicket-bootstrap dependencies. Have you set a breakpoint in the onSubmit method of your ajax submit button ? François François Meillet Formation Wicket - Développement Wicket Le 5 juil. 2014 à 11:42, smallufo small...@gmail.com a écrit : I have a LoginModal

Re: [6.16] AjaxButton.onSubmit not working after upgrading to wicket 6

2014-07-05 Thread Francois Meillet
Run your app in debug mode and set some breakpoint. eclipse http://www.eclipse.org/jetty/documentation/current/debugging-with-intellij.html http://www.vogella.com/tutorials/EclipseDebugging/article.html

Re: Errors in data view , req for help to fix the error in code

2014-05-27 Thread Francois Meillet
The DemoBean needs to implement the Serializable interface. François Meillet Formation Wicket - Développement Wicket Le 27 mai 2014 à 07:54, kumar ramanathan kumarramana...@gmail.com a écrit : Hi Friends , Am trying to execute a wicket program to accomplish the below task, a. a

Re: Errors in data view , req for help to fix the error in code

2014-05-27 Thread Francois Meillet
You should read these very good documentation http://wicket.apache.org/guide/guide/single.pdf http://www.wicket-library.com/wicket-examples-6.0.x/repeater/ François Meillet Formation Wicket - Développement Wicket Le 27 mai 2014 à 09:16, kumar ramanathan kumarramana...@gmail.com a écrit :

Re: NPE in AbstractSingleSelectChoice

2014-05-25 Thread Francois Meillet
When the DropDownChoice try to convert the submitted choice id back to the choice object there is an iteration over the choices. You get the NPE in this iteration because nullItem has no id. Have a look to AbstractSingleSelectChoice's setNullValid(true) method to include a null value.

Re: How can I display modal dialog only if validation is sucessful?

2014-05-22 Thread Francois Meillet
Hi Bruce, This is just one solution : Have a look at http://pastebin.com/03DF5pcw François Meillet Formation Wicket - Développement Wicket Le 21 mai 2014 à 16:15, Bruce Lombardi brlom...@gmail.com a écrit : Hi, I have a form with several question that a user must answer. If the

Re: DiskDataStore errors in production

2014-05-17 Thread Francois Meillet
You need to increase the maximum number of file handles allowed by your system. On linux/OSX find open files limit per process: ulimit -n count all opened files by all process: lsof | wc -l list of processes and the number of file handles they have open: lsof | cut -d -f 1 | uniq -c | sort -nr

Re: Extending Border

2014-05-14 Thread Francois Meillet
Have a look at http://apache-wicket.1842946.n4.nabble.com/Adding-border-in-border-td4660191.html#a4660195 François Meillet Formation Wicket - Développement Wicket Le 8 mai 2014 à 23:07, Nick Pratt nbpr...@gmail.com a écrit : Ive got a class 'A' that extends Border, with the following

Re: Please help explain the script below, what's the 'className';'unloadConfirmation','mask' stand for? Is there relative docs could be refered to?

2014-05-12 Thread Francois Meillet
From the modal.js file org/apache/wicket/extensions/ajax/markup/html/modal/res/modal.js className set the class of window (blue or silver by default) unloadConfirmation Display confirmation dialog if the user is about to leave a page (IE and FF). mask Transparent or semi-transparent masks that

Re: Application Scope

2014-05-06 Thread Francois Meillet
You can use MyApp.get().setMetaData() and MyApp.get().getMetaData() François Meillet Formation Wicket - Développement Wicket Le 6 mai 2014 à 14:50, Richard W. Adams rwada...@up.com a écrit : Are you referring to org.apache.wicket.Application? I don't see a getTasksMap() method there.

Re: Application Scope

2014-05-06 Thread Francois Meillet
sessions are serialised François Meillet Formation Wicket - Développement Wicket Le 6 mai 2014 à 15:28, Richard W. Adams rwada...@up.com a écrit : One more question: Since each task is associated with a single user, would it make more sense to create a task map in Session scope? Or will

Re: onInitialize() and exception handling

2014-04-29 Thread Francois Meillet
You can throw any exception that extends RuntimeException François Meillet Formation Wicket - Développement Wicket Le 29 avr. 2014 à 14:35, Alberto Brosich abros...@ogs.trieste.it a écrit : Hi, I have a wicket application where I create page components (mainly labels and ListViews)

Re: Handling with Feedback Messages / setMaxMessages(1)-Problem / best practise

2014-03-04 Thread francois meillet
Session.get().getFeedbackMessages().clear(); François On Tue, Mar 4, 2014 at 10:07 AM, Patrick Davids patrick.dav...@nubologic.com wrote: Hi all, I would like to have a FeedbackPanel always showing only one error message. As seen in FeedbackPanel code setMaxMessages() does this. But it

Re: double type text field - auto roundsoff

2014-02-27 Thread francois meillet
Is there any specific DoubleConverter initialized in the Application's newConverterLocator() method ? François On Wed, Feb 26, 2014 at 5:55 PM, nazeem md.naz...@gmail.com wrote: Changing the object type to Big Decimal solves this .. Still not clear how.. if any body knows any clue please

Re: What is difference between setModel and setDefaultModel

2014-02-16 Thread Francois Meillet
in 6.13.0 Component#setDefaultModel(final IModel? model) IGenericComponent#setModel(IModelT model); The IGenericComponent implementations setter are typesafe. François Meillet Formation Wicket - Développement Wicket Le 16 févr. 2014 à 10:15, Farrukh SATTOROV fireda...@gmail.com a écrit :

Re: Submitting values for null associations

2014-02-11 Thread francois meillet
The entity User needs to have a Job's instance when you construct your model. François On Tue, Feb 11, 2014 at 2:56 PM, ChambreNoire a...@tentelemed.com wrote: Hi, I have a form which can flip between edit and view modes. Its fields share a common CompoundPropertyModel which in turn

Re: Submitting values for null associations

2014-02-11 Thread francois meillet
As Hibernate save a new Job instance when you save the User if the relation is empty why don't you load the job (with an eager fetching strategy) when you load the user ? François On Tue, Feb 11, 2014 at 3:22 PM, ChambreNoire a...@tentelemed.com wrote: I forgot to mention, the reason I don't

Re: Submitting values for null associations

2014-02-11 Thread francois meillet
You use cascade=all on the job relation. When job is created, it should have at least one non-empty property. Job's instance is null because it doesn't have any non empty property. François On Tue, Feb 11, 2014 at 3:59 PM, ChambreNoire a...@tentelemed.com wrote: Why would that make any

Re: What is the default size of max per session in wicket

2014-02-09 Thread Francois Meillet
There is no simple response. It depends on your non-functional requirements, on what you are trying to achieve, on the pages's size, on the types of model you use. The api says: IStoreSettings setMaxSizePerSession Sets the maximum size of the File where page instances per session are stored.

Re: What is the default size of max per session in wicket

2014-02-07 Thread francois meillet
Have a look to setMaxSizePerSession() in the IStoreSettings interface application.getStoreSettings().setMaxSizePerSession(Bytes.megabytes(30)); François On Fri, Feb 7, 2014 at 3:06 PM, Sharad Raut raut.sha...@gmail.com wrote: What is the default size of max per session in wicket -- View

Re: Memory leaks best practices

2014-02-06 Thread francois meillet
http://www.yourkit.com/docs/kb/class_loaders.jsp François On Thu, Feb 6, 2014 at 3:22 PM, Martin Grigorov mgrigo...@apache.orgwrote: The best memory profiler is Eclipse MAT - https://www.eclipse.org/mat/ But again it helps only with debugging problems in the heap, not in the perm gen

Re: Changed JSESSIONID Results in Wicket Exception

2014-02-05 Thread Francois Meillet
Use a system property : System.setProperty(wicket.jsessionid.name, JSESSIONID_MYAPP); François Meillet Formation Wicket - Développement Wicket Le 5 févr. 2014 à 22:05, Aaron J. Garcia agar...@rentec.com a écrit : Timo Schmidt wicket at xomit.de writes: On Wed 05.02.2014 13:12, Aaron

Re: Apache wicket project as osgi compoments

2014-02-04 Thread Francois Meillet
You should have a look at http://code.google.com/p/osgi-enterprise/wiki/WicketAndOsgi https://github.com/wicketstuff/core/wiki/Osgi http://hwellmann.blogspot.fr/2011/06/wicket-and-osgi.html http://www.volkomenjuist.nl/blog/2012/07/25/wicket-mounting-in-an-osgi-environment/

Re: setting response parameters in wicket 6

2014-01-31 Thread Francois Meillet
try that ((WebResponse) requestCycle.getResponse()).setContentType(application/json); François Meillet Formation Wicket - Développement Wicket Le 31 janv. 2014 à 09:17, chathuraka.waas chathuraka.w...@gmail.com a écrit : Hi, i'm trying to migrate my application from 1.4 to 6 and stuck

Re: Error with getPageCount() when extending the Datatable in Wicket 6.13

2014-01-22 Thread Francois Meillet
The api changed. Just replace the method signature you use in you backend layer. François Meillet Formation Wicket - Développement Wicket Le 23 janv. 2014 à 08:13, chathuraka.waas chathuraka.w...@gmail.com a écrit : Hi, i'm trying to migrate my application from Wicket 1.4 to 6.13.0 and

Re: Migrating from 1.4.21 to 6

2014-01-02 Thread Francois Meillet
You should migrate directly to verion 6. If you have 200 K LoC on the web tier, you should budget between one to three months, depending the amount of specific code that has been written to improve the 1.4 api. François Meillet Formation Wicket - Développement Wicket Le 2 janv. 2014 à

Re: response headers in Wicket 6

2013-12-09 Thread Francois Meillet
For the last two lines : data.getHeaders().addHeader(key, value); or ((WebResponse) attributes.getResponse()).addHeader(key, value); for response.setAttachmentHeader(defaultFileName); (from WebResponse.java) setHeader(Content-Disposition, attachment + ((!Strings.isEmpty(filename)) ? (;

a discussion on current java web stacks

2013-12-03 Thread francois meillet
http://www.reddit.com/r/java/comments/1rwvqa/current_java_web_stacks/?sort=old François

In French - mission wicket à Paris

2013-11-26 Thread Francois Meillet
recherche un(e) Développeur Java pour un très bon client. Indispensable :Java, Wicket, JPA, Hibernate. Durée : 6 mois + Lieu : Paris Démarrage : ASAP Contexte : Sous l’autorité d’un chef de projet, vous intégrerez une équipe qui assure la conception, le développement, la diffusion, les

Re: Filtered feedback message cleanup

2013-11-19 Thread Francois Meillet
Form form = new Form(form); form.setOutputMarkupId(true); add(form); RequiredTextFieldString username = new RequiredTextFieldString(username, new ModelString()); form.add(username);

Re: logout on session destroy

2013-11-16 Thread Francois Meillet
You can write a unboundListener and register it in your sessionStore. This code should be in your application init() getSessionStore().registerUnboundListener( new ISessionStore.UnboundListener() { @Override public void sessionUnbound(String sessionId) { // logout

Re: logout on session destroy

2013-11-16 Thread Francois Meillet
in advance Dirk Am 16.11.2013 11:04, schrieb Francois Meillet: You can write a unboundListener and register it in your sessionStore. This code should be in your application init() getSessionStore().registerUnboundListener( new ISessionStore.UnboundListener() { @Override public void

Re: logout on session destroy

2013-11-16 Thread Francois Meillet
?? not in AuthenticatedWebSession or WebSession or in Session (I use Wicket 6.1) Am 16.11.2013 12:47, schrieb Francois Meillet: In this case, override the onInvalidate() method in your custom session. from the api : onInvalidate is a callback method that is executed when the user session

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 dependency groupIdorg.apache.wicket/groupId artifactIdwicket-core/artifactId version6.11.0/version /dependency dependency groupIdorg.apache.wicket/groupId

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 alexander.li...@man.eu wrote: Hi heapifyman, thanks for your reply. Yes i read it all. But the blog is

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 alexander.li...@man.eu wrote: Hello François, thanks for your reply! I double checked this. I have weld-servlet.jar in my classpath.

Re: Problems with FileUploadFile and CompoundPropertyModels

2013-10-25 Thread Francois Meillet
FileUploadField needs a model which implements IModelListFileUpload 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

<    1   2   3   4   >