Re: Spring secury + auth-roles authentication and authorization: access denied

2011-11-08 Thread massizigao
Thank you Moèz for your reply. I looked at the blog you sent, but it didn't helped either. Indeed the application in the blog does not differ substantially from mine. I updated my codes with the example implementation and the problem still remains. The only differences are the versions of

Advice wanted about polished component set with Wicket

2011-11-08 Thread James Stewart
Hi all, We have been using Wicket for some time now with our home grown html some wicket components. However, there are some complaints that our components and pages look a bit bland. This has prompted us to look around at various alternatives. We tried using plain jQuery with wicket and

Re: Advice wanted about polished component set with Wicket

2011-11-08 Thread Martin Makundi
Hi! When you render jquery components via ajax you often need to recreate them (destroy old + create new) with wicket-ajax.onBeforeRender It might seem bit tricky at start but simply make it part of onBeforeRender or similar in either a behavior or component itself. ** Martin 2011/11/8 James

Re: Advice wanted about polished component set with Wicket

2011-11-08 Thread Ernesto Reinaldo Barreiro
Can you examples of the components you need? Regards, Ernesto On Tue, Nov 8, 2011 at 1:57 PM, James Stewart james.stewart...@gmail.com wrote: Hi all, We have been using Wicket for some time now with our home grown html some wicket components. However, there are some complaints that our

Validating HTML 4

2011-11-08 Thread Pierre Goiffon
Hello, I'm working as a developper for a software company that build some products using Wicket 1.4 (1.4.17 for the moment being). I'm trying to improve accessibility in our online survey product. The first thing I did was to check our pages with the W3C validator (http://validator.w3.org),

Re: Validating HTML 4

2011-11-08 Thread Martin Grigorov
Hi, The problem is that there are several specifications and all of them expect different output. We try to stick to HTML5 because this is the future. See below. On Tue, Nov 8, 2011 at 5:17 PM, Pierre Goiffon pgoiffon.wic...@free.fr wrote: Hello, I'm working as a developper for a software

Re: How to run a JavaScript function from Form Constructor in Wicket

2011-11-08 Thread Martin Grigorov
See http://www.mozilla.org/rhino/ On Tue, Nov 8, 2011 at 8:15 PM, eugenebalt eugeneb...@yahoo.com wrote: In my Form Constructor, I need to run a JS function. Is there any way to do it? Thanks -- View this message in context:

RE: How to run a JavaScript function from Form Constructor in Wicket

2011-11-08 Thread David Berkman
Add a Behavior, mark the behavior temporary (setTemporary(true)), and override the Behavior's renderHead (Component component, IHeaderResponse response) method, and call response.renderJavascript(). If you want the JS function to go off every time the component is rendered, don't mark the behavior

RE: Advice wanted about polished component set with Wicket

2011-11-08 Thread David Berkman
I've had excellent success wrapping most of Dojo with Wicket, and it would not be hard to complete the rest. There's a wicket-dojo project out there, but it didn't seem to be active, so I just started in on my own. Dojo is a comprehensive, well laid out project (always had a good concept of

Closing modal window with keyboard

2011-11-08 Thread Anna Simbirtsev
Hi, Is there a way to close modal window with a keyboard shortcut? Thanks Anna

Re: Migrating a ResourceStreamRequestTarget to a ResourceStreamRequestHandler

2011-11-08 Thread hfriederichs
I will try these suggestions, but I't is quite frustrating that migrating such a simple function causes so much problems. In the meanwhile, I read the improvements in the caching mechanisms of Wicket 1.5 on https://cwiki.apache.org/WICKET/caching-in-wicket-15.html It says: /Caching is uniformly

Re: Migrating a ResourceStreamRequestTarget to a ResourceStreamRequestHandler

2011-11-08 Thread hfriederichs
In adddition: it works fine in IE8! I'm using firefox 8.0; Chrome 11.0.696.71: same problem as Firefox... -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Migrating-a-ResourceStreamRequestTarget-to-a-ResourceStreamRequestHandler-tp3998969p4017378.html Sent from the

Issue with Busy Indicator and Ajax Pre/PostCall Handlers: Page Redirect

2011-11-08 Thread eugenebalt
I would appreciate any advice on the following: I followed the example of a generic busy indicator https://cwiki.apache.org/WICKET/generic-busy-indicator-for-both-ajax-and-non-ajax-submits.html This is a 'busy indicator' which shows Loading... from the time an Ajax action starts (preCallHandler)

Re: Closing modal window with keyboard

2011-11-08 Thread Andrea Del Bene
I don't think there something ready-to-use to do this. You can try implementing this with JavaScript, intercepting the right keyPress event and closing the modal window. This last code can be obtained from method ModalWindow.getCloseJavacriptInternal Hi, Is there a way to close modal window

Vanishing Markup

2011-11-08 Thread anantasthana
I have a form that i make as an inner class of a panel. In the Page i have a table containing the form components. When the form renders the form components show up but the markup for the table vanishes. I would appreciate any help on this The Java code can be found at

Re: unit testing cookies after redirect

2011-11-08 Thread kamiseq
ok, thanks for that. I have one small question that is bugging me for a while. What would be the difference between throwing exception or setResponsePage(pageClass);?? I ve found somewhere that I should always throw RestartException, but I see setResponsePage so many times that Im confused.

Custom Wicket Accordion Panel using ExtJS

2011-11-08 Thread michen
I have found that there are some custom Wicket accordion panel based on DoJo, Prototype, YUI javascript framework, do we have a custom wicket accordion component based on ExtJS? -- View this message in context:

Re: Spring secury + auth-roles authentication and authorization: access denied

2011-11-08 Thread James Carman
Take a look at wicketopia's example app. It has spring security integration. Sent from tablet device. Please excuse typos and brevity. On Nov 7, 2011 11:24 AM, massizigao fha...@online.de wrote:

Re: Spring secury + auth-roles authentication and authorization: access denied

2011-11-08 Thread Andrew Geery
See this: http://apache-wicket.1842946.n4.nabble.com/Acegi-and-Wicket-auth-roles-td1846051.html I would be willing to bet the problem is the order of your filter-mappings in the web.xml -- Spring Security has to be first. Andrew On Tue, Nov 8, 2011 at 8:05 PM, James Carman

Use Wicket 1.5 to serve text/xml content type (Rest-style)

2011-11-08 Thread aaaa0441
Hi yo'all, I did quite a lot Googling and searched this forum, but still did not find what I was looking for. Basically I need to create pages that respond with xml content with text/xml content-type. In some posts, Igor suggested to overwrite configureResponse method. So I tried the following

Re: Use Wicket 1.5 to serve text/xml content type (Rest-style)

2011-11-08 Thread TH Lim
try reversing the statements in configureResponse(...) body @Override protected void configureResponse(WebResponse response) { super.configureResponse(response); response.setContentType(text/xml); } -- View this message in context:

Re: Use Wicket 1.5 to serve text/xml content type (Rest-style)

2011-11-08 Thread aaaa0441
Thanks, Lim. That does the trick! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Use-Wicket-1-5-to-serve-text-xml-content-type-Rest-style-tp4018490p4018601.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Vanishing Markup

2011-11-08 Thread Stanislav Savulchik
Hi, You are missing table/table tags in markup. Most likely the browser tries to fix invalid markup by removing On 11/09/2011 05:21 AM, anantasthana wrote: I have a form that i make as an inner class of a panel. In the Page i have a table containing the form components. When the form renders

Re: Vanishing Markup

2011-11-08 Thread anantasthana
Wow that was a really silly mistake i made. Thanks for the help that worked. cant believe i couldnt figure it out thanks again -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Vanishing-Markup-tp4017788p4018746.html Sent from the Users forum mailing list archive at

Icefaces

2011-11-08 Thread saraswathi
I am new to the Icefaces web tchnologies i have some problem to generate the expand datatable in icefaces. can u send how to generate expandable datatable in icefaces with complete example. -- View this message in context:

Icefaces

2011-11-08 Thread saraswathi
I am new to the Icefaces web technologies i have some problem to generate the expandable datatable in icefaces can u send how to generate expand datatable in icefaces with complete example -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Icefaces-tp4018757p4018757.html

Re: Icefaces

2011-11-08 Thread Jeremy Thomerson
On Wed, Nov 9, 2011 at 12:17 AM, saraswathi saraswathi1...@gmail.comwrote: I am new to the Icefaces web technologies i have some problem to generate the expandable datatable in icefaces can u send how to generate expand datatable in icefaces with complete example This is a *Wicket* mailing

Re: Advice wanted about polished component set with Wicket

2011-11-08 Thread Martin Grigorov
Hi David, I'm interested in your work. Another guy also did something at https://github.com/vijaykiran/wicketstuff-dojo On Tue, Nov 8, 2011 at 8:36 PM, David Berkman david.berk...@glu.com wrote: I've had excellent success wrapping most of Dojo with Wicket, and it would not be hard to complete

Re: unit testing cookies after redirect

2011-11-08 Thread Martin Grigorov
On Wed, Nov 9, 2011 at 12:42 AM, kamiseq kami...@gmail.com wrote: ok, thanks for that. I have one small question that is bugging me for a while. What would be the difference between throwing exception or setResponsePage(pageClass);?? I ve found somewhere that I should always throw