Re: root context, IE, home page is not found

2010-05-01 Thread Erik van Oosten
This might be related to https://issues.apache.org/jira/browse/WICKET-2600? Regards, Erik. Op 29-04-10 16:57, Jimi wrote: I would also like to know if there is any solution (bug fix or workaround) to this bug. Currently each time a IE-user logs out from my web application he gets this

Error out in middle of page without filling in remaining components

2010-05-01 Thread jobiwan11
Let's say you encounter an error halfway through the constructor of a page, and you want to display error(error message) and then return without processing rest of components? It doesn't seem like this is possible in wicket because it makes you fill in all components or else it barfs. Am I

onClick does not fire under certain repeatable circumstances

2010-05-01 Thread SCTUMEY
Hello All, We have a complex form. Ajax submission of the form launches a modal window. When a form component with an onChange or onBlur has the focus, and the user clicks on the submit button, the ajax event for the onChange/onBlur happens, the submit button gets focus, but the onClick event

Re: onClick does not fire under certain repeatable circumstances

2010-05-01 Thread Jeremy Thomerson
Sure. Seems like request throttling - your onblur happens before the click, which makes a request, and that blocks the click from happening. -- Jeremy Thomerson http://www.wickettraining.com On Thu, Apr 29, 2010 at 12:41 PM, sctu...@up.com wrote: Hello All, We have a complex form. Ajax

Re: Error out in middle of page without filling in remaining components

2010-05-01 Thread Jeremy Thomerson
you would have to fill in the component hierarchy. i suppose you could fill the rest of the components as invisible webmarkupcontainers, but this sounds very cumbersome. My typical mode of operation for this sort of thing is to do this: getSession().error(your error) throw new

@Inject (Guice) with non components (i.e. DataProvider)

2010-05-01 Thread Douglas Ferguson
It there a good solution for using @Inject on non components, i.e. a DataProvider. For instance I have a DataProvider that does not use the default constructor so it cannot be injected into the page. But the DataProvider will use a DAO and it would be nice to inject the DAO rather than having

Re: YUI 3 anyone?

2010-05-01 Thread Douglas Ferguson
I thought wicket's goal was to be agnostic to this debate. D/ On Apr 28, 2010, at 9:09 AM, nicolas melendez wrote: +1 YUI. I have been working with it, and it is a very good js framework, non intrusive with the markup, also was easy (i mean REALLY easy) to integrate to wicket. i used YUI

How to do an AjaxLink shiftOnclick behaviour?

2010-05-01 Thread Martin Zardecki
Hi List, I have an AjaxLink where I use onClick and everything works well but I'd like to add a separate behaviour when the user shift-clicks the link. The idea is to achieve something similar to when using a Explorer in Windows or in any file picker where a single click selects one item

Re: @Inject (Guice) with non components (i.e. DataProvider)

2010-05-01 Thread Martin Grigorov
public MyDataProvider() { InjectorHolder.getInjector().inject(this); } is the way in 1.4.8 which will be released these days. Until then you'll have to use public class MyInjector { public static void inject(Object target) { GuiceInjectorHolder guiceInjectorHolder =

Re: How to do an AjaxLink shiftOnclick behaviour?

2010-05-01 Thread Martin Grigorov
you are trying to mix keyboard and mouse events which is not possible in javascript I think see http://www.javascriptkit.com/jsref/eventkeyboardmouse.shtml for more info On Sat, 2010-05-01 at 09:23 -0600, Martin Zardecki wrote: Hi List, I have an AjaxLink where I use onClick and everything

Re: How to do an AjaxLink shiftOnclick behaviour?

2010-05-01 Thread Martin Zardecki
you are trying to mix keyboard and mouse events which is not possible in javascript I think see http://www.javascriptkit.com/jsref/eventkeyboardmouse.shtml for more info Pretty sure it's possible in modern browsers at least: http://www.javascripter.net/faq/ctrl_alt.htm

Re: How to do an AjaxLink shiftOnclick behaviour?

2010-05-01 Thread Martin Grigorov
you are totally right! http://jsfiddle.net/Z383n/ so now just add ajaxeventbehavior to your wicket component and override its getAjaxCallDecorator() method to check the event object and decide what action to fire On Sat, 2010-05-01 at 11:06 -0600, Martin Zardecki wrote: you are trying to mix

Re: YUI 3 anyone?

2010-05-01 Thread Jeremy Thomerson
Yes, but Wicket has a lot of JS functionality built in (for AJAX, DOM manipulation related to AJAX, modal window, autocomplete, etc...). Right now all the AJAX stuff is done in home-grown JS. There's no reason for us to continue to support something that does things like DOM manipulation. We

Re: YUI 3 anyone?

2010-05-01 Thread Igor Vaynberg
there is also no reason to bundle all the components that need that kind of js as part of core, they can be stand alone modules. -igor On Sat, May 1, 2010 at 12:26 PM, Jeremy Thomerson jer...@wickettraining.com wrote: Yes, but Wicket has a lot of JS functionality built in (for AJAX, DOM

Re: How to do an AjaxLink shiftOnclick behaviour?

2010-05-01 Thread Igor Vaynberg
thats what checkboxes are for -igor On Sat, May 1, 2010 at 8:23 AM, Martin Zardecki mpza...@truecool.com wrote: Hi List, I have an AjaxLink where I use onClick and everything works well but I'd like to add a separate behaviour when the user shift-clicks the link. The idea is to achieve

Re: @Inject (Guice) with non components (i.e. DataProvider)

2010-05-01 Thread Douglas Ferguson
Just to make sure I understand... Will this work? Even if the page and thus MyDataProvider gets serialized? public MyDataProvider implements IDataProvider{ @Inject MyDAO myDAO; public MyDataProvider() { InjectorHolder.getInjector().inject(this); } } On

Re: YUI 3 anyone?

2010-05-01 Thread Douglas Ferguson
In that case +1 JQuery. D/ On May 1, 2010, at 3:21 PM, Igor Vaynberg wrote: there is also no reason to bundle all the components that need that kind of js as part of core, they can be stand alone modules. -igor On Sat, May 1, 2010 at 12:26 PM, Jeremy Thomerson jer...@wickettraining.com

Re: @Inject (Guice) with non components (i.e. DataProvider)

2010-05-01 Thread Martin Grigorov
It will work in 1.4.8/1.4.x-SNAPSHOT In 1.5-SNAPSHOT substitute with: InjectorHolder.get().inject(this) On Sat, 2010-05-01 at 13:57 -0700, Douglas Ferguson wrote: Just to make sure I understand... Will this work? Even if the page and thus MyDataProvider gets serialized? public

Wicket 1.4.8

2010-05-01 Thread Douglas Ferguson
Where can I find the official release notes for Wicket 1.4.8? D/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: Wicket 1.4.8

2010-05-01 Thread Jeremy Thomerson
They were referenced in Igor's first vote email. Here's his link to the issue list: https://issues.apache.org/jira/secure/IssueNavigator.jspa?reset=truepid=12310561fixfor=12314811 Changelog is always in SVN root. He had the link to the branch in the email. Here's the link directly to the

Re: Wicket 1.4.8

2010-05-01 Thread Douglas Ferguson
Hmm... so is the list not entirely correct? I don't see any mention of the recently discussed InjectorHolder. https://svn.apache.org/repos/asf/wicket/branches/wicket-1.4.8/CHANGELOG-1.4 On May 2, 2010, at 12:30 AM, Jeremy Thomerson wrote: They were referenced in Igor's first vote email.