I want to build a web application like a wiki and a forum. There will be much more readers than editors. My favourites to implement it are Grails and Wicket.
Grails: I like the integrated environment with which you can start quickly. I think the classic stateless mvc approach is well suited to a content centric website. Disadvantages ar...
Hi, i'm developing an application using Wicket as the view layer and JPA(Hibernate) as ORM. building the UI has been fun (even with ajax) using Wicket. My problem comes from integrating the persistent objects on edit pages (readonly pages are no problem using a LoadadableDetachableModel).
I'm using the OSIV filter from spring to provide...
Is it possible to generate the markup for a MarkupContainer dynamically, i.e. without storing an HTML file for it?
I thought about reading the markup as a plain string from the database to offer CMS-like functionality.
...
Could you share your experience of using Scala and Wicket together? Do they fit naturally to each other? Do you get advantage of using Scala (and FP) with Wicket over using Java? Why did (would) you prefer Wicket over Lift?
...
I want to make a form with "Add" button. After pressing "Add" button new panel adds to the wicket ListView element. How do I do that? I want to be able add unlimited number of rows.
EDIT:
InteractivePanelPage.html
<table>
<tr>
<td><a href="#" wicket:id="addPanelLink">Add Panel</a></td>
</tr>
<tr wicket:id="interact...
Hi,
How do I change label's text on textarea's onkeyup? I've tried this but does not work:
Form form;
TextArea ta;
MyLabel resultDiv;
/**
* Constructor that is invoked when page is invoked without a session.
*/
public HomePage(final PageParameters parameters) {
this.form = new Form("form");
this.ta = new TextAr...
Hi everybody,
Where would I start off with this?
I know how to add meta tags to the page, I guess Page#onBeforeRender is a good place to do so.
But: how do I determine whether the current URL containts "?wicket:"?
Calling
((WebRequest)getRequest()).getHttpServletRequest().getRequestURL()
only returns the part before the questionmark...
There is this well-known problem that browsers don't put Ajax request in the request history and cause problems for bookmarkability, forward/back button, and refresh.
Also, there is a common solution to that problem that appends the hash symbol # and some additional parameters to the URL by using Javascript window.location.hash = ....
...
What is the difference between Apache Wicket and Apache Click?
Is Apache Click maintained? The latest release seems to be from Nov 2008
Thanks
Achilleas
...
So I was reading another question under the Wicket tag comparing Apache Wicket and Apache Click. A concise explanation, in my opinion. I am more familiar with the Wicket world than the Click world.
One of the comments I read was that you can make stateless Wicket pages. I started to think about this and couldn't figure out a way to make...
GUI based web applications could be build upon a GUI component, stateful framework like Wicket or they could build in a RESTful, stateless way with GUI status only on the client.
From a technical point of view REST looks like the right way since it leverages the full power of http and leads to highly scalable applications. But that com...
I have 2 inputs. When I press a button(AjaxFallbackButton), those inputs are saved into database.
If one of the input is greater than 10, when I press the button, I want to show a modal panel, for asking the user if is the sure about his option. But the modal component is not appearing. Any thoughts?
@Override
public void onSubmi...
I'd like to add a label to a wicket panel where the label's model is an enum value. Based on the value of that enum, I'd like to display a different message pulled from the page's properties file.
For example, here's an enum:
public enum ApprovalType { UNAPPROVED, APPROVED, BLOCKED };
I can easily add a label to the panel that has t...
I have a AjaxPagingNavigator. Basically on a certain condition, the list which the AjaxPagingNavigator pages is reloaded. When this happens I only want to render the navigator when the list contains more than 1 page.
So does anyone know where I can attach a handler so that I can check for a visibility condition in my AjaxPagingNavigator...
The Problem:
Using one of Wickets url mounting strategies i can do the following url (as an example)
http://somedomain.com/mount-path/desiredname
what i would like to do is
http://somedomain.com/desiredname
desiredname would be e.g. pages or posts. But with Wicket I must use a mount-path first.
Can anybody point me into the right di...
I plan to use Wicket to build a web site with database storage. I haven't used Wicket before. Is there any sample framework I can start from?
...
Currently I'm using the WicketTester's startPanel method to test my panels. Within these panels I often use PageParameters to access data, using getPage().getPageParameters(). However, the startPanel method does not initialize any page parameters for the DummyPage, nor does it offer me functionality to set page parameters.
How do I set ...
Hi,
Just started playing around with, how is everyone linking up their component ids ?
So far the most frequent error I've got are mismatches in component ids. For example,
In the html
...
<span wicket:id="messageID">message will be here</span>
...
and on the Java side
...
add(new Label("messageID", "If you see this message wicket...
I have a Wicket Web Application running in Tomcat. The application uses Spring (via org.springframework.web.context.ContextLoaderListener) to initialise the application. This is all well and good for start up, but what I would also like is to receive some sort of notification that the Context is being destroyed so that I can shutdown spa...
Hey all,
I've setup a Wicket + Hibernate + Spring Web application that involves gathering some data (having some files generated and returned), storing this in a database, creating some images and displaying all this on a webpage.
This all works fine for short runs, but sometimes gathering the data (which involves some remote number cr...