Re: Problem getting Tomcat to see my webapp

2011-02-25 Thread Josh Kamau
Jim, The easiest way to work with wicket is to use maven. You can start by following the simple instructions listed here http://www.wicketeer.blogspot.com/ On Fri, Feb 25, 2011 at 8:17 AM, Jim Goodwin jwg...@gmail.com wrote: Hello all, I've used Java and Eclipse for years but I'm a

Re: Test

2011-02-25 Thread Josh Kamau
I have been having the same problem for the last 2 weeks. Every time i send a mail or a reply, i get a mail delivery failure. Today it however seemed to be working. I have been able to send a reply. If this gets through, i will conclude that the issue has been resolved or resolved its self.

Re: Session optimization

2011-02-25 Thread Martin Makundi
FYI: http://stackoverflow.com/questions/5092211/session-optimization-in-jetty-wicket ** Martin 2011/2/23 Martin Makundi martin.maku...@koodaripalvelut.com: Hi! Is there a way to swap sessions onto disk with jetty if they are idle for n.n. minutes? It is under investigation, but we suspect

Re: (...) is managed by a different Object Manager

2011-02-25 Thread hrbaer
Meanwhile I tested a bit more and you really can reduce the example of eager/lazy-loading. After using Google a while I tried to add @Persistent( defaultFetchGroup=true ) private ArrayListQuestion fragen; to my POJO. But now I get the following (console) output: WARN [DataNucleus.MetaData] -

Session size with ModalWindow

2011-02-25 Thread Stefan Lindner
We have a modal window (not matter Panel oder Page as content) which holds a lot of AjaxLinks. Each time an AjaxLink is clicked the session grows. Is there a way to suppress the versioning of the session and page? It's the PageMap that is growing. The ModalWindow does not hold any explicit

Re: Session size with ModalWindow

2011-02-25 Thread Martin Grigorov
I have experienced memory problems before with Page backed ModalWindow, so I'd recommend Panel backed. About versioning see Component.setVersioned(false). On Fri, Feb 25, 2011 at 11:45 AM, Stefan Lindner lind...@visionet.dewrote: We have a modal window (not matter Panel oder Page as content)

RE: Session size with ModalWindow

2011-02-25 Thread Stefan Lindner
You're right, using a panel as modal window's content is a little bit better. The session grows slower but it grows infinitely. Setting setVersioned to false did not make any difference. Any other idea? Stefan -Ursprüngliche Nachricht- Von: Martin Grigorov [mailto:mgrigo...@apache.org]

Re: Session size with ModalWindow

2011-02-25 Thread Martin Grigorov
I guess you have a cyclic reference somewhere... You'll need to use memory analyzer to check which objects contribute to the growing size. See Eclipse Memory Analyzer (http://www.eclipse.org/mat/) or jhat (comes with the JDK): 1. In jconsole - call GC 2. jmap -dump:live,format=b,file=heap.bin

AW: Session size with ModalWindow

2011-02-25 Thread Stefan Lindner
Sigh! Ok, thank you for the below example. I will dig into the memory pool. Stefan -Ursprüngliche Nachricht- Von: Martin Grigorov [mailto:mgrigo...@apache.org] Gesendet: Freitag, 25. Februar 2011 11:20 An: users@wicket.apache.org Betreff: Re: Session size with ModalWindow I guess you

Re: (...) is managed by a different Object Manager

2011-02-25 Thread hrbaer
Out of the frying pan into the fire :( Given is a table with all KATALOG entities. Within each row there is a count of the size of QUESTION, f.eg.: Row 1: name of the KATALOG - katalog.getFragen().size() - CREATE_EINTRAG-Link Row 2: name of the KATALOG - katalog.getFragen().size() -

A quick start application with multiple pages and navigation

2011-02-25 Thread Asankha C. Perera
Hi I am looking for a quick start Wicket example, that shows bread crumb navigation and a few pages.. Can someone point me to an example, or another open source project I could use as a reference thanks asankha -- Asankha C. Perera AdroitLogic, http://adroitlogic.org

Re: A quick start application with multiple pages and navigation

2011-02-25 Thread Martin Grigorov
Use breadcrumbs example from wicket-examples project In action: http://wicketstuff.org/wicket14/breadcrumb/ http://wicketstuff.org/wicket14/breadcrumb/Code: either browse with the Source code link or download the whole project from

Re: Regarding editable datagrid

2011-02-25 Thread mnadeem
Here is an example of wicket Editable Grid, https://github.com/mnadeem/EditableGridWicket_1_3 -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Regarding-editable-datagrid-tp1856961p3324514.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Test

2011-02-25 Thread Jim Goodwin
In my case it turned out that (A) I was pasting in a snippet of XML; (B) my mail client (Thunderbird ) decided therefore to send the whole message as HTML; (C) apache's SpamAssassin has rules about HTML and decided it was spam. The fix (in TBird) was to edit the Contact record for

[announce] Wicket 1.5-rc2 is released!

2011-02-25 Thread Martin Grigorov
The Wicket Team is proud to introduce the second Release Candidate in Wicket 1.5 series. It includes bug fixes and improvements reported against 1.5-RC1. See the changelog for full list. More detailed migration notes are available on our [Migrate to 1.5 Wiki

[announce] Wicket 1.4.16 is released!

2011-02-25 Thread Martin Grigorov
The Wicket Team is proud to release the sixteenth release of the Wicket 1.4.x series. This is primarily a minor bugfix release. Release Artifacts: * Subversion tag: http://svn.apache.org/repos/asf/wicket/releases/wicket-1.4.16 * Changelog:

NotSerializableException in Wicket 1.5

2011-02-25 Thread Zhubin Salehi
Hi, Since I migrated to Wicket 1.5 I get exceptions like this in my log file: 2011-02-25 10:28:07,234 [http-8080-Processor21] ERROR org.apache.wicket.util.lang.WicketObjects - Error serializing object class com.route1.mobi.map3.web.pages.assemblage.FindHost [object=[Page class =

Re: NotSerializableException in Wicket 1.5

2011-02-25 Thread Martin Grigorov
There are no changes in Wicket related to the serialization checks. There were some improvements in latest 1.4.x and 1.5.x code. From which 1.4.x version exactly did you upgrade to 1.5 ? About 'switch off' - see getApplication().getPageManager().supportsVersioning(). Better see how to avoid

Re: NotSerializableException in Wicket 1.5

2011-02-25 Thread Zhubin Salehi
Thanks for your quick reply. I used Wicket 1.4.15. I think like you said I need to avoid serializing CGLIB objects. Is there any specific way to do this? Zhubin Martin Grigorov-4 wrote: There are no changes in Wicket related to the serialization checks. There were some improvements in

Re: NotSerializableException in Wicket 1.5

2011-02-25 Thread Martin Grigorov
Use dynamic model that returns the List when asked. see LoadableDetachableModel On Fri, Feb 25, 2011 at 5:49 PM, Zhubin Salehi zhooz...@yahoo.com wrote: Thanks for your quick reply. I used Wicket 1.4.15. I think like you said I need to avoid serializing CGLIB objects. Is there any specific

Re: NotSerializableException in Wicket 1.5

2011-02-25 Thread Pedro Santos
Text field name in logicalEntityForm has an PropertyModel targeting a DetailSearchCriteria, this class has the field detailParam of type DetailParam, and DetailParam has the field names of a not serializable property type: List A lot of List implementations are serializable, but the one at the

Unable to find the markup for the component.

2011-02-25 Thread Loren Cole
I've got a situation where we're lifting a panel out of a page and making it the content of a modal window, like so: @Override public void setPage(final WebPage page) { Component panel; if(page instanceof EmbeddedPage) { logger.debug(embedded panel p... +

Re: NotSerializableException in Wicket 1.5

2011-02-25 Thread Zhubin Salehi
Pedro Santos wrote: Text field name in logicalEntityForm has an PropertyModel targeting a DetailSearchCriteria, this class has the field detailParam of type DetailParam, and DetailParam has the field names of a not serializable property type: List A lot of List implementations are

Re: NotSerializableException in Wicket 1.5

2011-02-25 Thread Pedro Santos
As Martin suggested, you can use an LoadableDetachableModel On Fri, Feb 25, 2011 at 2:46 PM, Zhubin Salehi zhooz...@yahoo.com wrote: Pedro Santos wrote: Text field name in logicalEntityForm has an PropertyModel targeting a DetailSearchCriteria, this class has the field detailParam of

JasperReports Serialization error with JRDataSource

2011-02-25 Thread Bruno Borges
Hey all, I'm trying to build a ResourceLink to a JRResource but there's a Serialization exception going on. Here is the snippet code: final ServletContext context = ((WebApplication) getApplication()).getServletContext(); final File reportFile = new

Re: JasperReports Serialization error with JRDataSource

2011-02-25 Thread Bruno Borges
By the way, this is the exception I'm getting: [25/02/11 15:43:15:100 BRT] 0029 SystemOut O 2011-02-25 15:43:15,100 [WebContainer : 0] BSAD-ReportSampleWicket ERROR org.apache.wicket.util.lang.Objects - Error serializing object class

Re: Session optimization

2011-02-25 Thread Martin Makundi
FYI: http://stackoverflow.com/questions/4443345/maven-plugin-classloading/5121804#5121804 ** Martin 2011/2/25 Martin Makundi martin.maku...@koodaripalvelut.com: FYI: http://stackoverflow.com/questions/5092211/session-optimization-in-jetty-wicket ** Martin 2011/2/23 Martin Makundi

Re: JasperReports Serialization error with JRDataSource

2011-02-25 Thread Gabriel Landon
That's how I use it not to have Serialisation problem : JRResource resourcePDF = new JRConcreteResourcePdfResourceHandler(reportFile, new PdfResourceHandler()) { public JRDataSource getReportDataSource() { //retrieve you data //... return new