Re: [Wicket-user] Browser not caching my images
the context path for the site is /myweb but wicket servlet path was /* i have changed the wicket servlet path to /app and its working faster now so that the full path is www.mysite.com/myweb/app it really does not have anything to do with the code but web.xml config however, in my html, i have img src=images/myimage.gif / and whenever i have a wicket image like img wicket:id=image src=/myweb/images/myimage.gif / notice that i had to append the context path for the webapp (not wicket servlet path). until I did that my wicket images dont load in wicket1.2.6unlike wicket 1.2.4 On 7/23/07, Eelco Hillenius [EMAIL PROTECTED] wrote: On 7/20/07, Ayodeji Aladejebi [EMAIL PROTECTED] wrote: I recently upgraded to wicket 1.2.6 and although this time my application path is /* With a servlet? Sure that's a good idea? and i realized for each page refresh or event, the same sets of images seems to be loading all over again making loading appear slow How do you add these images? Any code you can share? Eelco - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Page encoding
Hello everyone! My page markups contain cyrillic strings and the files are encoded in cp1251. If the server's locale is set to Russian everything works fine. But if it's set to English (US) I get Âõîä instead of Вход. I examined character codes and figured out that the problem is that the markups are read as ISO-8859-1 but not cp1251. How can I override such behavior and point the exact markup encoding explicitly? -- View this message in context: http://www.nabble.com/Page-encoding-tf4128102.html#a11739389 Sent from the Wicket - User mailing list archive at Nabble.com. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Page encoding
http://cwiki.apache.org/WICKET/how-to-change-the-character-encoding.html On 7/23/07, wheleph [EMAIL PROTECTED] wrote: Hello everyone! My page markups contain cyrillic strings and the files are encoded in cp1251. If the server's locale is set to Russian everything works fine. But if it's set to English (US) I get Âõîä instead of Вход. I examined character codes and figured out that the problem is that the markups are read as ISO-8859-1 but not cp1251. How can I override such behavior and point the exact markup encoding explicitly? -- View this message in context: http://www.nabble.com/Page-encoding-tf4128102.html#a11739389 Sent from the Wicket - User mailing list archive at Nabble.com. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Wicket joins the Apache Software Foundation as Apache Wicket Apache Wicket 1.3.0-beta2 is released Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta2/ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Page encoding
Martijn Dashorst wrote: http://cwiki.apache.org/WICKET/how-to-change-the-character-encoding.html Thanks for the great link. I've set default markup encoding explicitly and it gave the desired result: code public class EcoApplication extends SpringWebApplication { ... public final void init() { ... getMarkupSettings().setDefaultMarkupEncoding(cp1251); } ... } /code -- View this message in context: http://www.nabble.com/Page-encoding-tf4128102.html#a11739699 Sent from the Wicket - User mailing list archive at Nabble.com. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Regarding folder selection in Wicket
Hi, In html, input type=file name=browser I can select the file path. But How can I select folder path? Please explain in html and with wicket also Thanking You Regards Durai -- View this message in context: http://www.nabble.com/Regarding-folder-selection-in-Wicket-tf4129193.html#a11742236 Sent from the Wicket - User mailing list archive at Nabble.com. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] .setVisble not working for webmarkupcontainer
Hi, 1.I have a WebMarkupContainer with some components nested. I do setVisible(false) to it when page loadslater on an ajax request I try to do .setVisible(true) and repaint it adding it to AjaxRequestTarget IT DOES NOT SHOW UP Am I going wrong in something? __ Sent from my www.pageflakes.com startpage - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] .setVisble not working for webmarkupcontainer
iirc, you have to call .setOutputMarkupPlaceHolder(true) on the webmarkupcontainer to make this work. gerolf On 7/23/07, atul [EMAIL PROTECTED] wrote: Hi, 1.I have a WebMarkupContainer with some components nested. I do setVisible(false) to it when page loadslater on an ajax request I try to do .setVisible(true) and repaint it adding it to AjaxRequestTarget IT DOES NOT SHOW UP Am I going wrong in something? __ Sent from my www.pageflakes.com startpage - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Regarding Wicket with Dynamic Data
Hi, my database is mssql/oracle or any. Consider I have one table name username and address. In table, I have 10 username and its addresses. I don't have any design pages for this table. My aim is, Initially When I click one link, I have to display username and addressess both textboxes should be displayed and search button also should be displayed. Is it possible? without declaring field id's(username, password), how can I display all the fiedls from DB? Please send your suggestions. Thanking You. Regards, Edi -- View this message in context: http://www.nabble.com/Regarding-Wicket-with-Dynamic-Data-tf4129343.html#a11742646 Sent from the Wicket - User mailing list archive at Nabble.com. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] one component class , many markap
Thanks. This is what I needed. Dmitry. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Igor Vaynberg Sent: Tuesday, July 17, 2007 7:43 PM To: wicket-user@lists.sourceforge.net Subject: Re: [Wicket-user] one component class , many markap see component.getvariation() override that, then the markup file used is componentname_variation.html but the component hierarchy still has to match. if you want different hierarchies within the component then use fragments -igor On 7/17/07, Дмитрий Ржевский [EMAIL PROTECTED] wrote: Hello All. Is it possible to create component which: 1) Component has one java class. 2) Component choose markup file depending on his state. Dmitry. - 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: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] one component class , many markap
Thank you. This probably will be useful in future. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eelco Hillenius Sent: Tuesday, July 17, 2007 9:30 PM To: wicket-user@lists.sourceforge.net Subject: Re: [Wicket-user] one component class , many markap On 7/17/07, Igor Vaynberg [EMAIL PROTECTED] wrote: see component.getvariation() override that, then the markup file used is componentname_variation.html but the component hierarchy still has to match. if you want different hierarchies within the component then use fragments And for the extreme case (e.g. when you want to load from a database) you can do custom loading. See the custom resource loading example of wicket-examples. Eelco - 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: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] one component class , many markap
In our project we need to create following programs: Administrator upload 1)html template file (which containing markup for forms) 2)xml file and than contain information about fields (type, for fill comboboxex - where search data) User fill forms created by administrator and save information in DB. Dmitry. Dobriy den'. Priyatno poobshat'sya s chelovekom kotoriy govorit po russki :) V nashem proekte nuzhno dinamicheski sozdavat' formi Administrator zagruzhaet: 1)file shablona formy(opisivaushiy kak viglyadet forma). 2)xml file soderzhashiy informaciu o poleyax vvoda (tip, otkuda brat' string dla zapolneniya komboboksov). Posle etogo pol'zovatel' mozhet ispol'zovat' formu dlya zapolneniya BD. Dmitry. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Francisco Diaz Trepat - gmail Sent: Tuesday, July 17, 2007 6:46 PM To: wicket-user@lists.sourceforge.net Subject: Re: [Wicket-user] one component class , many markap Dobre dien Dimitry, ya gabaru paruski chuchuit. Da, Ya dumayu ti moshes sdielaet. Can you spesify a bit more, there are some different ways to implement that. Panels, Fragments, etc. if I understand you correctly. Ochin priantna, Soius Nie Rushimy, f(t) On 7/17/07, Дмитрий Ржевский [EMAIL PROTECTED] wrote: Hello All. Is it possible to create component which: 1) Component has one java class. 2) Component choose markup file depending on his state. Dmitry. - 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: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Regarding Wicket with Dynamic Data
Hello Edi, please visit www.databinder.net if you still have questions, welcome. Cheers, Monday, July 23, 2007, 2:24:47 PM, you wrote: Hi, my database is mssql/oracle or any. Consider I have one table name username and address. In table, I have 10 username and its addresses. I don't have any design pages for this table. My aim is, Initially When I click one link, I have to display username and addressess both textboxes should be displayed and search button also should be displayed. Is it possible? without declaring field id's(username, password), how can I display all the fiedls from DB? Please send your suggestions. Thanking You. Regards, Edi -- Best regards, Olegmailto:[EMAIL PROTECTED] - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Magazine
- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Regarding folder selection in Wicket
you cannot. input type=file can only upload files. -igor On 7/23/07, Durai007 [EMAIL PROTECTED] wrote: Hi, In html, input type=file name=browser I can select the file path. But How can I select folder path? Please explain in html and with wicket also Thanking You Regards Durai -- View this message in context: http://www.nabble.com/Regarding-folder-selection-in-Wicket-tf4129193.html#a11742236 Sent from the Wicket - User mailing list archive at Nabble.com. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] validator.w3.org validation
Maris Orbidans wrote: I hope it will be fixed. Is there a JIRA issue so we can vote for it ? My WEB app. would be 100% valid, if not those ampersands in links. I fixed this in trunk about a week ago. Regards, Al -- Alastair Maw Wicket-biased blog at http://herebebeasties.com - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Repaint single cell of DataTable, where cell is a Fragment
i believe the cause of both problems was the same -igor On 7/23/07, ChuckDeal [EMAIL PROTECTED] wrote: igor.vaynberg wrote: svn update and your quickstart will work -igor On 7/20/07, ChuckDeal [EMAIL PROTECTED] wrote: I am attempting to work around the problem I described here: http://www.nabble.com/Repaint-single-row-of-a-DataTable-tf4111859.html As a result, now instead of adding the row to the target, I add each formComponent WITHIN the row. The cells of my DataTable are Fragments that represent a FormComponent (TextField, etc). I declare the wicket:fragment in my Panel which contains the DataTable. DataTable has its own associated markup, which means that when MarkupFragmentFinder attempts to find the markup for my components, it fails because the parentWithAssociatedMarkup is the DataTable that contains the Component (the Fragment) not the Panel that defined the fragment. So, this means that I can't repaint a DataTable by row and I also can't repaint individual cell Components if they are Fragments. Do you think that it is possible to resolve these shortcomings with DataTable or should I attempt to make my own impl of something like a DataTable? Obviously, I lose the magic of the DataTable, but if neither of the two issues can be resolved, I guess I have no other choice. Chuck Excellent! Now, is the issue I describe above worthy of attention? Since I can now repaint a row, this problem won't affect me, but it still seems valid. -- View this message in context: http://www.nabble.com/Repaint-single-cell-of-DataTable%2C-where-cell-is-a-Fragment-tf4118377.html#a11748496 Sent from the Wicket - User mailing list archive at Nabble.com. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Having problems with ModalWindow and AjaxSubmitButton
In my parent page I create a ModalWindow which has ajaxsubmitbuttons and works just fine. Within that modal window I have a link which will take the user to another page within the same ModalWindow. That also has AjaxSubmitButtons but they do not appear to be called. The onclick in the source is showing the link to be: onclick=var wcall=wicketSubmitFormById('blendedBuyForm', '/?wicket:interface=modal-dialog-pagemap:1:blendedBuyForm:cancel:-1:IUnversionedBehaviorListenerwicket:behaviorId=0wicket:ignoreIfNotActive=true', null, function() { }, function() { });;; return false; that -1 next to cancel doesn't look right. Did I miss something when setting this up? This is the ajax debug: NFO: INFO: Initiating Ajax POST request on /?wicket:interface=modal-dialog-pagemap:1:blendedBuyForm:cancel:-1:IUnversionedBehaviorListenerwicket:behaviorId=0wicket:ignoreIfNotActive=truerandom=0.5978146078408596 INFO: Invoking pre-call handler(s)... INFO: Received ajax response (69 characters) INFO: ?xml version=1.0 encoding=UTF-8?ajax-response/ajax-response INFO: Response parsed. Now invoking steps... INFO: Response processed successfully. INFO: Invoking post-call handler(s)... -- View this message in context: http://www.nabble.com/Having-problems-with-ModalWindow-and-AjaxSubmitButton-tf4131281.html#a11749014 Sent from the Wicket - User mailing list archive at Nabble.com. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Having problems with ModalWindow and AjaxSubmitButton
Are you sure the form validates right? -Matej On 7/23/07, carbonbasednerd [EMAIL PROTECTED] wrote: In my parent page I create a ModalWindow which has ajaxsubmitbuttons and works just fine. Within that modal window I have a link which will take the user to another page within the same ModalWindow. That also has AjaxSubmitButtons but they do not appear to be called. The onclick in the source is showing the link to be: onclick=var wcall=wicketSubmitFormById('blendedBuyForm', '/?wicket:interface=modal-dialog-pagemap:1:blendedBuyForm:cancel:-1:IUnversionedBehaviorListenerwicket:behaviorId=0wicket:ignoreIfNotActive=true', null, function() { }, function() { });;; return false; that -1 next to cancel doesn't look right. Did I miss something when setting this up? This is the ajax debug: NFO: INFO: Initiating Ajax POST request on /?wicket:interface=modal-dialog-pagemap:1:blendedBuyForm:cancel:-1:IUnversionedBehaviorListenerwicket:behaviorId=0wicket:ignoreIfNotActive=truerandom=0.5978146078408596 INFO: Invoking pre-call handler(s)... INFO: Received ajax response (69 characters) INFO: ?xml version=1.0 encoding=UTF-8?ajax-response/ajax-response INFO: Response parsed. Now invoking steps... INFO: Response processed successfully. INFO: Invoking post-call handler(s)... -- View this message in context: http://www.nabble.com/Having-problems-with-ModalWindow-and-AjaxSubmitButton-tf4131281.html#a11749014 Sent from the Wicket - User mailing list archive at Nabble.com. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Having problems with ModalWindow and AjaxSubmitButton
That was the issue. Which is odd - really wasn't anything to validate. To test I had overridden the validate method on the form and did nothing with it and now it works. thanks for the help. Matej Knopp-2 wrote: Are you sure the form validates right? -Matej On 7/23/07, carbonbasednerd [EMAIL PROTECTED] wrote: In my parent page I create a ModalWindow which has ajaxsubmitbuttons and works just fine. Within that modal window I have a link which will take the user to another page within the same ModalWindow. That also has AjaxSubmitButtons but they do not appear to be called. The onclick in the source is showing the link to be: onclick=var wcall=wicketSubmitFormById('blendedBuyForm', '/?wicket:interface=modal-dialog-pagemap:1:blendedBuyForm:cancel:-1:IUnversionedBehaviorListenerwicket:behaviorId=0wicket:ignoreIfNotActive=true', null, function() { }, function() { });;; return false; that -1 next to cancel doesn't look right. Did I miss something when setting this up? This is the ajax debug: NFO: INFO: Initiating Ajax POST request on /?wicket:interface=modal-dialog-pagemap:1:blendedBuyForm:cancel:-1:IUnversionedBehaviorListenerwicket:behaviorId=0wicket:ignoreIfNotActive=truerandom=0.5978146078408596 INFO: Invoking pre-call handler(s)... INFO: Received ajax response (69 characters) INFO: ?xml version=1.0 encoding=UTF-8?ajax-response/ajax-response INFO: Response parsed. Now invoking steps... INFO: Response processed successfully. INFO: Invoking post-call handler(s)... -- View this message in context: http://www.nabble.com/Having-problems-with-ModalWindow-and-AjaxSubmitButton-tf4131281.html#a11749014 Sent from the Wicket - User mailing list archive at Nabble.com. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ 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/Having-problems-with-ModalWindow-and-AjaxSubmitButton-tf4131281.html#a11750892 Sent from the Wicket - User mailing list archive at Nabble.com. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] About to use Wicket. ORM?
Hi, after much evaluation I have finally decided to go with Wicket as the main framework for a new enterprise site and I think I'll be pleased. I have a long road ahead of me though, because while I have much experience with developing desktop applications I'm afraid my understanding of the http request cycle will initially make it hard to just let go and stop micromanaging... But anyway, what I still haven't decided is which ORM (if any) framework that I should go with. I have previously developed an in-house ORM system which has all the basic features I need (lazy-loading, easy population of beans, an object-oriented query language etc.), but I'm well aware of that I did it to begin with because I was afraid of letting go of my precious sql statements. Not having perfect control of the generated sql statements would be hard, but I guess I just have to wake up and realize that perhaps in these days it doesn't really matter if an sql statement or two could be optimized if you were to perform the joins in this way instead or whatnot. I was hoping I could get some feedback on how people have worked with different ORMs with Wicket. I have some experience with Hibernate, though it was a little to much of a blackbox to me when I used it. For example, I see that DataBinder has popped up as a bridge between specifically Wicket and Hibernate. Any comments on how well it works? Thanks in advance, Matthias - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] menu or Drop Down w/ arbitrary HTML content?
(Trying not to let my preconceived notions about old school HttpRequest/Response style apps and/or hand coded DHTML javascript cloud my thinking, but it's not easy...) Sometimes I find myself longing for a more comprehensive wicket cookbook; wicket-examples starts to go down that road, but isn't as comprehensive as I hoped. There might be a CSS aspect to this question as well: I'm trying to make a kind of menu panel that is usually hidden, but contains arbitrary HTML (at least captions and checkboxes) and that shows updirectly underneath a label. The panel would appear over any HTML content beneath it, positioned under the label that the user clicked on. I've been browsing the usual suspects of wicket examples, I might not be looking for the right keywords; Popups are usually the moral equivalent of a href= target=_new, Dropdowns usually refer to HTML select-boxish things, and ModalWindow is close, but I actually want clicking elsewhere to dismiss the dialog. Also, what happened to http://www.wicket-library.com/ ? - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] About to use Wicket. ORM?
For an enterprise app I don't think that you want Wicket and your ORM to even know that one another exist. I.e. Wicket ^ | v Domain Application ^ | v ORM That said, I've been happy with Hibernate. Good luck, Scott On 7/23/07, Matthias Karlsson [EMAIL PROTECTED] wrote: Hi, after much evaluation I have finally decided to go with Wicket as the main framework for a new enterprise site and I think I'll be pleased. I have a long road ahead of me though, because while I have much experience with developing desktop applications I'm afraid my understanding of the http request cycle will initially make it hard to just let go and stop micromanaging... But anyway, what I still haven't decided is which ORM (if any) framework that I should go with. I have previously developed an in-house ORM system which has all the basic features I need (lazy-loading, easy population of beans, an object-oriented query language etc.), but I'm well aware of that I did it to begin with because I was afraid of letting go of my precious sql statements. Not having perfect control of the generated sql statements would be hard, but I guess I just have to wake up and realize that perhaps in these days it doesn't really matter if an sql statement or two could be optimized if you were to perform the joins in this way instead or whatnot. I was hoping I could get some feedback on how people have worked with different ORMs with Wicket. I have some experience with Hibernate, though it was a little to much of a blackbox to me when I used it. For example, I see that DataBinder has popped up as a bridge between specifically Wicket and Hibernate. Any comments on how well it works? Thanks in advance, Matthias - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Scott Swank reformed mathematician - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] .setVisble not working for webmarkupcontainer
The problem is that you have hidden the container in which the components were placed, and later when wicket attempts to add the components, it can't find the place where to. As Dipu says, you must modify the visibility of the inner components, not the container, so when wicket attempts to add the components, it can find the container to place them. Chris On 7/23/07, Dipu Seminlal [EMAIL PROTECTED] wrote: Don't change the visibility of the container you are trying to repaint. Instead try changing the visibility of the components nested inside the container. Hope that makes sense. Regards Dipu On 7/23/07, atul [EMAIL PROTECTED] wrote: Hi, 1.I have a WebMarkupContainer with some components nested. I do setVisible(false) to it when page loadslater on an ajax request I try to do .setVisible(true) and repaint it adding it to AjaxRequestTarget IT DOES NOT SHOW UP Am I going wrong in something? __ Sent from my www.pageflakes.com startpage - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] .setVisble not working for webmarkupcontainer
On 7/23/07, Christian Alejandro Marquez Grabia [EMAIL PROTECTED] wrote: The problem is that you have hidden the container in which the components were placed, and later when wicket attempts to add the components, it can't find the place where to. As Dipu says, you must modify the visibility of the inner components, not the container, so when wicket attempts to add the components, it can find the container to place them. Both suggestions are good. As far as I know, setOutputMarkupPlaceholderTag(true) should work as well. Eelco - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] .setVisble not working for webmarkupcontainer
On 7/23/07, Eelco Hillenius [EMAIL PROTECTED] wrote: On 7/23/07, Christian Alejandro Marquez Grabia [EMAIL PROTECTED] wrote: The problem is that you have hidden the container in which the components were placed, and later when wicket attempts to add the components, it can't find the place where to. As Dipu says, you must modify the visibility of the inner components, not the container, so when wicket attempts to add the components, it can find the container to place them. Both suggestions are good. As far as I know, setOutputMarkupPlaceholderTag(true) should work as well. yep, setoutputmarkupplaceholdertag() was actually created just to make a situation like this easier - remove the need for an extra container that was often added just to have an always-visible tag in markup to repaint. -igor Eelco - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Logging session contents
Hi all, how can I debug what is being stored into the session? Sometimes there are classes that are Serializable by other reasons than wicket session keeping and are silently serialized into the session. For non-serializable classes I get an exception when logging is at DEBUG level, but I would like to know about every instance that is being stored into the session for a given page. Thank you in advace. Cheers, Carlos - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Custom session not working...
I have a custom session class that inherits from WebSession. I have overridden the newSession method in my Application class. The session is getting used during the request, because I initialize some of its values in its constructor, and they show up when I attach a label to them in a page. A new session gets created with every request, however, which obviously is not the desired behavior. For instance, I have an Integer, and I initialize it to 1 in the constructor, and increment it before each page display. I always get back a 2 on the page. What else do I need to do to get the custom session working under 1.3? Related to this, can someone provide me a download link to the 1.3 examples? The live examples page does not allow you to view the source for the stateless example, which seems like it may have some relevant code in it, and I cannot find a download link for the 1.3 examples. The 1.2 examples do not have that particular example, from what I can tell. Thanks for any pointers. -- View this message in context: http://www.nabble.com/Custom-session-not-working...-tf4132685.html#a11753550 Sent from the Wicket - User mailing list archive at Nabble.com. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Custom session not working...
I have a custom session class that inherits from WebSession. I have overridden the newSession method in my Application class. The session is getting used during the request, because I initialize some of its values in its constructor, and they show up when I attach a label to them in a page. A new session gets created with every request, however, which obviously is not the desired behavior. For instance, I have an Integer, and I initialize it to 1 in the constructor, and increment it before each page display. I always get back a 2 on the page. It sounds like your page is stateless, and the session instances are temporary. As long as a session is not 'bound', you'll get a separate instance per request and Wicket won't hold on to heap memory. You can force the creation of a session by calling Session#bind, which I think you should be able to call from your constructor as well. Related to this, can someone provide me a download link to the 1.3 examples? The live examples page does not allow you to view the source for the stateless example, which seems like it may have some relevant code in it, and I cannot find a download link for the 1.3 examples. The 1.2 examples do not have that particular example, from what I can tell. Use http://wicketstuff.org/wicket13/ to look at the examples. The wicket-examples site is stale. As for downloading the examples for 1.3.0, at this time you can best get them from SVN directly, or download them from our maven repo at http://wicketstuff.org/maven/repository/org/apache/wicket/wicket-examples/1.3.0-SNAPSHOT/ Eelco - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Sessionless Wicket?
this is generally in sync with what i know about session usage. if you're using 1.3 and detachable models and so forth, 20K sessions on a reasonable box is not going to be a problem. wicket pages really are pretty small. a very complex one might be 50-100K and i've never actually seen one much over about 100K myself. and since 1.3 pages everything but the most recent page to disk, you've got maybe 50K per session. complex pages could be 80-100K, but simpler pages can also be 15K or less. if you take 50K as an average, that's 20 per MB * 1GB (1,000 MB) = 20,000. Steven Zou wrote: Hi,Maciej,really? it's so exciting. we're choosing framework now,and I prefer wicket, but the heavy session is my care. but there're some questions: (1)where you result from? Is the 20,200 reality request and not from jmeter(or other stress test tool)? (2)300MB/20,000=15KB,Does it mean only 15KB per session? I think 15KB isn't enough for only one page. (3)Would you like give us some experience for so high load web application? thanks. Maciej Andreas Bednarz wrote: Hello Jeremy, try also to disable any versioning and use read only models. I have tuned my private wicket project this way and it now supports more than 20.000 concurrent sessions on a single tomcat server. If everything in your model is serializable you can also use tomcats disk or jdbc persistence store for sessions. There is also a terracotta project, so you can cluster your wicket (1.3) application lineary. My average memory usage with 20.000 sessions in memory and very complex page structures (multiple including page object levels) is about 300MB. I think this could serve even a large community site :-) Maciej - Original Message - From: Igor Vaynberg To: [EMAIL PROTECTED] ; wicket-user@lists.sourceforge.net Sent: Thursday, May 03, 2007 7:27 AM Subject: Re: [Wicket-user] Sessionless Wicket? detachable models are a must. in my experience a wicket page is only about 50kb on average. that would hardly cause an OOME on a server. 1.3 has second level session store that pages to disk, so that is something else you might want to try. once you convert to detachable models oomes should go away. there is an example in wicket-examples on stateless stuff if you need to go that far. -igor On 5/2/07, Jeremy Thomerson [EMAIL PROTECTED] wrote: I know that I read somewhere that there is, or is going to be, a way to run your wicket application without creating a session (until absolutely necessary). We have a site that has mostly been converted to Wicket now, and almost all of it is state-less data The URLs are all bookmarkable (98% of them are), so there is not much state to track. We don't need a full object graph of all your pages and components, except for on very few pages once you have signed in. We're experiencing out of memory problems increasingly with an increase in traffic. I'm not holding much in the session, but objects are held in pages and components I now believe we should have used detachable models for many things rather than directly holding a reference to a DB-backed object. Should I start by going back and retrofitting many of those private references within components to use detachable models so that the objects are not held in memory? Any other suggestions? Thank you! Jeremy Thomerson texashuntfish.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 -- - 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] Reloading servlet fails for directory with whitespaces
Hi, this is for Jean Baptiste, I opened a jira issue here https://issues.apache.org/jira/browse/WICKET-778. Cheers, Carlos - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Repaint single row of a DataTable
On Thu, 19 Jul 2007, ChuckDeal wrote: I am not locked into the DataTable, but I think the repeater is the best component for what I am trying to do. Is that correct? My general feeling, based on the couple of Wicket projects that I've been involved in, is that DataTable is best suited for a case where you want a fairly finished out-of-the-box implementation without a lot of custom tweaking or extra functionality. To make a grid in which you can repaint single rows I would try something that starts from more bare-bones components such as DataView and finding the relevant Items with IVisitor (operating e.g. on the DataView during the ajax request processing). We have done something similar but a bit simpler as we didn't allow editing the grid directly. Note the potential for race conditions if the user enters text and then, while the ajax request is being processed, clicks a row to be updated = boom. We worked around this by disabling the grid during ajax request processing (by using a layover being toggled by IAjaxIndicatorAware), but that cannot really be used if the grid itself is being edited and precisely editing it will toggle ajax events updating it. HTH, YMMV :) - Timo -- Timo Rantalaiho Reaktor Innovations OyURL: http://www.ri.fi/ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] IComponent*POST*InstantiationListener
Hi all, sometimes I find useful to be able to do some initialization once my component is attached to its hierarchy, mainly to be able to call getPage(). For example, if there are relevant events along some page lifecycle maybe panels contained in it may want to add themselves as listeners: ((MyPage)getPage()).addMyEventListener(this). Or maybe a model is attached to the page and you don't want to pass it deep down the hierarchy but just obtain it from the page when needed. For now I'm just visiting page components first time the page is attached (that is, I'm overriding onAttach). This implementation is fine but maybe the aforementioned event should be a provided, standard one. What do you think about it? Thank you in advance Cheers, Carlos - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user