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
8
votes
5 answers

experiences of OpenXava

Based on the demos and documentation, OpenXava looks very impressive framework for quickly building an RIA from a Java domain. If it's really as good as it claims, why isn't it more well known? I'd like to hear from people with practical experience…
Dónal
  • 185,044
  • 174
  • 569
  • 824
3
votes
1 answer

Use Join Table in Separate Entity

I have a ManyToMany relationship established with a join table that is exactly like the one described on the Java Persistence wiki Example of a ManyToMany relationship annotations. Using that wiki example of Employees & Projects as a reference, the…
Sean
  • 65
  • 1
  • 6
3
votes
1 answer

Mapping Value in Junction Table & hibernate.PropertyAccessException: could not set a field value by reflection setter

First post to stackoverflow, so please excuse if I did not post correctly. I posted a follow-up question with code on an old thread Mapping value in junction table to Entity as I am not able to get the recommended solution to function properly. I…
Sean
  • 65
  • 1
  • 6
2
votes
2 answers

"Impossible to execute Save action: org.hibernate.exception.DataException: could not execute statement" using OpenXava?

I am very new to Java and am in need of some help. I have created a @MappedSuperclass "Attendees" using OpenXava. import javax.persistence.*; import org.hibernate.annotations.*; import org.openxava.annotations.*; @MappedSuperclass public class…
Andi
  • 25
  • 3
2
votes
1 answer

How to save enum actual value with Openxava?

I have Enum as below. private Sex sex; public enum Sex { MALE, FEMALE, OTHER } Openxava save the values database as 0,1,2. But I want to save actual values like "MALE","FEMALE" and OTHER. How can I do this with Openxava? I have some enums with more…
user3496599
  • 1,207
  • 2
  • 12
  • 28
2
votes
1 answer

Updating certain view programmatically from a JMS listener class

I was able to integrate ActiveMQ and create a JMS consumer into my OpenXava application. Now, I need to update certain transient view with the data received in the message, which it have several issues to consider, by example... how to go from a…
HayrolR
  • 761
  • 5
  • 9
1
vote
2 answers

How to hide properties depending on a different property value

In OpenXava, I have a class having a "certificateType" property, with a set of fixed values from an enumeration. In the same class, there is another property that have to be displayed if the certificateType has a specific value, hidden in other…
1
vote
1 answer

In OpenXava Is it possible to have a calculated property that is also persisted in database?

OpenXava doc says: A calculated property is a property that does not store its value in the database but it's calculated any time the property is accessed. Is there a way to persist the calculated property? The reason to do that would be: The…
Gustavo
  • 1,332
  • 2
  • 16
  • 39
1
vote
1 answer

How to make an Entity updatable but not insertable or deletable in OpenXava?

What if some entities should'n be deletable or insertable? Is there an easy way to get rid of the "new" button and trash can icon?
Gustavo
  • 1,332
  • 2
  • 16
  • 39
1
vote
1 answer

@PreUpdate, @PostUpdate, @PrePersist, @PostPersist, @PreRemove and @PostRemove do not work in an @Embeddable for an @ElementCollection with OpenXava

In my OpenXava application I had an entity with an @OneToMany collection of entities to create a master-detail structure. The main entity, Invoice, has a total persistent property that I want to update everytime that the user adds, removes or…
javierpaniza
  • 677
  • 4
  • 10
1
vote
1 answer

How to deactive a property for updating but not for creating in OpenXava?

I have a property called date where the user should be able to enter value when creating a new entity: However, on editing an existing entity the date property should be not editable, in this way: Is there an easy way to declare a property…
javierpaniza
  • 677
  • 4
  • 10
1
vote
1 answer

Is it possible to create multiple users in OpenXava free version?

The only user available in my OpenXava application is 'admin'. I know that using XavaPro I have a complete users and roles management system for my OpenXava application, but XavaPro is a commercial product. Can I add additional users to my OpenXava…
javierpaniza
  • 677
  • 4
  • 10
1
vote
1 answer

Can I change OpenXava login password (without XavaPro)?

When I run my OpenXava application the only way to sign in is using 'admin' as user and 'admin' as password: How can I define a different password for admin user? Using plain OpenXava, not XavaPro.
javierpaniza
  • 677
  • 4
  • 10
1
vote
1 answer

How do I choose what properties to show in the list view with OpenXava?

Here is my "Recapito" entity code: @Entity @Getter @Setter public class Recapito extends AceArcId implements Serializable { private static final long serialVersionUID = 1L; @ManyToOne(fetch=FetchType.LAZY, optional=false) private…
javierpaniza
  • 677
  • 4
  • 10
1
vote
1 answer

How to change the language of an OpenXava application?

I want that my OpenXava application works in multiple languages (English, Japanese and Spanish). How can I set the language of my application to Japanese, for example?
javierpaniza
  • 677
  • 4
  • 10
1
2 3 4 5 6