Questions tagged [jspresso]

A full-stack Java/Flex/AJAX framework to develop desktop-like rich internet applications

Jspresso is a full-stack Java/Flex/AJAX framework to develop desktop-like rich internet applications.

For more information, refer to the official home page.

24 questions
4
votes
1 answer

Is Qooxdoo protected against XSS

I'm looking for informations about security on Qooxdoo. I want to check my app vs OWASP top 10 A point to review is the XSS OWASP A3 XSS How can I be sure that Qooxdoo is secure against XSS attacks ? Does Qooxdoo use some sanitizer tools ? SOLVED A…
1
vote
1 answer

Create new records when searching for reference object

In my current project I would like to be able to create new objects when searching for a reference object. This happens in several places of the application. For example, let's assume we have a City Entity and a Country Entity. The City entity has a…
Weggyboy
  • 106
  • 5
1
vote
1 answer

java.util.ConcurrentModificationException on cloneEntity

I wrote a custom strategy in order to clone an entity TrainTimetable with its collection of slots. Below an extract of the model : Entity('TrainTimetable') { list 'slots' , ref:'Slot', composition:true } Entity('Slot') { …
Ygor
  • 35
  • 7
1
vote
1 answer

Setting an entity's ID manually

I'm facing a little issue that I cannot understand here. Using this chunk of code: IEntity myEntity = controller.entityFactory.createEntityInstance(MyEntity.class) myEntity.straightSetProperty(IEntity.ID,…
Dealus
  • 25
  • 4
1
vote
1 answer

How to deduce the viewPath for getSelectedModel

From an action in a view that is made of multiple borders, splits, and so on, I would like to reach data that are situated in different tables of the view. To do that, I try to deduce the viewPath parameter for the getSelectedModel, getModel…
Ygor
  • 35
  • 7
1
vote
1 answer

Jspresso: Listener not invoked on collection content change

I have a Jspresso application using listeners on my entity. The problem is that this listener isn't invoked when I modify the listened property. Here is the listener defintion: public WagonTransportOrderExtension(final WagonTransportOrder component)…
Dealus
  • 25
  • 4
1
vote
1 answer

Creating a filter view in Jspresso containing a date picker without comparison operators

In my Jspresso application, I have an entity with startDate and endDate. I've created a filter module on this entity with a search on a validityDate that the user has to type in. The generated query should return the list of entities for which this…
0
votes
1 answer

Trouble installing Spock plugin into Eclipse 2019

I'm using Eclipse 2019-03 I'm trying to install Spock Eclipse plugin. I have Groovy tools installed. When I move the install button from the browser Eclipse marketplace over into eclipse, nothing appears to happen except for the marketplace window…
Karidrgn
  • 155
  • 1
  • 10
0
votes
1 answer

How to log in thru webservices

From an external application, I am calling a rest web service that is implemented in Jspresso. In the Jspresso web service, I would like to initialize the environment/context in order to act like a user connected by the login module. Is there a…
Ygor
  • 35
  • 7
0
votes
1 answer

How to customize the format for a field that is a duration?

In my model.groovy, i have an entity with a lot of fields that are of type duration. For a particular field, I would be able to customize the format for either enter or display the data. Example : instead of entering "90 minutes" that is the…
Ygor
  • 35
  • 7
0
votes
1 answer

How to clean filter modules?

In my application, users are accessing data that are specific to a station. Because a user is able to switch from a station to another one, I would like to clean filter modules every time the current station is changed. Icing on the cake, I would…
Ygor
  • 35
  • 7
0
votes
1 answer

Automatic refresh of data in a filterModule?

The case that I have to deal with is : An entity CustomerOrder with a list of TransportOrder. A filterModule for each entity to be able to browse CustomerOrders and separatly to browse all TransportOrders of all CustomerOrders. Depending on an…
Ygor
  • 35
  • 7
0
votes
2 answers

Simple Tmar test not running

I have a simple groovy project in which i'm trying to run a Tmar test which does not. Here is a copy of my project's structure and the stacktrace given by Tmar. And a stack trace of test execution: Start test Tests run: 1, Failures: 0, Errors: 1,…
Dealus
  • 25
  • 4
0
votes
1 answer

Is there a way to declare computed properties on Interface?

In my model, I declared an interface : Interface('IMovement') { date_time 'etd' date_time 'rtd' } and I have a lot of entities extending this interface : Entity('Entity1', extend:'IMovement') { ... } I would like to enhance the interface…
Ygor
  • 35
  • 7
0
votes
1 answer

N-N bidirectional relationships not handled on user interface with Jspresso

I'm working on the Jspresso framework (launching the project with Swing). I have made N-N bidirectional relationships between components, but the fields corresponding to these relationships do not appear. For example, I have a relationship between…
1
2