Re: Slides

2009-09-12 Thread Luther Baker
No problem. http://www.slideshare.net/lutherbaker/wicket-1987659 -Luther On Fri, Sep 11, 2009 at 11:08 PM, Jeremy Thomerson jer...@wickettraining.com wrote: Perhaps you could upload them to http://www.slideshare.net/ -- Jeremy Thomerson http://www.wickettraining.com On Fri, Sep 11,

Re: How to redirect from a ModalWindow

2009-09-12 Thread Vladimir K
Try adding this one to the page markup script language=javascript type=text/javascript jQuery(document).ready(function(){ if (typeof Wicket != 'undefined' Wicket.Window)

Re: Slides

2009-09-12 Thread Michael Mosmann
Hi, I have slides from my Wicket presentation last night here in St. Louis. On Page 20 you write public Object getObject(Component component) but public Object setObject(Serializable object) AFAIK getObject(Component component) is deprecated.. use getObject() ..

Re: Slides

2009-09-12 Thread Luther Baker
Sweet. Thanks Michael. I'll fix that now. I'm quite open to suggestions to tighten the deck up so please don't hesitate to comment. -Luther On Sat, Sep 12, 2009 at 3:25 AM, Michael Mosmann mich...@mosmann.de wrote: Hi, I have slides from my Wicket presentation last night here in St.

Re: RequestCycle().urlFor not work

2009-09-12 Thread Johan Compagner
Which version of wicket do you use? Why do you need absoluut urls? On 11/09/2009, Dima Rzhevskiy d...@rzhevskiy.info wrote: Sorry, yes, urlFor return correct result. toAbsolutePath(final String relativePagePath) do not return result what I expected. javadoc copy/pasted from

Re: Spring annotations fail to inject into webmodels

2009-09-12 Thread pieter claassen
My abstract basewebmodel constructor from which all my webmodels inherit marks inself for Spring injection but still no injection takes place. Any suggestions where I can look? Can I run the injection in the constructor of an abstract model from which I inherit all my webmodels? I cannot see why

Re: CORRECT portlet+spring+hibernate configuration (Two options, what's right?)

2009-09-12 Thread Gonzalo Aguilar Delgado
Hi again! I'm really lost on this toppic. It seems to not work. First of all. Can someone post a complete configuration of a wicket portlet + spring, please? I found several ways to do it but none seems to be correct. Thank you. El mar, 18-08-2009 a las 09:53 +0200, nino martinez wael

how to get resource path to use it in own js

2009-09-12 Thread Petr Kobalíček
Hi list, how to get resource path to use it in own javascript? For example I can reimplement renderHead method in AbstractDefaultAjaxBehavior and in method render head I can add javascript or css references: public void renderHead(IHeaderResponse response) { super.renderHead(response); //

Re: Spring annotations fail to inject into webmodels

2009-09-12 Thread Olger Warnier
Did you add the listener to your spring context ? bean id=wicketInstantiationListener class=org.apache.wicket.injection.ComponentInjector/ On 12 sep 2009, at 11:53, pieter claassen wrote: My abstract basewebmodel constructor from which all my webmodels inherit marks inself for Spring

Re: Spring annotations fail to inject into webmodels

2009-09-12 Thread jWeekend
Pieter, ... if you're not injecting into components anywhere in your application you naturally should be able to skip registering the ComponentInstatiationListener. Regards - Cemal jWeekend OO Java Technologies, Wicket Training and Development http://jWeekend.com jWeekend wrote: Pieter,

Re: Wicket integration with jQuery

2009-09-12 Thread jWeekend
I may not be totally unbiased as we're involved in the project but jWeekend uses WiQuery, including on client applications, and can recommend it. Regards - Cemal jWeekend OO Java Technologies, Wicket Training and Development http://jWeekend.com danisevsky danisevsky wrote: Hello folks. I

Re: CORRECT portlet+spring+hibernate configuration (Two options, what's right?)

2009-09-12 Thread Gonzalo Aguilar Delgado
Hi again! I'm really lost on this toppic. It seems to not work. First of all. Can someone post a complete configuration of a wicket portlet + spring, please? I found several ways to do it but none seems to be correct. Thank you. El mar, 18-08-2009 a las 09:53 +0200, nino martinez wael

OpenSessionInViewFilter not working in portlets?

2009-09-12 Thread Gonzalo Aguilar Delgado
Hi, I'm trying to make the OpenSessionInViewFilter to work with my portlets but it seems that does not initialize nor work. Can you check if something is wrong, please? Thank you -- web.xml

RE: How to redirect from a ModalWindow

2009-09-12 Thread Mikko Pukki
Hi, I wouldn't mess around with such scripts unless really necessary. Mainly, because Wicket can handle domreadyEvents on its own. I solved the problem by extending ModalWindow and by adding a behavior that disables the unloadConfirmation. Like this: public MyModalWindow(String id,

Re: How to redirect from a ModalWindow

2009-09-12 Thread Peter Ertl
Wouldn't it make sense to disable this confirmation dialog in deployment mode? What is it good for anyway? Am 12.09.2009 um 14:50 schrieb Mikko Pukki: Hi, I wouldn't mess around with such scripts unless really necessary. Mainly, because Wicket can handle domreadyEvents on its own. I

Re: how to get resource path to use it in own js

2009-09-12 Thread Pedro Santos
I think you are looking for: http://wicket.sourceforge.net/apidocs/wicket/RequestCycle.html#urlFor(wicket.ResourceReference ) Ex: RequestCycle.get().getUrlFor(new ResourceReference(SomeClass.class,path-to-resource)) On Sat, Sep 12, 2009 at 7:34 AM, Petr Kobalíček kobalicek.p...@gmail.comwrote:

Re: How to redirect from a ModalWindow

2009-09-12 Thread Ryan McKinley
even better is to add this call to the request that opens the window: onClick( AjaxRequestTarget target ) { target.appendJavascript( Wicket.Window.unloadConfirmation = false; ); ... modal.show( target); } This way the logic is still contained in java and it works for a panel or a

Re: how to get resource path to use it in own js

2009-09-12 Thread Petr Kobalíček
thanks, this is exactly what I need - Petr 2009/9/12 Pedro Santos pedros...@gmail.com: I think you are looking for: http://wicket.sourceforge.net/apidocs/wicket/RequestCycle.html#urlFor(wicket.ResourceReference ) Ex: RequestCycle.get().getUrlFor(new

Re: RequestCycle().urlFor not work

2009-09-12 Thread Dima Rzhevskiy
I use wicket 1.4.1, and I want send e-mail's notifications to users. I create problem code as simple as possible: only with AjaxLink Users of my site send internal messages. Messages will be composed in ModalWindow. Inside AjaxButton.onSumbit method e-mail notification sent. (Long way to carry

Re: HybridUrlCodingStrategy and CryptedUrlWebRequestCodingStrategy

2009-09-12 Thread mfs
Hi Guys, Sorry for not picking up the right thread for this question but I am not able to submit a post. Anyways.. My question is regarding the javadocs for CryptedUrlWebRequestCodingStrategy which in the end says Because the algorithm is reversible, URLs which were bookmarkable before will

Re: HybridUrlCodingStrategy and CryptedUrlWebRequestCodingStrategy

2009-09-12 Thread Igor Vaynberg
the javadoc is out of date please open a jira issue to have the javadoc updated. -igor On Sat, Sep 12, 2009 at 2:50 PM, mfs farhan.sar...@gmail.com wrote: Hi Guys, Sorry for not picking up the right thread for this question but I am not able to submit a post. Anyways.. My question is

Dual Use wicket:id

2009-09-12 Thread J.D. Corbin
Hello, I would like to create a single page markup that I share for editing and read-only views. For example, when in read-only mode I might display a label and in edit mode a TextField. I know I can use a textfield and set the enabled behavior to false, but the visual display isn't

Re: Dual Use wicket:id

2009-09-12 Thread Jeremy Thomerson
This might help you: http://www.google.com/search?q=wicket+editable+label Otherwise, you certainly can create small components that can work with read or write mode to fit your needs. -- Jeremy Thomerson http://www.wickettraining.com On Sat, Sep 12, 2009 at 10:06 PM, J.D. Corbin

removing a behavior

2009-09-12 Thread Pierre Goupil
Good morning, I use CSSPackageResource .getHeaderContribution(style.css) in order to load CSS files into my page. But is there any way to remove the HeaderContributor ? If I just add another one in a subsequent request, the old CSS is still there, which I don't want. Regards, Zala -- Sans