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
0
votes
2 answers

Trying to retrieve HttpSession object

For some background, I'm using JBoss AS 7 with EJB. I'm sending a message to my server from the client using errai message bus when it initially connects to retrieve its session ID so that I can make requests from it later on and have the server…
Graham
  • 5,488
  • 13
  • 57
  • 92
0
votes
1 answer

Errai and portlet deployment

This is my first question, for which I didn't find any answers in the web. The problem is, when using errai in portal environment, you'll get Exceptions on server side like this: /out.50694-4048.erraiBus generates exception: null and on client side…
0
votes
1 answer

GWT compiler failing with status 139

I am building my app with gwt-maven-plugin (command mvn clean install -Denv=cuni -rf :editor-webapp). But all what I got is [ERROR] Failed to execute goal org.codehaus.mojo:gwt-maven-plugin:2.4.0:compile (gwt-goals) on project editor-webapp:…
Jiri Kremser
  • 12,471
  • 7
  • 45
  • 72
0
votes
2 answers

Caching results from an HTTP request or Rest GET

I have this method: @Service // org.jboss.errai.bus.server.annotations.Service class StuffServiceImpl implements StuffService { @Override public List getStuffForUser(Account account) { return…
quarks
  • 33,478
  • 73
  • 290
  • 513
0
votes
1 answer

QueueUnavailableException: no queue available to send. (queue or session may have expired)

When simultaneous call to the Errai service is made The error below is thrown, from what I've learned this is due to a disconnected Errai bus? If so, does it mean that Errai bus cannot handle simultaneous calls? ERROR]…
quarks
  • 33,478
  • 73
  • 290
  • 513
0
votes
1 answer

Call Java function from JSNI

I'm having trouble with a JSNI calling a Java method: public static native void update() /*-{ this.@app.client.local.MyPage::populate()(); }-*/; No errors, its just that the method is not getting triggered, the Java method, populate() which…
quarks
  • 33,478
  • 73
  • 290
  • 513
0
votes
1 answer

Making JQuery-UI Plugin work with Errai

I'm trying to make the XEditable Jquery-ui plugin work with GWT/Errai. However, when clicking the supposedly "x-editable" field nothing happens. What could be wrong in my code: This is my code: Java: @Dependent @Page @Templated public class…
quarks
  • 33,478
  • 73
  • 290
  • 513
0
votes
1 answer

Handling Service call errors with ErraiCallback

What is the requirement in a Service implementation so that the ErrorCallback will be able to print the error message on the UI like. I tried injecting a ErrorCallback in the Service call code, and when I print the Message object its null. What…
quarks
  • 33,478
  • 73
  • 290
  • 513
0
votes
1 answer

Errai-jaxrs - Bad Request

I'm having quite an issue for running Errai-jaxrs with my app I'm getting this error from the GWT Dev Mode: org.jboss.errai.enterprise.client.jaxrs.api.ResponseException: Bad Request at…
quarks
  • 33,478
  • 73
  • 290
  • 513
0
votes
1 answer

how to configure database for errai project using hibernate

Hi I am creating errai web services.I have to configure Database for this project but tried errai kitchensink but database configuration is not working.Plz suggest solution. Thanks in advance.
Brijesh
  • 1
  • 3
0
votes
1 answer

MVVM pattern on Jboss Errai

With feature like Data Binding, is it possible to adopt a MVVM pattern on Jboss Errai?
0
votes
1 answer

Intgrating acceleo with jboss errai and gwt

I have to create a project in jboss errai with GWT but I want to generate must of my model code using acceleo using eclipse modeling framework .ecore model. I have done this things. created maven project using command mvn archetype:generate…
Brijesh
  • 1
  • 3
0
votes
1 answer

How to set the hash for each "page" manually

With Errai-UI how do you set manually the hash for each pages. For example: MainPage.java MainPage.html The hash would be #MainPage How can I change it to #!MainPage ?
user1302575
0
votes
1 answer

Cannot find page even if page is in the package

I'm having a problem with my Errai GWT app which I get this error when the page tries to TransitionTo a page, say FormsPage: No page with a widget type of com.mycompany.myproject.client.local.FormsPage exists Even if the FormsPage is there in the…
quarks
  • 33,478
  • 73
  • 290
  • 513
0
votes
0 answers

Error in compiling GWT code that use JBoss errai

I'm having problem compiling my gwt application, it uses JBoss Errai, and here is the complete stack trace: http://pastebin.com/U7X6w1gb It seems that the error is caused by this: RuntimeException: error loading marshalling extension: …
quarks
  • 33,478
  • 73
  • 290
  • 513