Re: Wicket 1.5.1 image resource not available if parent component is disabled

2011-10-20 Thread exl
Did a quick search and couldn't see anything so ticket raised: https://issues.apache.org/jira/browse/WICKET-4146 WICKET-4146 - Eric is learning how to use Wicket and enjoying the experience so far... -- View this message in context:

Re: Access Denied with AjaxEditableLabel ant AjaxEditableMultiLineLabel under chrome and safari #wicket1.5

2011-10-20 Thread Gaetan Zoritchak
So is it a bug or a regression (because it was working on W1.4)? Even, if the event is fired when leaving the tab, I don't understand why the server reacts differently. How can it knows that the component isn't visible anymoree??? Should I drop all these widget from my app? We use them a lot in

Re: Access Denied with AjaxEditableLabel ant AjaxEditableMultiLineLabel under chrome and safari #wicket1.5

2011-10-20 Thread Martin Grigorov
There is an improvement in Wicket 1.5 to not allow execution of invisible component or even worse on disabled behavior for security reasons. It is possible to extend AjaxEditableLabel and configure it to allow such executions. Override

AjaxTabbedPanel - intercept switching tabs

2011-10-20 Thread heapifyman
Hello, is there a default way to determine when a user switches between tabs in an AjaxTabbedPanel? I see onAjaxUpdate(final AjaxRequestTarget target) but that is called after the new tab has been set. I would like to add a confirmation dialog before the new tab is set in case the user had

Re: AjaxTabbedPanel - intercept switching tabs

2011-10-20 Thread manuelbarzi
may you follow something like this: public class AjaxTabbedPanel extends TabbedPanel { public AjaxTabbedPanel(String id, ListITab tabs) { super(id, tabs); setOutputMarkupId(true); setVersioned(false); } @Override

Re: AjaxTabbedPanel - intercept switching tabs

2011-10-20 Thread Martin Grigorov
On Thu, Oct 20, 2011 at 11:57 AM, manuelbarzi manuelba...@gmail.com wrote: may you follow something like this: public class AjaxTabbedPanel extends TabbedPanel {        public AjaxTabbedPanel(String id, ListITab tabs)        {                super(id, tabs);                

Re: Nested Forms in 1.4.x - order of calling onSubmit

2011-10-20 Thread Martin Grigorov
On Tue, Oct 18, 2011 at 3:11 PM, Bruno Borges bruno.bor...@gmail.com wrote: After playing with Nested Forms in WIcket 1.4.18, I found out that the onSubmit method of these forms is called at the end of the process. If a parent form has a button and this button is submited, its onSubmit method

Unnecessary 302 redirects in Wicket 1.5

2011-10-20 Thread Илья Нарыжный
Hello, Could you please explain for what reason wicket for every page redirects users to some other page by 302 code? For example from /home user will be redirected to /home?1 etc. It seems quite strange and I think, that this is much more strange for Search Engines. I found solution how to

autocomplete js error in IE

2011-10-20 Thread Ann Baert
A wicket autocomplete gives errors in Internet Explorer. The error is on line 42 of wicket-autocomplete.js. On that line stands the following code: objonkeyup=obj.onkeyup; I'm using Wicket 1.5.1. And you can reproduce the problem on the wicket examples:

Re: autocomplete js error in IE

2011-10-20 Thread Martin Grigorov
Works OK for me. No JS errors. Tested with IE9 in different browser modes and document modes. Including Quirks. Is it possible that it is some IE setting ? On Thu, Oct 20, 2011 at 2:49 PM, Ann Baert ann.ba...@tvh.be wrote: A wicket autocomplete gives errors in Internet Explorer. The error is on

Re: autocomplete js error in IE

2011-10-20 Thread Matthias Keller
I also see this error on the specified page with Internet Explorer 8 (WinXP SP3) It does not matter if I enable or disable the compatibility feature. Matt On 2011-10-20 13:54, Martin Grigorov wrote: Works OK for me. No JS errors. Tested with IE9 in different browser modes and document modes.

Re: Unnecessary 302 redirects in Wicket 1.5

2011-10-20 Thread Deniz Oğuz
I think redirect is performed as a solution to double post problem. You can disable it from RequestCycleSetting by setting it to One Pass Render. On Thu, Oct 20, 2011 at 1:53 PM, Илья Нарыжный phan...@ydn.ru wrote: Hello, Could you please explain for what reason wicket for every page

Re: autocomplete js error in IE

2011-10-20 Thread Andrea Del Bene
Looks good for me also. Tested under IE 8, Windows XP. Works OK for me. No JS errors. Tested with IE9 in different browser modes and document modes. Including Quirks. Is it possible that it is some IE setting ? On Thu, Oct 20, 2011 at 2:49 PM, Ann Baertann.ba...@tvh.be wrote: A wicket

Re: Unnecessary 302 redirects in Wicket 1.5

2011-10-20 Thread Martin Grigorov
Another problem is that without ?3 if your user reloads the page (F5) Wicket wont know which page instance to re-render and will create a new instance of the page. I.e. the state will be lost. In Wicket 1.4 ?wicket:interface=0:0:bla:1: is used to keep the page id. If you don't want this special

Re: autocomplete js error in IE

2011-10-20 Thread Andrea Del Bene
ooops, I was wrong. I got the same problem. I also see this error on the specified page with Internet Explorer 8 (WinXP SP3) It does not matter if I enable or disable the compatibility feature. Matt On 2011-10-20 13:54, Martin Grigorov wrote: Works OK for me. No JS errors. Tested with IE9 in

RE: Occasional Software caused connection abort: socket write error with 1.5

2011-10-20 Thread Chris Colman
I have discovered that this only occurs when running our app inside IntelliJ. When we run it in tomcat directly, outside any IDE, I can't get the problem to occur. Hopefully the problem will not appear at all when running on the production server. -Original Message- From: Chris Colman

Re: Nested Forms in 1.4.x - order of calling onSubmit

2011-10-20 Thread Bruno Borges
Can't upgrade... :-( Political issues (read: conservative corporation with terrible decision makers) *Bruno Borges* (21) 7672-7099 *www.brunoborges.com* On Thu, Oct 20, 2011 at 9:28 AM, Martin Grigorov mgrigo...@apache.orgwrote: On Tue, Oct 18, 2011 at 3:11 PM, Bruno Borges

Re: Access Denied with AjaxEditableLabel ant AjaxEditableMultiLineLabel under chrome and safari #wicket1.5

2011-10-20 Thread Gaetan Zoritchak
Thank you, It's working but the code is quite ugly (lot of duplication just to override the canCallListenerInterface() ). I still doesn't understand how wicket is able to know that the component is not visible in the browser. Furthermore, I find problematic the fact that the behavior depends on

Re: Access Denied with AjaxEditableLabel ant AjaxEditableMultiLineLabel under chrome and safari #wicket1.5

2011-10-20 Thread Martin Grigorov
On Thu, Oct 20, 2011 at 4:17 PM, Gaetan Zoritchak g.zoritc...@moncoachfinance.com wrote: Thank you, It's working but the code is quite ugly (lot of duplication just to override the canCallListenerInterface() ). I still doesn't understand how wicket is able to know that the component is not

AW: Access Denied with AjaxEditableLabel ant AjaxEditableMultiLineLabel under chrome and safari #wicket1.5

2011-10-20 Thread Sven Meier
I still doesn't understand how wicket is able to know that the component is not visible in the browser. We don't understand this either. Could you create a quickstart? Sven -Ursprüngliche Nachricht- Von: Gaetan Zoritchak [mailto:g.zoritc...@moncoachfinance.com] Gesendet: Donnerstag,

Re: RIA solution based on wicket

2011-10-20 Thread Entropy
That looks pretty good. I too am attempting to build a RIA with ExtJS using Wicket as my back-end. On first look it seems like the two should be a great fit as both rely heavily on building a hierarchical tree of components. If I could build a set of custom wicket components to output

Re: Nested Forms in 1.4.x - order of calling onSubmit

2011-10-20 Thread Martijn Dashorst
On Thu, Oct 20, 2011 at 3:07 PM, Bruno Borges bruno.bor...@gmail.com wrote: Can't upgrade... :-( Political issues (read: conservative corporation with terrible decision makers) They let you use wicket, so they can't be too bad :) Martijn

Re: RIA solution based on wicket

2011-10-20 Thread Martin Grigorov
On Thu, Oct 20, 2011 at 6:13 PM, Entropy blmulholl...@gmail.com wrote: That looks pretty good.  I too am attempting to build a RIA with ExtJS using Wicket as my back-end.  On first look it seems like the two should be a great fit as both rely heavily on building a hierarchical tree of

Re: RIA solution based on wicket

2011-10-20 Thread Entropy
That looks pretty good. I too am attempting to build a RIA with ExtJS using Wicket as my back-end. On first look it seems like the two should be a great fit as both rely heavily on building a hierarchical tree of components. If I could build a set of custom wicket components to output

Request mapping

2011-10-20 Thread anantasthana
I am trying to map my requests in a special way to achieve a very simple purpose say the root website is abc.com and has several users and each use has a home page , admin page , requests page etc let us asume we have uers user1 and user 2 i want the urls to be coded as abc.com/user1/admin

Re: Wrong path for resources on redirected login page

2011-10-20 Thread bjolletz
Thank you for your quick replies! I have been trying to set up a quickstart with wicket version 1.5.2 to test things out, but it seems like its not totally trivial to set up security constraints in web.xml using jetty. I tried to add the following to my web.xml: security-constraint

RE: Occasional Software caused connection abort: socket write error with 1.5

2011-10-20 Thread nhsoft.yhw
my application has same problem, but it only throw socket error when IE 6 - 8 brower, chrome and IE9 has no the problem. here is my question: http://apache-wicket.1842946.n4.nabble.com/Is-there-ModalWindow-alternative-options-td3896443.html i have test by wicket 1.5.2 take 2 version, the

Drilling Application.getHomePage()

2011-10-20 Thread Arjun Dhar
Hi, All my pages are generated dynamically in a particular project (including Home). Application.getHomePage() returns Class? extends Page The trouble is that all my pages use the same WebPage class, based on the name in the URL it determines which content to fetch. Example:

Re: Drilling Application.getHomePage()

2011-10-20 Thread Igor Vaynberg
On Thu, Oct 20, 2011 at 8:56 PM, Arjun Dhar dhar...@yahoo.com wrote: Hi, All my pages are generated dynamically in a particular project (including Home). Application.getHomePage() returns Class? extends Page The trouble is that all my pages use the same WebPage class, based on the name in