Re: clearing feedback messages on Ajax upload

2014-11-14 Thread Martin Grigorov
On Fri, Nov 14, 2014 at 1:47 AM, Garret Wilson gar...@globalmentor.com wrote: Martin, after fixing the ID selector (#id7) it works great! (The page jumps up because the feedback area disappears, but I can live with that for now.) It even How is your CSS ? ;-) Instead of $('#id7').empty() you

Re: RenderStrategy.ONE_PASS_RENDER possible for single page?

2014-11-14 Thread Wayne W
Hi, it looks like we cannot make the page stateless as we have many links that require the model etc. Martin- regarding RedirectPolicy#Never - is there any way we can 'mark' the page to use that? As people are coming to this page from a mount url (with a parameter), so we never get a chance to

Re: RenderStrategy.ONE_PASS_RENDER possible for single page?

2014-11-14 Thread Martin Grigorov
You can setup your own PageRenderer via org.apache.wicket.Application#setPageRendererProvider. It should return the correct redirect policy per page type. Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Fri, Nov 14, 2014 at 12:57 PM, Wayne W

Re: RenderStrategy.ONE_PASS_RENDER possible for single page?

2014-11-14 Thread Wayne W
Ah yes, brilliant - didn't think of that. Thanks Martin - that works a treat. On Fri, Nov 14, 2014 at 11:00 AM, Martin Grigorov mgrigo...@apache.org wrote: You can setup your own PageRenderer via org.apache.wicket.Application#setPageRendererProvider. It should return the correct redirect

RE: Wicke website makeover time?

2014-11-14 Thread Chris Colman
I think a multi phase approach might have more chance of success - as I said in my immediate previous post if we could live with jekyll source for phase one (even though it may not be ideal) then we can keep most of the current content source 'as is' and simply choose a decent modern

Re: Wicke website makeover time?

2014-11-14 Thread Guillaume Smet
Hi, Personnally, I really liked what Martijn did here: http://people.apache.org/~dashorst/wicket-flat/ It's clean and has personnality. The only thing IMHO is that a one page design for this amount of information is perhaps a bit too much. -- Guillaume On Fri, Nov 14, 2014 at 1:14 PM, Chris

RE: Wicke website makeover time?

2014-11-14 Thread Chris Colman
Yes, that looks very nice indeed. That's the sort of website I'd love my clients to see when I tell them I'm planning to build their 'next big thing' using Wicket. -Original Message- From: Guillaume Smet [mailto:guillaume.s...@gmail.com] Sent: Friday, 14 November 2014 11:50 PM To:

RE: Wicke website makeover time?

2014-11-14 Thread Chris Colman
Hi Martijn, Did you build that page via jekyll or from raw HTML? I'm thinking we could easily restructure the current jekyll content to output in that layout/style. I'm playing around with a new type of layout called 'landing' (for landing page - eg., like the home page) where things are laid

Re: Wicke website makeover time?

2014-11-14 Thread Andrea Del Bene
I think we haven't mentioned yet the nice work done by Chris J. Lee: https://github.com/chrisjlee/wicket-site This should be the last version of Martijn's initial work. Hi Martijn, Did you build that page via jekyll or from raw HTML? I'm thinking we could easily restructure the current

Problems with wicket serialization

2014-11-14 Thread LaƩcio Freitas Chaves
Hi, I have an application using Wicket 1.5.10 and I'm having problems with the serialization of FileUpload component. The problem is that the FileUpload creates a temporary file in the temp directory and when the wicket deserializes the page, if file (*temp directory*) no exists the following

RadioGroup not updating in ajax event

2014-11-14 Thread Entropy
We have an ajax event initiated by one panel that affects the data, and needs to force a redraw of a radiogroup in another panel. The ajax event arrives, we add the radiogroup to the target, update the model that backs the ListView, but the populateItem method never re-fires to redraw. Note that

Re: Wicke website makeover time?

2014-11-14 Thread Andrea Del Bene
One last useful reference is https://issues.apache.org/jira/browse/WICKET-3341. This is the official issue to discuss new site design. Personally I like very much https://issues.apache.org/jira/secure/attachment/12583195/wicket-flat-new-top.002.png which is a variation of the flat theme. I

Re: Wicket jQuery js loaded twice when modal window opened

2014-11-14 Thread prasad.bhandagi
Yes, the anticache parameter was being added by jQuery as I was trying to get the content for new page in modal window using jQuery ajax get. I will load the new page in modal window using iframe to avoid the javascript of new page affecting the page in parent window, to resolve the issue. --

RE: Wicke website makeover time?

2014-11-14 Thread Chris Colman
Wow! Martijn has already done what I was suggesting we already do - except I was proposing Bootstrap but Martijn's work looks excellent with whatever CSS it's using. I didn't realize that there was such an active JIRA already covering this. So this worries me - why isn't Martijn's work live

RE: Wicke website makeover time?

2014-11-14 Thread Chris Colman
Sorry, for the confusion - I realize now that I was referring to Chris J Lee's fork of Martijn's work. I cloned Chris J Lee's fork and ran Jekyll on it and looks very modern and sexy indeed. -Original Message- From: Chris Colman [mailto:chr...@stepaheadsoftware.com] Sent: Saturday, 15

ajax events and manipulating DOM

2014-11-14 Thread Jason Novotny
Hi, I'm using jquery datatables which allows customization of table header by creating html in javascript via dom attribute which creates a div : $('#datatable').dataTable({ dom: 'topdropholderpostponebtnsholdeript', language: { info: _START_-_END_ of _TOTAL_,

Re: ajax events and manipulating DOM

2014-11-14 Thread Jason Novotny
Ok, to answer my own question, it was a jquery/javascript issue. Instead of removing dom, the approach that works is to use appendTo instead: $('.actionbuttons').appendTo('.btns'); Jason On 11/14/14, 6:13 PM, Jason Novotny wrote: Hi, I'm using jquery datatables which allows customization