Re: FormComponentPanel Behavior

2010-07-30 Thread loic
Hello Bernard, why did you ask a new question in this topic? I think my issue is lost now :) Dos anybody have an idea for the original question? Thanks Loic -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/WicketTester-and-Palette-component-tp2306743p2307708.html S

RE: Localizer in a new Thread

2010-07-30 Thread Alex Objelean
There was a long discussion about this. One of the proposal was to use InheritableThreadLocal which would solve this problem, but there was a lot of concerns about this approach. The solution I have found was this: If you create the thread with ExecutorService, you could do the following: f

How to Update contents of a child component?

2010-07-30 Thread Niv
Hi All I would like to know an elegant solution to deal with the following issue. For CRUD operations this is the approach I have taken. List of Components 1.ContainerPanel 2.SearchPanel 3.SearchResultsPanel 4.DetailsPanel and this contains a child component that has a MultiSelectControl The

Re: FormComponentPanel Behavior

2010-07-30 Thread bht
Yes I did. Is it better not to not do this? Regards, Bernard On Thu, 29 Jul 2010 16:54:28 -0300, you wrote: >Hi Bernard, did you call setRequired method on your FormComponentPanel input >components? >like: formComponentPanel.fieldOne.setRequired(true) > >On Thu, Jul 29, 2010 at 4:33 PM, wrote:

Re: How to Update contents of a child component?

2010-07-30 Thread bht
Hi, Have you checked that rendered values in your components are model-driven? If so then I think it should work. I sometimes set values in the constructor with brute force when I do not expect any changes. This is not what you want in this case. I found it most helpful to exclusively use Loadabl

Re: How to Update contents of a child component?

2010-07-30 Thread vov
Do not forgot about setOutputMarkupPlaceholderTag(true) for your components that initially as invisible. And use AJAX...:) -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-Update-contents-of-a-child-component-tp2307756p2307883.html Sent from the Wicket - User ma

Re: Single session per user

2010-07-30 Thread jcgarciam
For that you may need to do your own session tracking using an HttpSessionListener, and trying to handle yourself a Session cache (Be carefully of not leaking those session by not preventing the container to

Trouble creating a behaviour that adds JS and also a Body onLoad event

2010-07-30 Thread Mark Doyle
Firstly, I'm having some trouble finding a decent behaviour tutorial. If anybody knows of one post a link up. Now, the problem I am having is creating a behaviour that adds some JS to the head and sets an onLoad method. The JS project instructs users to add: but I'm not sure how Wicket suppor

Re: Trouble creating a behaviour that adds JS and also a Body onLoad event

2010-07-30 Thread Martin Makundi
Hi! You could try this: public class HomePage extends WebPage implements IHeaderContributor { @Override public void renderHead(IHeaderResponse response) { response.renderOnLoadJavascript(javascript) } ** Martin 2010/7/30 Mark Doyle : > Firstly, I'm having some trouble finding a decen

Interesting Contract & Full-time Positions

2010-07-30 Thread Randy Dean
I hope this is an acceptable use of the users email, if not I apologize. I have 4 opportunities for contract or contract to hire Java/JEE developers with solid Wicket experience. This is with a very fast growing software firm with excellent management and very technically capable leadership.

RE: Localizer in a new Thread

2010-07-30 Thread Warren Bell
I am not sure how to preload the the values. I am trying this, but am not getting anywhere. myApp.getResourceSettings().getPropertiesFactory().load(ScanManTask.clas s, "com.scanman.cron.task") I have a properties file named ScanManTask.properties and have added it to my app like this: getResourc

Re: Localizer in a new Thread

2010-07-30 Thread Fernando Wermus
Ale, Related to what you have mentioned. I render mails with some mockHTTPrequest and mockeHTTPResponse, etc. But, I need to render mails in a different thread than wicket's one. I have another servlet that runs Blazeds (Flex) where I also need to render some mails, but I got "There is no appl

Re: Wicket and JEE6

2010-07-30 Thread Erik Brakkee
I have found an elegant solution to the serialization problem. Basically, in the ComponentInstantiationListener that perform injection, I am also attaching a new InjectionBehavior. The injection behavior has a private transient boolean field indicating whether injections are up to date. Upon serial

Re: Localizer in a new Thread

2010-07-30 Thread Alex Objelean
Yes, the solution I've mentioned in previous post should solve your problem. Alex On 30 July 2010 22:44, Fernando Wermus-3 [via Apache Wicket] < ml-node+2308410-419528218-229...@n4.nabble.com > wrote: > Ale, >Related to what you have mentioned. I render mails with some > mockHTTPrequest and