Questions tagged [errai]

Errai is a GWT-based framework for building rich web applications.

Errai provides a comprehensive framework and tools for building rich web applications, leveraging the GWT compiler. With standard server-side APIs, such as CDI in the browser, managing large web applications was never so easy.

115 questions
3
votes
1 answer

Error when compiling gwt project that uses Errai framework

I have a project with multiple gwt modules. Some of these modules depends on other modules, so I have to inherit the dependencies in my gwt.xml. In one of these modules I had an issue that When I inherit other dependencies modules I created it would…
Ratshiḓaho Wayne
  • 743
  • 1
  • 5
  • 23
3
votes
2 answers

How to get the "parent" element with GWT

Say I have html part in my GWT application:
quarks
  • 33,478
  • 73
  • 290
  • 513
2
votes
1 answer

Replacing GWT RPC with JBoss Errai

I myself haven't tried JBoss Errai at all, but I am thinking of migrating the server-side services of my current GWT project into a new project that will be now treated as a platform. The services in the currect project that are accessed via RPC can…
quarks
  • 33,478
  • 73
  • 290
  • 513
2
votes
3 answers

GWT cache.js too big -- take time for the app to show up

We are using JBoss Errai framework on top of GWT to build web applications. The problem we are having is that the compiled version of the app is about 10 Megabytes in size already when compiled with optimizations. Is there a way for an GWT/Errai…
quarks
  • 33,478
  • 73
  • 290
  • 513
2
votes
1 answer

Errai - Separate client and server code

For past GWT projects, I've used this archtype for creating a 3 module project. It separates client code, server code, and code shared between both. This allowed for much faster development as you didn't have to recompile the entire project…
Troncoso
  • 2,343
  • 3
  • 33
  • 52
2
votes
1 answer

Errai marshalling doesn't work

I have a basic POJO object, which I want to send from server to client. Here and here is how to use serialization by using Errai. User.java package gwt.user.model; import org.jboss.errai.common.client.api.annotations.MapsTo; import…
Matt
  • 8,195
  • 31
  • 115
  • 225
2
votes
0 answers

Errai Framework code-size and performance (Errai-Tutorial)

I am thinking of using Errai for a new project. I like all the levels of abstraction that it uses and the concise and declarative code that can be written. My main concerns are the taxes I need to pay to implement this framework, related to js code…
user4061565
  • 545
  • 1
  • 5
  • 16
2
votes
1 answer

Bean Validation with JBoss Errai

I want to make a GWT app with the Errai framework but I run in some problems with the Data Binding and Validation. My pom.xml org.jboss.errai errai-validation
Modern Labs
  • 1,027
  • 8
  • 6
2
votes
1 answer

Paste event firing many times

This is my code for Chrome to handle paste event: window.addEventListener("paste",processEvent); function processEvent(e) { console.log("paste event!"); } This code works fine except that the event is fired many times even if I press…
quarks
  • 33,478
  • 73
  • 290
  • 513
2
votes
1 answer

This UIObject's element is not set; you may be missing a call to either Composite.initWidget() or UIObject.setElement()

When running my GWT/Errai app I get this error message: 00:00:00.000 [ERROR] Unable to load module entry point class org.jboss.errai.ioc.client.Container (see associated exception for details) java.lang.RuntimeException: critical error in IOC…
quarks
  • 33,478
  • 73
  • 290
  • 513
2
votes
1 answer

Facebook DIV not rendering on page

I have this script which I put on top of the GWT nocache.js