Re: [Wicket-user] wicket stuff GMap: New Exciting Features:)
On 5/11/07, Eelco Hillenius [EMAIL PROTECTED] wrote: PS this is the right place to write about new features correct? Technically, the dev list would be better. But this is fine. Thanks for your contributions and keeping us up-to-date! Agreed. When the gmap project gets a release, it would be more of an announcement type of message for new exciting available features. The idea is to attract as many users as possible for the subproject, I think in that instance the user list is preferred. When discussing the technical issues on how to implement these features, or when the project is still not in a packaged state it should go to @dev. As for other wicket stuff projects: if you have something new and exciting to share, don't hesitate to submit it to @dev if you want a second opinion or be a show off of your code :). Martijn -- Learn Wicket at ApacheCon Europe: http://apachecon.com Join the wicket community at irc.freenode.net: ##wicket Wicket 1.2.6 contains a very important fix. Download Wicket now! http://wicketframework.org - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] [EMAIL PROTECTED]: [jira] Resolved: (WICKET-527) Panel header contribution breaks AJAX update in Internet Explorer]
Thanks Matej. I guess I was thrown off by a couple of things, first that it worked in Firefox, and second that Wicket didn't complain about the tag not being well-formed as it does for components. Would it be a good idea to have wicket:head check the well-formedness of its contents? Should I raise a JIRA? jk - Forwarded message from Matej Knopp (JIRA) [EMAIL PROTECTED] - Envelope-to: [EMAIL PROTECTED] Delivery-date: Sat, 12 May 2007 10:45:18 -0400 From: Matej Knopp (JIRA) [EMAIL PROTECTED] To: [EMAIL PROTECTED] X-SA-Exim-Connect-IP: 140.211.11.4 X-SA-Exim-Mail-From: [EMAIL PROTECTED] Subject: [jira] Resolved: (WICKET-527) Panel header contribution breaks AJAX update in Internet Explorer X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on mercury.effectiveregistration.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.0.3 X-SA-Exim-Version: 4.2 (built Thu, 03 Mar 2005 10:44:12 +0100) X-SA-Exim-Scanned: Yes (on mercury.effectiveregistration.com) [ https://issues.apache.org/jira/browse/WICKET-527?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Matej Knopp resolved WICKET-527. Resolution: Invalid Of course this doesn't work. Markup for header contribution must be well formed (xhtml valid). In your example you have link rel=stylesheet type=text/css href=SubComponent.css Which is wrong - without closing tag. If you change it to link rel=stylesheet type=text/css href=SubComponent.css/ Everything works. Panel header contribution breaks AJAX update in Internet Explorer - Key: WICKET-527 URL: https://issues.apache.org/jira/browse/WICKET-527 Project: Wicket Issue Type: Bug Components: wicket Affects Versions: 1.2.6 Reporter: John Krasnay Assigned To: Matej Knopp Attachments: quickstart.zip If a Panel subclass makes a header contribution via wicket:head, and the panel code attempts to refresh itself in response to an AjaxLink click, the refresh does not work on IE. The debug window shows the following error: INFO: INFO: Initiating Ajax GET request on /arp/?wicket:interface=:0:subComponent:link::IBehaviorListenerwicket:behaviorId=0random=0.8818904450460203 INFO: Invoking pre-call handler(s)... INFO: Received ajax response (656 characters) INFO: ?xml version=1.0 encoding=UTF-8?ajax-responseheader-contribution![CDATA[head xmlns:wicket=http://wicket.sourceforge.net; link href=/arp/resources/com.td.idcs.arp.dev.SubComponent/SubComponent_en_US.css rel=stylesheet type=text/css /head]]/header-contributioncomponent id=subComponent ![CDATA[div id=subComponent a href=# onclick=var wcall=wicketAjaxGet('/arp/?wicket:interface=:0:subComponent:link::IBehaviorListenerwicket:behaviorId=0', function() { }, function() { });return !wcall; id=subComponent_linkClick Me/a span3/span /div]]/component/ajax-response ERROR: Error while parsing response: Object required INFO: Invoking post-call handler(s)... INFO: Invoking failure handler(s)... -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. - End forwarded message - - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Page Expiration when first clicking AJAX
can you debug it some how? Can you figure out why the page is not found? Do you get the second time the same httpsession (that should be created on the first request) johan On 5/13/07, Andrew Berman [EMAIL PROTECTED] wrote: 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 you posted about? Is there any workaround right now? On 5/12/07, Johan Compagner [EMAIL PROTECTED] wrote: that really looks at the problem i already posted to the dev list, can you compare the pages before and after you refresh the page? look at the urls On 5/12/07, Andrew Berman [EMAIL PROTECTED] wrote: 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 auto redirects to /consumer/app/HomePage. However, even if I use the full URL of /consumer/app/HomePage, I still get the issue. You can actually see the issue in action if you go to http://www.cellphonetradeins.com and click, for example, the Cell Phones link on the side. I set the PageExpired page to be the home page, so the page simply refreshes or doesn't work at all. However, when you reload the page and then click the link, it works as desired. So basically, all AJAX links and buttons fail when you first go to the site when you have no cache. You can continue to replicate the issue if you keep clearing your cache and then go to the site again. Thanks again for your help, Andrew On 5/12/07, Johan Compagner [EMAIL PROTECTED] wrote: 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 Berman [EMAIL PROTECTED] wrote: Could there be an issue with the PageMap? On 5/11/07, Andrew Berman [EMAIL PROTECTED] wrote: I am having a strange issue. If I access my site for the first time (I clear all cookies, sessions, and cache before going to the site), the page comes up fine. However, if I click one of the AJAX links, I get a page expired error. Any thoughts why this is happening? I see it create a new session and the cookie, but it looks like the Ajax link is not valid for some reason. I am using Wicket 1.2.6. Any thoughts? Thanks for any help, Andrew - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by
Re: [Wicket-user] Wicket requiring one of my Spring managed beans to have a default constructor
Not directly related to your question, but you might like to know that the name property of @SpringBean defaults to your field name, so you could have written it like this... @SpringBean private ContentSettings contentSettings; @SpringBean private LearningItemRepository learningItemRepository; jk On Wed, May 09, 2007 at 05:36:52PM -0500, Matt Welch wrote: I am using the @SpringBean annotation to instantiate Spring dependencies in my wicket pages but I have one page that is giving me a error that I'm having trouble dealing with. Here's an example. The Wicket page class: public class Viewer extends WebPage { @SpringBean(name = contentSettings) private ContentSettings contentSettings; @SpringBean(name = learningItemRepository) private LearningItemRepository learningItemRepository; public Viewer() { //add some simple components to the page } } - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] BookmarkablePageLink converts String parameters to String[]? (Wicket 1.2.6)
Hi, Eelco, I did a short example, a simple (without much complexity, as the original page has) page2page flow by bookmarkable link, passing 2 parameters, but it's working the right way!? it's not converting String to String[] parameters. Strange behaviour... because the phenomenon is actually happening in the original page I developed at work... May I send you the whole original page? but I am afraid it won't be easy in time for me to provide you a unit test Saludos! On 5/8/07, Eelco Hillenius [EMAIL PROTECTED] wrote: Yep. Something like that. Manu, could you please provide me with a unit test showing your problem? I'd be happy to fix if I have one. I'm currently waiting on someone else sending us a test for a related problem. Cheers! Eelco On 5/8/07, Gerolf Seitz [EMAIL PROTECTED] wrote: i don't know exactly, but i think the change was made because returning a String[] is how it's in the spec. please correct me if i'm wrong or have the wrong conversation in mind. gerolf On 5/8/07, manu [EMAIL PROTECTED] wrote: Dear Sirs, I updated to Wicket 1.2.6 and I have found the following behavior when using BookmarkablePageLink (which was not happening before in Wicket 1.2.5). The code example is: private class Link1 extends BookmarkablePageLink { private static final long serialVersionUID = 1L; public Link1(String linkId, String labelId, String labelValue, PageParameters params) { super(linkId, Page1.class , params); this.add(new Label(labelId, labelValue)); } } When clicking on this link the error on Page1 (target page that recovers params) is: Caused by: java.lang.ClassCastException After debugging it, I found that the page parameters (Strings added to params) were converted to String[1], id est, all arrays, when creating the BookmarkablePageLink. So it seems that there inside happens this String2String[] transformation. To jump over this issue, for the moment, I had to switch to standard Link class, avoiding the use of BookmarkablePageLink. What's the solution to this? Thanks ;) - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] BookmarkablePageLink converts String parameters to String[]? (Wicket 1.2.6)
Hi, I've had a look into this. String parameters in the servlet-api spec are String arrays, so that you can go: ?color=redcolor=greencolor=blue ...and expect to get String[] color = String { red, green, blue }; This is why we have convenience methods for you (as does servlet-api). Construct your page with: public MyPage(PageParams params) { You can then go: String[] colors = params.getStringArray(color); (Which obviously returns the whole array.) Or: String color = params.getString(color); (Which just returns the first (likely the only) instance.) This behaves properly with both mounted BookmarkablePages, and also unmounted ones. Constructing a BookmarkablePageLink, with current 1.3.x code at least, results in the expected URL (for both mounted and unmounted pages). This is also interpreted correctly, as detailed above. I could be wrong, but I really don't think there's a bug here, in 1.3.x at least. Regards, Al - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Page Expiration when first clicking AJAX
I've been trying to debug, but am not sure what to really look for. No, I do not get the same session. One is definitely created on the first request and then I see another one created on the second request. On 5/13/07, Johan Compagner [EMAIL PROTECTED] wrote: can you debug it some how? Can you figure out why the page is not found? Do you get the second time the same httpsession (that should be created on the first request) johan On 5/13/07, Andrew Berman [EMAIL PROTECTED] wrote: 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 you posted about? Is there any workaround right now? On 5/12/07, Johan Compagner [EMAIL PROTECTED] wrote: that really looks at the problem i already posted to the dev list, can you compare the pages before and after you refresh the page? look at the urls On 5/12/07, Andrew Berman [EMAIL PROTECTED] wrote: 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 auto redirects to /consumer/app/HomePage. However, even if I use the full URL of /consumer/app/HomePage, I still get the issue. You can actually see the issue in action if you go to http://www.cellphonetradeins.com and click, for example, the Cell Phones link on the side. I set the PageExpired page to be the home page, so the page simply refreshes or doesn't work at all. However, when you reload the page and then click the link, it works as desired. So basically, all AJAX links and buttons fail when you first go to the site when you have no cache. You can continue to replicate the issue if you keep clearing your cache and then go to the site again. Thanks again for your help, Andrew On 5/12/07, Johan Compagner [EMAIL PROTECTED] wrote: 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 Berman [EMAIL PROTECTED] wrote: Could there be an issue with the PageMap? On 5/11/07, Andrew Berman [EMAIL PROTECTED] wrote: I am having a strange issue. If I access my site for the first time (I clear all cookies, sessions, and cache before going to the site), the page comes up fine. However, if I click one of the AJAX links, I get a page expired error. Any thoughts why this is happening? I see it create a new session and the cookie, but it looks like the Ajax link is not valid for some reason. I am using Wicket 1.2.6. Any thoughts? Thanks for any help, Andrew - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE
Re: [Wicket-user] Page Expiration when first clicking AJAX
maybe because ajax links do not have the jsessionid in them? but then again, the cookie should kick in by second request, so jsessionid in the ajax links is not really necessary. still, passing those urls through request.rewrite() might be something we want to think about. -igor On 5/13/07, Andrew Berman [EMAIL PROTECTED] wrote: I've been trying to debug, but am not sure what to really look for. No, I do not get the same session. One is definitely created on the first request and then I see another one created on the second request. On 5/13/07, Johan Compagner [EMAIL PROTECTED] wrote: can you debug it some how? Can you figure out why the page is not found? Do you get the second time the same httpsession (that should be created on the first request) johan On 5/13/07, Andrew Berman [EMAIL PROTECTED] wrote: 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 you posted about? Is there any workaround right now? On 5/12/07, Johan Compagner [EMAIL PROTECTED] wrote: that really looks at the problem i already posted to the dev list, can you compare the pages before and after you refresh the page? look at the urls On 5/12/07, Andrew Berman [EMAIL PROTECTED] wrote: 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 auto redirects to /consumer/app/HomePage. However, even if I use the full URL of /consumer/app/HomePage, I still get the issue. You can actually see the issue in action if you go to http://www.cellphonetradeins.com and click, for example, the Cell Phones link on the side. I set the PageExpired page to be the home page, so the page simply refreshes or doesn't work at all. However, when you reload the page and then click the link, it works as desired. So basically, all AJAX links and buttons fail when you first go to the site when you have no cache. You can continue to replicate the issue if you keep clearing your cache and then go to the site again. Thanks again for your help, Andrew On 5/12/07, Johan Compagner [EMAIL PROTECTED] wrote: 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 Berman [EMAIL PROTECTED] wrote: Could there be an issue with the PageMap? On 5/11/07, Andrew Berman [EMAIL PROTECTED] wrote: I am having a strange issue. If I access my site for the first time (I clear all cookies, sessions, and cache before going to the site), the page comes up fine. However, if I click one of the AJAX links, I get a page expired error. Any thoughts why this is happening? I see it create a new session and the cookie, but it looks like the Ajax link is not valid for some reason. I am using Wicket 1.2.6. Any thoughts? Thanks for any help, Andrew - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C
Re: [Wicket-user] HomePage url changes when user returns from a second wicket page
Any one have any ideas on the below? howzat wrote: 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. Under what circumstances would the HomePage head include something other than window.name=wicket:default? For example, when the user returns to the (same?) HomePage from another page (eg Page2, also a wicket page in the same app) using setResponsePage(new HomePage(showAlert,alertMessage) in its form's onSubmit() - because I need to pass in some indication of what has just happened on Page2), this markup in the HomePage head becomes script type=text/javascript !--/*--![CDATA[/*!--*/ if (window.name=='') { window.location=/wicket/test?wicket:interface=:3::INewBrowserWindowListener; } /*--]]*//script and I have a different url (http://localhost:8081/wicket/test?wicket:interface=:3::) in the address bar. Not so nice. Can this second type of url be avoided ? In Page2.java, if I use setResponsePage(new HomePage()), I also get this second type of url but if I use setResponsePage(HomePage.class) the address bar shows the nice url (http://localhost:8081/wicket/test). Is it because the original instance of HomePage is used only if I setResponsePage(HomePage.class)? -- View this message in context: http://www.nabble.com/HomePage-url-changes-when-user-returns-from-a-second-wicket-page-tf3732701.html#a10457690 Sent from the Wicket - User mailing list archive at Nabble.com. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Page Expiration when first clicking AJAX
we're getting some issue like this too and on only one server. Eelco Hillenius wrote: 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 the PageMap? On 5/11/07, Andrew Berman [EMAIL PROTECTED] wrote: I am having a strange issue. If I access my site for the first time (I clear all cookies, sessions, and cache before going to the site), the page comes up fine. However, if I click one of the AJAX links, I get a page expired error. Any thoughts why this is happening? I see it create a new session and the cookie, but it looks like the Ajax link is not valid for some reason. I am using Wicket 1.2.6. Any thoughts? Thanks for any help, Andrew - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- View this message in context: http://www.nabble.com/Page-Expiration-when-first-clicking-AJAX-tf3729176.html#a10457848 Sent from the Wicket - User mailing list archive at Nabble.com. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] 1.3 1.2.6
I have managed to spend a few hours looking at 1.2.6 over the last couple of weeks, and it is certainly better than any other framework I have come across for java web-apps. My only concern is the documentation, but the forum seems very active, so it will probably be able to fill the gaps whilst getting up to speed. In particular, some well organised and accessible high level design and key-concepts type documents would be a big bonus for someone coming from my angle and would make it much easier to work out how to do the basic stuff in the spirit of wicket without resorting to hours of googling and then, naive sounding questions to the forum! Anyway ... I was planning to stay put with 1.2.6 until 2.0 is closer to production, but perhaps I should go via 1.3 as this is very close to the 2.0 apis (minus the java 5 stuff, like generics etc) if I understand correctly(?). Has anyone else also looked into this? Can 1.3 do _everything_ 1.2.6 can do? And then some? Do the wicket team suggest such a roadmap for someone whose first commercial wicket app will go into development in early June? All advice/experiences welcome. -- View this message in context: http://www.nabble.com/1.3---1.2.6-tf3736135.html#a10457892 Sent from the Wicket - User mailing list archive at Nabble.com. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Wicket and web services
but you don't submit again because in the browser you never have the url of the post (at least in the default settings of wicket) because then we always do a redirect after post johan On 5/12/07, Lowell Kirsh [EMAIL PROTECTED] wrote: why would you test for post in the resulting page? The page has side effects, so if you are viewing it in your browser and press refresh, it should not execute again. Or at least, there should be a warning before submitting. I think my best bet is to not try to overload the functionality of this page. I will probably create another page for programmatic access. A form will be submitted to a page. (that will be done in a page and then method should be post) then a redirect will happen to a page that you set as a result page (or it is the same) and that page will not be in a post but will be in a get but how do you set the result page? you can try setRedirect(false) after you set the result page. How is your webservice access your page? that does the post to the form? But then you are in the submit and you know you are ok. johan On 5/11/07, Lowell Kirsh [EMAIL PROTECTED] wrote: I want some of my pages to be accessed programatically. Basically, that page may be accessed as a 'web service'. So the same page may be arrived at in 2 ways - the result of a form submission from another page in the same app, or the result of a direct http connection. When accessed as a web service, there are a few extra requirements - the page must be POSTed to, and there must be an extra http request header for authorization. I was thinking that the page could make sure that it always is POSTed to, but when arrived at in the context of a form submission in the application, it apparently ends up being the result of a redirect after the form post, so the page does not think it was posted to. So I think perhaps the page should only ensure it was posted to if it's from outside the application. Is there a way for the page to know that its referrer is another page in the same application? Check the referrer header? Is trying to overload this page like this crazy? I thought it would be less work and a cleaner design, but am not sure when I should just give up. Lowell - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] HomePage url changes when user returns from a second wicket page
Al, that is a very helpful reply, thank you! Yes, I have a lot to learn about wicket, but I know a lot more than I did a few days ago, and I like it so far. In my particular case, the page in question is the HomePage, so, since the user has already been there on her way to Page2, I suppose I will always need to create a new instance if I want to show an alert (for example) as the HomePage is visited from Page2's submit (eg user saved some data entered on a Page2 form by hitting submit). I acheived this, albeit by dubious methods (as you kindly pointed out), by including an alert in the head of the HomePage if the constructor that takes a message (eg HomePage(String successMessage)) is called using a StringHeaderContributor. I suppose I need to review this. On the other hand, it is still a useful learning exercise, either way, and I will now study your post in detail before I try again, cheers. Al Maw wrote: howzat wrote: ...using setResponsePage(new HomePage(showAlert,alertMessage)... I have a different url http://localhost:8081/wicket/test?wicket:interface=:3:: ... Is it because the original instance of HomePage is used only if I setResponsePage(HomePage.class)? You have a misconception regarding how this all works. ;-) URLs for pages can only be bookmarkable (i.e. stable, non-session-dependent) if your page has either a zero-arg constructor: public MyPage() { ... Or if it has a constructor that only has a PageParameters object in it: public MyPage(PageParameters params) { ... To get the user to such a page, with a stable URL, you need to use either: new BookmarkablePageLink(MyPage.class, params); or setResponsePage(MyPage.class, params); If you use: setResponsePage(new MyPage()); ...then the call to new MyPage() creates an instance of your page then and there, inside the onClick() handler or similar. This page you've created is then persisted within the user's session, and thus the next page hit needs to be to ?wicket:interface=foo so it can dig out *that particular instance*. The difference between this and a bookmarkable page URL is that with a bookmarkable page URL, the page is only create if the user goes to that link. In your case, the page is constructed in the submit/click handler of the form/link in your current page, before the new page view is even requested. So, you should avoid creating pages as you are. Instead, go: setResponsePage( MyPage.class, new PageParameters(Collections.singletonMap(alert, Hello!)) ); Then in your page: public void MyPage(PageParameters params) { String alert = params.getString(alert) if (alert != null) { Make sense? Al - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- View this message in context: http://www.nabble.com/HomePage-url-changes-when-user-returns-from-a-second-wicket-page-tf3732701.html#a10457997 Sent from the Wicket - User mailing list archive at Nabble.com. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] HomePage url changes when user returns from a second wicket page
howzat wrote: Al, that is a very helpful reply, thank you! No problem. ;-) Yes, I have a lot to learn about wicket, but I know a lot more than I did a few days ago, and I like it so far. Great! In my particular case, the page in question is the HomePage, so, since the user has already been there on her way to Page2, I suppose I will always need to create a new instance if I want to show an alert (for example) as the HomePage is visited from Page2's submit (eg user saved some data entered on a Page2 form by hitting submit). I acheived this, albeit by dubious methods (as you kindly pointed out), by including an alert in the head of the HomePage if the constructor that takes a message (eg HomePage(String successMessage)) is called using a StringHeaderContributor. I suppose I need to review this. On the other hand, it is still a useful learning exercise, either way, and I will now study your post in detail before I try again, cheers. If you wish, you can pass the home page into your Page2. add(new Link(someId) { public void onClick() { setResponsePage(new Page2(HomePage.this)); } }); And take the Page arg in Page2's constructor. That way, you have a reference to it, and can link back to that. It's probably better to do status alert type stuff using Wicket's FeedbackPanel (if it's for a form) or via some other Session-based mechanism, though. Have fun playing. Regards, Al - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] BookmarkablePageLink converts String parameters to String[]? (Wicket 1.2.6)
* Al Maw: This behaves properly with both mounted BookmarkablePages, and also unmounted ones. Hi Al, we're only talking about 1.2.6 in this thread. There appears to be a regression or incompatibility between 1.2.5 and 1.2.6. See: ClassCastException in WebRequestCodingStrategy https://issues.apache.org/jira/browse/WICKET-524 -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Wicket and web services
Hi, I'm not sure I understand what you just said. I think I do have the url of the post in my browser. That is, now that I have set redirect=false, when you reload the results page, it will execute the logic (with side effects) again. But I'm thinking perhaps I'm doing this wrong. Basically, I have a form and a results page. The way I have it now is that during the rendering of the results page, the side-effect-having logic gets executed. But I just realized another way of doing this would be to have that logic execute in the form page, and then pass the results of that to the results page. In general, when you have a form and a results page, do you want to put the side effect logic (eg. a database insert) in the form page or in the results page? On 5/13/07, Johan Compagner [EMAIL PROTECTED] wrote: but you don't submit again because in the browser you never have the url of the post (at least in the default settings of wicket) because then we always do a redirect after post johan On 5/12/07, Lowell Kirsh [EMAIL PROTECTED] wrote: why would you test for post in the resulting page? The page has side effects, so if you are viewing it in your browser and press refresh, it should not execute again. Or at least, there should be a warning before submitting. I think my best bet is to not try to overload the functionality of this page. I will probably create another page for programmatic access. A form will be submitted to a page. (that will be done in a page and then method should be post) then a redirect will happen to a page that you set as a result page (or it is the same) and that page will not be in a post but will be in a get but how do you set the result page? you can try setRedirect(false) after you set the result page. How is your webservice access your page? that does the post to the form? But then you are in the submit and you know you are ok. johan On 5/11/07, Lowell Kirsh [EMAIL PROTECTED] wrote: I want some of my pages to be accessed programatically. Basically, that page may be accessed as a 'web service'. So the same page may be arrived at in 2 ways - the result of a form submission from another page in the same app, or the result of a direct http connection. When accessed as a web service, there are a few extra requirements - the page must be POSTed to, and there must be an extra http request header for authorization. I was thinking that the page could make sure that it always is POSTed to, but when arrived at in the context of a form submission in the application, it apparently ends up being the result of a redirect after the form post, so the page does not think it was posted to. So I think perhaps the page should only ensure it was posted to if it's from outside the application. Is there a way for the page to know that its referrer is another page in the same application? Check the referrer header? Is trying to overload this page like this crazy? I thought it would be less work and a cleaner design, but am not sure when I should just give up. Lowell - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/
Re: [Wicket-user] 1.3 1.2.6
On 5/13/07, howzat [EMAIL PROTECTED] wrote: ... My only concern is the documentation, but the forum seems very active... You should get a copy of the Pro Wicket book. It is well worth the money. I was planning to stay put with 1.2.6 until 2.0 is closer to production, but perhaps I should go via 1.3 as this is very close to the 2.0 apis (minus the java 5 stuff, like generics etc) if I understand correctly(?). Someone correct me if I'm wrong, but it's my understanding that 2.0 has been abandoned for now in favor of putting all new functionality in 1.3. If you want to keep track of wicket's development, you will probably find this blog useful: http://martijndashorst.com/blog/ and in particular this post: http://martijndashorst.com/blog/2007/04/20/wicket-130-roadmap/ Lowell - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Exception loading sessions from persistent storage
But this is annoying for me because when i get this exception I have to manually restart tomcat again - which is not a big deal, but during development this is something I have to do many times a day. So is it possible to tell wicket not to save session data to disk? On 5/12/07, Johan Compagner [EMAIL PROTECTED] wrote: 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 restart my instance of tomcat from within eclipse: Exception loading sessions from persistent storage. This only happens sometimes and I can't figure out why. But rather than get to the root, since I'm not running in a clustered environment, I imagine I could solve this simply by turning off session saving to disk, right? How do I do that? Thanks, Lowell - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Autolinkresolver within Panel code
Hello, I am currently migrating my application from 1.2 to 1.3 Snapshot. So far this went very well. But now I have a little problem: All my pages are subclassed from a common basepage. That page has a Panel with login information and some links. On the basepage-markup, the html of the panel is copied to enable an offline preview for my webdesigner (he can work on the templates from within Dreamweaver). The links have a href attribute, so that offline navigation is possible. This worked well in 1.2. In 1.3, I get a markup error at the start of the link: org.apache.wicket.markup.MarkupException: Expected close tag for div id=loginInfoPanel0 wicket:id=loginInfoPanel The page being reported to have a problem is the subpage (!). Now when I remove the href from the links in the basepage (!), all pages render fine, although the links are still there in the subpage-markups, though outside of wicket:extend. So, in this case it was not that big of a deal, but I think this problem might come again. I think it has something to do with Autolinkresolver trying to generate new links in places where he shouldn't. Is it possible to disable this? Should I file a JIRA for this, maybe with a little quickstart? Or am I expecting too much here anyway? I had a similar problem with reproducing panel code to the base page in 1.2 - so where was that current version of this wicket:preview JavaScript again ;-) -- greetings from Berlin, Rüdiger Schulz www.2rue.de - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] DatePicker format instructions ignored
I have a DateTextField and I have associated a DatePicker with it as per the javadocs' example usage. When the user selects a date from the DatePicker I would like it to use a format _other than_ dd/MM/ to populate the DateTextFiled. I have tried using the setIfDate() setting (the javadoc says it's deprecated but does not say what to use instead) on the DatePickerSettings and the set DateConverter on the DatePicker itself but my DateTextField (which knows and respects my selected format-pattern) always gets a dd/MM/ from the DatePicker. Is there a way around this? The format I am after is -MM-dd. -- View this message in context: http://www.nabble.com/DatePicker-format-instructions-ignored-tf3741104.html#a10508113 Sent from the Wicket - User mailing list archive at Nabble.com. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] repeating the same text in several places on one page
I'd like to repeat the same thing in several spots on the same page. Does this mean that I have to create several labels? Or is there a way I could have them all reference the same label? Thanks, Lowell - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Autolinkresolver within Panel code
A quickstart would be great -Juergen On 5/14/07, Rüdiger Schulz [EMAIL PROTECTED] wrote: Hello, I am currently migrating my application from 1.2 to 1.3 Snapshot. So far this went very well. But now I have a little problem: All my pages are subclassed from a common basepage. That page has a Panel with login information and some links. On the basepage-markup, the html of the panel is copied to enable an offline preview for my webdesigner (he can work on the templates from within Dreamweaver). The links have a href attribute, so that offline navigation is possible. This worked well in 1.2. In 1.3, I get a markup error at the start of the link: org.apache.wicket.markup.MarkupException: Expected close tag for div id=loginInfoPanel0 wicket:id=loginInfoPanel The page being reported to have a problem is the subpage (!). Now when I remove the href from the links in the basepage (!), all pages render fine, although the links are still there in the subpage-markups, though outside of wicket:extend. So, in this case it was not that big of a deal, but I think this problem might come again. I think it has something to do with Autolinkresolver trying to generate new links in places where he shouldn't. Is it possible to disable this? Should I file a JIRA for this, maybe with a little quickstart? Or am I expecting too much here anyway? I had a similar problem with reproducing panel code to the base page in 1.2 - so where was that current version of this wicket:preview JavaScript again ;-) -- greetings from Berlin, Rüdiger Schulz www.2rue.de - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] How to display applet in wicket?
anyone help this. edwarddurai wrote: 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 graph, x axis contains Date and y axis contains average speed. BUt i am getting class not found exception. html head titleGraph/title /head body APPLET CODE=mywicket.examples.Graph.class WIDTH=900 HEIGHT=400 PARAM name=title value=Date Vs Average Speed/ PARAM name=show_small_squares value=6/ PARAM name=vret_grid_off/ PARAM name=show_legend_on_right/ PARAM name=legend_border_off/ PARAM name=show_percents_on_legend/ PARAM name=X_axis_description value=Average Speed/ PARAM name=Y_axis_description value=Date/ PARAM name=variation_series value=1/4/2007,2/4/2007,3/4/2007,4/4/2007,5/4/2007,6/4/2007,7/4/2007,8/4/2007,9/4/2007/ !-- Dynamic -- PARAM name=data_set_1 value=13,27,50,70,10,30,30,20,80/!-- Dynamic -- PARAM name=description_1 value=item1/ /APPLET /body /html Robert Novotny wrote: 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 loading and use 'Show Java Console' from the popup menu). Besides that, this is an applet page from our project: HTML template: !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; html xmlns=http://www.w3.org/1999/xhtml; head titleApplet Page/title /head body div id=main h1User profile/h1 applet code=uinf.wid.tools.UserProfileApplet.class archive=applets.jar,log4j-1.2.12.jar name=UserProfileApplet width=800 height=600 /applet /div /body /html Corresponding Java class: public class UserProfileAppletPage extends WebPage { public static final Logger logger = Logger.getLogger(UserProfileAppletPage.class); public UserProfileAppletPage() { logger.debug(UserProfileAppletPage loaded.); } } edward durai wrote: 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 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 in both cases. edward durai wrote: Hi, I have tried. but i am not able to display that applet. Please give me one sample. Thanks Robert Novotny wrote: Hello, there is nothing special in displaying applets in wicket pages. Just put the proper applet tags into the HTML page template. You don't even need to have corresponding components in the Java class, since applet is not a wicket component. Robert Novotny edward durai wrote: Hi to all, I have one graph.java file. In HTML I can display like APPLET CODE=graph.class WIDTH=900 HEIGHT=400 PARAM name=title value=Date Vs Average Speed PARAM name=X_axis_description value=Average Speed PARAM name=Y_axis_description value=Date PARAM name=variation_series value=1/4/2007,2/4/2007,3/4/2007,4/4/2007,5/4/2007,6/4/2007,7/4/2007,8/4/2007,9/4/2007 !-- Dynamic -- PARAM name=data_set_1 value=13,27,50,70,10,30,30,20,80!-- Dynamic -- PARAM name=description_1 value=item1 /APPLET In Wicket, how can I display this applet file? Please explain me. Thank you for answering -- View this message in context: http://www.nabble.com/How-to-display-applet-in-wicket--tf3725676.html#a10555730 Sent from the Wicket - User mailing list archive at Nabble.com. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Where is the mailing list archive?
I've just joined the mailing list and wish to search the archive so that I don't bother you with questions already answered. But where is the archive? The archive links on http://wicketframework.org/mail-lists.html result in errors and searching on sourceforge yields nothing. Mark - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] repeating the same text in several places on one page
you cannot reuse the same label more then once in markup. there are various reasons for this that have to do with how wicket works internally. what you can do is reuse the instance of model that drives the labels. -igor On 5/13/07, Lowell Kirsh [EMAIL PROTECTED] wrote: I'd like to repeat the same thing in several spots on the same page. Does this mean that I have to create several labels? Or is there a way I could have them all reference the same label? Thanks, Lowell - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user