Re: upgrade to wicket 7.2 append javascript to AjaxRequestTarget
the issue is due to a bug in my javascript , but wicket 6 never complained about this, wicket 7 does it. Thanks -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/upgrade-to-wicket-7-2-append-javascript-to-AjaxRequestTarget-tp4674447p4674483.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
upgrade to wicket 7.2 append javascript to AjaxRequestTarget
I upgraded from 6.19 to 7.2. append javascript to ajaxrequesttarget results error in client side Ib54b:1 Wicket.Ajax: Wicket.Ajax.Call.processEvaluation: Exception evaluating javascript: TypeError: Cannot read property 'toUpperCase' of undefined, text: (function(){clickButtonWithId('id2fb')})(); I have two ajax links one hidden and other visible, click on visible it does some loading at server side then call append js to ajaxrequestatrget which clicks the hidden btn, no issues it works, but at client side I see the error. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/upgrade-to-wicket-7-2-append-javascript-to-AjaxRequestTarget-tp4674447.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: open connection to async servlet and initiate wicket ajax request, results ComponentNotFoundException
Yes, Thank you . I will try websocket. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/open-connection-to-async-servlet-and-initiate-wicket-ajax-request-results-ComponentNotFoundException-tp4674357p4674416.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: open connection to async servlet and initiate wicket ajax request, results ComponentNotFoundException
Hi Martin, Before adding the new request I find the previous request and call complete on that and if user closes browser or logs out , the request times out and gets closed. There will be just one request per user at any given time. asyncContexts.stream().filter(as->as.getRequest().getParameter("name").equals(name)).collect(Collectors.toList()).forEach(ac->ac.complete()); I tried wicket-atmosphere sometime before faced issues with tomcat and wicket version, websocket I saw the wicket example , It shows use container specific filter which causes issues with portability. Async serevlet, long polling javascript is simple, plain. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/open-connection-to-async-servlet-and-initiate-wicket-ajax-request-results-ComponentNotFoundException-tp4674357p4674413.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: open connection to async servlet and initiate wicket ajax request, results ComponentNotFoundException
I enabled log info org.apache.wicket.protocol.http.RequestLogger, logs show different url in case of error. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/open-connection-to-async-servlet-and-initiate-wicket-ajax-request-results-ComponentNotFoundException-tp4674357p4674379.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: open connection to async servlet and initiate wicket ajax request, results ComponentNotFoundException
This error happens only when deployed to staging and not in development box, I cannot run this in debug mode to figure out why only sometimes it fails, is it possible to debug this through logs? I tried log debug for org.apache.wicket.request.IRequestHandler but nothing shows up, is there a way to plugin Custom ListenerInterfaceRequestHandler? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/open-connection-to-async-servlet-and-initiate-wicket-ajax-request-results-ComponentNotFoundException-tp4674357p4674373.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: open connection to async servlet and initiate wicket ajax request, results ComponentNotFoundException
MessagePanelPolling function is called through a wicket page, the wicket page has an active ajax call to the async servlet, public BasePage(PageParameters pageParameters) { super(pageParameters); add(new MessageCheckBehaviour()); } static class MessageCheckBehaviour extends MyJqueryBehaviour{ @Override public void renderHead(Component component, IHeaderResponse response) { super.renderHead(component, response); //response.render(OnLoadHeaderItem.forScript("MessagePanel.longPoll('"+UserContextHolder.getUser().getInfUser().getSysUserId().toString()+"')")); response.render(JavaScriptHeaderItem.forReference(JS_FILE)); } static final PackageResourceReference JS_FILE= new JavaScriptResourceReference(MyJqueryBehaviour.class, "messagePolling.js"); } Async servlet waits on a blocking queue , a new item in queue causes thread to checks all registered AsyncContext's and if match found, write to the aynscontext response. public class MessageNotificationServlet extends HttpServlet { static Logger logger= Logger.getLogger(MessageNotificationServlet.class); private Queue asyncContexts = new ConcurrentLinkedQueue(); static BlockingQueue messages = new LinkedBlockingQueue(); ExecutorService executorService; public static void addMessage(String msg){ try{ messages.add(msg); }catch(Exception e){ throw new RuntimeException(e); } } @Override public void init(ServletConfig config) throws ServletException { super.init(config); executorService=Executors.newSingleThreadExecutor(); executorService.submit(new Runnable() { @Override public void run() { while(true){ try{ String message = messages.take(); for(AsyncContext asyncContext :asyncContexts ){ try{ if(asyncContext.getRequest().getParameter("name").trim().equals(message)){ String paramName=asyncContext.getRequest().getParameter("name").trim(); String timestamp=asyncContext.getRequest().getParameter("timestamp").trim(); try{ PrintWriter printWriter=asyncContext.getResponse().getWriter(); printWriter.println("new_message"); printWriter.flush(); asyncContext.complete(); }catch(Exception e){ logger.debug(" failed writing to async "+paramName +" "+timestamp ); logger.error((" async failed "+paramName +" "+timestamp),e); } } }catch (Exception e) { asyncContexts.remove(asyncContext); logger.debug(" error with asyncontext ",e); } } }catch(Exception e){ logger.debug(" error in msg check thread ",e); } } } }); } @Override public void destroy() { super.destroy(); messages.clear(); asyncContexts.clear(); executorService.shutdownNow(); } @Override protected void doGet(HttpServletRequest req, HttpServletResponse response) throws ServletException,
Re: open connection to async servlet and initiate wicket ajax request, results ComponentNotFoundException
This is the javascript file rendered by wicket page, this opens a connection to the async servlet, page has several ajax links, clicking on ajaxlinks updates dom, and sometimes wicket throws ComponentNotFoundException. Initially tried calling MessagePanel.longPoll(data) from wicket page with OnDomReadyHeaderItem, no success, then try selfinvoking function assuming will work but the same exception. (function MessagePanelPolling (){ $.ajax({ url: "/myapp/app/user/userId", success: function(data){ if(data){ MessagePanel.longPoll(data); } }, type: "GET", data: {timestamp: new Date().getTime()} }); })(); var MessagePanel ={ cancelPolling:null, newMsg:function(){ var markup=' You have a new message ' var my_dialog =$(markup).dialog({ position:'right top' ,title:'New Message' }); my_dialog.dialog('widget').zIndex(25000); } ,longPoll:function(channel){ $.ajax({ url: "/myapp/cometmsg", success: function(data){ if(data){ if('new_message'===data.trim()){ MessagePanel.newMsg(); } } }, error: function(err) { MessagePanel.cancelPolling='true'; console.log(" long poll error "+err); }, type: "GET", data: {name:channel,timestamp: new Date().getTime()} ,complete:function(){ if(MessagePanel.cancelPolling!='true'){ MessagePanel.longPoll(channel) } } }); } } -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/open-connection-to-async-servlet-and-initiate-wicket-ajax-request-results-ComponentNotFoundException-tp4674357p4674359.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
open connection to async servlet and initiate wicket ajax request, results ComponentNotFoundException
I am trying to add server push using javascript longpolling and async servlet, a self invoking javascript function makes ajax request to this async servlet , there by keeping the connection open, when this connection is open and a wicket ajax request is initiated, its sometimes failing with ComponentNotFoundException? I assume this is due to wicket ajax channels, how to keep an ajax connection open and also run other wicket ajax requests concurrently ? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/open-connection-to-async-servlet-and-initiate-wicket-ajax-request-results-ComponentNotFoundException-tp4674357.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 6.19, url encryption, session invalidate , redirect to wicket page
wicket 6.19 url encryption, after user logout, redirect to new WicketPage() is failing with http 404 error (page not found) as session is destroyed and key for encryption was in session which is no more available. as per documentation (KeyInSessionSunJceCryptFactory) https://wicket.apache.org/guide/guide/security.html https://wicket.apache.org/guide/guide/security.html After logout or session invalidate() , I want to redirect to an unsecured wicket page , please advice how to. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-6-19-url-encryption-session-invalidate-redirect-to-wicket-page-tp4670760.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 atmosphere broadcast to all except for orign page
I am trying to use wicket atmosphere, I want to broadcast msg for all the resources except for the one which broadcasted the msg, please advice how to exclude a resource . In a page on click of a link I call Event.get().post and this same page has a public method with @org.apache.wicket.atmosphere.Subscribe annotation ,this method gets called when msg is broadcasted. I want to broadcast msg to all other sessions except for current session which broadcasted , please advice. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-atmosphere-broadcast-to-all-except-for-orign-page-tp4669723.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
jqueryuidatepicker Wicket.Ajax: FunctionsExecuter.processNext: TypeError: Cannot read property 'indexOf' of undefined
getting this error Wicket.Ajax: FunctionsExecuter.processNext: TypeError: Cannot read property 'indexOf' of undefined panel has a text-field onDomReady I calling jqueryui.datepicker() function to modify this text-field. Any ajax updates after clicking on the calendar icon or entering text in the this text-field is causing the error. Please advice resolution. I am using wicket 6.12.0 -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/jqueryuidatepicker-Wicket-Ajax-FunctionsExecuter-processNext-TypeError-Cannot-read-property-indexOf-d-tp4668609.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: jqueryuidatepicker Wicket.Ajax: FunctionsExecuter.processNext: TypeError: Cannot read property 'indexOf' of undefined
It my javascript issue not with wicket. I resolved it. Thanks -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/jqueryuidatepicker-Wicket-Ajax-FunctionsExecuter-processNext-TypeError-Cannot-read-property-indexOf-d-tp4668609p4668610.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 atmosphere not updating the page
I tried with wicket 6.17.0, IE 9 does not show the modal window, chrome,firefox works fine. IE console error msg below. It fails in method Wicket.Xml.parse(data); Attached the quickstart myproject.zip http://apache-wicket.1842946.n4.nabble.com/file/n4667366/myproject.zip responde body (data) -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-atmosphere-not-updating-the-page-tp4667321p4667366.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 atmosphere not updating the page
I have quickstart with 6.12.0 could not reproduce there, I also tried setResponsePage instead of adding component to target in the subscribe method, noticed the same 'bookmarkable' in the url ending up with resource not found page. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-atmosphere-not-updating-the-page-tp4667321p4667341.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 atmosphere not updating the page
I tried some tests , 1. redirect to a different page, using setResponsePage works fine. 2. redirect to same page, ends with resource not found page, reason(it stripping servlet-mapping str) servlet mapping configration atmosphere changes url to http://localhost:8080/artms/test from http://localhost:8080/artms/app/test 3. update same page with ajax response (missing wicket prefix for the resource url) -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-atmosphere-not-updating-the-page-tp4667321p4667347.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 atmosphere not updating the page
log output from my app and quickstart, my app does not work quick start works my app quickstarts -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-atmosphere-not-updating-the-page-tp4667321p4667348.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 atmosphere not updating the page
logs from my app and quick start my app quick start -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-atmosphere-not-updating-the-page-tp4667321p4667349.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 atmosphere not updating the page
I am able reproduce this issue in a quickstart, The issue happens in bookmarkable pages, any bookmarkable page, response to atmosphere request fails. below is the error from browser console. Attached the quickstart.zip myproject.zip http://apache-wicket.1842946.n4.nabble.com/file/n4667350/myproject.zip response.responseBody: ?xml version=1.0 encoding=UTF-8?ajax-responsecomponent id=mw3 /componentheader-contribution encoding=wicket1 /header-contributionevaluate/evaluate/ajax-response jquery.atmosphere-ver-1409156999263.js:2799 GET http://localhost:8081/myproject/app/wicket/bookmarkable/resource/org.apache…resource.JQueryResourceReference/jquery/jquery-1.10.1-ver-1409764822476.js 404 (Not Found) wicket-ajax-jquery-ver-1409764822476.js:2167 jQuery.extend.Head.addElement wicket-ajax-jquery-ver-1409764822476.js:2167 (anonymous function) wicket-ajax-jquery-ver-1409764822476.js:2114 run wicket-ajax-jquery-ver-1409764822476.js:125 proxy jquery-1.10.1-ver-1409764822476.js:827 processNext wicket-ajax-jquery-ver-1409764822476.js:140 start wicket-ajax-jquery-ver-1409764822476.js:146 Wicket.Ajax.Call.process wicket-ajax-jquery-ver-1409764822476.js:673 jQuery.extend.Ajax.process wicket-ajax-jquery-ver-1409764822476.js:1854 callback jquery.wicketatmosphere-ver-1409156999263.js:31 _invokeCallback.call jquery.atmosphere-ver-1409156999263.js:2405 jQuery.extend.each jquery-1.10.1-ver-1409764822476.js:657 _invokeCallback jquery.atmosphere-ver-1409156999263.js:2440 _executeWebSocket._websocket.onmessage -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-atmosphere-not-updating-the-page-tp4667321p4667350.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 atmosphere not updating the page
I am trying to use wicket-atmosphere (0.18) in wicket 6.12.0, on post, subscribe method is getting called but any component I add to target is not updating in the page, ajax debug window shows empty ajax-response, and browser console has this error. wicket/bookmarkable/resource/org.apache.wic…bstractDefaultAjaxBehavior/res/js/wicket-event-jquery-ver-1409764822476.js 404 (Not Found) Please advice. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-atmosphere-not-updating-the-page-tp4667321.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: identify if request is from AbstractAjaxTimerBehavior in /ajax/call/beforesend
Thank You. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/identify-if-request-is-from-AbstractAjaxTimerBehavior-in-ajax-call-beforesend-tp4667186p4667225.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
identify if request is from AbstractAjaxTimerBehavior in /ajax/call/beforesend
how to identify the ajax request originated due to AbstractAjaxTimerBehavior in /ajax/call/beforeSend event? I am adding AbstractAjaxTimerBehavior to my page and would like to identify in beforesend function if the request originated due to timer in AbstractAjaxTimerBehavior ? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/identify-if-request-is-from-AbstractAjaxTimerBehavior-in-ajax-call-beforesend-tp4667186.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 6 calling javascript func with parameter in OnDomReadyHeaderItem fails in IE9
In my component I am adding a script to OnDomReadyHeaderItem this script is call to a function with parameter In wicket ajax debug window I see this error I tried without parameter it works fine, and with parameter in chrome works fine. I am using IE 9 it fails in IE 9 when js has a parameter. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-6-calling-javascript-func-with-parameter-in-OnDomReadyHeaderItem-fails-in-IE9-tp4667009.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: tinymce textarea in a modal window not letting to type
I created a quick start project, first time tinymce editor shows up fine, second time cannot type into editor. myproject.zip http://apache-wicket.1842946.n4.nabble.com/file/n4663912/myproject.zip Please advice. should I create a bug report for this. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/tinymce-textarea-in-a-modal-window-not-letting-to-type-tp1886534p4663912.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: tinymce textarea in a modal window not letting to type
Sorry for replying to this very old thread , I am having a similar issue, before modalwindow.show I am constructing new instance of my panel call setContent , so every time modalwindow.show is called it displays a new instance of my panel, can you please give me the script which should be appended to target for tinymce to work this script is not complete. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/tinymce-textarea-in-a-modal-window-not-letting-to-type-tp1886534p4663884.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: tinymce textarea in a modal window not letting to type
here is my code trying with tinymce and modalwindow wicket and tinymce 6.12.0 -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/tinymce-textarea-in-a-modal-window-not-letting-to-type-tp1886534p4663886.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 event /ajax/call/complete check if ajax response is a redirect to a new page
I want to find if the ajax response is to redirect to a new page ? I use ajax buttons even for redirect to a new wicket page, In the callback function to Wicket.Event.subscribe('/ajax/call/complete' I want to find if the ajax response is to redirect to a new page ,callback function parameter settings it has responsetext with a value in case of redirect can I rely on this to identify the ajax request is redirect to a new page ? if not please advice how can I find the ajax request is a redirect to a new page . -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-event-ajax-call-complete-check-if-ajax-response-is-a-redirect-to-a-new-page-tp4663869.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 dialog onclick AjaxButton
I am not java script expert please advice is there anything wrong with the script ? sdimilar script works for ajax link but for submit buttons its not please advice . Thanks -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/jquery-dialog-onclick-AjaxButton-tp4660124p4660262.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
jquery dialog onclick AjaxButton
I want to show a jquery dialog instead of confirm for which I am adding AjaxFormSubmitBehavior with my script, here is generated java script I click on the button dialog shows up , If I click OK the dialog should close and Ok function should be called but dialog is getting closed and the form is not submitting, their is no java script error , please advice whats wrong with the above script? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/jquery-dialog-onclick-AjaxButton-tp4660124.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
using jquery dialog instead of alert
I am trying to use jquery dialog instead of javascript alert, I am using the jquery dialog script and inserting wicket onclick script in the OK :function. In java I am replacing the string myscript with wicket ajax script. I tested, it works ,please advice if this is right way to do? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/using-jquery-dialog-instead-of-alert-tp4660057.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
append javascrit to AjaxTRequestTarget for entire application
I want to add some jquery java script for every AjaxRequestTarget, I dont want to repeat this code all over , is there a way to add my java script to the target instance in a global way? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/append-javascrit-to-AjaxTRequestTarget-for-entire-application-tp4659855.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 head places script before the script tags
I am trying to use wicket head tag containg some jquery script, when the page rendered wicket is placing this script on top of jquery script tag , I am using wicket 1.4.21, in this case my script will never be executed, please advice. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-head-places-script-before-the-script-tags-tp4659246.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: adding jsf to wicket app
I just started only way I saw is to copy my basepage.html and replace wicket child with jsf tags with ui:insert, did not test it yet, I am wondering If I can use something like WicketJspResolver , is there anything ? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/adding-jsf-to-wicket-app-tp4658766p4658770.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
version of jquery in org.wicketstuff.jquery
some of my jquery plugins are not working, I am using wicket 1.4.21 and wicketstuff jquery 1.4.21. What version of jquery this comes with? , can I upgrade the jquery.js file to newer version ? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/version-of-jquery-in-org-wicketstuff-jquery-tp4658656.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
custom button in tinymce
I am using wicket tinymce .I want to add a custom button to tinymce which I can do using tinymce init script , i also want to know if user clicked on this button when the form is submitted at the server side any suggestion on how to ? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/custom-button-in-tinymce-tp4658630.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 1.4.20 ajax download link
ajaxdownload from page history which works with 1.4 here is the code I have a ListView in a modalwindow , AJAXDownload behaviour is added to the ListItem, this list item has ajaxlink which has to start download , on click of this linkmodawindow is closed here is the code as I am closing this modal window this line target.appendJavascript(window.location.href=' + url + '); will it work? it did not start download? any advice please. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-1-4-20-ajax-download-link-tp4657649p4657675.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 1.4.20 ajax download link
In wicket 1.4.20 is it possible to download and do an ajaxupdate , I have a modal window , this has some links each of this link is for download so they are Link and not AjaxLink. I want to close the modal window after users clicks on the download link, I saw this link https://cwiki.apache.org/WICKET/ajax-update-and-file-download-in-one-blow.html, but its for wicket 1.5 is rther anything for wicket 1.4 ? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-1-4-20-ajax-download-link-tp4657649.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
check load
I use aws load balancer to load balance my app running in aws cloud ,the load balancer is configured to launch a new server instance if request is taking more than the specified time . I need advice on how to check the load on the server, should it be like number of session ? total sessions size ? please advice can wicket any how tell me whats the load ? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/check-load-tp4657265.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
clean up all threadlocal objects
I want to clean up all my threadlocal values at the end of request, any suggestions where I can plug code to cleanup all my threadlocals ? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/clean-up-all-threadlocal-objects-tp4657222.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
download indicator for long downloads
I have a download link, clicking on this generates a word documents and starts downlaod, the word generation takes time , is there any way I can put an indicator using java script , jquery ... as this link has to download I am using Link not AjaxLink any suggestions ? I am using wicket 1.4.20 -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/download-indicator-for-long-downloads-tp4657083.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
using static fileds in a page
to run my lengthy operation, my pages needs, I am using a static filed which is a proxy of my service in the page class itself, on ahjaxevent I use this proxy to get my data, this proxy times out based on configration to avoid wicket freezing for lengthy operation. Is it advised to have static field in page? Its not instance data so will they be serialized ? Please clarify will this cause issues with page serialization and denationalization? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/using-static-fileds-in-a-page-tp4657021.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
idle timeout javascript when page has a modal window or tinymce editor
I am using jquery plugin to detect idle time or inactivity and signout the user , the plugin I use works fine, but the problem is with iframes, I have lot of modal windows and tinymce editor in my pages and when user is either typing in tinymce editor or clicking on a modal window whihc uses pages then the timer is not reset and even tough user is p[erforming activity this plugin does not detect and times out, please advice how to handle timeout when I have tinymce editor orwicket modal window. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/idle-timeout-javascript-when-page-has-a-modal-window-or-tinymce-editor-tp4656987.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
jquery dialog and wicket modal window
jquery ui dialog does shows up behind wicket modal window. I am using wicket 1.4.21 when a modal window is open , next If I click a link which opens jquery dialog it always open behind modalwindow,I can see the dialog only If I close the modal window. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/jquery-dialog-and-wicket-modal-window-tp4656897.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 panels inside webmarkupcontainer
Plz help me understand this , as the page is stateful will it keep references to all the new MyContainer(id)? clicking on this link creates a new container everytime, if all the Mycontainer instances are gc collected not a problem but if the instances are stored it will definetly increase session size , I am trying to reduce session size and not to increase it with unnessary objects. Please advice me. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/update-panels-inside-webmarkupcontainer-tp4655279p4655316.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 panels inside webmarkupcontainer
Thanks for your reply, I am assuming if I use component.replacewith will the old component is replaced with the new componenet and the old is no more in the component tree so will be gc colected , sure I am not holding any references top it. second if I move out of this page to some other page can i delete all version of this page from pagemap ? if so please tell me how . -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/update-panels-inside-webmarkupcontainer-tp4655279p4655319.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 panels inside webmarkupcontainer
I have A Container I added it to the page constructor using on ajaxrequest after the above code will the oldComponent be garbage collected as its no longer being used? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/update-panels-inside-webmarkupcontainer-tp4655279p4655290.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 panels inside webmarkupcontainer
I have a container with two fragments these fragments are added with some conditional logic, if the condition is not satisfied I add empty panel on ajax update of this container I wan to call the logic again and add the right component either fragment or empty panel please advice how to? I can do this with a list view repaint will recreate the list view , but is there any other way ? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/update-panels-inside-webmarkupcontainer-tp4655279.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 webmarkupcontainer from fragment , container onBeforeRender() method is not being called
found the issue , its becasue of not using onConfigure or callOnBeforeRenderIfNotVisible -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/update-webmarkupcontainer-from-fragment-container-onBeforeRender-method-is-not-being-called-tp4653960p4654030.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 webmarkupcontainer from fragment , container onBeforeRender() method is not being called
I have a fragment with a link inside, onclick of this link I want to update a webmarkupcontainer in my page for which I add this container to the target. surprisingly its not calling onBeforeRender() method of this container, in ajaxdebug window I see the container mark in the response ? I am still using wicket 1.4.12, Please advice. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/update-webmarkupcontainer-from-fragment-container-onBeforeRender-method-is-not-being-called-tp4653960.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 1.5 confirmation ajaxbutton
I used confirmation for onclick of ajax button in 1.4 it worked when I try the same with 1.5 it does not work. here is the code -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-1-5-confirmation-ajaxbutton-tp4650460.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: After 1 minute the Pagemap null is still locked by: Thread how to kill this request ?
I am still facing this problem root cause of my issues are database related, it takes time time to respond what can I do to avoid pagemap lock? can I set timeout for all my pages in a global way ? Please advice. I saw this post http://apache-wicket.1842946.n4.nabble.com/Removing-Pagemap-lock-post-1-5-td3387575.html I am using wicket 1.4.12 , using wicket 1.5.1 or above will resolve this problem? or is there any hack in wicket 1.4.xx Please advice. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/After-1-minute-the-Pagemap-null-is-still-locked-by-Thread-how-to-kill-this-request-tp4565091p4649966.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: After 1 minute the Pagemap null is still locked by: Thread how to kill this request ?
by default its supposed to timeout after 1 minute , but whenever my pagemap is locked only way to call new resource is close the browser relogin as if new session. Please advice me. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/After-1-minute-the-Pagemap-null-is-still-locked-by-Thread-how-to-kill-this-request-tp4565091p4649970.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: After 1 minute the Pagemap null is still locked by: Thread how to kill this request ?
if my dboperation is pending and taking long time, there is now way I can call another resource ? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/After-1-minute-the-Pagemap-null-is-still-locked-by-Thread-how-to-kill-this-request-tp4565091p4649973.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: After 1 minute the Pagemap null is still locked by: Thread how to kill this request ?
I cannot run this in seperate thread becasue this could happen in anypage not just one page , all my pages uses db operations and for some reason once in a while some db operation takes time and the page is stuck.Please tell more on using a different pagemap . I encode all my urls. can I provide a link in my basepage through which this link is accessible to all pages ,can you provide me simple code waht should be called in onclick ? Thanks a lot for you support. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/After-1-minute-the-Pagemap-null-is-still-locked-by-Thread-how-to-kill-this-request-tp4565091p4649976.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
example to avoid pagemap locks
One of my page is a search page this sometimes gets stuck because the users search criteria is time consuming and I get page map is still locked error. To avoid this I want to modify this page to use a job to execute the search in a thread and a timer to check every 5 second 's if search is complete and option to cancel the search (job). If user does not like to wait. Are there any examples of this kind ? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/example-to-avoid-pagemap-locks-tp4649956.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 yui 1.5.5
The latest version of wicketstuff yui is 1.4.20 , will this work with wicket 1.5 ? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-yui-1-5-5-tp4584353p4586092.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: CryptoMapper - Error decoding text
I am getting the same error , I am trying to migrate to wicket 1.5.5, is there a fix for this ? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/CryptoMapper-Error-decoding-text-tp4034573p4586850.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: CryptoMapper - Error decoding text
I could not reproduce with the quick start , it works in quick start I also tried with 1.5.1 still I could not produce it , not sure why my app is getting error. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/CryptoMapper-Error-decoding-text-tp4034573p4587229.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 yui 1.5.5
I am upgrading my project to 1.5 , I use wicketstuff yui, is there 1.5 release for yui ? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-yui-1-5-5-tp4584353p4584353.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: After 1 minute the Pagemap null is still locked by: Thread how to kill this request ?
If a page is stuck with this error , is there any way I can identify this and throw a RestartResponseAtInterceptPageException exception to error page ? I am using wicket 1.4.12 -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/After-1-minute-the-Pagemap-null-is-still-locked-by-Thread-how-to-kill-this-request-tp4565091p4568619.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: After 1 minute the Pagemap null is still locked by: Thread how to kill this request ?
here is stack trace , with this please help me identify the thread causing the lock, my applciation is deployed in weblogic. I assume once the thread is identified I have to use weblogic admin console to kill this particular thread ? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/After-1-minute-the-Pagemap-null-is-still-locked-by-Thread-how-to-kill-this-request-tp4565091p4568715.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
After 1 minute the Pagemap null is still locked by: Thread how to kill this request ?
I need to handle this , I know this is asked several times in forums , the solutions suggested I cannot apply as this happens once in while and I dont have steps to reproduce this , this happens in page 1 , page2 etc , but not always in page1 or page2 , its happens if database for some reason taking time for the query the page is using, the problem I face with this is none of my other links work , all links get stuck , only a new session will work good, user will close and start a new browser to over come this problem, I need advice if I can globally handle this , I want to show an error page and tell wicket it need not wait for the page map to fulfill the request and complete the request by sending the error page. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/After-1-minute-the-Pagemap-null-is-still-locked-by-Thread-how-to-kill-this-request-tp4565091p4565091.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: modal window takes very long time to close
should I add the behaviour to the page or to the modalwindow ? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/modal-window-takes-very-long-time-to-close-tp4377803p4415330.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: modal window takes very long time to close
any help with this , My modal window is taking too long to close. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/modal-window-takes-very-long-time-to-close-tp4377803p4384240.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: modal window takes very long time to close
Yes the page has lot of ajax links . -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/modal-window-takes-very-long-time-to-close-tp4377803p4379544.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
modal window takes very long time to close
I am using wicket 1.4.12 , sometimes my modal windows takes very long time to close , there is no code called when modalwindow is closed no ajax updates to the page , what can cause modal window to hang ? It happens in all browsers it happens only some times . -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/modal-window-takes-very-long-time-to-close-tp4377803p4377803.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
find object causing issue with serializing
I am getting this error I enabledorg.apache.wicket debug , I dont see what object is causing issues with serializing , the logs does not say that , It says could not serilize the page but my page has lot of objects , please advice me how to find the object causing this issue. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/find-object-causing-issue-with-serializing-tp4314367p4314367.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
logging the page class name
I want to log all the pages users are viewing without any much detail just the page class name . is there any way I can get this without adding my own log statements in code ? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/logging-the-page-class-name-tp4119768p4119768.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 push firefox and chrome shows error
I am using wicket push 1.4.8 . In firefox and chrome browsers I get this error (attached is the screen shot) , can you please tell me what this means and how to fix this ? http://apache-wicket.1842946.n4.nabble.com/file/n4013606/wicket-push.jpg here is the error -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-push-firefox-and-chrome-shows-error-tp4013606p4013606.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
embed youtube player
I want to embed youtube into my page , for this I created a panel which implements IMarkupResourceStreamProvider, in method getMarkupResourceStream I am generating markup to embed video based on the selected video,as the markup is cached after the first time I always get the same video , so is there a way to tell wicket not to cache markup of this panel ? and please advice me if there is much cleaner way to embed youtube in wicket page? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/embed-youtube-player-tp3835617p3835617.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
using saml2 for authentication
my application uses wicket authentication which it turn uses spring acegi security, now we along with our partner decided to use single sign on for which saml2 is proposed, I have to implement saml2 in my wicket application we will the service provider and our partners will be identity provider, did anybody used saml2 with wicket? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/using-saml2-for-authentication-tp3680988p3680988.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
exception-no clue for the cause
I see an exception from logs no clue what is the cause of this 2011-07-05 14:05:03,046 [[ACTIVE] ExecuteThread: '21' for queue: 'weblogic.kernel.Default (self-tuning)'] ERROR org.apache.wicket.RequestCycle - java.lang.NullPointerException at java.io.FilterInputStream.close(FilterInputStream.java:155) at weblogic.utils.zip.SafeZipFileInputStream.close(SafeZipFileInputStream.java:37) at org.apache.wicket.util.io.Connections.close(Connections.java:113) at org.apache.wicket.util.io.Connections.getLastModified(Connections.java:73) at org.apache.wicket.util.resource.UrlResourceStream.lastModifiedTime(UrlResourceStream.java:223) at org.apache.wicket.markup.html.PackageResource.getResourceStream(PackageResource.java:607) at org.apache.wicket.markup.html.PackageResource.getResourceStream(PackageResource.java:565) at org.apache.wicket.Resource.init(Resource.java:213) at org.apache.wicket.Resource.onResourceRequested(Resource.java:117) at org.apache.wicket.request.target.resource.SharedResourceRequestTarget.respond(SharedResourceRequestTarget.java:213) at org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:105) at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1258) at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329) at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1436) at org.apache.wicket.RequestCycle.request(RequestCycle.java:545) at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:484) at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:317) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265) at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149) at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) at weblogic.work.ExecuteThread.run(ExecuteThread.java:173) any suggestion what might have caused this ? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/exception-no-clue-for-the-cause-tp3646873p3646873.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: exception-no clue for the cause
Thanks for the reply ,can you tell me what could cause this ? Can I ignore this or this can cause issues ? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/exception-no-clue-for-the-cause-tp3646873p3646914.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: new user registration email verification
any suggestions ? Email verfication almost all aps needs this is there any generic way of doing this ? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/new-user-registration-email-verification-tp3630379p3630679.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: new user registration email verification
yes its nothing about wicket sorry,but please suggest me how do we implement this in general I posted it here because mine is a wicket app and other wicket users might have had a similar requirement . -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/new-user-registration-email-verification-tp3630379p3630701.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
jsp check AuthenticatedWebSession.get().isSignedIn()
I have very few jsp pages and for these pages I want to check that user is authenticated. I tried calling AuthenticatedWebSession.get().isSignedIn() and I getting this exception java.lang.IllegalStateException: you can only locate or create sessions in the context of a request cycle at org.apache.wicket.Session.findOrCreate(Session.java:208) at org.apache.wicket.Session.get(Session.java:252) at org.apache.wicket.authentication.AuthenticatedWebSession.get(AuthenticatedWebSession.java:40) at gov.hhs.acf.web.filter.JspSecurityFilter.doFilter(JspSecurityFilter.java:29) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1187) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265) at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149) at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1187) at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1187) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:421) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:493) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:924) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:358) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:860) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:245) at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:126) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:113) at org.eclipse.jetty.server.Server.handle(Server.java:335) at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:588) at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:1029) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:549) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:211) at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:418) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:476) at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:436) at java.lang.Thread.run(Thread.java:619) please suggest me how check if user is authenticated in case of jsp pages ? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/jsp-check-AuthenticatedWebSession-get-isSignedIn-tp3631307p3631307.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
disabled chek box form submit
can the disbaled checked check boxes be submitted with the form ? I have check boxes in my form, based on business logic some of the checked check boxes are disabled. when form is submitted I want to get all the checked disabled check boxes posted to the server ,please advice me how. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/disabled-chek-box-form-submit-tp3513088p3513088.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
form in a modal-window form.findSubmittingButton() return's null
form inside a modal window when submitted, return's null for form.findSubmittingButton() I have several buttons in this form and I call different validations based on submitbutton , so I need to find which button was clicked. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/form-in-a-modal-window-form-findSubmittingButton-return-s-null-tp3492502p3492502.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
eclipse,jetty,wicket
I am running my wicket app with jetty-maven-plugin from eclipse , when run in debug mode any change to .java file the changes are reflected in the app but if I change html the changes are not reflected, eclipse does not even say hot code replace failed , please help me. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/eclipse-jetty-wicket-tp3452526p3452526.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: eclipse,jetty,wicket
resolved it I was running in deployment mode once I changed to development mode it works. Thanks -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/eclipse-jetty-wicket-tp3452526p3452635.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
test pages with selenuim
I am trying to test my wicket application using selenuim , I had no success , did anybody try ? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/test-pages-with-selenuim-tp3452652p3452652.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
image in java script
I have a simple jquery function and it needs an image , right now I placed the image in webapp root and hadcoded the image path in jquery function including context root , please advice me how to use images in jquery functions ? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/image-in-java-script-tp3449390p3449390.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: fter 1 minute the Pagemap null is still locked by: Thread[[ACTIVE]
In other words I have a panel called OrderPanel this has a WebMarkupContainerajaxSpinner, AjaxFallbackDefaultDataTable orderConfirmation, AjaxSelfUpdatingTimerBehavior updateBehavior, In the constructor of the panel I instantiate all the above components and call set visible false on orderConfirmation, here is the code public OrderPanel(String id){ super(id); add(ajaxSpinner = new WebMarkupContainer(ajaxSpinner)); add(orderConfirmation= new AjaxFallbackDefaultDataTable(orderConfirmation,.)); orderConfirmation.setVisible(false); add(updateBehavior = new AjaxSelfUpdatingTimerBehavior(Duration .seconds(5)); // updates my model new OrderProcessThread(getSession()).start(); } I override the method onBeforeRender() here I check the status of thread which I started in the constructor . becasue of AjaxSelfUpdatingTimerBehavior with a duration of 5 seconds the onBeforeRender is called every 5 seconds. here is the code for onBeforeRender @Override protected void onBeforeRender() { super.onBeforeRender(); if(((MySession)getSession()).isOrderProcessComplete(true)){ // This means our worker thread has finished and updated the session. // Now, we can update our view states to show the order confirmation. ajaxSpinner.setVisible(false); orderConfirmation.setVisible(true); // update behavior updateBehavior.stop(); } } till here I am fine, I have no problems implementing time consuming selects . In case of AjaxFallbackDefaultDataTable It has sortable Headers and pagination links, when user clicks on any header or pagination link the code in constructor is not called so my thread is not started , so this time the method from dataprovider is called which is public Iterator iterator(int first, int count) my actual implementation of this method is it just returns the model which is updated by OrderProcessThread. is there any method which I can override forAjaxFallbackDefaultDataTable when user clicks on sortable header or paginations links so that I can restart the thread and the timer ? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/fter-1-minute-the-Pagemap-null-is-still-locked-by-Thread-ACTIVE-tp3423610p3428191.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: fter 1 minute the Pagemap null is still locked by: Thread[[ACTIVE]
Thanks for the reply , I will use FutureTask and can use future.isDone() to check if the search is complete and future.get() to get the results. In my case I use AjaxFallbackDefaultDataTable this uses a SortableDataProvider. Please advice me how to integrate future task and SortableDataProvider ? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/fter-1-minute-the-Pagemap-null-is-still-locked-by-Thread-ACTIVE-tp3423610p3425295.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: fter 1 minute the Pagemap null is still locked by: Thread[[ACTIVE]
please suggest me in case of datatable which uses sortabledataprovider how can I incorporate futuretask ? please advice me. for my thought I will have a panel which will hide its datatable initially and start a thread (futuretask) for loading data and will also have AjaxSelfUpdatingTimerBehavior ,this behaviour will check every 5 seconds to see the thread completed its job if so I will show the datatable and stop the timer , something like explained in this http://www.brimllc.com/2010/09/wicket-ajax-timer-for-legthy-operations-using-ajaxselfupdatingtimerbehavior/ but in case of datatable with sortable headers and pagination , when user clicks on next page (pagination )link ora sortable header , how to restart the timer and hide datatable till thread completes loading data? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/fter-1-minute-the-Pagemap-null-is-still-locked-by-Thread-ACTIVE-tp3423610p3426577.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
fter 1 minute the Pagemap null is still locked by: Thread[[ACTIVE]
we have a complex search screen , right now the query behind the search is not tuned , sometimes for different combinations search takes very long time and I get [raw] Caused by: org.apache.wicket.WicketRuntimeException: After 1 minute the Pagemap null is still locked by: Thread[[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads], giving up trying to get the page for path: 2 [raw/] once I get this error then all links becomes non functional ,ie I click on the link nothing happens all my links are ajax links .only way to get rid of this error is kill the session ie kill the browser and open new browser . -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/fter-1-minute-the-Pagemap-null-is-still-locked-by-Thread-ACTIVE-tp3423610p3423610.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
jquery modal window on close
I am using jquery modal window. Using wicket modal window when the modal window is closed event is generated and my code is called can I do the same for a jquery modal window ? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/jquery-modal-window-on-close-tp3332199p3332199.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
multiple markup files for on panel
its it possible to have multiple mark up files for one panel My panel has list view , in one place I want to use an ordered list and in other place I want to use a table ,I can achieve this if my panel has multiple markup files and my panel will return the mark up based on preferenece . -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/multiple-markup-files-for-on-panel-tp3313413p3313413.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
a common component for all my pages which takes lot of time to load
I need acomponent which I want to show in all my pages , this component takes time for loading so I don't want to contruct this everytime but create it once when user logs in put in his session and show the same component in all my pages and also this componenet should update itself at frequent intervals in a seperate thread .Please advice me , and are there any examples ? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/a-common-component-for-all-my-pages-which-takes-lot-of-time-to-load-tp3311989p3311989.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: a common component for all my pages which takes lot of time to load
thanks for the reply , yes it is the model which takes time to load, I did not start the coding yet to show you the code I am looking for suggestions., write now my idea is to create this model object when user logs in and put in his session, this panel gets the data from session and it will have AjaxSelfUpdatingTimerBehavior to update itself. but the difficult part where I need advice is how to tell my session to reload this model at frequent intervals? if this is not a good idea please advice me with better way to do . -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/a-common-component-for-all-my-pages-which-takes-lot-of-time-to-load-tp3311989p3312016.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
cell width AjaxFallbackDefaultDataTable
I want to increase column width inAjaxFallbackDefaultDataTable. first I tried columns.add(new org.apache.wicket.extensions.markup.html.repeater.data.table.AbstractColumnInfUser(new ModelString(Name and Phone No.),firstName) { @Override public void populateItem(ItemICellPopulatorInfUser cellItem, String componentId, IModelInfUser rowModel) { InfUser infUser=rowModel.getObject(); cellItem.add(new Label(componentId,WicketApplication.getUserDisplayValue(infUser))); cellItem.add(new SimpleAttributeModifier(style, width: 40px;)); cellItem.setOutputMarkupId(true); } }); I tought this would add style attribute to th tag but it did not, adding attribute modifier to getHeader method, it did add the style attribute to the span tag but that is not making any difference Iam able to increase width only by adding style attribute to thtag , please tell me how can I add style attribte to th tag ? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/cell-width-AjaxFallbackDefaultDataTable-tp3305714p3305714.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
add java script on load of ajax tab
I am using AjaxTabbedPanel , this tabbedpanel has 5 tabs , when user clicks on the 3rd tab I wanted to render some java script , please tell me how can I do this . -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/add-java-script-on-load-of-ajax-tab-tp3301473p3301473.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
what doctype should I use
please suggest what doctype should I use to make IE work , and not cause any new issues. i am not sure If my application is xhtml or just html , I am not sure if every thing is valid , in this case what would be the right doctype for my pages , please suggest me. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/what-doctype-should-I-use-tp3297678p3297678.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
conditional css
how can I use condtional css something like !-- IE6 fix for the close png image -- !--[if lt IE 7] link type='text/css' href='css/basic_ie.css' rel='stylesheet' media='screen' / ![endif]-- -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/conditional-css-tp3276786p3276786.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
JGrowlFeedbackPanel repeates error message if validation called before message is cleared
I am using JGrowlFeedbackPanel , this feedback panel do not clear previous message , I mean if I hit the submit button and form failed with validation errors this JGrowlFeedbackPaneldisplays the error message , if I hit it before the validation messages is cleared , second time the same vaidation message is repeated so number of times I hit the submit the same validation messages increases. but the FeedbackPanel does not so this , please tell me how to solve this -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/JGrowlFeedbackPanel-repeates-error-message-if-validation-called-before-message-is-cleared-tp3258154p3258154.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: export to excel AjaxFallbackDefaultDataTable
Now I want to export the same table in PDF , I did the export to excel using apache POI, Now I have to export the same table to PDF. Is there any libray which serves export to various formats ? I saw display Tag http://displaytag.sourceforge.net/10/export.html it provides export to pdf , xml , excel , I am looking for a similar solution , is there any way I can use the display tag to export from wicket datatable ? Please suggest me what are the available options to provide export to various formats from a wicket datatable ? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/export-to-excel-AjaxFallbackDefaultDataTable-tp3225458p3252116.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
wicketstuff-dojo
I am trying to use wicketstuyff.dojo , I saw the version available is 1.3 and it does not work with wicket 1.4.12 , please tell me if there is any wicketstuff-dojo compatible with wicket 1.4.12 ? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicketstuff-dojo-tp3236778p3236778.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 examples very slow
I was trying to see wicket examples http://www.wicket-library.com/wicket-examples/ its very slow I tried on Friday ,again today its very slow , I tried in different browsers.It did not help. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-examples-very-slow-tp3234627p3234627.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: export to excel AjaxFallbackDefaultDataTable
Thanks for your reply , I tried using apache poi call the data provider get data and create excel . It works fine no problems.To download this excel I am using fileresource,the file I provide to this is a temp file my excel util creates this temp file, after download I want to clear the temp file , please suggest me how to clean up the temp file? . -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/export-to-excel-AjaxFallbackDefaultDataTable-tp3225458p3227903.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
export to excel AjaxFallbackDefaultDataTable
I found some code to export datatable to excel here is the code add(new LinkVoid(export){ @Override public void onClick() { getRequestCycle().setRequestTarget(new ComponentRequestTarget(abstractDataTablePanel.getDataTable()){ @Override public void respond(RequestCycle requestCycle) { DataTable dataTable=(DataTable)getComponent(); DataGridView dataGridView = (DataGridView) dataTable.get(body:rows); final int oldRowsPerPage = dataGridView.getRowsPerPage(); dataGridView.setRowsPerPage (Integer.MAX_VALUE); super.respond(requestCycle); dataGridView.setRowsPerPage(oldRowsPerPage); } }); WebResponse wr = (WebResponse) getResponse(); wr.setContentType(application/vnd.ms-excel; charset=UTF-8); wr.setCharacterEncoding(UTF-8); wr.setHeader(content-disposition, attachment;filename=excel.xls); } }); on clicking the link export works. After the file is downloaded If I click on any pagination link for next page I get this error WicketMessage: org.apache.wicket.WicketRuntimeException: component dataTableContainer:form:dataTable:dataTable:topToolbars:1:toolbar:span:navigator:navigation:5:pageLink not found Please suggest me . -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/export-to-excel-AjaxFallbackDefaultDataTable-tp3225458p3225458.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