Activity for ch.

  • ch. ch. posted a comment on discussion Help (English)

    Hi, Error : Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project CGPA: Compilation failure [ERROR] /home/christophe/git/cgpa/src/main/java/org/openxava/web/dwr/Module.java:[293,23] cannot find symbol [ERROR] symbol: method setPostJS(java.lang.String) [ERROR] location: variable result of type org.openxava.web.dwr.Result [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run...

  • ch. ch. posted a comment on discussion Help (English)

    Hi Javier, The proxy problem had disappeared during a deployment, but it has just reappeared. I've tried to implement the module.java class to get Logs but it won't compile. There's an error with the instruction : result.setPostJS((String) request.getAttribute(“xava.postjs”)); See below private void fillResult(Result result, Map values, Map multipleValues, String[] selected, String[] deselected, String additionalParameters) throws Exception { Map changedParts = result.getChangedParts(); View view...

  • ch. ch. posted a comment on discussion Help (English)

    Yes , Thank oyu

  • ch. ch. posted a comment on discussion Help (English)

    Hello, I have a person entity with a @file property to integrate a photo of the person. I would like to insert a nophoto.png file, if a file is not loaded when the record is created or modified. To do this, I use the @PrePersist and @PreUpdate annotations. annotations (c.f code below) But I get an error when loading the image Can you help me ? @File(acceptFileTypes=“image/*”, maxFileSizeInKb=4096) @Column(length=32) @LabelFormat(LabelFormatType.NO_LABEL) private String photo; @PrePersist @PreUpdate...

  • ch. ch. posted a comment on discussion Help (English)

    Hello, I've searched the documentation and forums but haven't found anything. Could you tell me how to change the title of the reports for lists and collections (c.f image) . I'd like to customize it for collections. Thx

  • ch. ch. posted a comment on discussion Help (English)

    Hello, No , the Module.java is OK

  • ch. ch. posted a comment on discussion Help (English)

    Hi Javier There is a Error !!

  • ch. ch. posted a comment on discussion Help (English)

    Hello Javier, I have the same problem with my "toy" application. here's the output from module.java [Module.getScheme] scheme=null [Module.getServerPort] port=443 Thanks

  • ch. ch. posted a comment on discussion Help (English)

    Hi Javier, I have a problem with openxava behind a reverse proxy (Traefik) We access the application via HTTPS between the internet and the reverse proxy. Then the reverse proxy redirects to the tomcat on port 8080. When the user enters his credentials in the Login window, the application is in Https (https://<domain name="">/CGPA). When you click on the "Connect" button the application redirects to a non-secure URL, with port :443 static in the URL (http://<domain name="">:443/CGPA) resulting in...

  • ch. ch. posted a comment on discussion Help (English)

    Ok, I found the error, I had not updated the context.xml file Thank you

  • ch. ch. posted a comment on discussion Help (English)

    Hello Javier I have a small problem, I migrated an openxava 6 project to openxava 7, I followed the guide but I have an error when I run the program, can you help me? Thanks

  • ch. ch. posted a comment on discussion Help (English)

    yes, I see, indeed, it is a bit complex to modify Thank you and good day

  • ch. ch. posted a comment on discussion Help (English)

    Hello Indeed, I used @ListAction to place "updateUnitPrices" in the Collection toolbar. I modified public class UpdateUnitPrices extends ViewBaseAction{ to public class UpdateUnitPrices extends TabBaseAction{ the Dialog window is displayed but the "Save" button does not work Do you have an idea

  • ch. ch. posted a comment on discussion Help (English)

    Great, it works, Thank you very much for your help. Just a question, my Product entity is a collection, do you know if it is possible to integrate the action "updateUnitPrices" in the toolbar collection

  • ch. ch. posted a comment on discussion Help (English)

    HI, Up, I have the same need, have found a solution?

  • ch. ch. posted a comment on discussion Help (English)

    Hi, I have a silly question but how do I get the base URL of the application ? Thanks

  • ch. ch. posted a comment on discussion Help (English)

    Hi, Thanks, it works Regards

  • ch. ch. posted a comment on discussion Help (English)

    Hello Javier, Is it possible to delete the list mode of an entity? I would like to create an entity with just the detail mode My goal is to give access to a user via a URL (ex : http://localhost:8080/CGPA/m/MyFormation?detail=ff8081817aa04666017aa0472d490001) but not to have access to the list view Ex : http://localhost:8080/CGPA/m/MyFormation Thank you

  • ch. ch. posted a comment on discussion Help (English)

    Thank you, quick and efficient

  • ch. ch. posted a comment on discussion Help (English)

    Hello Javier, I have a small question, can I call a module directly from the URL but without authentication? Thanks

  • ch. ch. posted a comment on discussion Help (English)

    Hello, I have a problem my entity contains 2 fields (year and number) with @DefaultValueCalculator but the 2nd field (number) is not calculated. I have to select a value in the listbox "year" so that the value of the field "number" is calculated Do you have a solution for this? Thanks below the code package com.yourcompany.cgpa.model; import javax.persistence.*; import org.openxava.annotations.*; import com.yourcompany.cgpa.calculators.*; import lombok.*; @Entity @Getter @Setter public class Livres...

  • ch. ch. posted a comment on discussion Help (English)

    Hi Javier, Yes , It's Ok now , Thanks à Lot

  • ch. ch. posted a comment on discussion Help (English)

    Hi Javier, Yes , It's Ok now , Thanks à Lot

  • ch. ch. posted a comment on discussion Help (English)

    Yes Le jeu. 22 avr. 2021 à 13:37, Javier Paniza javierpaniza@users.sourceforge.net a écrit : Hi Ch, Are you using XavaPro? Help others in this forum as I help you. Problem with @CollectionView https://sourceforge.net/p/openxava/discussion/419690/thread/63346059dd/?limit=25#8f94 Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/openxava/discussion/419690/ To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

  • ch. ch. posted a comment on discussion Help (English)

    Yes

  • ch. ch. posted a comment on discussion Help (English)

    Hi Javier, IT's OK , now , the combos are shown, But I can't edit anymore, it just offers me the visualization (C.F Image)

  • ch. ch. posted a comment on discussion Help (English)

    Hi, Thank you Javier, I'll try your Workaround.

  • ch. ch. posted a comment on discussion Help (English)

    Hi Javier, Herefind , the complete code Thx package com.yourcompany.cgpa.model; import javax.persistence.*; import org.openxava.annotations.*; import lombok.*; @MappedSuperclass @Getter @Setter public class OidClass { @Id @Hidden @GeneratedValue(strategy=GenerationType.IDENTITY) @Column(length=10) private Integer oid; } package com.yourcompany.cgpa.model; import javax.persistence.*; import lombok.*; @Entity @Getter @Setter public class TypeMateriel extends OidClass { @Column(length=25 ,unique=true,nullable=false)...

  • ch. ch. posted a comment on discussion Help (English)

    Herefind image 2

  • ch. ch. posted a comment on discussion Help (English)

    Hi Javier, Yes, it makes sense , Thank you What I want to do my material entity contains objects that are grouped with other objects. for example : a computer will be linked with a monitor, a keyboard and a mouse (c.f image 1) On the other hand, I created a @CollectionView with a view that does not include the collection (Matlies), it works but the listboxes do not appear in the new view ? (ex fabricant) (c.f. image 2)

  • ch. ch. posted a comment on discussion Help (English)

    Hello , I created an entity with a OneToMany on itself. On the collection I added a @CollectionView. Everything is ok. package com.yourcompany.testchc.model; import java.util.; import javax.persistence.; import org.openxava.annotations.; import lombok.; @Entity @Getter @Setter @View(members= "identification ;" + "modele, taille;" + "numserie;" + "matLies { matLies }" ) @View(name="fils", members = "identification;" ) public class Materiel { @Id @Hidden @GeneratedValue(strategy=GenerationType.IDENTITY)...

  • ch. ch. posted a comment on discussion Help (English)

    Hi, Thank you

  • ch. ch. posted a comment on discussion Help (English)

    Hello, Does the @Caculation annotation work with the Localdate type. I tried this but nothing happens? LocalDate startDate; @Calculation(value = "startDate.plusDays(400)") LocalDate endDate; Does anyone have an idea? Thanks

1
MongoDB Logo MongoDB