We have validation rules written in Drools at a backend. Rules are written against Domain model.
We would like to have rules at one place only. So we have created class which looks like:
public class ModelItem<T> {
private String userInput;
private T value;
....
}
And we've extended converters so If conve...
What are the advantages and disadvantages of frameworks Lift, Play and Wicket? What characteristics are best or only supported by each?
Thanks
...
I am implementing the Wicket IBehavior interface and want my behavior change the body of a component (or somehow update the model) from the onComponentTag method.
Is there a way to do this?
@Override
public void onComponentTag(final Component component, final ComponentTag tag)
{
String myValue = tag.getAttribute("myAttribute");
...
I'm having an issue using multiple XML namespaces in a XHTML document. Specifically, I'm trying to use Wicket and Nitobi in the same document.
The code looks something like this:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1...
Hallo, a Wicket i18n question:
I have a javaScript file, that holds strings I want to localize.
Ideally I want to localize the whole file. Something like
my.js
my_de.js
my_fr.js
...
where wicket automatically chooses the right js file, as it does with property files.
Any one knows how to do that?
...
Wicket has a flexible internationalisation system that also supports parameterising UI messages in many ways. There are examples e.g. in StringResourceModel javadocs, such as this:
WeatherStation ws = new WeatherStation();
add(new Label("weatherMessage", new StringResourceModel(
"weather.${currentStatus}", this, new Model<String>(ws...
The dataset I display using PageableListView can get very big and keeping the whole dataset as a model would be very inefficient. Is it possible to load for example only the set of IDs first and then load only the objects that are to be displayed on the current page? I use Wicket+Spring+Hibernate/JPA. Or is there a better approach to pag...
It is a good choice to use JSP with Wicket at long term? There is also another tool that allows to work with Wicket?
Thanks
...
Hi All,I want to add CheckGroupSelector component on AjaxFallbackDefaultDataTable header but I cannot search solution for solve my case.Can anyone please provide examples of how to do this?
...
I'm writing a unit test for a Wicket WebPage. I want to fire up a page, type into a field, click a link, and then make some assertions.
Looking at the API of WicketTester and BaseWicketTester, I couldn't find any method that takes a path (like "form:input") to locate an input field and lets you enter text in it.
// set up WicketTester...
I have a DropDownChoice component on my Form and when the form is submitted and nothing is selected from the DropDownChoice, the default value that's returned is "-1". Is there are a way to change this behavior?
...
How to convert a Ant project to Maven project? A sample project that would link (a Wicket project)
Thanks
...
I'm using a Wicket AjaxLazyLoadPanel to render a list of items (each is its own panel). It works fine except when you navigate to the page in a fresh browser session (start browser up, go straight to this page without visiting any other pages in the app). When you do this, it renders the first item, but shows wait indicators for the ot...
Is there way I can combine a JSF component and a Wicket component in the same web page? I have a menu bar component created in Wicket and a form component is created in JSF. I have to combine these two components in one page, is it possible?
...
I am building a site in Wicket. I need to serve a JavaScript file, xyz.js, for other people/websites to read directly — that is, not to be included in one of my HTML pages.
xyz.js needs some dynamic contents based on the path_info that is provided to it during the request, so it needs to be a template that can be interpolated.
Is there...
I've an array keeping a list of "Group" objects. I want to set this list to the dropdownchoice component. However I want to show the end user only the name attribute of Group objects, and then get the selected values' id attribute to add database. What to do? Thanks
private List<Group> groupTypes;
DatabaseApp db = new DatabaseApp();
gro...