Re: Feedback panel inherits parent panel feebdack?

2011-09-27 Thread Igor Vaynberg
all feedback panels get all feedback messages. use ifeedbackmessagefilter provided impls or your own to filter messages that panels consume... -igor On Mon, Sep 26, 2011 at 10:51 PM, Arjun Dhar dhar...@yahoo.com wrote: Hey, i guess i was sleeping when this one was taught. I have a Feetback

Re: Feedback panel inherits parent panel feebdack?

2011-09-27 Thread Dan Retzlaff
I've hit this too. You're not the first to be surprised by this behavior. http://apache-wicket.1842946.n4.nabble.com/Page-and-compoenent-level-feedback-are-mixing-together-td1846435.html I agree that there's something unintuitive about all FeedbackPanels rendering all messages, but I haven't

Re: Servlet and Wicket

2011-09-27 Thread Pointbreak
On Monday, September 26, 2011 8:39 PM, koha...@gmail.com koha...@gmail.com wrote: We have to have the Servlets in front due to current connection from IIS and Apache. That doesn't make any sense. For IIS and Apache it really doesn't matter at all. Here is what the architecture of my

Wicket 1.5.0 and ResourceReferences

2011-09-27 Thread Arne And
How do I avoid the -ver-XXX version number from my resource reference in Wicket 1.5.0? More details: I want to use Scriptaculous, and have a AbstractDefaultAjaxBehavior that does a renderHead(...) { response.renderJavaScriptReference(new JavaScriptResourceReference(this.getClass(),

Re: Wicket 1.5.0 and ResourceReferences

2011-09-27 Thread Martin Grigorov
Override org.apache.wicket.request.resource.caching.FilenameWithVersionResourceCachingStrategy.decorateUrl(ResourceUrl, IStaticCacheableResource) and call super only if this is not the Prototype resource. Use ResourceUrl to get the name of the resource. On Tue, Sep 27, 2011 at 12:03 PM, Arne And

wicket-spring version

2011-09-27 Thread boy_oh_boy
Hello, Very new to Wicket. Trying to integrate an existing Spring application with the latest Wicket release. Versions: Wicket - 1.5.0 SpringFramework - 2.5.6 I am following the annotations based approach mentioned here - https://cwiki.apache.org/WICKET/spring.html. Now, which version of

Re: wicket-spring version

2011-09-27 Thread Pointbreak
Don't use wicket-spring-annot, just wicket-spring. On Tuesday, September 27, 2011 3:15 AM, boy_oh_boy muralih...@gmail.com wrote: Hello, Very new to Wicket. Trying to integrate an existing Spring application with the latest Wicket release. Versions: Wicket - 1.5.0 SpringFramework -

Re: wicket-spring version

2011-09-27 Thread Martin Grigorov
See wicket-examples-1.5.0.war. It comes with the full Wicket distro and contains a demo of a Spring application. Or you can download it from Maven too. On Tue, Sep 27, 2011 at 12:39 PM, Pointbreak pointbreak+wicketst...@ml1.net wrote: Don't use wicket-spring-annot, just wicket-spring. On

Re: wicket-spring version

2011-09-27 Thread boy_oh_boy
Thanks. That fixed it. The jetty and the application starts up. But when I try to access the first page, it fails at: public LoginService(){ Injector.get().inject(this); -- failing line } With the following stackTrace: Root cause: java.lang.NoSuchMethodError:

Re: wicket-spring version

2011-09-27 Thread Martin Grigorov
Wicket is built against Spring 3.0.x. Maybe this method has been added in 3.x or its signature has changed since 2.x On Tue, Sep 27, 2011 at 12:54 PM, boy_oh_boy muralih...@gmail.com wrote: Thanks. That fixed it. The jetty and the application starts up. But when I try to access the first page,

Re: Wicket 1.5.0 and ResourceReferences

2011-09-27 Thread Arne And
Hmm. I see. This is not the solution I hoped for. I liked the public Time getLastModified() { return null; } method on the ResourceReference... oh well... A On Tue, Sep 27, 2011 at 12:06 PM, Martin Grigorov mgrigo...@apache.org wrote: Override

Re: DecimalFormatLabel (proposed)

2011-09-27 Thread Pranav kacholia
I have submitted a patch https://issues.apache.org/jira/browse/WICKET-4085 Wicket-4085 . for a formatted label. I cant figure what would be the best way to handle an IllegalArgumentException which is thrown when the supplied format object in not valid for the underlying data object. -- View

Re: wicket-spring version

2011-09-27 Thread boy_oh_boy
Thanks. I was able to update the Spring version to 3.0+ and that has fixed it (I also had to update the hibernate dependency to 3.2+ version). Everything working as expected. On Tue, Sep 27, 2011 at 11:58 AM, Martin Grigorov-4 [via Apache Wicket] ml-node+s1842946n3846797...@n4.nabble.com wrote:

Re: DecimalFormatLabel (proposed)

2011-09-27 Thread Igor Vaynberg
wrap it in a wicket runtime exception -igor On Tue, Sep 27, 2011 at 6:32 AM, Pranav kacholia pranav.kacho...@gmail.com wrote: I have submitted a patch  https://issues.apache.org/jira/browse/WICKET-4085 Wicket-4085 . for a formatted label. I cant figure what would be the best way to handle

Re: Wicket 1.5.0 and ResourceReferences

2011-09-27 Thread Igor Vaynberg
switch to QueryStringWithVersionResourceCachingStrategy, it does not modify file names -igor On Tue, Sep 27, 2011 at 3:03 AM, Arne And arne@gmail.com wrote: How do I avoid the -ver-XXX version number from my resource reference in Wicket 1.5.0? More details: I want to use

Re: DecimalFormatLabel (proposed)

2011-09-27 Thread Pranav kacholia
Updated the patch and resubmitted. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/DecimalFormatLabel-proposed-tp3834813p3847952.html Sent from the Users forum mailing list archive at Nabble.com. -

Re: How to handle errors in RequestCycle.onEndRequest

2011-09-27 Thread Christian Huber
I was thinking about something like that too, but this does look like a dangerous task. And I think in the long run migrating to 1.5.0 is a better solution. The Sanity Resort http://sanityresort.blogspot.com/ Am 27.09.2011 07:50, schrieb Hans Lesmeister 2: Hi, maybe you can override

AbstractComponentEventSender

2011-09-27 Thread Pranav kacholia
I was going through the wicket code and i think a lot of the code that is available in ComponentEventSender should be made reuseable. Right now it is final, which makes sense since i cant see any real extension points in it. Perhaps the following change:- (alongside making ComponentEvent

Re: creating a textarea with a radiobutton using Listview

2011-09-27 Thread wholalotta
BTW, i just figured out that changing selected checkbox removed the data in the textareas. First you need to save and then change the selected checkboxes. Rendering form in each ajax update behaviour deletes the model value..How can we solve this? Thanks -- View this message in context:

Re: AbstractComponentEventSender

2011-09-27 Thread Martin Grigorov
What other specializations of AbstractComponentEventSender do you need ? On Tue, Sep 27, 2011 at 7:06 PM, Pranav kacholia pranav.kacho...@gmail.com wrote: I was going through the wicket code and i think a lot of the code that is available in ComponentEventSender should be made reuseable. Right

Re: Servlet and Wicket

2011-09-27 Thread koha...@gmail.com
Are you saying that I can either use Wicket without Servlet or use Servlet with JSP/JSF just like our previous implementation? I thought Wicket components would work under a Servlet environment. If Wicket cannot run under Servlet then, I would like to know now so that we can consider JSF instead.

Re: AbstractComponentEventSender

2011-09-27 Thread Igor Vaynberg
you are not meant to provide your own implementations of IEvent, rather it is IEvent#getPayload() that contain different representations of the event. -igor On Tue, Sep 27, 2011 at 12:16 PM, Pranav kacholia pranav.kacho...@gmail.com wrote: It is more about the ability to choose which class of

Re: AbstractComponentEventSender

2011-09-27 Thread Pranav kacholia
Alright. Thank you :) -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AbstractComponentEventSender-tp3848238p3849133.html Sent from the Users forum mailing list archive at Nabble.com. - To