Re: AjaxLink overridden by SimpleAttributeModifier(onclick)
See IAjaxCallDecorator new AjaxLink(...) { ... protected IAjaxCallDecorator getAjaxCallDecorator() {...} } On Wed, Nov 24, 2010 at 8:45 AM, smallufo small...@gmail.com wrote: If I want to add a simple 'onclick warning' to an AjaxLink , the ajax's behavior will be overridden by : ajaxLink.add( new SimpleAttributeModifier(onclick, return confirm('sure ?');)); How to avoid this ?
setVersioned setStatelessHint
Hi, if I have BookMarkable pages and they are pretty much stateless, does it buy me much to do: setStatelessHint(false); for every component? imo Adds a bit of verbosity to the code; though must be a reason why it exists. Please advice best practice -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/setVersioned-setStatelessHint-tp3057412p3057412.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Ajax Panel Update
Hi, I have a Tree (representing a product line) and an adjacent Panel representing Product listing within a category/line. On click of the Link the Panel updates. I have the following code, all works except am not sure how to go about refreshing the Panel with updated DataModel: ... In following code: See //TODO: Not sure how to update Panel with latest Product. So on click I am getting the correct object in Prod (ProductReference). However I'm failing to translate that into updating the Panel Model Refreshing the Panel on UI more importantly. @Override protected final LinkTree createLinkTree(String id, TreeModel treeModel) { return new LinkTree(id, treeModel) { //node = Name of Link protected final void onNodeLinkClicked(Object node, BaseTree tree, AjaxRequestTarget target) { Object o = ((DefaultMutableTreeNode)node).getUserObject(); if (o instanceof ProductReference) { ProductReference prod = (ProductReference)((DefaultMutableTreeNode)node).getUserObject(); log.info([createLinkTree] + prod); targetUpdatePanel.setVisible(true); //TODO: Not sure how to update Panel with latest Product } } ... (targetUpdatePanel.setVisible(true); is used because initially the Panel is blank when nothing is selected placeholder markup is used -- FYI) -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Ajax-Panel-Update-tp3057421p3057421.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Ajax Panel Update
Just an idea: if the panel holds a model pointing to a ProductReference instance, you can change the underlying model. targetUpdatePanel.modelChanging(); targetUpdatePanel.setModel(new ProductReferenceLoadableDetachableModel(prod)); targetUpdatePanel.modelChanged(); On Wed, Nov 24, 2010 at 11:48 AM, Arjun Dhar [via Apache Wicket] ml-node+3057421-1014270419-65...@n4.nabble.comml-node%2b3057421-1014270419-65...@n4.nabble.com wrote: Hi, I have a Tree (representing a product line) and an adjacent Panel representing Product listing within a category/line. On click of the Link the Panel updates. I have the following code, all works except am not sure how to go about refreshing the Panel with updated DataModel: ... In following code: See //TODO: Not sure how to update Panel with latest Product. So on click I am getting the correct object in Prod (ProductReference). However I'm failing to translate that into updating the Panel Model Refreshing the Panel on UI more importantly. @Override protected final LinkTree createLinkTree(String id, TreeModel treeModel) { return new LinkTree(id, treeModel) { //node = Name of Link protected final void onNodeLinkClicked(Object node, BaseTree tree, AjaxRequestTarget target) { Object o = ((DefaultMutableTreeNode)node).getUserObject(); if (o instanceof ProductReference) { ProductReference prod = (ProductReference)((DefaultMutableTreeNode)node).getUserObject(); log.info([createLinkTree] + prod); targetUpdatePanel.setVisible(true); //TODO: Not sure how to update Panel with latest Product } } ... (targetUpdatePanel.setVisible(true); is used because initially the Panel is blank when nothing is selected placeholder markup is used -- FYI) -- View message @ http://apache-wicket.1842946.n4.nabble.com/Ajax-Panel-Update-tp3057421p3057421.html To start a new topic under Apache Wicket, email ml-node+1842946-398011874-65...@n4.nabble.comml-node%2b1842946-398011874-65...@n4.nabble.com To unsubscribe from Apache Wicket, click herehttp://apache-wicket.1842946.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_codenode=1842946code=amNnYXJjaWFtQGdtYWlsLmNvbXwxODQyOTQ2fDEyNTYxMzc3ODY=. -- Sincerely, JC (http://www.linkedin.com/in/jcgarciam) Work smarter, not harder!. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Ajax-Panel-Update-tp3057421p3057473.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: close tag not found error in markup
Basically, it is a (supposed) bug in version 1.4.13, something very similar to this https://issues.apache.org/jira/browse/WICKET-2620 Downgrading to 1.4.5 solved my issue. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/close-tag-not-found-error-in-markup-tp3055117p3057578.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: close tag not found error in markup
Please create application that shows the problem. Zip it and attach it to a ticket in Jira. Thanks! On Wed, Nov 24, 2010 at 5:03 PM, andrea.castello a.castello.pronet...@gmail.com wrote: Basically, it is a (supposed) bug in version 1.4.13, something very similar to this https://issues.apache.org/jira/browse/WICKET-2620 Downgrading to 1.4.5 solved my issue. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/close-tag-not-found-error-in-markup-tp3055117p3057578.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: close tag not found error in markup
Since version 1.4.6 DataTable HTML has changed to fix https://issues.apache.org/jira/browse/WICKET-2620. Component with id toolbar has been removed and that should cause the problem reported by Andrea. Until 1.4.5 /wicket:panel thead wicket:id=topToolbars wicket:container wicket:id=toolbar/wicket:container /thead tfoot wicket:id=bottomToolbars wicket:container wicket:id=toolbar/wicket:container /tfoot tbody tr wicket:id=rows td wicket:id=cells span wicket:id=cell[cell]/span /td /tr /tbody /wicket:panel / After 1.4.5 /wicket:panel thead wicket:container wicket:id=topToolbars/wicket:container /thead tfoot wicket:container wicket:id=bottomToolbars/wicket:container /tfoot tbody wicket:id=body tr wicket:id=rows td wicket:id=cells span wicket:id=cell[cell]/span /td /tr /tbody /wicket:panel / Please create application that shows the problem. Zip it and attach it to a ticket in Jira. Thanks! On Wed, Nov 24, 2010 at 5:03 PM, andrea.castello a.castello.pronet...@gmail.com wrote:
Re: setVersioned setStatelessHint
wicket can automatically determine if the page is stateless... -igor On Wed, Nov 24, 2010 at 6:41 AM, Arjun Dhar dhar...@yahoo.com wrote: Hi, if I have BookMarkable pages and they are pretty much stateless, does it buy me much to do: setStatelessHint(false); for every component? imo Adds a bit of verbosity to the code; though must be a reason why it exists. Please advice best practice -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/setVersioned-setStatelessHint-tp3057412p3057412.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Ajax Panel Update
Thanks Jc, I employed that. In addition, the model was inserting a DataTable that was fetching its data from a DataProvider. So it was necessary to refresh not only the model but the DataTable; so I separated the initialization of the DataTable as follows: /* * Separating the initialization of the DataTable, as it will be updated by Ajax Requests */ public void onInitialize() { super.onInitialize(); Component dataTable = get(productTable); if (dataTable != null) { remove(dataTable); } add(getProductListing(productTable, (ProductReference)getDefaultModel().getObject())); } ..and in the code mentioned pervious for the TODO: now I have: targetUpdatePanel.setVisible(true); targetUpdatePanel.modelChanging(); targetUpdatePanel.setDefaultModel(new Model(prod)); targetUpdatePanel.modelChanged(); targetUpdatePanel.onInitialize(); target.addComponent(targetUpdatePanel); ..and It works. Maybe it can be more efficient clean but its worked out. Thanks ! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Ajax-Panel-Update-tp3057421p3057739.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: WicketRuntimeException: component not found on page @L
The biggest problem with this issue is that it's intermittent. I saw this happening a few time and I was not able to reproduce it manually right after I saw it. One time I sat there for 15 minutes repeating the sequence of clicks that had caused the error just a minute before that and was not able to reproduce it. One thing I could do is to take your recommendations, deploy them on our QA server and let you know if we see this problem again. Any thoughts on this? On Tue, Nov 23, 2010 at 10:40 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: start by creating a quickstart that reproduces it so we can better understand it -igor On Tue, Nov 23, 2010 at 9:38 PM, Alec Swan alecs...@gmail.com wrote: I noticed that all component not found on page exceptions were thrown for AjaxEditableLabel and AjaxLink components located inside of a DataView. It seems like other people had a component not found on page problem inside of DataView components: http://www.mail-archive.com/users@wicket.apache.org/msg08636.html http://apache-wicket.1842946.n4.nabble.com/component-not-found-on-page-for-a-Link-colun-in-the-Datatable-after-self-refresh-using-the-AjaxSelfUr-td1892913.html#a2229885 A workaround in JIRA 923 recommends turn off browser caching to solve component not found on page problem when using the Back button. However, in my case the Back button is not used, instead the DataView is refreshed using Ajax. Could anybody provide any suggestions on how to fix this problem? Thanks On Tue, Nov 23, 2010 at 10:58 AM, Alec Swan alecs...@gmail.com wrote: Hello, We upgraded our app to use Wicket 1.4.13. After that we started getting sporadic WicketRuntimeExceptions about components not being found on a some pages. We made changes to some, but not all pages, which exhibit this behavior. Has anyone else noticed this with 1.4.14? Any ideas on how to troubleshoot this intermittent behavior? Here is an example: microSitePanel:mainMenuContentPanel:secondMenuItem:1:secondMenuItemLink not found on page com.galecsy.lrm.web.wicket.offer.OfferManagementPage[id = 1], listener interface = [RequestListenerInterface name=IBehaviorListener, method=public abstract void org.apache.wicket.behavior.IBehaviorListener.onRequest()] at org.apache.wicket.protocol.http.WebRequestCycleProcessor.resolve(WebRequestCycleProcessor.java:26 Thanks - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: UploadProgressBar on nested forms
Done. JIRA 3191. Thanks On Tue, Nov 23, 2010 at 10:39 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: file another issue with a new quickstart. -igor On Tue, Nov 23, 2010 at 8:45 PM, Alec Swan alecs...@gmail.com wrote: Hello, Thank you for promptly fixing the problem with the upload progress bar in nested forms. I applied the fix by merging SVN changes into 1.4.13 branch and rebuilding the JAR files. I verified that the original problem was fixed with the patched jars. However, here is a new problem. If I have two upload forms, then upload initiated in the first form shows progress bar in the second form. So, if the second form happens to be hidden (setVisible(false)), then the upload progress bar does not show up at all. Should I file another JIRA issue, add to the existing 3181 issue or change my code? Thanks On Sat, Nov 20, 2010 at 5:59 PM, Alec Swan alecs...@gmail.com wrote: I opened JIRA issue 3181: https://issues.apache.org/jira/browse/WICKET-3181. I attached a ZIP file with complete source to reproduce the issue and instructions on how to run it (I am sure you didn't need them). Please let me know if you can think of any other solutions for displaying a modal window from nested upload form. Thanks, Alec On Sat, Nov 20, 2010 at 1:35 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: not sure yet :) but a quickstart will give me a playground to explore the options. -igor On Sat, Nov 20, 2010 at 12:20 PM, Alec Swan alecs...@gmail.com wrote: I can file a bug, but I am curious how you are planning to fix this? I tried passing the OUTER form to UploadProgressBar, i.e. nestedForm.add(new UploadProgressBar(progress, outerForm)), but that caused the following error to be logged in Firebug: Wicket.WUPB.get(def.statusid) is null [Break on this error] Wicket.WUPB.get(def.statusid).innerHTML='Upload starting...'; progressbar.js (line 41 While I am filing a bug and waiting for a fix, are there any suggestions on how to show a modal window during files upload initiated from a nested form? Thanks On Sat, Nov 20, 2010 at 1:05 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: sounds like a bug. open a jira ticket, attach a quickstart. -igor On Sat, Nov 20, 2010 at 11:22 AM, Alec Swan alecs...@gmail.com wrote: Hello, I have a page which contains a form around a table. Each row in the table contains a nested form which allows user to upload a file for the row. I added an UploadProgressBar to the upload form in each row. However, the upload progress bars are never shown. I understand that Wicket replaces a nested form with div and adds onsubmit event handler to display UploadProgressBar. However, since the form was replaced with div onsubmit handler never fires. How can I display a progress bar or at least a modal window during a file upload from a nested form? Thanks! - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
IResourceSettings.setUseTimestampOnResources(true) and performance
Hello, I had a problem with slow loading of pages and response to ajax requests. After some debugging I traced the problem to be that wicket constantly tries: DEBUG - UrlResourceStream - cannot convert url: jar:file:/C:/Users/hok/.m2/repository/org/apache/wicket/wicket/1.5-M3/wicket-1.5-M3.jar!/org/apache/wicket/markup/html/wicket-event.js to file (URI is not hierarchical), falling back to the inputstream for polling DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/markup/html/wicket-event_en_US.js' on path [folders = [], webapppaths: []] DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/markup/html/wicket-event_en_US.js' using classloader sun.misc.launcher$appclassloa...@cac268 and this happens because that by default (or at least I think so) wicket adds timestamp on the resources - ResourceSettings.setUseTimestampOnResources(true) and every resource is read from the jar files on every request. When a resource is in a jar file a java.lang.IllegalArgumentException: URI is not hierarchical is thrown in the UrlResourceStream constructor and a lot of attempts are made to load the jar file through different loaders. In my case this led to a slow response times. After disabling timestamp on resources (ResourceSettings.setUseTimestampOnResources(false)) the problem disappears and the performance is fine. However in the javadoc of setUseTimestampOnResources: Enabling timestamps on resources will inject the last modification time of the resource into the filename (the name will look something like 'style-ts1282915831000.css' where the large number is the last modified date in milliseconds and '-ts' is a prefix to avoid conflicts with filenames that already contain a number before their extension. * Since browsers and proxies use the filename of the resource as a cache key the changed filename will not hit the cache and the page gets rendered with the changed file. In this case this useful functionality is lost. Is it possible to have the best of both worlds? Thanks. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/IResourceSettings-setUseTimestampOnResources-true-and-performance-tp3057946p3057946.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: IResourceSettings.setUseTimestampOnResources(true) and performance
Can you file an JIRA issue and attach a quickstart to reproduce this case? That would help analyzing your mentioned issue tremendously... Am 24.11.2010 um 20:27 schrieb hok: Hello, I had a problem with slow loading of pages and response to ajax requests. After some debugging I traced the problem to be that wicket constantly tries: DEBUG - UrlResourceStream - cannot convert url: jar:file:/C:/Users/hok/.m2/repository/org/apache/wicket/wicket/1.5-M3/wicket-1.5-M3.jar!/org/apache/wicket/markup/html/wicket-event.js to file (URI is not hierarchical), falling back to the inputstream for polling DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/markup/html/wicket-event_en_US.js' on path [folders = [], webapppaths: []] DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/markup/html/wicket-event_en_US.js' using classloader sun.misc.launcher$appclassloa...@cac268 and this happens because that by default (or at least I think so) wicket adds timestamp on the resources - ResourceSettings.setUseTimestampOnResources(true) and every resource is read from the jar files on every request. When a resource is in a jar file a java.lang.IllegalArgumentException: URI is not hierarchical is thrown in the UrlResourceStream constructor and a lot of attempts are made to load the jar file through different loaders. In my case this led to a slow response times. After disabling timestamp on resources (ResourceSettings.setUseTimestampOnResources(false)) the problem disappears and the performance is fine. However in the javadoc of setUseTimestampOnResources: Enabling timestamps on resources will inject the last modification time of the resource into the filename (the name will look something like 'style-ts1282915831000.css' where the large number is the last modified date in milliseconds and '-ts' is a prefix to avoid conflicts with filenames that already contain a number before their extension. * Since browsers and proxies use the filename of the resource as a cache key the changed filename will not hit the cache and the page gets rendered with the changed file. In this case this useful functionality is lost. Is it possible to have the best of both worlds? Thanks. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/IResourceSettings-setUseTimestampOnResources-true-and-performance-tp3057946p3057946.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
RE: Javascript files not loading in IE6
I'm also having the same issue with Wicket 1.4.13 and IE 6. IE shows the error 'Wicket' is undefined and it points to the following line in the HTML code: Wicket.Event.add(window, domready, function(event) { Reverting back to Wicket 1.4.7 fixes the problem for me too. Greg -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Javascript-files-not-loading-in-IE6-tp2540322p3057967.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Javascript files not loading in IE6
I'd bet it is one of the famous: if (Wicket == undefined) vs. if (typeof(Wicket) != 'undefined') checks I'll check what changes we have between 1.4.7 and 1.4.13 in that area. On Wed, Nov 24, 2010 at 8:38 PM, kayakgreg g...@greg-williams.com wrote: I'm also having the same issue with Wicket 1.4.13 and IE 6. IE shows the error 'Wicket' is undefined and it points to the following line in the HTML code: Wicket.Event.add(window, domready, function(event) { Reverting back to Wicket 1.4.7 fixes the problem for me too. Greg -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Javascript-files-not-loading-in-IE6-tp2540322p3057967.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
wicket stuff progressbar
Hi, I am playing with the progressbar* but wonder where I can grab the sources for 1.4? this leads to an exception: https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-progressbar/ Regards, Peter. * http://wicketstuff.org/confluence/display/STUFFWIKI/wicketstuff-progressbar -- http://jetwick.com twitter search prototype - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: wicket stuff progressbar
It looks like SF SVN is down ... The sources for 1.4 are in .../branches/1.4.13/... On Wed, Nov 24, 2010 at 9:12 PM, Peter Karich peat...@yahoo.de wrote: Hi, I am playing with the progressbar* but wonder where I can grab the sources for 1.4? this leads to an exception: https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-progressbar/ Regards, Peter. * http://wicketstuff.org/confluence/display/STUFFWIKI/wicketstuff-progressbar -- http://jetwick.com twitter search prototype - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: AjaxLazyLoadPanel, nothing else works until it finishes loading
I'm having the same problem. Have anyone found a solution? On Thu, Aug 12, 2010 at 7:42 AM, wincen [via Apache Wicket] ml-node+2322202-522808124-117...@n4.nabble.comml-node%2b2322202-522808124-117...@n4.nabble.com wrote: I got my AjaxLazyLoadPanel to work probably but nothing else on the page seems to process until after the contents of the panel are finished loading. I have some buttons on the form and if I click them while the panel is loading the button event code is not triggered until after the lazy load panel has finished. Is there something I can do to allow my buttons work even if the lazyloadpanel has not finished loading? -- View message @ http://apache-wicket.1842946.n4.nabble.com/AjaxLazyLoadPanel-nothing-else-works-until-it-finishes-loading-tp2322202p2322202.html To start a new topic under Wicket - User, email ml-node+1842947-58522394-117...@n4.nabble.comml-node%2b1842947-58522394-117...@n4.nabble.com To unsubscribe from Wicket - User, click herehttp://apache-wicket.1842946.n4.nabble.com/template/NodeServlet.jtp?tpl=unsubscribe_by_codenode=1842947code=YXZyYWhhbXJAZ21haWwuY29tfDE4NDI5NDd8LTEwMTIyNDQ2OTU=. -- []'s Avraham Rosenzweig avrah...@gmail.com -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AjaxLazyLoadPanel-nothing-else-works-until-it-finishes-loading-tp2322202p3058057.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: IResourceSettings.setUseTimestampOnResources(true) and performance
https://issues.apache.org/jira/browse/WICKET-3194 https://issues.apache.org/jira/browse/WICKET-3194 -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/IResourceSettings-setUseTimestampOnResources-true-and-performance-tp3057946p3058085.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: IResourceSettings.setUseTimestampOnResources(true) and performance
Thanks! Am 24.11.2010 um 22:10 schrieb hok: https://issues.apache.org/jira/browse/WICKET-3194 https://issues.apache.org/jira/browse/WICKET-3194 -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/IResourceSettings-setUseTimestampOnResources-true-and-performance-tp3057946p3058085.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: AjaxLazyLoadPanel, nothing else works until it finishes loading
The page will block until the panel is loaded. There are a number of threads discussing this. Here are a couple of gists that allow panel content to be loaded in an asynchronous manner in another thread, thus making the UI appear non-blocking. https://gist.github.com/594468 https://gist.github.com/636875 hope you find them useful. Jonny -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AjaxLazyLoadPanel-nothing-else-works-until-it-finishes-loading-tp2322202p3058132.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: IResourceSettings.setUseTimestampOnResources(true) and performance
fixed in trunk for 1.5 Am 24.11.2010 um 22:39 schrieb Peter Ertl: Thanks! Am 24.11.2010 um 22:10 schrieb hok: https://issues.apache.org/jira/browse/WICKET-3194 https://issues.apache.org/jira/browse/WICKET-3194 -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/IResourceSettings-setUseTimestampOnResources-true-and-performance-tp3057946p3058085.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Invalid Date Using DatePicker and Short Date Format
Hi, I'm having an issue using a DatePicker and hoping it's a simple fix, but I can't find it. I have this code: public class MyPanel extends Panel { Label createdDateLabel; DateTextField createdDateText; DatePicker createdDatePicker; public MyPanel(String id) { super(id); ... createdDateLabel = new Label(createdDateLabel, ResourceStrings.createdDate); editForm.add(createdDateLabel); createdDateText = new DateTextField(createdDateText, new PropertyModelDate(selectedPoiClliModel, createdDate), new TimestampConverter(dd-MM-); createdDatePicker = new DatePicker(); createdDatePicker.setShowOnFieldClick(true); createdDateText.add(createdDatePicker); editForm.add(createdDateText); ... } ... } public class TimestampConverter extends PatternDateConverter { private static final long serialVersionUID = 1L; public TimestampConverter(String datePattern) { super(datePattern, false); } @Override public Timestamp convertToObject(String value, Locale locale) { Date time = super.convertToObject(value, locale); return new Timestamp(time.getTime()); } } The problem is when someone chooses a date from the pop-up calendar in the application, the time isn't set and I get this error message displayed: '23-11-2010 HH:mm:ss' is not a valid Date. I would have expected it to be defaulted to 00:00:00. Is there some way that I can set this? Thanks for any help!
Announcing the Topicus Dashboard
The Topicus Dashboard is an information radiator showing build status, production server status, twitter timeline, train departure times, important events and much more. The Atlassian folks are running a competition for the Ultimate Wallboard and we (Topicus) just submitted our entry for the competition: the Topicus Dashboard. If you like our dashboard, you are welcome to vote for it and help us win the 55 flatscreen display in the Atlassian (known for JIRA and Confluence) Ultimate Wallboard Competition: http://ultimatewallboard.com/entries/91860 The entry sports a movie (the guy in the picture is Emond, a co-worker at Topicus) As we like to share our innovations we hosted our dashboard on github, and you are free to run the software and modify it for your own use (or your customers). The software is currently licensed using the GPL 3. The project can be found here: https://github.com/dashorst/dashboard Most of the credits for this project go to Emond Papegaaij (and if you find a bug, call him, not me :) On behalf of the dashboard developers, Martijn Dashorst PS. Really: please vote and let us win the big screen TV! -- Become a Wicket expert, learn from the best: http://wicketinaction.com - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Announcing the Topicus Dashboard
Everyone note: If you aren't on FB and need to register manually, the voting pages DO NOT place a vote for you once you register. You must GO BACK TO THE PAGE and then place your vote after you activate your account. (No promotional fees were paid for this public service announcement.) On Nov 24, 2010, at 7:28 PM, Martijn Dashorst wrote: The Topicus Dashboard is an information radiator showing build status, production server status, twitter timeline, train departure times, important events and much more. The Atlassian folks are running a competition for the Ultimate Wallboard and we (Topicus) just submitted our entry for the competition: the Topicus Dashboard. If you like our dashboard, you are welcome to vote for it and help us win the 55 flatscreen display in the Atlassian (known for JIRA and Confluence) Ultimate Wallboard Competition: http://ultimatewallboard.com/entries/91860 The entry sports a movie (the guy in the picture is Emond, a co-worker at Topicus) As we like to share our innovations we hosted our dashboard on github, and you are free to run the software and modify it for your own use (or your customers). The software is currently licensed using the GPL 3. The project can be found here: https://github.com/dashorst/dashboard Most of the credits for this project go to Emond Papegaaij (and if you find a bug, call him, not me :) On behalf of the dashboard developers, Martijn Dashorst PS. Really: please vote and let us win the big screen TV! -- Become a Wicket expert, learn from the best: http://wicketinaction.com - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: close tag not found error in markup
Yes, I remember having to fix my own extension of DataTable when migrating between two 1.4.x versions. That might be the change you mention. Ernesto On Wed, Nov 24, 2010 at 5:55 PM, Andrea Del Bene adelb...@ciseonweb.it wrote: Since version 1.4.6 DataTable HTML has changed to fix https://issues.apache.org/jira/browse/WICKET-2620. Component with id toolbar has been removed and that should cause the problem reported by Andrea. Until 1.4.5 /wicket:panel thead wicket:id=topToolbars wicket:container wicket:id=toolbar/wicket:container /thead tfoot wicket:id=bottomToolbars wicket:container wicket:id=toolbar/wicket:container /tfoot tbody tr wicket:id=rows td wicket:id=cells span wicket:id=cell[cell]/span /td /tr /tbody /wicket:panel / After 1.4.5 /wicket:panel thead wicket:container wicket:id=topToolbars/wicket:container /thead tfoot wicket:container wicket:id=bottomToolbars/wicket:container /tfoot tbody wicket:id=body tr wicket:id=rows td wicket:id=cells span wicket:id=cell[cell]/span /td /tr /tbody /wicket:panel / Please create application that shows the problem. Zip it and attach it to a ticket in Jira. Thanks! On Wed, Nov 24, 2010 at 5:03 PM, andrea.castello a.castello.pronet...@gmail.com wrote: - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org