Questions tagged [cuba-platform]

CUBA Platform is an open source high level full-stack Java framework for faster enterprise software development

CUBA Platform is a full-stack and open source framework (licensed as Apache 2.0).

The platform is intended to accelerate the development of enterprise software by amplifying the power of industry-leading open source technologies. The platform has it's own frawework-aware development tool - CUBA Studio, which provides a convenient and intuitive graphical interface to the platform features.

Useful links:

121 questions
5
votes
1 answer

Create Entity by using EntityListener

I have a customer which has an association to a customerBudget entity. A CustomerEntityListener will create a customerBudget entity. I get the following error: IllegalStateException: During synchronization a new object was found through a…
Matthias Hamann
  • 719
  • 8
  • 27
4
votes
1 answer

CUBA platform : invalid window height for editor opened as dialog from a table action

I have a screen with a table handling a many-to-many relationship towards an entity (simple, 2 fields) for which 1 single record is defined yet. I created standard browser screen for the associated entity and defined openType = DIALOG for the action…
Mike
  • 217
  • 1
  • 9
4
votes
2 answers

How to easily change the overall theme in CUBA application?

I was wondering how easy it is to replicate the CUBA studio theme into my application? For example, by default it is using the halo theme but was wondering if there were other themes as well.
Francis
  • 53
  • 3
3
votes
2 answers

How to log slf4j to a file in cuba Framework

I'm trying to configure cuba framework in order to write the logs in a file, but at the moment I cannot. I have in the java files: private static final Logger LOG = LoggerFactory.getLogger(BlisterauftragServiceImpl.class); LOG.info("This is a, info…
anubis
  • 1,425
  • 5
  • 18
  • 47
3
votes
1 answer

How to fix eclipselink.refresh is not valid for this type of query in JPQL?

I am trying to update a table column via JPQL, My rest query looks some this like below. http://localhost:6765/salesfactory/rest/v2/queries/sales$Applications/update?status=KILLED&appID=a896f3e5-9abc-a9a1-f14d-24c9eb22896a
ajayramesh
  • 3,576
  • 8
  • 50
  • 75
3
votes
1 answer

Cuba on Tomcat proxied by Nginx

I'm having a very hard time trying to configure nginx as a proxy to Tomcat running Cuba Platform. I use Nginx for SSL. Nginx directive: server { server_name test.domain.it www.test.domain.it; access_log…
gmlion
  • 308
  • 2
  • 10
3
votes
1 answer

CUBA platform : designing screens for a class hierarchy

I have 4 entities : Person (name, email, etc.) Counterpart extends Person (bank & payment info, etc.) Customer extends Counterpart (discount, crm info, etc.) Provider extends Counterpart (supply, products, etc.) I need 3 screens, one for…
Mike
  • 217
  • 1
  • 9
3
votes
1 answer

CUBA platform how to dynamically change field color

I'm trying to dynamically change some field color when it has changed due to some processing. CUBA documentation explains how to do it statically through web theme extension (https://doc.cuba-platform.com/manual-6.2/web_theme_extension.html), but…
Mike
  • 217
  • 1
  • 9
3
votes
1 answer

Cuba - Set localized caption for Button

I am trying, to set different localized messages for a button (depending on a state) in cuba. In the xml I have
smack
  • 113
  • 7
3
votes
1 answer

Map UI component is not displayed in Cuba Platform

I use CUBA Platform version 6.0.8 and trying to add map viewer component to the screen, but it's not shown. Screen descriptor is listed below:
AdamSkywalker
  • 11,408
  • 3
  • 38
  • 76
2
votes
1 answer

Is it possible to style a table with round corners in CUBA Platform?

I want to make rounded edges for my table. Just tried to modify v-table-border-radius. It did just make the border round, so it looks like that: What could I do?
melli
  • 59
  • 5
2
votes
0 answers

ECS Fargate container is throwing org.postgresql.util.PSQLException: The connection attempt failed

My ECS Fargate containers & Aurora RDS (Postgres 11.7) database are in the same private subnet of VPC. My ECS only allows inbound access from ALB that's in a public subnet I have also added ECS security group in the 'Inbound Rules' section of the…
2
votes
1 answer

@OneToMany prevent deletion if is part of set

I am using Cuba Framework with Java JPQL I have a relationship of: Transaction_Sets Transactions Where Transaction Entity @ManyToOne @JoinColumn(name = "TRANSACTION_SET_ID") @OnDelete(DeletePolicy.DENY) protected…
Daryn
  • 1,551
  • 1
  • 15
  • 21
2
votes
2 answers

Bean Instantiation Order

I have the following: @Service(DropboxService.NAME) public class DropboxServiceBean implements DropboxService { @Inject private CustomConfig customConfig; private final String ACCESS_TOKEN = customConfig.getDropboxAppToken(); …
Daryn
  • 1,551
  • 1
  • 15
  • 21
2
votes
2 answers

Cuba Platform - Copy Action

I'm new to Cuba Platform and I'm trying to add functionality to copy a record in a table. Essentially the same functionality as found in the Administration -> Users -> Copy User screen. The button action for this is usersTable.copy Adding a…
und3rwat3r
  • 21
  • 1
1
2 3
8 9