Re: Resource Path

2013-05-02 Thread Martin Grigorov
HI, On Thu, May 2, 2013 at 1:55 AM, Hemen wickethe...@gmail.com wrote: I have an image that I access by using the following code: String fullUrl = (String) / + RequestCycle.get().mapUrlFor(new PackageResourceReference(Anchor.class, LOGO_NAME), pp).toString(); The code above creates

Error SpingComponentInjector

2013-05-02 Thread Christoph.Manig
Hello, when I add this to my WicketApllication in method init(): getComponentInstantiationListeners().add(new SpringComponentInjector(this)); I got this Error in my browser. Can you help me please? HTTP ERROR 503 Problem accessing /smwconsole/. Reason:

Performance replace panel with AjaxLink.

2013-05-02 Thread Raul
Hi, I have a problem to replace a panel with Ajax, I use a AjaxLink to replace a panel on the other, as follows. Component current = this.getParent(); current.replaceWith (editorPanel); target.add (editorPanel); The problem I have it because it makes a call undue page builder. Thing I do not

Re: Performance replace panel with AjaxLink.

2013-05-02 Thread Martin Grigorov
Hi, On Thu, May 2, 2013 at 12:45 PM, Raul ralva...@netwie.com wrote: Hi, I have a problem to replace a panel with Ajax, I use a AjaxLink to replace a panel on the other, as follows. Component current = this.getParent(); current.replaceWith (editorPanel); target.add (editorPanel); The

Re: Wicket-Bootstrap error when deploying to JBoss AS 7

2013-05-02 Thread David Beer
Hi Martin Thanks for your reply, works a treat add the dependency and the code on the wiki page in the init section of WicketApplication class before bootstrap initialization and all is good. Thanks David On 01/05/13 23:21, Martin Grigorov wrote:

Re: Performance replace panel with AjaxLink.

2013-05-02 Thread Raul
Let's see, I have a page that receives a parameter, and since I do a query parameter to the database to load a panel, within that panel there is another panel with a AjaxLink, that when you click I want to be replaced by another panel, everything works fine, ie the panel is replaced, but in my

Re: Performance replace panel with AjaxLink.

2013-05-02 Thread Martin Grigorov
On Thu, May 2, 2013 at 2:12 PM, Raul ralva...@netwie.com wrote: Let's see, I have a page that receives a parameter, and since I do a query parameter to the database to load a panel, within that panel there is another panel with a AjaxLink, that when you click I want to be replaced by another

Re: Performance replace panel with AjaxLink.

2013-05-02 Thread Raul
Indeed the page is not repainted, but its constructor is called, How to put a breakpoint?. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Performance-replace-panel-with-AjaxLink-tp4658473p4658484.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Performance replace panel with AjaxLink.

2013-05-02 Thread Martin Grigorov
On Thu, May 2, 2013 at 3:47 PM, Raul ralva...@netwie.com wrote: Indeed the page is not repainted, but its constructor is called, How to put a breakpoint?. From Google: http://www.vogella.com/articles/EclipseDebugging/article.html -- View this message in context:

Re: even issue switching from development to deployment mode

2013-05-02 Thread saty
Thanks, i will give it a try and update. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/event-firing-issue-switching-from-development-to-deployment-mode-tp4658450p4658486.html Sent from the Users forum mailing list archive at Nabble.com.

Combining multiple wicket application in single user interface

2013-05-02 Thread saty
We have few wicket application used by same user set so I am contemplating to combine them in one single interface from users point of view but they should run as separate independent applications running at separate URLs as they do today. Please lets me know if there is a way to achieve this with

Re: Combining multiple wicket application in single user interface

2013-05-02 Thread Martin Grigorov
Hi, Simple solution is to use iframe for the content. Clicking on a tab will change iframe's src value. A complex solution is to use Portlets. See https://issues.apache.org/jira/browse/WICKET-4019 for integration and issues with it. In both cases prepare to face some problems you haven't had

Re: Wicket stack on a netbook

2013-05-02 Thread Rafael Barrera Oro
Thanks for all the answers! My current laptop is pretty heavy so i'm fixed on the idea of having the lightest and smallest workstation possible despite the potential problems of programming using such little resolution (i will maintain my anvil laptop as a home workstation and use the light

Re: Saving checked choices from CheckGroup

2013-05-02 Thread Merlijn
Well, the first problem is solved :) I just want to be able to check a number of checkboxes and use the list of values that correspond with the values of the Checks in another panel. I currently have the following but does not seem to work. I also do not want to use

May Ajax handlers in Wicket 6 slow down rendering?

2013-05-02 Thread Martin Dietze
Since Wicket 6 introduced jQuery as backend for Ajax, there are now rather many jquery-libraries included and there are rather long blocks of Javascript code executed at domready. One of our HTML designers now expressed his concern that on rather complex pages like ours this approach may slow

Re: May Ajax handlers in Wicket 6 slow down rendering?

2013-05-02 Thread Martin Grigorov
Hi, On Thu, May 2, 2013 at 4:30 PM, Martin Dietze d...@fh-wedel.de wrote: Since Wicket 6 introduced jQuery as backend for Ajax, there are now rather many jquery-libraries included and there are rather Many JQuery libraries included ? What do you mean with this ? Wicket contirbutes

Wasp-Swarm documentation

2013-05-02 Thread saty
Can not find any documentation around this, can someone please point to some useful link. I need to disable few links, buttons, radio buttons based on user roles, have not found any suitable material that can help. The goal is to create a read only access to application. The code we have works

Re: Combining multiple wicket application in single user interface

2013-05-02 Thread saty
Thanks martin, i will explore these options. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Combining-multiple-wicket-application-in-single-user-interface-tp4658487p4658495.html Sent from the Users forum mailing list archive at Nabble.com.

[wicket 6] How to get InputStream from ResourceReference ?

2013-05-02 Thread smallufo
In wicket 1.4 I can get InputStream from a ResourceReference : ResourceReference resRef = new ResourceReference(Page.class , xxx.png); InputStream is = resRef.getResource().getResourceStream().getInputStream(); But it seems invalid in wicket 6 I need to build a DynamicImageResource , which

Re: [wicket 6] How to get InputStream from ResourceReference ?

2013-05-02 Thread Martin Grigorov
Hi, Use org.apache.wicket.core.util.resource.PackageResourceStream directly instead of using ResourceReference On Thu, May 2, 2013 at 5:50 PM, smallufo small...@gmail.com wrote: In wicket 1.4 I can get InputStream from a ResourceReference : ResourceReference resRef = new

Re: [wicket 6] How to get InputStream from ResourceReference ?

2013-05-02 Thread smallufo
2013/5/2 Martin Grigorov mgrigo...@apache.org PackageResourceStream Wow , thanks for your rapid response !

Testing AjaxFallbackDefaultDataTable with WicketTester

2013-05-02 Thread Rebhan, Torben
Hello everyone, I have a simple form and an AjaxFallbackDefaultDataTable (like a search form and a corresponding result table). When the form is submitted the page refreshes and the table is getting updated successfully. It works in the browser but I am not able to test the table with

Re: May Ajax handlers in Wicket 6 slow down rendering?

2013-05-02 Thread Martin Dietze
Than you for your help! On Thu, May 02, 2013, Martin Grigorov wrote: long blocks of Javascript code executed at domready. This depends on how many Ajax components/behaviors you have in your page and how many OnDomReadyHeaderItems are contributed. If you use JavaScript event delegation

Re: May Ajax handlers in Wicket 6 slow down rendering?

2013-05-02 Thread Dan Retzlaff
Martin-G elaborated a bit on this last year: http://mail-archives.apache.org/mod_mbox/wicket-users/201209.mbox/%3ccamomwmqdf3ytlstb_kbnvn9t1pump_-+npdtmtvyt+ac6ec...@mail.gmail.com%3E I think the gist is that you can avoid attaching listeners to each child with a single listener on the parent

Re: May Ajax handlers in Wicket 6 slow down rendering?

2013-05-02 Thread Nick Pratt
Any demos of this with Wicket form components or simple click listeners ? I'd much rather a repeater have a single listener for grouped events (or maybe at the column level for tables) N On May 2, 2013 6:10 PM, Dan Retzlaff dretzl...@gmail.com wrote: Martin-G elaborated a bit on this last

Atmosphere NPE

2013-05-02 Thread Noven
Hi all, I have issue with atmosphere, below is the log: 2013-05-01 19:11:32.880602500 INFO  - AtmosphereBehavior        - Resuming the streaming response from ip 127.0.0.101:41704 2013-05-01 19:11:32.880714500 INFO  - AtmosphereBehavior        - streaming connection dropped from ip