Activity for OpenXava

  • Javier Paniza Javier Paniza posted a comment on discussion Ayuda (Español)

    Hola Gregorio: performance, buenas prácticas, seguridad Podría haber un problema de rendimiento si el informe PDF se genera dos veces, sobre todo si es un informe pesado. También podría haber un problema de seguridad si los PDFs se dejan en un lugar accesible por el navegador, en algún lugar dentro de webapps, o accesible vía un servlet. Pon aquí el código completo de JasperReportBaseActionx para que te pueda decir cosas más concretas. Ayuda a otros en este foro como yo te ayudo a ti.

  • gregorio gregorio posted a comment on discussion Ayuda (Español)

    Saludos cordiales. OX 7.6.3 personalicé la clase JasperReportBaseAction en el método principal agregué al final: OutputStream output = new FileOutputStream(new File(getFileName())); JasperExportManager.exportReportToPdfStream(jprint, output); la clase PrintMyCustomReportAction queda de la forma: public class PrintMyCustomReportAction extends JasperReportBaseActionx { @Override public void execute() throws Exception { setFormat(PDF); setFileName("cualquierNombre.pdf"); super.execute(); } @Override...

  • Javier Paniza Javier Paniza posted a comment on discussion Open Discussion (NOT FOR HELP)

    Hello again, We’ve just deployed the M2 version of the Chat AI demo for OpenXava, available at the same URL: https://openxava.org/chatvoice In this version we have improved: It is possible to work with large data sets, not just small tables. The AI respects the baseCondition and the IFilters of the tabs, so it is not possible to access data through the chat that is not available from the application itself. Data from @ElementCollection collections can be accessed. We have refined performance. I invite...

  • Juan Pelaez Boismorand Juan Pelaez Boismorand posted a comment on discussion Ayuda (Español)

    Si, en modo lista, con la extensión carga y usando el Chrome imprime sin problema. Añadido como bug

  • Javier Paniza Javier Paniza posted a comment on discussion Help (English)

    Hi Dusan, This bug is already solved and the fix will be included in OpenXava 7.6.4, available soon.

  • Javier Paniza Javier Paniza posted a comment on discussion Ayuda (Español)

    Hola Juan: Pudiera ser que con extensiones llame dos veces al servlets, y el servlet (GenerateCustomReportServlet) tiene varios request.getSession().removeAttribute(), por lo que solo funciona la primera vez. Este problema lo arreglamos para el generador automático. Si ejecutas el Generar PDF del modo lista, ¿funciona con las extensiones instaladas? Sea como sea, añádelo como bug (Custom reports fails with Adobe Extensions), y lo revisaré. Ayuda a otros en este foro como yo te ayudo a ti.

  • Juan Pelaez Boismorand Juan Pelaez Boismorand posted a comment on discussion Ayuda (Español)

    Te adjunto lo que me pides ....

  • Javier Paniza Javier Paniza posted a comment on discussion Help (English)

    Hi Dusan, The bug is already fixed and will be included in 7.6.4.

  • Javier Paniza Javier Paniza posted a comment on discussion Open Discussion (NOT FOR HELP)

    Hi Patrick, Having a way to define "saved searched" by the developer is a good idea. Indeed we have plans to include it in future releases: https://openxava.org/xavaprojects/o/OpenXava/m/Issue?detail=1796ac8f57c74724b97bf9cf0b5790a4

  • Javier Paniza Javier Paniza posted a comment on discussion Ayuda (Español)

    Hola Juan: Ese pantallazo no me dice nada, necesito ver la traza en el servidor. ¿Es un listado automática de OpenXava o un diseño propio? Si es un diseño propio también necesito ver la acción que imprime y el diseño de JasperReports. Si tubieras un servlet propio o algo extra también me gustaría verlo. Ayuda a otros en este foro como yo te ayudo a ti.

  • Javier Paniza Javier Paniza posted a comment on discussion Ayuda (Español)

    Hola John, Lo he probado y a mi me funciona perfectamente. Te adjunto e pantallazo. He modificado el registro y después lo he consultado. Ningún problema. ¿Qué versión de OpenXava estás usando? Ayuda a otros en este foro como yo te ayudo a ti.

  • Javier Paniza Javier Paniza posted a comment on discussion Open Discussion (NOT FOR HELP)

    Hi friends, XavaPro 7.6.3 is already available. I invite you to have a look at the announcement: https://www.openxava.org/blog/xavapro-7.6.3-released Cheers

  • Javier Paniza Javier Paniza posted a comment on discussion Help (English)

    Hi Dusan, The bug about cut & paste when the fk fields to container table are not nullable is fixed. The fix will be included in 7.6.4.

  • Javier Paniza Javier Paniza posted a comment on discussion Help (English)

    Hi Dusan, So, you want close the dialog, don't reload the view behind and that everything continue working. Well, I don't know how to do it, if so I would implement it in OpenXava myself, don't think? Ask to someone smarter than me. Maybe Opus 4.5. Help others in this forum as I help you.

  • Patrick TALBOT Patrick TALBOT posted a comment on discussion Open Discussion (NOT FOR HELP)

    Hi all! I'm new to this forum and to OpenXava, but I'm in the process of evaluating the platform ATM and envision getting more involved in the future. One thing I really like is the way in List mode for a user to save a search with the "Save query" action (which as I see is saved in the .openxava user folder), that's very useful. However I have failed so far to find a way to pre-fill these saved queries. Now, I understand that these are user related, but it would be great to have a way to initialize...

  • Juan Pelaez Boismorand Juan Pelaez Boismorand posted a comment on discussion Ayuda (Español)

    Buenos días, Un usuario me reporta el siguiente error : Usa como navegador "google chrome", quiso ejecutar un listado y le aparece el error de la imagen adjunta, decir que he visto que se ha instalado la extensión de Adobe en el navegador, si la quito ya no da el error. Lo he solucionado así pero me gustaría saber si existe alguna otra solución porque parece que estas extensiones se instalan sin avisar ....

  • John J Ortega John J Ortega posted a comment on discussion Ayuda (Español)

    En el campo: @Stereotype("MEMO") @Column(name = "observacion_cobranzas") private String observacionesCobranzas; al insertar texto entre los simbolos <> la pantalla se queda cargando. Texto que generaba el error: "11/12/2025 <alerta> Cliente rechaza la propuesta...." </alerta> al cambiar por: "11/12/2025 [alerta] Cliente rechaza la propuesta...." se solucionó el problema. Se supone que al usar @Stereotype("MEMO") se va a interpretar todo como texto.

  • Dusan Djuric Dusan Djuric posted a comment on discussion Help (English)

    Hi Javier. I didn't expect OpenXava to change the way it works, especially since I'm tied to version 663 and I can't rely on any changes that I can expect in 2-3 years. What I was hoping for was help with a workaround or some alternative to create a custom closeMyDialog() (and probably some showMyDialog() that wouldn't do anything to the BaseView but has the ability to set the desired model and everything else that showDialog() can do...) that would remove the previous showDialog() or showMyDialog()...

  • gregorio gregorio posted a comment on discussion Ayuda (Español)

    listo

  • Javier Paniza Javier Paniza posted a comment on discussion Ayuda (Español)

    Hola Gregorio: El setCollapse() funciona, pero el algoritmo que detecta que datos se han cambiado para enviar solo los trozos de página imprescindible no tiene en cuenta el collapse en absoluto. Por favor, añadelo como bug como un vínculo a este hilo y lo arreglaremos. Mientras tanto usas JS con IJavaScriptPostAction para hacer una recarga de la página al final de la acción. Ayuda a otros en este foro como yo te ayudo a ti.

  • Javier Paniza Javier Paniza posted a comment on discussion Help (English)

    Hi Dusan, OpenXava requires redo the view after closing a dialog, in order to work correctly. We are not change this way of working by now. So, write your own dialog mechanism that work the way make you happy. Help others in this forum as I help you.

  • Javier Paniza Javier Paniza posted a comment on discussion Open Discussion (NOT FOR HELP)

    Hi friends, OpenXava 7.6.3 is already available. I invite you to have a look at the announcement: https://www.openxava.org/blog/openxava-7.6.3-released Cheers

  • gregorio gregorio posted a comment on discussion Ayuda (Español)

    Saludos cordiales. OX 7.6.2 Necesito poder colapsar o no por código. Al hacer click en cambiar se ejectua la sentencia pero no se visualiza el cambio. Lo extraño es que luego de hacer click en cambiar y posterior a eso presionar F5 sí que se visualiza el cambio. @View(members = "embebido,cambiar") @Entity @Setter @Getter public class EjemploSimple { @Id private Integer id; @Embedded private EmbebidoSimple embebido; @OnChange(EjemploSimpleCambiarAccion.class) private Boolean cambiar; } @View(name="embebido1",members="fecha,comentario;esValido,cantidad,valor,estado")...

  • Dusan Djuric Dusan Djuric posted a comment on discussion Help (English)

    Hi Javier Yes, it works in that way. ... Just close the dialog and working without redo the view and JS are not going to work, without breaking many OpenXava functionality, of course. I know what, why and more or less how it works. I have specific case scenario and have no value of resetting the base View because I have to refresh an rebuild my own JS object (see picture) by querying data from DB and refill JS object rendering it my self, and again, which is time consuming, screen flickering an I...

  • Javier Paniza Javier Paniza posted a comment on discussion Help (English)

    Hi Kabongo, As I said above, I reproduced the bug and you filled it. So the it's a bug with @ManyToMany that we'll fix in the feature. Unfortunately the trick of saving the record before does not work, maybe that is not the caus of the bug. If you do a reload with the browser refresh button? Do the collections appear? If after you close the dialog that the record, in your action do a getView().refresh()? Does it work. If none of the above works, the solution is not to use @ManyToMany. You can turn...

  • Javier Paniza Javier Paniza posted a comment on discussion Help (English)

    Hi Dusan, After closeDialog() Base View (Parent View) is completely reset Yes, it works in that way. After close a dialog the view below maybe has new data to display or even differente layout depend of the work of the dialog, so it has to be redrawn, and the JS to init each editor must be reexecuted. Just close the dialog and working without redo the view and JS are not going to work, without breaking many OpenXava functionality, of course. Moreover, the performance of closing a dialog is good,...

  • Javier Paniza Javier Paniza posted a comment on discussion Ayuda (Español)

    Hola Gregorio: Gracias por el ejemplo de código, seguro que me es útil cuando tenga que reproducir el bug.

  • Kabongo Kabongo posted a comment on discussion Help (English)

    Hi Javier, apologies for delay, yes even when i go to another tab and come back to the third party tab i still dont see anything until i close/save the transaction then when i want to edit i can see the third party selected

  • Dusan Djuric Dusan Djuric posted a comment on discussion Help (English)

    Hello. I use XavaPro 6.6.3. and I can't use the upgrade version. I have an no-Entity module with @View (....) and some @Transient properties for filters, and an loaded JS lib displaying an object with data. Depending on situation I showDialog(OtherView) do something in that dialog and at the end I do closeDialog(); After closeDialog() Base View (Parent View) is completely reset and I have to redo JS object with all its operation which is time consuming and absolutely unnecessary, because the data...

  • Lucio Crusca Lucio Crusca posted a comment on discussion Help (English)

    It works! Thank you very much

  • gregorio gregorio posted a comment on discussion Help (English)

    thank

  • gregorio gregorio posted a comment on discussion Ayuda (Español)

    Saludos cordiales. OX 7.6.2 Cuanto se trata de referencias: al colocar un código existente pasa por el onchange y respeta el setFocus indicado. al buscar un registro para la referencia pasa por el onchange y no respeta el setFocus indicado. Cuando se trata de atributos propios: respeta el setFocus indicado. @Entity @Setter @Getter public class Padre { @Id private Integer id; @OnChange(PadreAlCambiarNombreAccion.class) private String nombre; @OnChange(PadreAlCambiarHijoAccion.class) @ManyToOne(fetch...

  • Javier Paniza Javier Paniza posted a comment on discussion Help (English)

    Hi Gregorio: Ok, I see in your code that you're using setKeyEditable(). Please, add it as a bug with a link to this thread and we'll fix it. Help others in this forum as I help you.

  • gregorio gregorio posted a comment on discussion Help (English)

    Hi Lucio. not in oxapp-messages_it.properties ! in oxapp-labels_it.properties try this MONDAY=Lunedì TUESDAY=Martedì WEDNESDAY=Mercoledì THURSDAY=Giovedì FRIDAY=Venerdì SATURDAY=Sabato SUNDAY=Domenica

  • gregorio gregorio modified a comment on discussion Help (English)

    Hi Javier. it's not working. Please see the example. OX 7.6.2 - Create a new EntidadPadre - click EditableE1 or EditableE2 - only getView().setEditable("codigoCliente",editable); work ok

  • Lucio Crusca Lucio Crusca posted a comment on discussion Help (English)

    So I have this code in a model: @Column @Required @Enumerated(EnumType.STRING) java.time.DayOfWeek day; I'd like OX to show localized names for the days, not always english. I tried to add the following to my "oxapp-messages_it.properties", but it did not work : DayOfWeek.MONDAY=Lunedì DayOfWeek.TUESDAY=Martedì DayOfWeek.WEDNESDAY=Mercoledì DayOfWeek.THURSDAY=Giovedì DayOfWeek.FRIDAY=Venerdì DayOfWeek.SATURDAY=Sabato DayOfWeek.SUNDAY=Domenica is it possible to translate the enumerated values?

  • gregorio gregorio posted a comment on discussion Help (English)

    Hi Javier. it's not working. Please see the example.

  • Javier Paniza Javier Paniza posted a comment on discussion Help (English)

    Hi Kabongo, If you, without close the dialog, go to Transaction tab, and then go back to Third parties tab, are the records displayed? Help others in this forum as I help you.

  • Javier Paniza Javier Paniza posted a comment on discussion Help (English)

    Hi Dusan, The bug about the qualified label in confirm message of cut and paste actions has been solved. The fix will be included in OpenXava 7.6.3, available in a few weeks.

  • Javier Paniza Javier Paniza posted a comment on discussion Help (English)

    Hi Dusan, This bug is solved, and its fix will be included in OpenXava 7.6.3, available in a few weeks.

  • Javier Paniza Javier Paniza posted a comment on discussion Ayuda (Español)

    Hola JE: Lo estoy intentando reproducir pero no lo consigo. Lo que me ocurre es que EN NINGÚN CASO aparecen los totales, ni para las propiedades calculadas ni para las otras. No sé como te salen a ti. Si creas un proyecto nuevo de OpenXava y copias allí tu clase, ¿te salen los totales? ¿Has hecho alguna modificación en tu controladores.xml relacionada con la exportación a Excel? Creame un miniproyecto que reproduzca el problema y pónmelo aquí. Mientras tanto marcaré el bug como "No reproducible"....

  • Javier Paniza Javier Paniza posted a comment on discussion Ayuda (Español)

    Hola JE: Este bug ya está resuelto y su arreglo lo incluiremos en OpenXava 7.6.3, disponible en unas pocas semanas.

  • Javier Paniza Javier Paniza posted a comment on discussion Ayuda (Español)

    Hola JE: Ahora se encuentra con que todas las acciones, de consulta, han desaparecido Claro, porque XavaPro no sabe si son acciones de consulta o acciones que hacen un borrado masivo de datos. Podriamos hacer que XavaPro reconociera si una acción es de consulta o modificación por el nombre, pero esto es muy peligroso, porque dependemos de que los programadores pongan los nombres de forma correcta. Por ejemplo, si una acción se llama generarNomina, ¿cómo sabemos si eso genera un PDF sin cambiar datos,...

  • Javier Paniza Javier Paniza posted a comment on discussion Help (English)

    Hi Kabongo, i haven't been able to reproduce it since If we cannot reproduce it's difficult to fix it. org.openxava.web.dwr.Descriptions.getDescriptions Error getting descriptions java.lang.SecurityException: 6859 It's like the user session experired. It could be possible that the user did pause of 30 minutes with the applicaction opened, and then return to work? Look at the value of <session-timeout> in web.xml of your Tomcat, and try to modify it (to 120 minutes, for examples). Then follow the...

  • Kabongo Kabongo posted a comment on discussion Help (English)

    Hi Javier i have tried the implementation provided earlier it is saving it but unfortunately my view doesn't show it until i close the dialog and go back to the transaction just like before. please see below my action: import org.openxava.actions.; import org.openxava.model.; public class AddAndRefresh extends AddElementsToCollectionAction { @Override public void execute() throws Exception{ MapFacade.create(getView().getModelName(), getView().getValues()); super.execute(); } }

  • JOSE ELIAS JOSE ELIAS posted a comment on discussion Ayuda (Español)

    El administrador de la aplicación ha definido roles de "edición" y "lectura" para todos los módulos de la aplicación y los ha ido asignando a los usuarios. Ahora se encuentra con que todas las acciones, de consulta, han desaparecido cuando marca los módulos de "sólo lectura"

  • Javier Paniza Javier Paniza posted a comment on discussion Ayuda (Español)

    Hola JE: Este bug ya está arreglado y el arreglo se incluirá en OpenXava 7.6.3, disponible en unas pocas semanas.

  • Javier Paniza Javier Paniza posted a comment on discussion Ayuda (Español)

    Hola Bull: Tienes razón, lo acabo de probar con 7.6.2 y no funciona. Por favor, añádelo como bug y lo arreglaremos en futuras versiones. Mientras tanto, pon un nombre singular para edad de Datos. Así funciona: public class Datos { Integer edadDatos; } edadDatos=La edad de los datos edadDatos[description]=La edad de los datos ha de ser mayor que 0 Ayuda a otros en este foro como yo te ayudo a ti.

  • Javier Paniza Javier Paniza posted a comment on discussion Help (English)

    Hi Kabongo: some information need to be provided by the user before creating the record, In your @AddAction call to MapFacade.create before call to super, in this way: public void execute() throws Exception { MapFacade.create(getView().getModelName(), getView().getValues()); super.execute(); } Because MapFacade.create() validates before savings, so it will not continue to super.execute() and the validation errors will be shown to the user. Help others in this forum as I help you.

  • Kabongo Kabongo posted a comment on discussion Help (English)

    Hi Javier, My client had a small problem where by when they were saving a transaction at the time that they saved it nothing show on the screen or the collection or printout, so the client thought that for some reason it didn't save. they proceeded to save again the same entry and ended up having duplicate values on the screen. when i checked the log the only error i could pick is the one below. i haven't been able to reproduce it since. i was thinking maybe you could assist me to get what caused...

  • Javier Paniza Javier Paniza posted a comment on discussion Ayuda (Español)

    Hola JE: Estaba revisando este problema y he comprobado que se resolvió en la versión 7.2.3. De hecho, he hecho un caso similar al tuyo que me da exactamente el mismo error que a ti con la versión 7.2.2, y funciona bien con la versión 7.2.3. Se arreglo lateralmente al arreglar este bug en la 7.2.3: - Fix: Qualified properties in baseCondition of @Tab fails if those properties are not in the list. Es decir, si usas una versión reciente de OpenXava, esto: baseCondition = "${documentoCompensacion.fechaCompensacion}...

  • Enrique Javier Ros Gadea Enrique Javier Ros Gadea posted a comment on discussion Ayuda (Español)

    Logré hacer lo que necesito. Me estaba dando errores y por eso había pedido ayuda. Pero puse el FilePath=./files y quedó

  • Javier Paniza Javier Paniza posted a comment on discussion Ayuda (Español)

    Hola Nicolás: El bug no es reproducible con la versión 7.6.2 de OpenXava. Seguramente fue corregido de forma lateral en alguna versión posterior a 2021. Posiblemente en las versiones 7.4.5, 7.4.4 o 7.0.3, donde se solucionaron algunos errores relacionados con referencias en elementcollection sin identificador mostrado.

  • Enrique Javier Ros Gadea Enrique Javier Ros Gadea posted a comment on discussion Ayuda (Español)

    Se puede hacer que el oxfiles se grabe en una ruta relativa al servidor para evitar este tipo de cosas. Lo planteo porque yo estoy desarrollando en Windows y muchas veces el servidor es linux. Por lo que despues quiero tomar una imagen que subí en una entidad y no las encuentra. un ejemplo que las guarde dentro del WEB-INF

  • Bull Búllez Bull Búllez modified a comment on discussion Ayuda (Español)

    ¡Buenos días! ¿Cómo debo poner las etiquetas en el i18n para que coja la descripción de un campo embedded? Ejemplo: @Embeddable @Getter @Setter public class Datos { Integer edad; } @Entity @Getter @Setter public class Empresa { @Id Integer id; @Embedded Datos datos; } Y en el labels_es.properties: Empresa.datos=Datos de la empresa Empresa.datos.edad=Antigüedad Empresa.datos.edad[description]=Antigüedad de la empresa en años desde su fundación OX coge correctamente las etiquetas para Empresa.datos...

  • Bull Búllez Bull Búllez posted a comment on discussion Ayuda (Español)

    ¡Buenos días! ¿Cómo debo poner las etiquetas en el i18n para que coja la descripción de un campo embedded? Ejemplo: @Embeddable @Getter @Setter public class Datos { Integer edad; } @Entity @Getter @Setter public class Empresa { @Id Integer id; @Embedded Datos datos; } Y en el labels_es.properties: Empresa.datos=Datos de la empresa Empresa.datos.edad=Antigüedad Empresa.datos.edad[description]=Antigüedad de la empresa en años desde su fundación OX coge correctamente las etiquetas para Empresa.datos...

  • Javier Paniza Javier Paniza posted a comment on discussion Help (English)

    Hi Stuards, which will only display the tables that user is given permission to see, Yes, with XavaPro. Look: https://openxava.org/OpenXavaDoc/docs/security_en.html i want that user to be able to edit fields that i choose Yes. Using XavaPro you can restrict the visibility of fields for roles is available. Also you can make field read-only for roles. Look at: https://openxava.org/OpenXavaDoc/docs/security_en.html#Security%20and%20user%20management-Restricting%20user%20access%20to%20properties,%20references%20and%20collections%20%28new%20in%20v5.5%29...

  • stuart hellard stuart hellard posted a comment on discussion Help (English)

    We are currently using Portofino by many designs, with a basic set up looking at upto x5 databases with 30+ user tables on each DB. I want the ability to assign users in groups for access to each of these tables in order to edit and reflect this edit on the back end DB. I also want to be able to link tables so we can use drop down selectors to edit fields which update onto the DB. Would this be able to do this? In Essence i want a front end welcome page, which will only display the tables that user...

  • Kabongo Kabongo posted a comment on discussion Help (English)

    Hi Javier, I have added to the bug with the link to this thread. "Try it and tell me how it is going" that may be a little difficult based on the current setup as some information need to be provided by the user before creating the record, like matid; it is only after the user provide those , that he can add a third party and link it to the transaction

  • Javier Paniza Javier Paniza posted a comment on discussion Ayuda (Español)

    Hola JE. Podría ser configurable? ¿Y cómo lo haríamos? Una zona con acciones disponible para solo lectura, no sé me parece muy complicado, poner una sección más en los permisos para eso. Otra opción es poner a nivel de OpenXava un atributo solo-lectura en controladores.xml para las acciones, así XavaPro podría dejar las marcadas como solo-lectura. Pero para eso el programador tiene que hacerlo bien y marcarlas. Si creamos una opción de "solo lectura sin quitar acciones propias", podría ser muy peligroso...

  • Javier Paniza Javier Paniza posted a comment on discussion Help (English)

    Hi Kabongo, You're right, I tried your code and it fails. Please, add a bug with a link to this thread, so we can fix it for a future OpenXava release. I note that when a edit an existing detail and try to add thirdparties to it, it works nicely, showing the details after adding them. So I think it fails because the detail is not saved yet, so the relation in database is not created yet, therefore the lines are not shown. This is the reason because they are shown when you edit the detail again (the...

  • JOSE ELIAS JOSE ELIAS posted a comment on discussion Ayuda (Español)

    Podría ser configurable?. Por ejemplo: En los tab tenemos acciones que son filtros (por ejemplo: facturas vencidas)

  • Javier Paniza Javier Paniza posted a comment on discussion Help (English)

    Hi Mox, This bug is already fixed, and the fix will be included in OpenXava 7.6.3, available in a few weeks.

  • Javier Paniza Javier Paniza posted a comment on discussion Ayuda (Español)

    Hola Enrique: Que acciones no muestra el código @NoDefaultActions? Las acciones definidas en DefaultListActionsForCollections y DefaultRowActionsForCollections, que actuamente son las de cortar y pegar, y las de generar PDF y exportar a Excel. Mira la doc: https://openxava.org/OpenXavaDoc/docs/view_es.html#no-default-actions no hay una forma mas simple o más elegante de hacerlo? Tener una anotación para cada combinación posible haría OpenXava extremadamente complicado, porque tendriamos que tener...

  • Javier Paniza Javier Paniza posted a comment on discussion Open Discussion (NOT FOR HELP)

    Hello friends, 2026 is coming, and with it our ambitious projects for OpenXava. By September we will have OpenXava 8, compatible with Jakarta EE. But before that, in March we will release OpenXava 7.7, which will include the possibility for users to interact with the application using natural language. We already have a prototype—a glimpse of version 7.7—ready for you to try. And you, the forum users, are the first privileged ones to taste it. Try the new OpenXava with AI Chat here: https://openxava.org/chatvoice...

  • gregorio gregorio posted a comment on discussion Ayuda (Español)

    Hola Javier. Gracias por la aclaración.

  • Enrique Estévez Enrique Estévez posted a comment on discussion Ayuda (Español)

    Probando más cosas, con el siguiente código consigo lo que quiero. @Transient @SaveAction("LimpiezaExecutada.Save") @ListProperties("obxecto.nome, procedemento") @AddAction("") @RemoveSelectedAction("") @DeleteSelectedAction("") @ListAction("Utilidades.removeSelected") @EditAction("") @ViewAction("") @NoDefaultActions Collection<LimpezaExecutada> hixienes = new ArrayList<>(); Pero, no hay una forma mas simple o más elegante de hacerlo? Que acciones no muestra el código @NoDefaultActions?

  • Kabongo Kabongo posted a comment on discussion Help (English)

    Hi Javier; "Do you mean that when you add elements those elements are not displaying in the collection on close the dialog?" Yes when i use the default add features the collection does not show the values until i save the transaction and then select the transaction to edit only at that time i can see the value on the collection please see attached images(you can see on the screenshot it say 2 where added to tprec2 but there is nothing on the collection until i exit and come back as in editing): below...

  • Enrique Estévez Enrique Estévez posted a comment on discussion Ayuda (Español)

    Tengo una clase llamada Utilidades que no es entidad, y tiene una propiedad definida como sigue: @Transient @SaveAction("LimpiezaExecutada.Save") @ListProperties("obxecto.nome, procedemento") @AddAction("") @RemoveSelectedAction("") @DeleteSelectedAction("") @ListAction("Utilidades.removeSelected") Collection<LimpezaExecutada> hixienes = new ArrayList<>(); En la visualización de esta propiedad, muestra una lista en modo tabla como se puede ver en la imagen que se adjunta. Quiero borrar todas las...

  • Javier Paniza Javier Paniza posted a comment on discussion Help (English)

    Hi Mox, The bug is already fixed. The fix will be included in OpenXava 7.6.3, available in the next weeks.

  • Javier Paniza Javier Paniza posted a comment on discussion Ayuda (Español)

    Hola JE: El bug se resolvió en la versión 7.6.2. Fíjate en la descripción de los bugs resueltos: https://www.openxava.org/blog/xavapro-7.6.2-released Solo tienes que actualizarte. Ayuda a otros en este foro como yo te ayudo a ti.

  • Javier Paniza Javier Paniza posted a comment on discussion Ayuda (Español)

    Hola Gregorio: Según las definiciones que has puesto obligatorio, obligado y preceptivos son sinónimos, por lo tanto se pueden intercambiar sin problemas. Si Juan me da una noticia lo hace usando sus palabras, si María me da la misma noticia lo hace usando otras palabra. Es más, si Juan da la misma noticia a otra persona usará palabras diferentes. Los sinónimos hacen que esto sea posible, así la vida no es monotona y aburrida. Es decir "Es obligado que {0} en {1} tenga valor" es correcta desde el...

  • gregorio gregorio posted a comment on discussion Ayuda (Español)

    listo

  • Javier Paniza Javier Paniza posted a comment on discussion Ayuda (Español)

    Hola Gregorio: Gracias por informar del bug. Añadelo con un vínculo a este hilo y lo arreglaremos. Ayuda a otros en este foro como yo te ayudo a ti.

  • Javier Paniza Javier Paniza posted a comment on discussion Help (English)

    Hi Kabongo, It does not work because @AddAction is the action executed when the user click on Add in the button in the collection, not in the button in the dialog to finish the addition. That is @AddAction is the action that shows the dialog. So, it should not extend AddElementsToCollectionAction but GoAddElementsToCollectionAction. Look at this doc that explains with detail how to refine add action for a collection: https://www.openxava.org/OpenXavaDoc/docs/references-collections_en.html#refining-the-list-for-adding-elements-to-a-collection...

  • Javier Paniza Javier Paniza posted a comment on discussion Ayuda (Español)

    Hola Gregorio: Este bug ya está resuelto y su arreglo estará incluido en la versión 7.6.3, disponible en unas pocas semanas.

  • JOSE ELIAS JOSE ELIAS posted a comment on discussion Ayuda (Español)

    7.3.3

  • Javier Paniza Javier Paniza posted a comment on discussion Ayuda (Español)

    Hola JE: las acciones que están definidas en el controlador en modo tab no se presentan. SÍ, eso funcion así. No es un bug, es como tiene que funcionar, solo las acciones de "Print", "Navigation" están incluidas. La razón es que una acción propia de un programador podría modificar datos, por eso no aparecen. XavaPro no sabe lo que hace la acción, si modifica datos o no, por eso por defecto no saca ninguna. Es mejor que por un error del administrador un usuario no pueda hacer algo (lo cual no es un...

  • Javier Paniza Javier Paniza posted a comment on discussion Ayuda (Español)

    Hola Juan: i puedo condicionar el "editor personalizado" a una vista en concreto Claro que puedes, @Editor tiene forViews: @Editor(forViews="ConColores", value="PositivoRosa") BigDecimal importe; Y en editores.xml has de definir el editor PositivoRosa. Ayuda a otros en este foro como yo te ayudo a ti.

  • JOSE ELIAS JOSE ELIAS modified a comment on discussion Ayuda (Español)

    Cuando un módulo se marca de sólo lectura, las acciones que están definidas en el controlador en modo tab no se presentan. Este es un ejemplo de una acción en controladores.xml del módulo Oferta. Si lo marco como sólo lectura "no se muestra en las acciones del tab" <accion nombre="facturadas" oculta="false" modo="list" <br=""> clase="com.f4.elencoerp.acciones.FiltrarTabOfertas" icono="filter-variant-plus" atajo-de-teclado="Control Alt F"> <poner valor="F" propiedad="estado"> </poner></accion> ADEMÁS:...

  • JOSE ELIAS JOSE ELIAS posted a comment on discussion Ayuda (Español)

    Cuando un módulo se marca de sólo lectura, las acciones que están definidas en el controlador en modo tab no se presentan. Este es un ejemplo de una acción en controladores.xml del módulo Oferta. Si lo marco como sólo lectura "no se muestra en las acciones del tab" <accion nombre="facturadas" oculta="false" modo="list" <br=""> clase="com.f4.elencoerp.acciones.FiltrarTabOfertas" icono="filter-variant-plus" atajo-de-teclado="Control Alt F"> <poner valor="F" propiedad="estado"> </poner></accion>

  • Javier Paniza Javier Paniza posted a comment on discussion Open Discussion (NOT FOR HELP)

    Hi friends, XavaPro 7.6.2 is already available. I invite you to have a look at the announcement: https://www.openxava.org/blog/xavapro-7.6.2-released Cheers

  • gregorio gregorio posted a comment on discussion Ayuda (Español)

    Saludos cordiales. OX 7.6.2 Luego de un análisis profundo y varios días de contemplación inductiva sobre el caso en cuestión favor tener a bien cuanto sigue: obligatorio, ria Definición Del lat. obligatorius. adj. Dicho de una cosa: Que obliga a su cumplimiento y ejecución. Sin.: forzoso, obligado, preceptivo, necesario, imperativo, imprescindible, preciso, obligativo, mandatorio. Ant.: voluntario, optativo, potestativo, discrecional. obligado, da Artículo Sinónimos o afines Antónimos u opuestos...

  • gregorio gregorio modified a comment on discussion Ayuda (Español)

    Saludos cordiales. OX 7.6.2 indico @SearchAction y no toma lo indicado en el controlador haciendo las verificaciones correspondientes encuentro que : @NoFrame + View(name = "fisica", members = "datos[numeroDocumento]") = No funciona @NoFrame + @View(name = "fisica", members = "numeroDocumento") = Si funciona //@NoFrame + View(name = "fisica", members = "datos[numeroDocumento]") = Si funciona //@NoFrame + View(name = "fisica", members = "numeroDocumento") = Si funciona notar que el problema es al...

  • gregorio gregorio posted a comment on discussion Ayuda (Español)

    Saludos cordiales. OX 7.6.2 indico @SearchAction y no toma lo indicado en el controlador haciendo las verificaciones correspondientes encuentro que : @NoFrame + View(name = "fisica", members = "datos[numeroDocumento]") = No funciona @NoFrame + @View(name = "fisica", members = "numeroDocumento") = Si funciona //@NoFrame + View(name = "fisica", members = "datos[numeroDocumento]") = Si funciona //@NoFrame + View(name = "fisica", members = "numeroDocumento") = Si funciona notar qu el problema es al utilizar...

  • Kabongo Kabongo posted a comment on discussion Help (English)

    Hi everyone; i am using a ManyToMany annotation on my program because i want the user to select as many element then add them to the collection; which works well but i noticed that on my main application it doesn't refresh the screen until i exit/save the transaction then come back to my application and then i can see the elements stored on the collection( this behaviour only appears on my main application) so i thought if i could save the collection and refresh the previous view that could help...

  • Juan Pelaez Boismorand Juan Pelaez Boismorand posted a comment on discussion Ayuda (Español)

    Lo he repasado otra vez con calma ( tu nlace ) y creo que lo tengo .... Si puedo condicionar el "editor personalizado" a una vista en concreto y, teniendo en cuenta que la accion de "editar" es personalizada, puedo comprobar si tengo que colorear o no y poner una vista u otra .... Lo monto y te cuento. GRACIAS!!!!!

  • Javier Paniza Javier Paniza posted a comment on discussion Ayuda (Español)

    Hola Juan: ¿Por qué no lo haces como te aconsejé? Así no tienes que usar JavaScript, con un editor propio que envuelva con un span y un poco de CSS es suficiente. ¿No has visto la URL de la doc que te puse? Ayuda a otros en este foro como yo te ayudo a ti.

  • Javier Paniza Javier Paniza posted a comment on discussion Ayuda (Español)

    Hola Enrique: No entiendo la pregunta. En una @ElementCollection no hay vistas, porque los datos se editan en línea. ¿Qué es exactamente lo que quieres conseguir? Ayuda a otros en este foro como yo te ayudo a ti.

  • Javier Paniza Javier Paniza posted a comment on discussion Open Discussion (NOT FOR HELP)

    Hi friends, OpenXava 7.6.2 is already available. I invite you to have a look at the announcement: https://www.openxava.org/blog/openxava-7.6.2-released Cheers

  • Juan Pelaez Boismorand Juan Pelaez Boismorand modified a comment on discussion Ayuda (Español)

    Javascript para un viejo dinosaurio del RPG y AS400 ....... ??? Puedo manejar la condición de tener que colorear o no a través de una acción ( editar registro personalizada ) acción que implementa "IJavaScriptPostAction", puedo definir código javaScript para modificar el fondo, lo que no sé es como hacer referencia en el JavaScript a mi PROYECTO-MODULO-CAMPO para que el atributo CSS se al campo que quiero ....

  • Juan Pelaez Boismorand Juan Pelaez Boismorand posted a comment on discussion Ayuda (Español)

    Javascript para un viejo dinosaurio del RPG y AS400 ....... ??? Puedo manejar la condición de tener que colorear o no a través de una acción ( editar registro personalizada ) acción que implementa "IJavaScriptPostAction", puedo definir código javaScript para modificar el fonde lo que no sé es como hacer referencia en el JavaScript a mi PROYECTO-MODULO-CAMPO para que el atributo CSS se referencie correctamente ....

  • Juan Pelaez Boismorand Juan Pelaez Boismorand posted a comment on discussion Ayuda (Español)

    Buenas tardes Javier, Queda bastante bien ... Realmente era lo que buscaba. Gracias

  • Enrique Estévez Enrique Estévez posted a comment on discussion Ayuda (Español)

    No lo sabía, pero se me ha colado en unas cuantas relaciones de ese tipo. Supongo que debido al copy past. Como está referenciando a una clase con entidad propia, con su id, luego lo represento con @OneToMany. Sobra el @ElementCollection. Pues OpenXava ha reaccionado bien, porque no me ha dado error y el comportamiento, en principio, funciona como yo quería. Pero ya está arreglado, ya he quitado el @ElementCollection en las partes que sobraba. Mi pregunta sigue siendo, como puedo llamar a la otra...

  • Javier Paniza Javier Paniza posted a comment on discussion Ayuda (Español)

    Hola Juan: Otra opción es crear tu propio editor. Aqui tienes un ejemplo, justo para el color: https://www.openxava.org/OpenXavaDoc/docs/customizing_es.html#editores-para-anotaciones Aunque en este caso el color se coge de la anotación y tu lo quieres coger del valor. Así que no es exactamente igual, pero te da una pista de por donde ir. Ayuda a otros en este foro como yo te ayudo a ti.

  • Javier Paniza Javier Paniza posted a comment on discussion Ayuda (Español)

    Hola Enrique: @ElementCollection @ListProperties("tipoProduto.nome, modelo.produto.marcaComercial, cantidade, modelo.lote") @CollectionView("ConCondicion") @OneToMany(mappedBy="embotellado", cascade=CascadeType.REMOVE) Collection<ProdutoUsado> produtos; No puedes combinar @ElementCollection con @OneToMany, tienes que elegir. No sé como reaccionará Hibernate u OpenXava. Pero yo, como programador, no sé cuál de las dos es la que quieres. Elige una de las dos. Si es una @OneToMany, la @CollectionView("ConCondicion")...

  • Javier Paniza Javier Paniza posted a comment on discussion Ayuda (Español)

    Hola Juan: Bueno, igual hay una forma más sencilla, porque en el mensaje " Graba la entidad actual: ¿Estás seguro?", lo de "Graba la entidad actual" lo saca de la descripción de la acción. Por eso, puede crear tu propio controlador con tu propia acción save, aunque use la clase estándar para grabar, y después en el archivo de etiquetas poner la descripción de la acción, así: MiControlador.save[description]=Si graba un registro se modificarán los importes Ayuda a otros en este foro como yo te ayudo...

  • gregorio gregorio modified a comment on discussion Ayuda (Español)

    listo. usar un tooltip para arraglar el bug sí que puede ser una solución de acuerdo expandir el tamaña del campo si es de solo lectura, justo al tamaño del contenido por favor NO. eso romperá el equilibrio de visualización, desajustará el chakra de los usurios. readOnlyAsLabel=true sin cambios, Gracias

  • gregorio gregorio posted a comment on discussion Ayuda (Español)

    listo. usar un tooltip para arraglar el bug sí que puede ser una solución de acuerdo expandir el tamaña del campo si es de solo lectura, justo al tamaño del contenido por favor NO. eso romperá el equilibrio de visualización, desajustará el chakra de los usurios. Gracias

  • Javier Paniza Javier Paniza posted a comment on discussion Ayuda (Español)

    Hola Gregorio: Tienes razón, añadir un tooltip mientras esperas a que se arregle no es una buena solución porque el tooltip es una descripción fija. Sin embargo, usar un tooltip para arraglar el bug sí que puede ser una solución, porque normalmente no coincidirá una propiedad con tooltip y una con @DisplaySize, y si lo hace podemos escoger visualizar el valor. También podemos optar por otras soluciones, como visualizarlo como etiqueta o expandir el tamaña del campo si es de solo lectura, justo al...

1 >