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

2013-01-24 Thread Chris Colman
If there currently is no session it won't create one - auto creating a session is undesirable in many cases - e.g. when serving up a static resource. >-Original Message- >From: Raul [mailto:ralva...@netwie.com] >Sent: Friday, 25 January 2013 6:08 AM >To: users@wicket.apache.org >Subject:

RE: how to remove the file icons from the editable tree table ?

2013-01-24 Thread Colin Rogers
Extend DefaultAbstractTree and override getFolderOpen() and getFolderClosed() - which are called by newNodeIcon() (eventually)? -Original Message- From: grazia [mailto:grazia.russolass...@gmail.com] Sent: 25 January 2013 04:18 To: users@wicket.apache.org Subject: Re: how to remove the fi

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

ThreadContext.getSession(); return null in wicket 6.5.0

2013-01-24 Thread Raul
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 context: http://apache-wicket.1842946.n4.nabble.com/ThreadContext-getSession-return-null-in-wicket-6-5-0-tp4655741

Re: Insidious error

2013-01-24 Thread Paul Bors
>From your stack trace: es.isdefe.webisdefe.webapp.panels.inicio.Inicio$InicioJsBehaviour@2b0c59fcon component [Inicio [Component id = contenido]] threw an exception the component with the "contenido" wicket:id must have a model object that's cast to the wrong type. You should use Generics more

Re: Wicket Editable datagrid with add/edit/delete functionality at once

2013-01-24 Thread Paul Bors
Is this what you're looking for? http://ci.apache.org/projects/wicket/apidocs/6.0.x/org/apache/wicket/extensions/ajax/markup/html/AjaxIndicatorAppender.html ~ Thank you, Paul Bors On Thu, Jan 24, 2013 at 8:05 AM, rsasanulu wrote: > Thank you very much to providing the editable grid. > > Can

Insidious error

2013-01-24 Thread Oscar Besga Arcauz
Hi Wickers I've deployed my wicket webapp in production, now it's online. Thanks for all your help ! But.. There's an error, that is thrown intermittent, from time to time. It doesn't appear to affect the main behaviour of the website I've trying to reach source and debug and fix it, but it

Re: Component to String

2013-01-24 Thread Paul Bors
You can also use a VelocityPanel in Wicket to render to HTML or plain text or XML or whatever your velocity template feels like :) http://wicket.apache.org/learn/projects/velocity.html ~ Thank you, Paul Bors On Thu, Jan 24, 2013 at 1:30 PM, Cedric Gatay wrote: > Yes it is the real issue wh

Re: Component to String

2013-01-24 Thread Cedric Gatay
Yes it is the real issue when displaying HTML in emails. However, using Wicket's builtin templating engine is great to generate these HTML mails ;) On Thu, Jan 24, 2013 at 7:24 PM, Nick Pratt wrote: > The real issue here is that most Email clients render HTML really badly, or > dont render it a

Re: Component to String

2013-01-24 Thread Nick Pratt
The real issue here is that most Email clients render HTML really badly, or dont render it at all (or their implementations of such rendering is just wrong). Even modern email clients, like the latest Outlook or GMail dont render significant portions of HTML/CSS correctly, and you will likely have

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: Component to String

2013-01-24 Thread Cedric Gatay
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-work/use-wicket-templating-system-to-generate-html.html I hope it will help you, I don't know if it works we

Component to String

2013-01-24 Thread Steve Lowery
I found several threads on the user list about converting a Component into a String. There are at least 2 very valid use cases where doing this makes sense: 1. You are trying to create an html email to send out to your customers. Building that content out with wicket is a great way to do it. W

Re: documentation

2013-01-24 Thread Andrea Del Bene
For what it's worth :) I'm about to finish a free reference document for Wicket 6. I've started to write it almost one and a half years ago and it should be ready by the end of February. The example code used in the document are hosted here https://github.com/bitstorm/Wicket-tutorial-examples T

Re: documentation

2013-01-24 Thread Philippe Demaison
This is great ! I am looking forward to reading the new documentation. Best regards Phlippe 2013/1/23 Rob Schroeder > Hi all, > > On Tue, 22 Jan 2013 18:25:41 +0100, Guillaume Smet wrote: > > > On Tue, Jan 22, 2013 at 5:53 PM, Philippe Demaison > > wrote: > > > Are you kidding ? > > > > First

How to reload form page on PageExpiredException

2013-01-24 Thread Bernard
Hi all, How can I get Wicket 6 to respond with a refreshed stateful mounted form page that expired on submit? Just instead of showing an error page for the dreaded PageExpiredException, show the form page again with the user's values in it. Many thanks, Bernard ---

Re: AjaxFallbackDefaultDataTable with checkbox column

2013-01-24 Thread Ernesto Reinaldo Barreiro
Hi, On Thu, Jan 24, 2013 at 12:17 PM, Marco Di Sabatino Di Diodoro < marco.disabat...@tirasa.net> wrote: > Hi all, > > I need to implement a AjaxFallbackDefaultDataTable that allow the user to > select one or more rows by clicking on checkboxes located in a column. In > addition I must implement

AjaxFallbackDefaultDataTable with checkbox column

2013-01-24 Thread Marco Di Sabatino Di Diodoro
Hi all, I need to implement a AjaxFallbackDefaultDataTable that allow the user to select one or more rows by clicking on checkboxes located in a column. In addition I must implement select/deselect all in the header of the column. Is there an example for wicket 6.X or suggestions? Marco -- Do