Serialization of DAO

2013-03-13 Thread Stephen Walsh
I'm attempting to implement Guice for my DAO connections as my JBoss server keeps running out of memory. Not entirely sure why that is, but I'm hoping this is at least part of it. I read through http://markmail.org/message/sz64l4eytzc3ctkh and understand why the DAO needs to be serialized, and I

Re: RSS

2013-03-13 Thread Andrea Del Bene
I've published an article on JavaLobby about it... http://java.dzone.com/articles/how-implement-rss-feeds-custom Both very helpful. Thank you! ___ Stephen Walsh | http://connectwithawalsh.com On Tue, Mar 12, 2013 at 5:06 AM, Andrea Del Bene wrote: You ca

clean up all threadlocal objects

2013-03-13 Thread fachhoch
I want to clean up all my threadlocal values at the end of request, any suggestions where I can plug code to cleanup all my threadlocals ? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/clean-up-all-threadlocal-objects-tp4657222.html Sent from the Users forum maili

Re: Datatable with Column-Label

2013-03-13 Thread Ernesto Reinaldo Barreiro
never used that library myself On Wed, Mar 13, 2013 at 4:48 PM, anton wrote: > and if I have tooltips creator from a library? > > example: > add(new Label("Hello", "this is tool tip 01") > .add(new MootipBehaviour( > "This is my tool tip", >

Re: Datatable with Column-Label

2013-03-13 Thread anton
and if I have tooltips creator from a library? example: add(new Label("Hello", "this is tool tip 01") .add(new MootipBehaviour( "This is my tool tip", "Hello"))); -- View this message in context: http://apache-wicket.1842946.n4.nabble

Re: Datatable with Column-Label

2013-03-13 Thread Ernesto Reinaldo Barreiro
Hi, On Wed, Mar 13, 2013 at 3:44 PM, anton wrote: > > Hi. > > In datatable, > As I can create a column with tooltips inside? > > Yes. > > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Datatable-with-Column-Label-tp4657213.html > Sent from the Users forum mail

Re: Wicket 6 : Displaying content in an iframe

2013-03-13 Thread dpmihai
Thank you Ernesto. I was doing respond(attributes); but inside resource onResourceRequested instead to do inside the frame :) My mistake. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-6-Displaying-content-in-an-iframe-tp4657207p4657214.html Sent from the U

Re: Wicket 6 : Displaying content in an iframe

2013-03-13 Thread Ernesto Reinaldo Barreiro
Hi, I have just migrated the example to 6.x. See the details in here https://github.com/reiern70/antilia-bits/tree/master/content-iframe On Wed, Mar 13, 2013 at 2:08 PM, dpmihai wrote: > Hi. > > I have a wicket 1.4 application where I just render a html inside an > iframe. > I used the wiki f

Proper models approach

2013-03-13 Thread mac
Hi, I have a wizard-like panel for gathering user input data. Panel is built with base panel and replaceable steps panels (every step panel gathers different data, last step stores it to DB). What is best approach for using Wicket models? Should I create big wrapper object containig all data, set i

Re: How can I set a different TimeZone for the RequestLogger

2013-03-13 Thread Martin Grigorov
Hi, Looking at org.apache.wicket.protocol.http.AbstractRequestLogger#formatDate : protected final String formatDate(final Date date) { Args.notNull(date, "date"); final Calendar cal = Calendar.getInstance(Time.GMT); i.e. there is no way at the moment. The method is final. File a ticket if you

Re: Wicket 6 : Displaying content in an iframe

2013-03-13 Thread Martin Grigorov
Hi, #mountResource("some/nice/path", new MyResourceReference() { @Override IResource getResource(Attributes attrs) {return new MyResource(attrs)} }) Use #urlFor(new MyResourceReference()) to create the value of iframe's src attribute. Simpler ? You can also use InlineFrame that uses normal Wick

SV: Deprecation of createLabelModel

2013-03-13 Thread Tron Walseth
Hi My problem is that in most cases, the propertycolumn is an anonymous class. I will think about this, and see if it's not possible to make this a named class. Maybe this will be the solution Yours, Tron Fra: Jesse Long [j...@unknown.za.net] Sendt

Re: Deprecation of createLabelModel

2013-03-13 Thread Jesse Long
Hi Tron, Would it not suffice to change PropertyColumn to implement IExportableColumn? This would make the return type of getDataModel() a IModel, and IModel will work. Alternative is in Wicket 7, remove third type parameter for IExportableColumn, and make getDataModel() return IModel. Down

Deprecation of createLabelModel

2013-03-13 Thread Tron Walseth
Hi A bit of advice is needed; The method createDataLabel of org.apache.wicket.extensions.markup.html.repeater.data.table.PropertyColumn is deprecated since 6.2.0, and the documentation advice is to use public IModel getDataModel(IModel rowModel) instead. We have overridden this method in so