[Wicket-user] popup on submit (but after server side work) go to home page

2007-05-12 Thread howzat
Wicket 1.2.6: When the user clicks the submit button on a form, I would like to first perform some logic on the server side (eg persist some stuff the user has entered), and if this server side logic completes successfully I would like to display a success confirmed, hit ok to continue modal

Re: [Wicket-user] How to display applet in wicket?

2007-05-12 Thread howzat
Does the markup you give below work in a non-wicket page? I would make a the simplest possible html page including your applet tag below to see if it works. When it works, compare it to the html generated by wicket. If they are the same, you should observe exactly the same result in your browser

Re: [Wicket-user] popup on submit (but after server side work) go to home page

2007-05-12 Thread Igor Vaynberg
what you would have to do is submit the form via ajax, then in onsubmit add some javascript to the ajax request target that shows the popup. -igor On 5/11/07, howzat [EMAIL PROTECTED] wrote: Wicket 1.2.6: When the user clicks the submit button on a form, I would like to first perform some

Re: [Wicket-user] popup on submit (but after server side work) go to home page

2007-05-12 Thread howzat
Thanks Igor. We're not ready for Ajax yet. What if I don't mind having to reload the original page (that contains the form) and then show the popup straight-away? ie once the page is submitted, reload the page and show the modal popup as soon as the page is loaded? (of course, the popup is not

Re: [Wicket-user] How to display applet in wicket?

2007-05-12 Thread edward durai
Hi! I have put both graph.class and html file. In non-wicket page it is working. but in wicket it is not working. Please advise. Thanks howzat wrote: Does the markup you give below work in a non-wicket page? I would make a the simplest possible html page including your applet tag below

Re: [Wicket-user] popup on submit (but after server side work) go to home page

2007-05-12 Thread Eelco Hillenius
Popups without javascript can only be done using alerts, so just add a header contribution displaying the alert. Eelco On 5/12/07, howzat [EMAIL PROTECTED] wrote: Wicket 1.2.6: When the user clicks the submit button on a form, I would like to first perform some logic on the server side (eg

Re: [Wicket-user] Page Expiration when first clicking AJAX

2007-05-12 Thread Eelco Hillenius
Are you working on multiple servers? On 5/12/07, Andrew Berman [EMAIL PROTECTED] wrote: Igor, Eelco, anyone? This issue is pretty major as I'm losing all the session info when they first come into the app On 5/11/07, Andrew Berman [EMAIL PROTECTED] wrote: Could there be an issue with

Re: [Wicket-user] How to display applet in wicket?

2007-05-12 Thread Robert Novotny
Hello, in my experience, the most frequent problems with applets are connected with classpath problems. Could you have a look into the Java Console output and search for the potential ClassNotFoundError stack traces? (If I remember correctly, you could right click on the applet that failed

Re: [Wicket-user] How to display applet in wicket?

2007-05-12 Thread Igor Vaynberg
what is your html look like? what does the html that wicket outputs look like? there might be a path problem where the browser cant find the jar. -igor On 5/12/07, edward durai [EMAIL PROTECTED] wrote: Hi! I have put both graph.class and html file. In non-wicket page it is working. but in

Re: [Wicket-user] Exception loading sessions from persistent storage

2007-05-12 Thread Johan Compagner
that doesn't matter to much, i think you just changed classes a bit to much and therefore tomcat could load the session store from disk that tomcat does save when you close down tomcat johan On 5/12/07, Lowell Kirsh [EMAIL PROTECTED] wrote: I am getting an exception occasionally when I

Re: [Wicket-user] Page Expiration when first clicking AJAX

2007-05-12 Thread Johan Compagner
what is your url you are comming into your app? do you redirect then? What is the final url? johan On 5/12/07, Andrew Berman [EMAIL PROTECTED] wrote: Igor, Eelco, anyone? This issue is pretty major as I'm losing all the session info when they first come into the app On 5/11/07, Andrew

Re: [Wicket-user] How to display applet in wicket?

2007-05-12 Thread edwarddurai
actually my html file looks like here I have one Graph.class file inside mywicket.examples folder. Could you tell me what is archive=applets.jar,log4j-1.2.12.jar. Is it essential. Because Graph.java is not inside in jar file. So what jar file here i have to include. My Aim is to display the

Re: [Wicket-user] How to display applet in wicket?

2007-05-12 Thread edwarddurai
actually my html file looks like here I have one Graph.class file inside mywicket.examples folder. Could you tell me what is archive=applets.jar,log4j-1.2.12.jar. Is it essential. Because Graph.java is not inside in jar file. So what jar file here i have to include. My Aim is to display the

Re: [Wicket-user] How to display applet in wicket?

2007-05-12 Thread Robert Novotny
One problem, which could arise, is the URL from which is the graph.class loaded. When you've got your applet page on http://server.com/page/applet.html, browser JVM willl try to load graph.class from http://server.com/page/graph.class URL. Also make sure that you have a correct case (Java classes

[Wicket-user] I have problem with custom component

2007-05-12 Thread blackboy zabaha
Hi,     I'm trying to make a custom component. It shows list of items, usercan check the checkboxs then click delete buttonto delete all selected items, or can click add button to go to an add itempage.     At first I test it alone in a form, it work ok, but later when

Re: [Wicket-user] I have problem with custom component

2007-05-12 Thread Matej Knopp
One possible solution (for 1.2) is to call updateModel on each checkbox in your submit handler. For wicket 1.3, the solution would be much nicer. Just put a form in your component. Wicket 1.3 supports nested forms and if any button in the nested form (the one you place in your component) is

Re: [Wicket-user] have problems with AjaxSelfUpdatingTimerBehavior and AjaxTabbedPanel

2007-05-12 Thread Matej Knopp
Should be fixed for 1.3. -Matej On 5/11/07, James McLaughlin [EMAIL PROTECTED] wrote: done! https://issues.apache.org/jira/browse/WICKET-556 with a brief discussion of other possibilities. best, jim On 5/11/07, Matej Knopp [EMAIL PROTECTED] wrote: Yeah, looks like a good idea :)

[Wicket-user] HomePage url changes when user returns from a second wicket page

2007-05-12 Thread howzat
Wicket adds the following markup to my HomePage (http://localhost:8081/wicket/test) head: script type=text/javascript !--/*--![CDATA[/*!--*/ if (window.name=='') { window.name=wicket:default; } /*--]]*//script and the user's address bar shows http://localhost:8081/wicket/test, which is nice.

Re: [Wicket-user] Page Expiration when first clicking AJAX

2007-05-12 Thread Andrew Berman
Hey Guys, Thanks for your replies. James: I'll try what you are talking about and see if that fixes the problem. I hope it does Eelco: No multiple servers. I am able to replicate the issue on my local machine as well. Johan: The url coming in is http://localhost/consumer which Wicket

Re: [Wicket-user] Wickettester and Validators

2007-05-12 Thread behlma
Anyone or is it the wrong approach? behlma wrote: Hi guys, I'm just fiddling around with the FormTester. Say I have a RequiredValidator and StringLengthValidator on my textfields in a form, with custom error messages specified in the page's .properties file. How can I let

Re: [Wicket-user] Wickettester and Validators

2007-05-12 Thread Igor Vaynberg
you have to build the message yourself then. page.getLocalizer().getString(RequiredValidator) or something like that -igor On 5/12/07, behlma [EMAIL PROTECTED] wrote: Anyone or is it the wrong approach? behlma wrote: Hi guys, I'm just fiddling around with the FormTester. Say I have

Re: [Wicket-user] Page Expiration when first clicking AJAX

2007-05-12 Thread Andrew Berman
There's two things here: 1. When I click the Ajax link and it doesn't work and the page redirects to the home page, the links are exactly the same 2. When I do a refresh on the browser, the Ajax links are different and there is no jsessionid in the url in the browser. Is this the same problem

Re: [Wicket-user] Page Expiration when first clicking AJAX

2007-05-12 Thread Carlos Pita
I have an issue with links and page expiration about which I posted a jira entry here: https://issues.apache.org/jira/browse/WICKET-557 I haven't the least idea about whether this is related or not to your problem. Cheers, Carlos On 5/12/07, Andrew Berman [EMAIL PROTECTED] wrote: There's two