Resources only for session
I have a question, Is it possible that resources (example DynamicImageResource) will not recorded and only available as long as the session is active. This is necessary because the user need to show images uploaded by the same and are not available to other users. Besides the amount of images is very large adn it's pointless to keep all as resources. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Resources-only-for-session-tp4653617.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: Resources only for session
Thank Ernesto, I already knew the article. My problem is that I am using a ResourceLink as follows. ResourceReference imagesResourceReference = new ImageResourceReference( ImageUtil.getNamePhotoForURL(user.getId(), album.getId(), photo.getId(), ImageUtil.SCALE_ORIGINAL),pathOriginalImage); ResourceLink resourceLink = new ResourceLink("linkPhoto",imagesResourceReference); But this I generated a security problema, because the "href" generated is accesible from all session, I also believe that a bad performance generates and maintains resources that will not be used. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Resources-only-for-session-tp4653617p4653620.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: Wicket and file upload with blueimp jquery file upload
Thanks for the demo, everything works fine except for some problems I've found in the configuration, for example, the demo comes with the option (previewSourceFileTypes: / ^ image \ / (gif | jpeg | png) $ /,). But really allow to upload all types of files. On the other hand (and this is important to me), when I upload multiple files at once, only shows the bar and the buttons for the first file. And should display them at all. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-and-file-upload-with-blueimp-jquery-file-upload-tp4653007p4653903.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: Wicket and file upload with blueimp jquery file upload
I solved the problems I had, modifying the main.js file of the demo, as follows. $(function () { 'use strict'; $('#${componentMarkupId}').fileupload({ url: '${url}', paramName: '${paramName}', singleFileUploads: true, maxFileSize: 500, acceptFileTypes: /(\.|\/)(gif|jpe?g|png)$/i, process: [ { action: 'load', fileTypes: /^image\/(gif|jpeg|png)$/, maxFileSize: 2000 // 20MB }, { action: 'resize', maxWidth: 1440, maxHeight: 900 }, { action: 'save' } ] }); }); -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-and-file-upload-with-blueimp-jquery-file-upload-tp4653007p4653938.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
Twitter boostrap
Hello, I want to integrate Wicket-Bootstrap in my application, anyone can tell me what steps should I follow?. Should I integrate twitter bootstrap on my own or through an existing project?. Thank you. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Twitter-boostrap-tp4654406.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
Model is null after submit, using FormComponentPanel
Hello, I want to create a reusable component for use as part of a form, for this class use FormComponentPanel, As the following article. https://cwiki.apache.org/WICKET/creating-custom-formcomponentpanels-to-build-valid-objects-using-wickets-form-validation-logic.html My problem is that when I submit the internal components (TextFields), updated its model to null, instead of updating the model with the entered string, the method mytextfield.getConvertedInput () returns null during the call to UpdateModel (). Does anyone know what might be happening?. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Model-is-null-after-submit-using-FormComponentPanel-tp4654441.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: Model is null after submit, using FormComponentPanel
Thank Col, But I have no validation, my component code is the code of the component is public class CustomerAccountCode extends FormComponentPanel { private FormComponent entity; private FormComponent office; private FormComponent dc; private FormComponent number; public CustomerAccountCode(String id, Model model) { super(id, model); entity = new TextField("entity", new Model()); office = new TextField("office", new Model()); dc = new TextField("dc", new Model()); number = new TextField("number", new Model()); onModelChanged(); add(entity); add(office); add(dc); add(number); // add(CustomerAccountCodeValidator.getInstance()); } protected void onModelChanged() { super.onModelChanged(); CustomerAccountCodeModel ccc = getModelObject(); if (ccc != null) { entity.setModelObject(ccc.getEntity()); office.setModelObject(ccc.getOffice()); dc.setModelObject(ccc.getDc()); number.setModelObject(ccc.getAccount()); } else { entity.setModelObject(null); office.setModelObject(null); dc.setModelObject(null); number.setModelObject(null); } } @Override protected void convertInput() { Account account = new Account( entity.getConvertedInput(), office.getConvertedInput(), dc.getConvertedInput(), number.getConvertedInput()); if (Strings.isEmpty(account.getEntity()) && Strings.isEmpty(account.getDc()) && Strings.isEmpty(account.getOffice()) && Strings.isEmpty(account.getNumber())) { account = null; } setConvertedInput(account); } @Override public void updateModel(){ System.err.println("UPDATE MODEL" +entity.getConvertedInput()); } @Override public Component add(final Behavior... behaviors) { entity.add(behaviors); office.add(behaviors); dc.add(behaviors); number.add(behaviors); return this; } } The model takes it perfectly when constrye the object, but loses to do submit, I use the component on the form as follows HTML FORM CCC: Editar ... JAVA FORM ccc = new CustomerAccountCode("ccc", new Model( new Account(config.getCcc(; add(ccc); -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Model-is-null-after-submit-using-FormComponentPanel-tp4654441p4654462.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: Model is null after submit, using FormComponentPanel
I tried to use CompoundPropertyModel in CustomerAccountCode object constructor, and similarly -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Model-is-null-after-submit-using-FormComponentPanel-tp4654441p4654490.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: Model is null after submit, using FormComponentPanel
Thanks for the reply, I tried to use the component on the form with the object CompoundPropertyModel. As follows, ccc = new CustomerAccountCode("ccc", new CompoundPropertyModel(new Account(config.getCcc(; form.add(ccc); But this does the same as before, ie load correctly displayed data, but when you throw the "onSubmit" form, the model the "ccc.getModelObject()" still returns null. //New implementation public class CustomerAccountCode extends FormComponentPanel { private FormComponent entity; private FormComponent office; private FormComponent dc; private FormComponent number; public CustomerAccountCode(String id, CompoundPropertyModel model) { super(id, model); entity = new TextField("entity"); office = new TextField("office"); dc = new TextField("dc"); number = new TextField("number"); AttributeModifier attEntity = new AttributeModifier("name", "entity"); AttributeModifier attOffice = new AttributeModifier("name", "office"); AttributeModifier attDc = new AttributeModifier("name", "dc"); AttributeModifier attNumber = new AttributeModifier("name", "number"); add(entity.add(attEntity)); add(office.add(attOffice)); add(dc.add(attDc)); add(number.add(attNumber)); // add(CustomerAccountCodeValidator.getInstance()); } @Override public Component add(final Behavior... behaviors) { entity.add(behaviors); office.add(behaviors); dc.add(behaviors); number.add(behaviors); return this; } } -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Model-is-null-after-submit-using-FormComponentPanel-tp4654441p4654545.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: Model is null after submit, using FormComponentPanel
I've tried to override FormComponentPanel#convertInput (), but in the execution of this, both the method TextField#getConvertedInput () and TextField#getModelObject () return null. By the way I'm using Wicket 6.3 -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Model-is-null-after-submit-using-FormComponentPanel-tp4654441p4654557.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: Model is null after submit, using FormComponentPanel
I created a quickstart, Where I can upload it for what you may see? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Model-is-null-after-submit-using-FormComponentPanel-tp4654441p4654566.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: Model is null after submit, using FormComponentPanel
Here is the example to prove it's package it and deploy it in an application server. http://ul.to/ymfabds0 -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Model-is-null-after-submit-using-FormComponentPanel-tp4654441p4654586.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: Model is null after submit, using FormComponentPanel
Thanks, your suggestion solved my problem. Greetings from Spain. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Model-is-null-after-submit-using-FormComponentPanel-tp4654441p4654594.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: Autocomplete for mentions how to use Twitter
Hello, I have the same problem as Alpiske, does anyone have any idea how to do this? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Autocomplete-for-mentions-how-to-use-Twitter-tp4654876p4654999.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
Problem with RuntimeConfigurationType.DEPLOYMENT.
Hello, I have a problem and Deployment Mode is that some of my templates are not working properly, I use AjaxFormComponentUpdatingBehavior specifically to hide or show some components of templates. I have succeeded recreate the development mode error, adding the application init, this line. getMarkupSettings (). setStripWicketTags (true); In this case the debug ajax returns that can not find the component. Note.I use the setOutpuMarkupId (true), and also correctly in development mode without the line, it works fine, I use wicket 6.5.0 -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Problem-with-RuntimeConfigurationType-DEPLOYMENT-tp4655679.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: Problem with RuntimeConfigurationType.DEPLOYMENT.
Was using using div has fixed the problem. Thank you. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Problem-with-RuntimeConfigurationType-DEPLOYMENT-tp4655679p4655681.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
ThreadContext.getSession(); return null in wicket 6.5.0
Hi, in my application I use ThreadContext.getSession () to get the session, and works well in wicket 6.4.0, upgrade to 6.5.0 but returns null, what is due? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/ThreadContext-getSession-return-null-in-wicket-6-5-0-tp4655741.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
Problem with ClientProperties
Hi, I need to keep the browser name and version, using it my clients, but some ClientProperties class methods return null, I use wicket 6.5.0. Does anyone knows what could it be? PD, properties.isBrowserMozilla method (), it works correctly. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Problem-with-ClientProperties-tp4656153.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: Problem with ClientProperties
II tried with the sample code and the output of the toString ClientProperties is this. browserInternetExplorer=false 13:12:22,532 ERROR [stderr] (http--127.0.0.1-8080-1) browserKonqueror=false 13:12:22,534 ERROR [stderr] (http--127.0.0.1-8080-1) browserMozilla=true 13:12:22,535 ERROR [stderr] (http--127.0.0.1-8080-1) browserMozillaFirefox=true 13:12:22,536 ERROR [stderr] (http--127.0.0.1-8080-1) browserOpera=false 13:12:22,537 ERROR [stderr] (http--127.0.0.1-8080-1) browserSafari=false 13:12:22,539 ERROR [stderr] (http--127.0.0.1-8080-1) browserChrome=false 13:12:22,540 ERROR [stderr] (http--127.0.0.1-8080-1) browserVersionMajor=18 13:12:22,541 ERROR [stderr] (http--127.0.0.1-8080-1) browserVersionMinor=0 13:12:22,542 ERROR [stderr] (http--127.0.0.1-8080-1) cookiesEnabled=false 13:12:22,543 ERROR [stderr] (http--127.0.0.1-8080-1) javaEnabled=false 13:12:22,544 ERROR [stderr] (http--127.0.0.1-8080-1) proprietaryIECssExpressionsSupported=false 13:12:22,545 ERROR [stderr] (http--127.0.0.1-8080-1) proprietaryIEPngAlphaFilterRequired=false 13:12:22,547 ERROR [stderr] (http--127.0.0.1-8080-1) quirkCssBackgroundAttachmentUseFixed=false 13:12:22,549 ERROR [stderr] (http--127.0.0.1-8080-1) quirkCssBorderCollapseFor0Padding=false 13:12:22,551 ERROR [stderr] (http--127.0.0.1-8080-1) quirkCssBorderCollapseInside=false 13:12:22,552 ERROR [stderr] (http--127.0.0.1-8080-1) quirkCssPositioningOneSideOnly=false 13:12:22,554 ERROR [stderr] (http--127.0.0.1-8080-1) quirkIERepaint=false 13:12:22,555 ERROR [stderr] (http--127.0.0.1-8080-1) quirkIESelectListDomUpdate=false 13:12:22,556 ERROR [stderr] (http--127.0.0.1-8080-1) quirkIESelectPercentWidth=false 13:12:22,557 ERROR [stderr] (http--127.0.0.1-8080-1) quirkIESelectZIndex=false 13:12:22,558 ERROR [stderr] (http--127.0.0.1-8080-1) quirkIETablePercentWidthScrollbarError=false 13:12:22,560 ERROR [stderr] (http--127.0.0.1-8080-1) quirkIETextareaNewlineObliteration=false 13:12:22,561 ERROR [stderr] (http--127.0.0.1-8080-1) quirkMozillaPerformanceLargeDomRemove=true 13:12:22,562 ERROR [stderr] (http--127.0.0.1-8080-1) quirkMozillaTextInputRepaint=true 13:12:22,563 ERROR [stderr] (http--127.0.0.1-8080-1) remoteAddress=127.0.0.1 -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Problem-with-ClientProperties-tp4656153p4656157.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
DropDownMenu with AjaxLink
Hello, I need to dynamically load a dropdown menu, I use bootstrap natively, but by combining AjaxLink with the link, which contains data-toggle = "dropdown" menu does not display, the link must display a menu with notifications, but these should be loaded so lazy to click. The html is as follows. Does anyone know how to solve this problem?. Thanks in advance. <#> / / 25 / <#> / See all notifications -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/DropDownMenu-with-AjaxLink-tp4657759.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: DropDownMenu with AjaxLink
I found this solution, but if someone thinks another more elegant ... linkNotifications = new AjaxLink("linkNotifications") { @Override public void onClick(AjaxRequestTarget target) { target.appendJavaScript("$('#" + this.getMarkupId() + "').dropdown();"); } }; -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/DropDownMenu-with-AjaxLink-tp4657759p4657763.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
Atmosphere problem with JBoss 7.1
Hi, I have two questions concerning the atmosphere framework, I use wicket 6.6.0 and JBoss 7.1. I configured my application following the example, https://github.com/papegaaij/wicket-atmosphere-quickstart. And the application displays correctly, but when trying to enter, it returns a 404. Taking these traces. 23:05:40,588 WARN [org.atmosphere.cpr.AtmosphereFramework] (http - 127.0.0.1-8443-1) Failed using comet support: org.atmosphere.container.JBossWebCometSupport, error: JBoss failed to detect this is a Comet Because the APR Connector application is not enabled. Make sure atmosphere-compat-jboss.jar is not under your WEB-INF/lib and there is no context.xml under WEB-INF or April Is the Nio Connector enabled? 23:05:40,590 ERROR [org.atmosphere.cpr.AtmosphereFramework] (http - 127.0.0.1-8443-1) If you have more than one Connector enabled, make sure you use the same They Both protocol, eg NIO / APR or HTTP for all. If not, will be used org.atmosphere.container.BlockingIOCometSupport and can not be changed. 23:05:40,593 WARN [org.atmosphere.cpr.AtmosphereFramework] (http - 127.0.0.1-8443-1) Using org.atmosphere.container.BlockingIOCometSupport My other question is, how does this example? http://www.wicket-library.com/wicket-examples-6.0.x/atmosphere/?1 -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Atmosphere-problem-with-JBoss-7-1-tp4657907.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: Atmosphere problem with JBoss 7.1
I have asked in this forum because the problem I have when running Wicket application, any of these examples made with other frameworks, work perfectly in Jboss, https://github.com/Atmosphere/atmosphere/wiki/Getting-Started-with-the-samples And on the second question, I mean, if you can give me a guide on how to use the sample. Since we do not know how to use it. PD.Sería useful to have a similar examples in Wicket because the wicketstuff QuickStart is quite poor. Thank you. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Atmosphere-problem-with-JBoss-7-1-tp4657907p4657919.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: Atmosphere problem with JBoss 7.1
All libraries are included in the wicket application. The difference is created in the web.xml. I have set the following parameter to false org.atmosphere.useNative true And to deploy the application log tells me that the Atmosphere is started, but on entering the application, I still returns the 404, but now and does not draw any trace. The content of my web.xml is being Atmospherefilter Atmospherefilter org.atmosphere.cpr.AtmosphereServlet org.atmosphere.filter org.apache.wicket.protocol.http.WicketFilter applicationClassName com.myCompany.MyApplication org.atmosphere.useWebSocket true org.atmosphere.useNative false org.atmosphere.cpr.sessionSupport true org.atmosphere.websocket.WebSocketProtocol org.atmosphere.websocket.protocol.EchoProtocol org.atmosphere.cpr.broadcastFilterClasses org.apache.wicket.atmosphere.TrackMessageSizeFilter filterMappingUrlPattern / * 0 Atmospherefilter / * And the web.xml before using Atmosphere, (which worked fine). was this. wicket.netwie org.apache.wicket.protocol.http.WicketFilter applicationClassName com.myCompany.MyApplication wicket.netwie / * 30 With the new web.xml, although always displays the context returns 404. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Atmosphere-problem-with-JBoss-7-1-tp4657907p4657931.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
Update ListView with Ajax, performance.
Hello, I need to implement a component that can display a list of users from a ListView, at the end of the list you should see a link to "see more users." What I need is to update the list of users displayed but without rendering at all in ListView again. Because right now I use a AjaxLink that updates the entire ListView container, but when many users are penalized performance and gives a sense of slowness. Anyone know if you can implement some of this functionality with wicket. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Update-ListView-with-Ajax-performance-tp4657948.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: Update ListView with Ajax, performance.
Nick, I sensed that the solution was going to use Javascript, my question was if there was any easier than the framework could provide. Select2 prove. Alexy single client solution does not help me as I have a large volume of data. Regards and thanks for the guidance. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Update-ListView-with-Ajax-performance-tp4657948p4657951.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: Update ListView with Ajax, performance.
QuickView The project looks great, but I want to try, why not stay at maven central repository?. It is very cumbersome installation is proposed. Https://github.com/vineetsemwal/quickview/wiki -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Update-ListView-with-Ajax-performance-tp4657948p4657958.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: Update ListView with Ajax, performance.
I tried the project and give you my congratulations, it's just what I need, but it would be ideal that was included as an extension of the core wicket. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Update-ListView-with-Ajax-performance-tp4657948p4657961.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: Update ListView with Ajax, performance.
I think the functionality that gives your project is essential to many Web projects, and in many companies there is a policy not to use third party libraries that can not be maintained or updated in the future. I therefore believe that the number of components "official" Wicket, should increase in the future, for the framework to do its job better, which is to "provide web development" -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Update-ListView-with-Ajax-performance-tp4657948p4657963.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: Update ListView with Ajax, performance.
Hi, vineetsemwal, I think I found a bug in the project developed, having several QuickView, inside a ListView or DataView, errors occur. I recreated the error in your project, simply. Within RowNavigationPage class, I added a ListView with a list of three items and each item I have added the QuickView. Seemore Pressing the first time works fine, but if you hit the other QuickView see, does not display correctly. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Update-ListView-with-Ajax-performance-tp4657948p4657983.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: Update ListView with Ajax, performance.
Exactly the error occurs when you click on the above item, item affects the bottom, but not vice versa. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Update-ListView-with-Ajax-performance-tp4657948p4657984.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: Update ListView with Ajax, performance.
Recreate the error is very simple, you just have to modify your example as follows, in the labeling of RowsNavigatorPage.html add a div, so that it looks like. http://www.apache.org/licenses/LICENSE-2.0 UNLESS required by applicable law or Agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, express or implied Either. See the License for the specific language Governing permissions and Limitations under the License. -> http://wicket.apache.org";> Navigator Rows Example Rows Navigation displaying all items from 0-19 number = -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Update-ListView-with-Ajax-performance-tp4657948p4657988.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: Update ListView with Ajax, performance.
http://ul.to/847ee7uh >From his example I just changed the RowsNavigatorPage -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Update-ListView-with-Ajax-performance-tp4657948p4657989.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: Update ListView with Ajax, performance.
Thanks to you, I look forward to the update, a greeting. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Update-ListView-with-Ajax-performance-tp4657948p4657995.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: Datatable with Image in Cell
Hi Antonio. For this you can use the Image component and the ContextRelativeResource. if ( isaIcon() ) { relativeResource = new ContextRelativeResource( "/images/a_icon.png"); } else { relativeResource = new ContextRelativeResource( "/images/other_icon.png"); } add(new Image("tuId", relativeResource)); -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Datatable-with-Image-in-Cell-tp4658204p4658205.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: Datatable with Image in Cell
To create a table with data, you can use the DataView component and use a DataProvider for loading data. In onPopulate method, you can create the table rows dynamically. I recommend you to look at the examples of the free guide. http://code.google.com/p/wicket-guide/downloads/list -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Datatable-with-Image-in-Cell-tp4658204p4658252.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
Performance replace panel with AjaxLink.
Hi, I have a problem to replace a panel with Ajax, I use a AjaxLink to replace a panel on the other, as follows. Component current = this.getParent(); current.replaceWith (editorPanel); target.add (editorPanel); The problem I have it because it makes a call undue page builder. Thing I do not want to happen, first because it fails to receive the parameter that was receiving that page and second because even if it worked, would unduly penalize performance. Does anyone know why this call is made? A greeting and thanks advanced. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Performance-replace-panel-with-AjaxLink-tp4658473.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: Performance replace panel with AjaxLink.
Let's see, I have a page that receives a parameter, and since I do a query parameter to the database to load a panel, within that panel there is another panel with a AjaxLink, that when you click I want to be replaced by another panel, everything works fine, ie the panel is replaced, but in my traces get a NullPointerException, ie when you update with Ajax, the AjaxRequestTarget, makes a call to the constructor of the page. received additional setting that always puts me is "lib", regardless of the initially received. The problem is that it makes a call to the constructor of the page internally, I do not want it done. My question is why do it? and if you can avoid it to. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Performance-replace-panel-with-AjaxLink-tp4658473p4658481.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: Performance replace panel with AjaxLink.
Indeed the page is not repainted, but its constructor is called, How to put a breakpoint?. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Performance-replace-panel-with-AjaxLink-tp4658473p4658484.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: Performance replace panel with AjaxLink.
Hello, in this project we are not using unit tests, and I can not add a breakpoint, but I managed to narrow down the error. The call to the constructor of the page disappears, commenting javascript call panel markup. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Performance-replace-panel-with-AjaxLink-tp4658473p4658634.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
Error in the semantics of names. AjaxLazyLoadPanel.java
Error in the semantics of names. AjaxLazyLoadPanel.java I saw a little mistake semantic,:>, Class AjaxLazyLoadPanel, Wicket 6.7.0 / ** * Called When the placeholder component is Replaced with the lazy loaded one. * * @ Param target * The Ajax request handler * @ Param component * The lazy loaded component. * / protected void onComponentLoaded (Component *target*, AjaxRequestTarget *component*) { } -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Error-in-the-semantics-of-names-AjaxLazyLoadPanel-java-tp4658635.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
Possible bug with AjaxLazyLoadPanel
Hello, I'm trying to get a component to update with Ajax from a AjaxLink, but always returns null, the access component is as follows. Component current = this.getPage().get("commentsPanel").get ("modalPanel"); Where "commentsPanel" is a "AjaxLazyLoadPanel" and "modalPanel" is of type "Panel", If "commentsPanel" I put Panel type, the component finds correctly, -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Possible-bug-with-AjaxLazyLoadPanel-tp4658793.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: Possible bug with AjaxLazyLoadPanel
I know how it works, in my case the component is already loaded, and I can access it, the problem is I have to access the internal components of the "AjaxLazyLoadPanel". -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Possible-bug-with-AjaxLazyLoadPanel-tp4658793p4658817.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: Possible bug with AjaxLazyLoadPanel
Michael Zhavzharov the way you've indicated, it works correctly. Thank you. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Possible-bug-with-AjaxLazyLoadPanel-tp4658793p4658846.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: JQuery contribution question
Hello, I also need to upgrade the version of jQuery to 1.9.1, I do it with getJavaScriptLibrarySettings (). setJQueryReference (resource), but I have some problems running this version with AjaxEventBehavior. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/JQuery-contribution-question-tp4658999p4659003.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
Problems when upgrading Jquery
Hello, I updated my application to use Jquery 1.9.1, for this I added the following to the Init method of my application class. JavaScriptResourceReference resource = new JavaScriptResourceReference( MyApplication.class, "../../../assets/js/jquery-1.9.1.min.js"); getJavaScriptLibrarySettings().setJQueryReference(resource); When it is updated, I have problems, for example AjaxLazyLoadPanel icon, remains loading infinitely. Does anyone knows what could it be? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Problems-when-upgrading-Jquery-tp4659019.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: Problem loading dependency for wicket-6.8.0
Make sure you have downloaded the dependency correctly, ie that is in your local repository that can decompress, ever happened to me that have been downloaded "jar" with corrupted data. If so removes the corrupt jar to download them again. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Problem-loading-dependency-for-wicket-6-8-0-tp4659026p4659027.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
Possible bug with AjaxButton and textarea.
Hi, I have a form with a textarea using CKEditor, I need to send the contents of the textarea to the server. When using a standard Button, content is submit correctly, but when AjaxButton type, the data is not sent to the server. I tried to remove the comportamient CKEditor, and AjaxButton if it works, someone expert can tell me that may be happening. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Possible-bug-with-AjaxButton-and-textarea-tp4660669.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: Problem with AjaxButton and textarea CKeditor.
I've solved it myself, in case anyone finds it useful, pass the link where is the solution http://stackoverflow.com/questions/7657816/ckeditor-ajax-issue -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Problem-with-AjaxButton-and-textarea-CKeditor-tp4660669p4660670.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
The same URL to two different pages.
Hi I need to have the same url to two different pages, one page must show content to registered users, ie an internal page, the other page "stateless", should show the same content to guest users. The URL should be the same for the two pages and charge one or the other depending on whether the user has session or not. Is it possible to do this? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/The-same-URL-to-two-different-pages-tp4660672.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: The same URL to two different pages.
Not because in my platform, I have a hierarchy of inheritance, in which stateful pages, inherited from a page, which displays the menu, notifications, messaging, and stateless pages inherit from another with a simple menu, the login etc.. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/The-same-URL-to-two-different-pages-tp4660672p4660676.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
Stateless pagination
Hello, anyone has done any component that is a stateless paginator, I read this tutorial, http://letsgetdugg.com/2009/05/27/wicket-stateless-pagination/, but it is for wicket 1.4 and is a paginator very simple. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Stateless-pagination-tp4660697.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: Wicket merchandise
+1 Martin Grigorov -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-merchandise-tp4661378p4661390.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