wicket

How should I secure my webapp written using Wicket, Spring, and JPA?

So, I have an web-based application that is using the Wicket 1.4 framework, and it uses Spring beans, the Java Persistence API (JPA), and the OpenSessionInView pattern. I'm hoping to find a security model that is declarative, but doesn't require gobs of XML configuration -- I'd prefer annotations. Here are the options so far: Spring S...

extjs and wicket

i have problem related with wicket and extjs i have one textfield in extjs and i want to add wicket:id to it how i can add it? because in ext textfield has limitted properties. ...

What is the design decision behind setting Component.ouputMarkupId false by default?

Every component returns false from getOuputMarkupId() by default. I am curious about the reason. The design decision behind. I am using ajax components and I need to refresh some others components on a page. To do that I got to setOutputMarkupId(true) on every component which is involved in ajax page refreshing. Because I heavily use a...

Simulate back/forward/refresh button in unit test with Wicket

I'd like to unit test (jUnit 4) the behavior of my pages when the browser's back button (or forward or refresh) is clicked. Can I somehow simulate the browser's back/forward/refresh buttons in a unit test? Is there a utility class that provides such functionality? 2nd Edit: I understand that the Wicket test facilities don't simulate a...

Best Web2.0 framework for Java?

Hi all, this question is quite related to the one asked here, however, I am not interested in the best web framework, but in the best web2.0 framework for Java. First, here is what I want to achieve: Cutting-Edge GUI experience (see e.g. stackoverflow.com ;-) , http://presentlyapp.com/ and so many more) Easy MVC handling (similar to t...

Does anyone know some good resources for Wicket Web Development?

I've recently "inherited" a web project from a workmate who left to join another company. Unfortunately for us he was the only Java developer so I don't have anyone around the office here that can help me. The project is written using the Wicket framework and this is not something I'm very familiar with (I've done a lot of ASP.NET and ...

Long Running Wicket Ajax Request

I occasionally have some long running AJAX requests in my Wicket application. When this occurs the application is largely unusable as subsequent AJAX requests are queued up to process synchronously after the current request. I would like the request to terminate after a period of time regardless of whether or not a response has been re...

Submitting a page is not updating my model?

Hey all, Please allow me to preface this by saying I'm pretty much brand new to java web development so I hope I'm explaining this problem correctly. I've inherited a wicket website from a fellow who has left for greener pastures and there has been a request to ask new users to include their race and ehthnicity upon registration to the...

Creating Pages with unique PageMaps

I have a wicket Application that has long lived Pages. I would like each instance of this Page to be created with a unique PageMap for reasons I won't get into here, but when I try to specify a PageMap on the constructor of my Page I end up getting OOM and StackOverflow errors. Here is the code: public <CTOR>() { super(Session.get...

How can I send email from a wicket application?

How can I send email from a wicket application? ...

Wicket: Crash when opening ModalWindow (Popup)

Hello, In a Wicket Panel i implemented a method called showAttentiePopup(AjaxRequestTarget) which shows an ModalWindow popup screen. This method works fine when i call it from the same Panel. But when I try to call the method from another Panel it crashes with the following error: java.lang.IllegalStateException: No Page found for comp...

Problem with Wicket and SignInExample in IE8

I have an interesting problem with Wicket. I'm basically duplicating the 'authentication' example from the v1.4.x in SVN. It works fine in FireFox and Chrome but not in IE8. When in IE8, after I click the submit button it returns with a 404 error but i can manually paste the "destination" url in and it goes there fine (as an authentic...

Starting Wicket web application with OSGi HTTP Service

I'm trying to start a Wicket Application using Felix implementation of OSGi HTTP service, for that I just register the service using WicketServlet with applicationClassName parameter: props.put("applicationClassName", MainApplication.class.getName()); service = (HttpService)context.getService(httpReference); service.registerServlet("/",...

How do you set a custom session when unit testing with wicket?

I'm trying to run some unit tests on a wicket page that only allows access after you've logged in. In my JUnit test I cannot start the page or render it without setting the session. How do you set the session? I'm having problems finding any documentation on how to do this. WicketTester tester = new WicketTester(new MyApp()); ((M...

In Wicket, what is the difference between the different get input methods?

What is the difference between getRawInput, getValue() and getModelValue() etc...? ...

What should I do in order to be able to work with maven + eclipse + wicket + hibernate + spring in Mac OS?

I want to create a web app that will use wicket, hibernate and spring frameworks. My IDE of choice is Eclipse, I am using maven for the .war generation and I am running Mac OS. What steps should I follow to correctly install and configure all the tools so as to have a project running that relies on these 3 frameworks. I was able to succe...

How to create updateable panel using AjaxLink of Wicket?

I try to realize a link (in fact many links) that update a table in an website using an AjaxLink of Wicket. But I fail, the table is never updated (I have "setOutputMarkupId(true)" and call "setDefaultModelObject" and "addComponent", but there must be something other thats wrong). How can I realize a panel with a number of links and a t...

Static content on Wicket application served from OSGi HTTP Service

I'm developing a web application that is going to be served from an OSGi HTTP service, I register it using a WicketServlet, and I don't know how to serve static files (CSS, JS, images and so). How could I mount a directory as a resource with the static content? Or should I configure the resource locator in some way? ...

jQuery: Targeting elements added via *non-jQuery* AJAX before any Javascript events fire? Beyond the scope of live()?

Working on a Wicket application that adds markup to the DOM after onLoad via Wicket's built-in AJAX for an auto-complete widget. We have an IE6 glitch that means I need to reposition the markup coming in, and I am trying to avoid tampering with the Wicket javascript... blah blah blah... here's what I'm trying to do: New markup arrives...

Ajaxrequest with Wicket but multiple possilbe model values

Hi, I'm new to wicket and stuck with the following problem: I have a table with 5 rows. Each row contains 7 cells. Each cell has a unique value. Once a cell is clicked, its unqiue value should be posted to the server. I would like to register only one ajaxfallbacklink (or similar) on the table and adjust the value of the model to the u...