@SpringBean scope, where does it start-end?
Hello, I am trying to integrate BIRT into Spring-Wicket combo. *The case:* So far, I wrote a class that instantiates report engine and added spring annotations. I already have /context:component-scan base-package=blah.blah.andmoreblah // in bean definition file. Now I can access it via @SpringBean annotation in panels-webpages etc... but *The Intent:* I have some classes (that extends ByteArrayResource) that simply configures the report engine to produce desired report. *The Problem:* On the other hand in the class that extends ByteArrayResource the @SpringBean annotated instance comes *null*. Any insights? - www.mehmetatas.info -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/SpringBean-scope-where-does-it-start-end-tp4080069p4080069.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: @SpringBean scope, where does it start-end?
Thanks it worked like charm. - www.mehmetatas.info -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/SpringBean-scope-where-does-it-start-end-tp4080069p4080367.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
LoadableDetachableModel load() - Listview onclick()
Simpy, I have a listview and a LoadableDetachableModel which is listview Model. Listview has a link to populate. This Link has onclick event. The event is update the query for LoadableDetachableModel to load data and list them in listview. But the problem is that event of LoadableDetachableModel load() is run before event of Link onclick(). So the current query is not up to date. The query is previous one. List also a previous. Many way I have on my mind. But I want a real and stable solution. Thank you in advance. - www.mehmetatas.info -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/LoadableDetachableModel-load-Listview-onclick-tp4042769p4042769.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: AW: LoadableDetachableModel load() - Listview onclick()
Yes, the link is a part of the listview. ListView : ListViewAstPlans breadList = new ListViewAstPlans(breadList,loadModel) { private static final long serialVersionUID = 1L; @Override protected void populateItem(final ListItemAstPlans item) { final LinkAstPlans breadLink = new LinkAstPlans(breadLink, item.getModel()) { private static final long serialVersionUID = 1L; @Override public void onClick() { stack.add(item.getModelObject().getAssetCod()); } }; breadLink.add(new Label(breadLinkLabel,item.getModelObject().getAssetCode()+-+item.getModelObject().getName())); item.add(breadLink); } LoadableDetachable Model : LoadableDetachableModelListlt;AstPlans loadModel = new LoadableDetachableModelListlt;AstPlans() { private static final long serialVersionUID = 1L; @Override protected ListAstPlans load() { ListAstPlans list = service.findAsset(new QueryOption(Filter.like(assetCode, stack.get(stack.size() - 1) + ___))); return list; } }; I update stack whick is a list. but the stack is updated after load method is invoke. So load is give to me a list queried by oll stack. List also old. I need stack is update first, then load() invoke or any other way to succeed on this. How can I over come this. - www.mehmetatas.info -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/LoadableDetachableModel-load-Listview-onclick-tp4042769p4043238.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Auto Complate Text Field Character Problem
I thik there is no problem with general encoding because I can use turkish character for some other place. Such as : http://apache-wicket.1842946.n4.nabble.com/file/n3744005/Untitled.png So, I have problem with AutoComplateTextField text field companent. It is not accept turkish characters. Thanks, -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Auto-Complate-Text-Field-Character-Problem-tp3738977p3744005.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Auto Complate Text Field Character Problem
getMarkupSettings().setDefaultMarkupEncoding(ISO-8859-3); getRequestCycleSettings().setResponseRequestEncoding(ISO-8859-3); I try it in Application init, encoding is changed but the problem is still ongoing. Thanks, -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Auto-Complate-Text-Field-Character-Problem-tp3738977p3744253.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Auto Complate Text Field Character Problem
The problem has been solved. Source of the problem is operating system language and also encoding. Change operating system(English to Turkish) and encoding work fine. Thanks all, -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Auto-Complate-Text-Field-Character-Problem-tp3738977p3744634.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org