RE: Wicket in a Dot Net World

2012-02-08 Thread Wilhelmsen Tor Iver
I don't suppose anyone has ported Wicket to .NET? What, and lose all the non-designable ASP.Net or Razor goodness? :) - Tor Iver - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail:

how to test the wicket panel

2012-02-08 Thread akiindia01
Hi, I am new to wicket and got to do junit testing job. I am using wicket tester to start the panel. I have pagination button on my panel and i have to check the onclick functionality for this button. the panel has no form. I am using following signature to check it.

Re: how to test the wicket panel

2012-02-08 Thread Martin Grigorov
Hi, On Wed, Feb 8, 2012 at 8:37 AM, akiindia01 atulingal...@gmail.com wrote: Hi, I am new to wicket and got to do junit testing job. I am using wicket tester to start the panel. I have pagination button on my panel and i have to check the onclick functionality for this button. the panel

Re: dynamic markup and components

2012-02-08 Thread Alinoor
Hi Sven, I came across this stackeroverflow link and tried it but couldn't get the markupcontainer to load the markup. I'll give it another go... Alinoor -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/dynamic-markup-and-components-tp4366970p4368873.html Sent from

Re: Save DefaultBreadCrumbsModel to session

2012-02-08 Thread atomix
Everything should be a lot easier and we could reuse the BreadCrumbBar if it acts like a normal component, which has a DefaultModel can get,set via getDefaultModel... And the reason why I ask for the method to Save DefaultBreadCrumbsModel to Session is : If We travel through pages, the

Re: dynamic markup and components

2012-02-08 Thread Alinoor
Hi, Managed to get this working by using a Panel instead of a WebMarkupContainer. Here's the code. import org.apache.wicket.MarkupContainer; import org.apache.wicket.markup.IMarkupResourceStreamProvider; import org.apache.wicket.markup.html.form.Form; import

RE: 1.5 Behaviors

2012-02-08 Thread Michal Wegrzyn
You can try to check whether your behavior works without other behaviors. Even without behaviors on children - maybe there are conflicting behaviors attached to the same event? You can also try to use a Panel for your fieldset element and place container higher in hierarchy. Best regards,

Re: Wicket-Source: Click-through from browser back to Java source

2012-02-08 Thread armhold
Thanks Minas, I'll take a look. I do have a bug in my plugin in that the configuration panel seems to always appear twice in the IDE Settings popup, so your existing code might be helpful in figuring that out. The Intellij documentation on plugin API documentation isn't the best, unfortunately.

Re: dynamic markup and components

2012-02-08 Thread Andrea Del Bene
Hi, I don't know if you might find this helpful, but if your component must generate a different markup from request to request, you should implements interface IMarkupCacheKeyProvider to avoid markup caching: /** * Must return null to avoid markup caching */ @Override

WicketTester functionalities

2012-02-08 Thread brazz
After working successfully with wicket for some time, I'm now trying ot set up regression tests with fitnesse and the help of WicketTester functionality or in combination with selenium if functionality of WicketTester does not fulfill my needs (probably i won't do it with selenium as i already

Re: WicketTester functionalities

2012-02-08 Thread Martin Grigorov
On Wed, Feb 8, 2012 at 4:53 PM, brazz alexander.li...@man.eu wrote: After working successfully with wicket for some time, I'm now trying ot set up regression tests with fitnesse and the help of WicketTester functionality or in combination with selenium if functionality of WicketTester does not

Re: ResourceReference for resource in webapp dir

2012-02-08 Thread Kayode Odeyemi
On Mon, Feb 6, 2012 at 3:08 PM, Martin Grigorov mgrigo...@apache.orgwrote: Hi, I'd not invest in AbstractResourceDependentResourceReference. This has been re-implemented in Wicket 6.0 and this class is no more there. For your case I can recommend you to take a look at Wro4j. With this

Re: ResourceReference for resource in webapp dir

2012-02-08 Thread Martin Grigorov
Hi, Everything is possible. See http://wicketinaction.com/2011/07/wicket-1-5-mounting-resources/ You the request parameter to map to your real resource and load it. On Wed, Feb 8, 2012 at 5:30 PM, Kayode Odeyemi drey...@gmail.com wrote: On Mon, Feb 6, 2012 at 3:08 PM, Martin Grigorov

Re: Wicket Ajax direction and roadmap regarding push-like updates

2012-02-08 Thread pkc
Sounds promising. As a wicket user, I would like to see a very tight integration of a push API in wicket-core. It seems most solutions are overly complicated and it would be nice to have a simple API that just let you add listeners or set up channels, then fire off a job and wicket core would

Re: dynamic markup and components

2012-02-08 Thread Alinoor
Andrea, yes, I'm sure I would have come across this problem, so thanks for the tip. Alinoor -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/dynamic-markup-and-components-tp4366970p4370161.html Sent from the Users forum mailing list archive at Nabble.com.

RE: Wicket in a Dot Net World

2012-02-08 Thread Jeffrey Schneller
I know it is overly simplistic but you can almost think of the .aspx and the .aspx.c code-behind file as the .html and the .java file in Wicket if it will make you feel any better. It is not that simple but it is quick way that our junior .NET developers can relate to what the Java folks do in

Re: ResourceReference for resource in webapp dir

2012-02-08 Thread Kayode Odeyemi
On Wed, Feb 8, 2012 at 3:58 PM, Martin Grigorov mgrigo...@apache.orgwrote: Hi, Everything is possible. See http://wicketinaction.com/2011/07/wicket-1-5-mounting-resources/ You the request parameter to map to your real resource and load it. Thanks. I have all the classes in place now.

continueToOriginalDestination seems to be incorrectly retaining destination across multiple logins

2012-02-08 Thread Evan Sable
Hi, I'm using wicket 1.5-SNAPSHOT along with Shiro for authentication/authorization security, and when an unauthorized user tries to go to a page, Shiro calls redirectToInterceptPage behind the scenes, and during the login process, after a successful login, there is code that says: if

Re: pooling validators

2012-02-08 Thread Jeremy Thomerson
On Mon, Feb 6, 2012 at 10:38 PM, jsanca jsa...@gmail.com wrote: Hi Jeremy Thanks for your answer, I agree with you (reason why I sent this email, to double check my theory) I am just trying to find way to optimize the app, I am new with Wicket and I feel the Framework creates so much

Re: Wicket-Source: Click-through from browser back to Java source

2012-02-08 Thread Maarten Bosteels
I have not yet checked which URL's are used by the 42lines wicket-source Firefox/Chrome extension but just wanted to let you know that a few years ago I created an IntelliJ IDEA plugin to jump from a URL to a specific line of code in IntelliJ The plugin still works in recent IntelliJ versions

wizard starting background task

2012-02-08 Thread N. Metzger
Hi all, I'm looking for hints to realize the following scenario: I have a wizard gathering data. On finish the wizard kicks off a background task that uses the aforementioned data. On clicking finish I would like to open a new page or even a modal widow that displays a progress bar while the

Re: wizard starting background task

2012-02-08 Thread Hans Lesmeister
Hi, 1) I start the background task in a lazy load panel, but haven't figured out yet how to display a progress bar while the lazy load is executing. Take a look at wicket-progressbar from Wicketstuff for background processing and showing a progressbar. Cheers Hans

Re: Expiration of unversioned pages in Wicket 1.5

2012-02-08 Thread David Rain
Martin Grigorov mgrigorov at apache.org writes: can you create a ticket for this. I think I know what happens thanks! On Fri, Sep 9, 2011 at 6:57 PM, pasto peter.pastrnak at gmail.com wrote: Hi, in Wicket 1.5 RC7 is f.e. the RedirectPage set to unversioned, that makes it