Re: link within modal window should reload parent page

2011-04-08 Thread Alexander Morozov
1. use AjaxLink AjaxLink redirectLink = new AjaxLink(...) { public void onClick(AjaxRequestTarget target) { ModalWindow.closeCurrent(target); target.appendJavascript("window.location='" + urlFor(AnotherPage.class) + "'"); } }; 2. or embed javascipt to base page: - -

Re: Ajax header-contribution omits IE conditional comments

2011-04-08 Thread Martin Grigorov
It seems they are not related. The previous bug was applicable only to 1.5.x. On Sat, Apr 9, 2011 at 2:34 AM, Michael O'Cleirigh < michael.ocleir...@rivulet.ca> wrote: > Hi Russell, > > There was an issue posted on something like this earlier this week about > this but for 1.5-RC3. > > In one of

Re: Ajax header-contribution omits IE conditional comments

2011-04-08 Thread Michael O'Cleirigh
Hi Russell, There was an issue posted on something like this earlier this week about this but for 1.5-RC3. In one of the replies it mentioned this issue: https://issues.apache.org/jira/browse/WICKET-3420 I think its likely that your issue is related. See the original thread here: http://ap

Ajax header-contribution omits IE conditional comments

2011-04-08 Thread Russell Morrisey
All, I am working on a behavior which contributes IE-specific stylesheets, using conditional comments. The implementation that we have works for normal page loading, but not for AJAX requests. I think this may be an oversight in the wicket ajax client-side code? I created a JIRA issue with qui

link within modal window should reload parent page

2011-04-08 Thread hrbaer
Hi all, at the moment I have a modal window with a link in it. If I click the link (it's a BookmarkablePageLink) the new page get's loaded within the modal window. But what I want to achieve is that the modal window get's closed and the parent page get's redirected to the new page. How can I achi

Re: wicket datatable to excel

2011-04-08 Thread Jered Myers
I haven't used Apache POI, so that may be the way to go. For my exports I use JExcel (http://jexcelapi.sourceforge.net/resources/faq/). With JExcel you will need to loop through the cells in you data table and create the Excel cells to match. There is example code in the FAQ I linked. On 4/

Re: Fwd: wicket 1.5-rc2 and aggregate jar for osgi

2011-04-08 Thread Eike Kettner
Hi Daniele, I might have not understood your concern well enough... But here is what I do: I deploy a really small war file (without any deps of course) into the osgi container (I use felix...). There is another bundle from pax, called pax-web-extender, that "listens" for war files coming into the

Re: wicket datatable to excel

2011-04-08 Thread Rafał Krupiński
On Thu, Apr 7, 2011 at 16:40, henry wrote: > Hi guys, > > please i need a code to export my dataTable values into an excel format on > click of a button. > > Any help will do. Use Apache POI to create excel file/stream and IResourceListener to hook it to Wicket. Next time research on your own an

Git workflow tip for WIcketstuff

2011-04-08 Thread Bruno Borges
http://reinh.com/blog/2009/03/02/a-git-workflow-for-agile-teams.html Seems to be a good idea to squash commits into one single commit, before merging a feature branch to master. Except when there are API changes on Wicket core

Re: Caching Streamed Images on browser

2011-04-08 Thread Arjun Dhar
Got it! As per ETag specs in Firefox Docs,: The "Last-Modified" response header can be used as a weak validator. It is considered weak because it only has 1-second resolution. If the "Last-Modified" header is present in a response, then the client can issue an "If-Modified-Since" request header

Re: Caching Streamed Images on browser

2011-04-08 Thread Arjun Dhar
Hey, thanks for the response ... though i think there is more to it. When I look at the header of a normal image in web context, he server returns 302 (NO MODIFIED). Despite me changing the HTTP cache controls, a "HTTP/1.1 200 OK" still makes the browser stream the image from the server. Using HTT

Redirect back to wicket page problem

2011-04-08 Thread harrytalky
I am having a populate details link on my page which redirects to linkedin site to authorize user and fetch his information back to wicket page. What is happening right now is when user click continue on linkedin site to move back to the our site then a pin is sent to the page. Using this pin we fe

Re: Redirect back to wicket page problem

2011-04-08 Thread harrytalky
Using Tamper data plugin i found during first hit the page header contains the following script: if (window.name=='' || (window.name.indexOf('wicket') > -1 && window.name!='wicket-wicket:Default')) { window.location="../con/prof.html/?oauth_token=e8b44a83-480f-4cf3-97cb-6dd162269c90&oauth_verifie

wicket datatable to excel

2011-04-08 Thread henry
Hi guys, please i need a code to export my dataTable values into an excel format on click of a button. Any help will do. Thanks -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-datatable-to-excel-tp3433610p3433610.html Sent from the Users forum

Re: Redirect back to wicket page problem

2011-04-08 Thread harrytalky
Thanx for reply but non of static resource markup has empty src. One thing i would like to mention here that It's generating different-2 src string for static resources. On first hit ../js/abc.js On second hit ../../js/abc.js This is happening in IE8 but IE7 and firefox, it works in the first

Re: Stateless form throws Unexpected RuntimeException

2011-04-08 Thread Martin Grigorov
Better use only a constructor with PageParameters or chain them as I suggested you already. new MyPage() { this(new PageParameters()); } new MyPage(PageParameters params) { super(params); .. here do your logic } On Fri, Apr 8, 2011 at 10:37 AM, Juansoft wrote: > Thanks for your replie M

Re: Stateless form throws Unexpected RuntimeException

2011-04-08 Thread Juansoft
Thanks for your replie Martin. Really if submitting the form the parameter constructor is called. I tried to delete this constructor (parameter) and the page actually only have one constructor (without parameter) and runs... I don't understand how page run without the parameter constructor in sta