Questions tagged [openxava]

OpenXava is an AJAX Java Framework for Rapid Development of Enterprise Applications

OpenXava is an AJAX Java Framework for Rapid Development of Enterprise Applications.

In OpenXava you only have to write the domain classes in plain Java to get an AJAX application ready for production.

http://www.openxava.org

83 questions
0
votes
1 answer

How to prevent user from modifying certain fields in OpenXava?

On edit an existing entity all fields (except the key) are modifiables. Is there a way to indicate that some field is not modifiable?
javierpaniza
  • 677
  • 4
  • 10
0
votes
1 answer

How to change the label of a property from an action (programmatically in runtime) in OpenXava?

Labels in OpenXava are specified in i18n files. But what if I need to change the label in runtime depending on some logic, from an action for example. Let's say I have an entity with a profit property, but if the property value is negative I want to…
javierpaniza
  • 677
  • 4
  • 10
0
votes
1 answer

How can I filtering for Tags(/part of String) in List-mode in OpenXava?

I want to filtering for tags in OpenXava, in List-mode. Therefore I have a simple entity called Tag ( with int id, String name and String description) I have a embedded Entity Details, which holds the Tag references and looks like…
c_r
  • 1
0
votes
1 answer

Using JMeter to test an OpenXava application

I'm facing a problem when writing a JMeter test plan. The goal is to test an OpenXava based application. I perform the request with firefox then I try to copy the headers, parameters and cookies in my HTTP request sampler (thus in JMeter). There are…
Gabriel
  • 163
  • 1
  • 1
  • 15
0
votes
1 answer

Open XAVA How to Put Default value and Join column of another table

1 .For default value I have tried : @Required @Column(name="semester") @DefaultValueCalculator(value=StringCalculator.class, properties=@PropertyValue(name="value", value="173")) private String semester; Getting error : Error calculating default…
Shifat
  • 35
  • 9
0
votes
1 answer

Openxava: Hold Url Parameter into Session Object

I am using session to hold the url parameters year (eg. http://localhost:8080/CkSurvey/m/Sport?Year=2016). I have wrote all the codes for session but it only works for the first entry before I upload an image. After the url changed, the session…
Brian Cheong
  • 43
  • 2
  • 14
0
votes
1 answer

JPA: perform showDialog() in a new browser tab?

As the title above, I want the behaviour of showDialog() to display on a new browser tab but I don't know whether is there any Java code written for that. My code: public class ListSportImagesMethod2Action extends TabBaseAction { private int…
Brian Cheong
  • 43
  • 2
  • 14
0
votes
0 answers

JPA: How to map one entity's property value to collection property of another entity

I have two entities, naming Sport and Image. As the title above, how can I map the value of property, sportId at Sport to the @ManyToOne collection property at Image? For instance, I want the value of sportId (eg. 1) to be displayed at collection…
Brian Cheong
  • 43
  • 2
  • 14
0
votes
1 answer

Openxava Filter data based on logged user

As the title above, I wish to get seperated data from logged in user only. For instance, in either simultaneously or non-simultaneously, user1 loads his/her own data while user2 loads his/her own data, which both users do not share the same data…
Brian Cheong
  • 43
  • 2
  • 14
0
votes
1 answer

OpenXava populating Collection from database

I have a problem populating a detail view from the database. application.xml snippet: ... I have three…
SzGyD
  • 88
  • 7
0
votes
1 answer

Open Xava: How to get the parameter from the URL in Open Xava?

I'm developing a web application (says it's ExtApp, in Open Xava), where it will be called from another Application's Action Menu (says it's InApp). So when user click on the "Action Menu" button in InApp, it will launch the ExtApp, and i can see…
0
votes
1 answer

Open Xava: How to set the current_timestamp while insert in Open Xava?

I'm trying insert current_timestamp to a database column "CREATION_DATE" when user is doing a create and set the current_timestamp to a database column "MODIFY_DATE" when user is doing an edit, but i failed. Code: @Column(name = "CREATEDATE",…
0
votes
1 answer

OpenXava Change background color of one single row

I need to change the background color of one single row in one table in Openxava, e.g. the whole row with field where status = resolved should turn green or a row where the date field = currentDate should turn yellow. Until now I changed the…
vank
  • 1
  • 1
0
votes
1 answer

Can I have entities that connect to a different databases in OpenXava?

I am starting to develop OpenXava apps to replace an old system (Delphi programs using a Firebird database), but the new apps will have Postgres as the data store. The app I am developing now needs to have read-only access to 2 tables from the old…
Erick Tejada
  • 261
  • 3
  • 6
  • 14
0
votes
1 answer

Basic Openxava examples

Looked at some applications built using Openxava and it seems like a very useful peice of kit. However I am trying to find a very basic worked example ( helloworld type ) but can't find any. I have looked at the Openxava bundled examples but even…
MayoMan
  • 4,757
  • 10
  • 53
  • 85