Re: How to invalidate session after panel replacement?

2010-12-11 Thread bht
Thanks Ernesto. It is doable without JavaScript: WebRequestCycle requestCycle = (WebRequestCycle) RequestCycle.get(); WebRequest webRequest = (WebRequest) requestCycle.getRequest(); HttpServletRequest httpServletRequest = webRequest.getHttpServletRequest(); httpServletRequest.getSession().setMaxI

Re: Saving an Excel file using WebResource

2010-12-11 Thread drf
This worked: @Override public IResourceStream getResourceStream() { HSSFWorkbook workbook = getExcelWorkbook(new HSSFWorkbook()); byte[] bai = workbook.getBytes(); ByteArrayResource bar = new ByteArrayResource("application/vnd.ms-excel", bai); return bar.getResourceStream(); } -- V

Re: wicket-velocity velocimacro.library

2010-12-11 Thread richard emberson
Funny, just yesterday I was trying to get wicket-velocity to work. So, I downloaded the velocity source and went code spelunking. The singleton, org.apache.velocity.app,Velocity, has a method setProperty which, if set before the init method is called, allows you to override the velocimacro.library

Re: Remove busy indicator from ajax timer behavior?

2010-12-11 Thread fachhoch
please tell me more on what javascript flag my polling behavior should set, are there any examples ? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Remove-busy-indicator-from-ajax-timer-behavior-tp2195698p3083221.html Sent from the Users forum mailing list archiv

multi-window support, pagestores and wicket 1.5

2010-12-11 Thread Michal Kurtak
Hi folks, I know that there has been a lot of written about pagestores and multi-window support in wicket 1.5, but i have several other questions: 1. Is multi-window supported for non-versioned pages? If page is versioned everything works ok, but i always get StalePageExceptions when i use multi

Re: StalePageException and AJAX possible bug

2010-12-11 Thread Martin Grigorov
Yes, please. Create a ticket with a quickstart. Even better - with a patch ;-) On Sat, Dec 11, 2010 at 10:26 AM, Michal Kurtak wrote: > Hi, > > I have encountered a problem when using not versioned page with AJAX > in multiple tabs/windows . > > Suppose I have ajax link which changes its model in

StalePageException and AJAX possible bug

2010-12-11 Thread Michal Kurtak
Hi, I have encountered a problem when using not versioned page with AJAX in multiple tabs/windows . Suppose I have ajax link which changes its model in non versioned page. I open the same page in new tab/window and click on the link. When i click the link in the first tab/window i get javascript