wicket

log4j.properties being ignored

I have a Java EE 6 Wicket application deployed with maven using IntelliJ IDEA 9.0.3 on glassfish v3.0.1. I use slf4j-log4j12-1.5.6 with slf4j-api-1.5.8 and log4j-1.2.16 for logging. It was previously working fine when I deployed through netbeans or eclipse, however when I deploy with IntelliJ IDEA my log4j.properties file is ignored an...

Attempt to set model object on null model of component

I'm new to Wicket, but googling this problem didn't give me anything that made sense. So I'm hoping someone in SO can help. I have a SiteChoice object that extends Form, and a SiteList object that extends DropDownChoice. My SiteChoice class looks like: public class SiteChoice extends Form { public SiteChoice(String id) { ...

Wicket - need FilterForm ajax events for GoAndClear button events

I've added a FilterForm with GoAndClear buttons to an AjaxFallbackDefaultDataTable. The filtering is working fine except for refreshing my table. I have a dropdown that changes the number of rows to show which does a target.addComponent(my AjaxFallbackDefaultDataTable) which doesn't reload the data but refreshes the. If I use this aft...

How GWT differs from JSF/Wicket in maintaing state and performance

I am new to GWT, JSF and Wicket. I am just wondering how GWT differs from maintaining client state from JSF/Wicket and also how performance differs under peek load. Any thoughts? ...

Java/Wicket - How to stop browsers from caching pages?

I have a Java/Wicket page that generates a JNLP file that launches my company's software. This class will optionally take some url parameters and embed them as arguments in the JNLP. When the user launches this JNLP file the client application will perform some function based on those parameters. If the client software is already running...

What's your experience with ICEfaces? How does it compare with Wicket?

If you've written UIs in both Apache Wcket and ICEFaces, how do they compare? My cursory lok at ICEFaces suggests it provides more "out of the box", but perhaps is more difficult to extend. Which leads to cleaner code and separation of concerns? Is either faster to prototype in, or easier to code? What are the advantages and disadva...

NoViableAltException using jpa

Hi @all, i´ve got a problem to get jpa running. Following exception appears when i try to run the Login.java WicketMessage: Can't instantiate page using constructor public de.test.pages.LoginPage() Root cause: NoViableAltException(93!=[364:1: selectExpression returns [Object node] : (n= aggregateExpression | n= scalarE...

wicket - Implement Ajax add/remove items ListView

Hi! Im getting crazy about this issue. I implemented a ListView which you can add/remove TextField dinamically, but only the last TextField is removed. An example: // Object type which is used in the list public class ExampleObject implements Serializable{ private String keyword; public String getKeyword() { return t...

Wicket: writing own components

I'm trying to use wicket framework for my project, and some things with components are not clear for me. For example, I want to create a component — javascript grid (jqGrid). All I need is: 1. create <table id="#jqGrid1"></table> 2. insert javascript at <head> section: <script type="text/javascript"> $(document).ready(function () { $(...

wicket vs Vaadin

Hi, Am torn between wicket and vaadin. i am starting a micro-isv and need to make a choice of web framework. I have narrowed down my choices to wicket and vaadin. I have used both frameworks and i love them both. however i need to make a choice. If i choose vaadin: I wont have to worry much about the look and feel.It comes with nice ...

Apache Wicket - wicket-auth-sessions - Prevent multiple signins

Hello, I'm using wicket-auth-roles, and in particular 'AuthenticatedWebApplication' to secure pages in my wicket application. I would like to disallow users from signing in from multiple locations with the same login. Currently users seem able to log into the same user from two different machines. I'm sure it's as easy as invalidating ...

Wicket JavaScript browser compatability

I am new to Wicket, I have seen that it has Ajax related components. When it generates javascript at the clinet side, is this javascript code cross browser compatible? ...

Wicket framework adoption

I am new to Wicket framework, I have seen many good reviews on this framework. I would like to know how is the adoption rate for Wicket compared to other frameworks (like GWT, JSF etc..). ...

Wicket: reload AjaxLazyLoadPanel automatically

Hi! I have a page with a form. Using the data from the form I get information from a BBDD and I displayed in a panel using Ajax. Now I was trying to use a AjaxLazyLoadPanel, because some of the query in the BBDD are heavy. The problem i have is after the first load of AjaxLazyLoadPanel, i dont know how to reload it with the new conten...

Wicket vs GWT - Advice needed

I am developing a Java EE based web application. We have a very limited time to come up with a alpha version and trying to decide on a web framework to use. It has to be something easy to learn but powerful. Standard JSP/Servlet is not an option here due to the time it takes for the development. Appreciate if anyone could advice. Current...

How to retreive query parameter in Wicket

Hi, I am using wicket application to initiate my Java method in my code. I have the url as follows http://localhost:8080/web/resources/org.apache.wicket.Application/StartMethod I want to add an extra option at the end client=cutomser1 http://localhost:8080/web/resources/org.apache.wicket.Application/StartMethod?client=customer1 As...

Why does my PageableListView & PagingNavigation not work?

I try to use a PageableListView with PagingNavigation. From the examples that looks quite easy, but I can't get it to work. I always get the following error message: The component(s) below failed to render. A common problem is that you have added a component in code but forgot to reference it in the markup Here is my java cod...

Java: How do you use key/value datastores like memcached with Java property file code?

We are trying to move away from property files as files on the file system and more want to use a server based key/value store. Does anyone have any code to do this with Java. Are there systems already built to connect to a server like memcached and build a property object with key values? I want to do this in a struts web based proje...

Wicket + jsTree, links generation in ajax response

I'm using jsTree jQuery plugin for drawing a tree. When user clicks a node, an ajax request containing node's id is send to server. In my response I generating such piece of html (this is done in separate servlet): <li id="node_id_1"><a href="foobar">Child item 1</a></li> <li id="node_id_2"><a href="foobar">Child item 2</a></li> <li i...

Wicket AttributeModifier for AjaxLink

In wicket AttributeModifier doesn't change attribute "class" for AjaxLink. It should change class attribute and change how link looks like. public class TestPage extends WebPage { private AjaxLink link1; private AjaxLink link2; public TestPage() { super(); link1 = new AjaxLink("link1") { private...