RE: Big Problem: BookmarkablePageLinks, AjaxLinks and BackButton

2011-10-20 Thread MattyDE
Updated and Still the Same Problem. =( This is my BookmarkableLink: linkNummer = new BookmarkablePageLink("link_nummer", AngebotDetailsPage.class, new PageParameters(String.format("id=%d", modelOfAngebot.getObject().getId())) ); and this my AjaxLink AjaxLink showAngebotButton =

RE: Big Problem: BookmarkablePageLinks, AjaxLinks and BackButton

2011-10-20 Thread MattyDE
iam updating right now. i Reply again if i double checked my issue in the new version. Thanks -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Big-Problem-BookmarkablePageLinks-AjaxLinks-and-BackButton-tp3924428p3924456.html Sent from the Users forum mailing list archi

Re: Big Problem: BookmarkablePageLinks, AjaxLinks and BackButton

2011-10-20 Thread MattyDE
this doesnt matter. i use the back-button on time (less than 2 seconds) and the error appears. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Big-Problem-BookmarkablePageLinks-AjaxLinks-and-BackButton-tp3924428p3924451.html Sent from the Users forum mailing list archi

RE: Big Problem: BookmarkablePageLinks, AjaxLinks and BackButton

2011-10-20 Thread Chris Colman
1.4.8 is a very old version. Maybe try using the latest 1.4.x version and see if the problem hasn't already been fixed. >-Original Message- >From: MattyDE [mailto:ufer.mar...@gmail.com] >Sent: Friday, 21 October 2011 5:37 PM >To: users@wicket.apache.org >Subject: Big Problem: BookmarkableP

Re: Drilling Application.getHomePage()

2011-10-20 Thread anant . asty
This is very similar to what I am trying to do. Martin just replied to my post with a great example. Check it out.. -Original Message- From: "Chris Colman" Date: Fri, 21 Oct 2011 16:44:53 To: Reply-To: users@wicket.apache.org Subject: RE: Drilling Application.getHomePage() We do someth

RE: Drilling Application.getHomePage()

2011-10-20 Thread Chris Colman
We do something similar but use /content/value Then you can mount the single page at "/content" and then treat what follows as a parameter which determines how that page is rendered. >-Original Message- >From: Arjun Dhar [mailto:dhar...@yahoo.com] >Sent: Friday, 21 October 2011 5:20 PM

Re: Request mapping

2011-10-20 Thread anantasthana
Thanks martin this is exactly what I was looking for. -Original Message- From: "Martin Grigorov-4 [via Apache Wicket]" Date: Thu, 20 Oct 2011 23:41:54 To: anantasthana Subject: Re: Request mapping Application#getHomePage() can be dynamic: @Override public Class getHomePage() { if

Re: Request mapping

2011-10-20 Thread Martin Grigorov
Application#getHomePage() can be dynamic: @Override public Class getHomePage() { if (MySession.get().isLoggedIn()) { return AuthenticatedHomePage.class; } else { return NonAuthenticatedHomePage.class; } } mountPage("/", NonAuthenticatedHomePage.class); mountPage("/${userId}/hom

Re: Big Problem: BookmarkablePageLinks, AjaxLinks and BackButton

2011-10-20 Thread anant . asty
So how long after going to page2 are you hitting the back button? The page is expired means that the session has been destroyed. You could possibly seT a longer session time out in your webApplication --Original Message-- From: MattyDE To: users@wicket.apache.org ReplyTo: users@wicket.ap

Big Problem: BookmarkablePageLinks, AjaxLinks and BackButton

2011-10-20 Thread MattyDE
Hi community, i have a big Problem: In my application i use BookmarkabePageLinks to browse through different Pages and AjaxLinks to Open a Div box for Example. If the user now browse from Site A to B with the BookmarkablePageLink, use than the back button of the Browser and now clicked a AjaxLi

Re: Request mapping

2011-10-20 Thread anantasthana
Also I know with that I can do abc.com/users/user1 But would it work if I do abc.com/users/user1/testimonials Which means the testimonials page for user1? I know how to implement the first scenario.. But I just can't figure out the second -Original Message- From: "Ernesto Reinaldo Barrei

Re: Request mapping

2011-10-20 Thread anantasthana
Does it work with wicket 1.5 as well?? I know its there till 1.4v -Original Message- From: "Ernesto Reinaldo Barreiro-4 [via Apache Wicket]" Date: Thu, 20 Oct 2011 23:28:31 To: anantasthana Subject: Re: Request mapping Anant, Maybe you can use IndexedParamUrlCodingStrategy to solve y

Re: Request mapping

2011-10-20 Thread Ernesto Reinaldo Barreiro
Anant, Maybe you can use IndexedParamUrlCodingStrategy to solve your problem...? Regards, Ernesto On Thu, Oct 20, 2011 at 9:36 PM, anantasthana wrote: > 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

Re: Drilling Application.getHomePage()

2011-10-20 Thread Arjun Dhar
Ah, sorry was trying to use as less words as possible :) Q / Problem) Since Application.getHomePage() returns Class and in my case Multiple pages are mounted to point to the same WebPage. How to I specify the Home Page. In other words: CLASS to Mounted Pages is a one to many relation. By returnin

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

2011-10-20 Thread Chris Colman
I haven't tested other browsers but the problem is occurring for me on FireFox 7.0.1. >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-ModalWindo

Re: Drilling Application.getHomePage()

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

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 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: http://mysite.org/abc The strateg

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 problem

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: All res

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 abc

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 javascript

Re: RIA solution based on wicket

2011-10-20 Thread Martin Grigorov
On Thu, Oct 20, 2011 at 6:13 PM, Entropy 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 > components.  If I could bui

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 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 - To

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 javascript

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: 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 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 visible in the browser. Wicke

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 t

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 wrote: > On Tue, Oct 18, 2011 at 3:11 PM, Bruno Borges > wrote: > > After playing with Nes

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 [m

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: 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 pa

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 Baert wrote: A wicket autocomplete gives error

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, Илья Нарыжный wrote: > Hello, > > Could you please explain for what reason wicket for every page redirects > users to

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. I

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 wrote: > A wicket autocomplete gives errors in Internet Explorer. The error is on > line 42 of wic

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: http://www.wicket-library.com/wicket-exampl

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 optimi

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 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 is called before

Re: AjaxTabbedPanel - intercept switching tabs

2011-10-20 Thread Martin Grigorov
On Thu, Oct 20, 2011 at 11:57 AM, manuelbarzi wrote: > may you follow something like this: > > > public class AjaxTabbedPanel extends TabbedPanel > { > >        public AjaxTabbedPanel(String id, List tabs) >        { >                super(id, tabs); >                setOutputMarkupId(true); > >  

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, List tabs) { super(id, tabs); setOutputMarkupId(true); setVersioned(false); } @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 changed

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 org.apache.wicket.extensions.ajax.markup.html.AjaxEditableLab

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 my