Quantcast
Channel: Mendix Forum Questions
Viewing all 83469 articles
Browse latest View live

Country based Anonymous Homepage

$
0
0
Hi All, I have a requirement where when i open the homepage of the app, if i click on a button which says AR i should get the Arabic version and on EN i should get the english version. I have an anonymous homepage placed for login. Using the modeler translation options the arabic texts are kept. I can see them easily in designer view. My requirement is to have a button in the homepage somewhere to seamlessly switch between these 2 languages(for now only 2 languages) Any ideas on how to achieve it? Seems like it is no longer possible to change the language of an anonymous user!

How to deserialize nested json?

$
0
0
Hi, Im trying to process this nested json response from the consumed REST API. You cannot use the default Mendix REST functionality with mappings and all, because this requires your domain model to have x number of associations. And you don't know x.  So you need the deserializeJsonToObject java action from the REST module, to convert the json into Mendix objects. I have tried this, but I do not fully understand how to handle the complex attribute names, and how to use it with associations, see: https://forum.mendixcloud.com/link/questions/10452 Is it possible to use the deserializeJsonToObject java action for this, and what would the domain model look like to make this work? Cheers, Wilfried { "family" { "1" : { "id" : "1", "name" : "Jason Lengstorf", "age" : "24", "gender" : "male" }, "2" : { "id" : "2", "name" : "Kyle Lengstorf", "age" : "21", "gender" : "male" }, etc. } }  

"Smart" listener widget

$
0
0
I have a listener data view widget for a list view, and that list view had a drop down sort to show items. This works fine, however in some cases I navigate to this page from a context that had an instance of the object shown in the data view.   Is there a way for the list view/listener to know which object was selected upon navigating there and have that one pre-selected, rather than the default selection from my list view sort?

User message posting page Help

$
0
0
Hi everyone, I have an idea to make a user comment page for my app. When users (signed in or anonymous) type a message in the text box and submit it,  then the message text would be posted on the scrollable page, along with the date&time above or below the body of the text. I am not wanting to allow uses to submit other forms of media such as videos, gifs, images due to it being unnecessary for my app. My problem is that I am not very sure on how to fully accomplish this. The farthest I've gotten on this idea is making a scroll container with a section below the container.  I have a text box inside a data view in that section. the data view is connected to my message entity which has a text(string) attribute and a date time attribute. Howeer with this setup it seems that the user would have manually enter the date & time along with his text.

Edit button error message

$
0
0
I am working on the "Become a Rapid Developer" Module 4 Learning Path.  I am stuck on the last assignment.  I have the "...Registrations_NewEdit" page created.  I went back to the "TrainingEvent_Registration_Overview" page.  I entered an On Click Event " Show a page" for Button12 (Edit button).   When I selected the "...NewEdit page I get this notice (in red). t   This now gives this error:  

How to add CSS styles to widget with microflow

$
0
0
Hi, I want to add CSS styles to widget using microflow. I want to achieve something like this, 'height:'+$value+';' for CSS style. How can I do this ? Thank you :)

Excel importer error: java.lang.NoSuchMethodError: replication.ObjectConfig.removeUnusedObjects(Lreplication/ReplicationSettings$ChangeTracking;Ljava/lang/String;)V

$
0
0
I get 2 errors with the excelimporter with the same stacktrace: Error in execution of monitored action 'RegularClientAction' (execution id: 1540365167813-9, execution type: CLIENT) -------- An unhandled error occurred in the MxRuntime. -------- java.lang.NoSuchMethodError: replication.ObjectConfig.removeUnusedObjects(Lreplication/ReplicationSettings$ChangeTracking;Ljava/lang/String;)V     at excelimporter.reader.readers.ExcelReader.setAdditionalProperties(ExcelReader.java:536)     at excelimporter.reader.readers.ExcelReader.importData(ExcelReader.java:235)     at excelimporter.reader.ExcelImporter.startImport(ExcelImporter.java:120)     at excelimporter.actions.StartImportByTemplate.executeAction(StartImportByTemplate.java:54)     at excelimporter.actions.StartImportByTemplate.executeAction(StartImportByTemplate.java:25)     at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:46)     at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.doCall(CoreActionHandlerImpl.scala:79)     at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.call(CoreActionHandlerImpl.scala:57)     at com.mendix.core.actionmanagement.CoreAction.call(CoreAction.java:55)     at com.mendix.basis.actionmanagement.ActionManagerBase$1.execute(ActionManagerBase.java:150)     at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32)     at com.mendix.basis.actionmanagement.ActionManagerBase.executeSync(ActionManagerBase.java:155)     at com.mendix.basis.component.InternalCoreBase.execute(InternalCoreBase.java:414)     at com.mendix.modules.microflowengine.actions.actioncall.JavaAction.execute(JavaAction.scala:56)     at com.mendix.modules.microflowengine.microflow.impl.MicroflowObject.execute(MicroflowObject.java:47)     at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAfterBreakingIfNecessary(MicroflowImpl.java:201)     at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAction(MicroflowImpl.java:157)     at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:46)     at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.doCall(CoreActionHandlerImpl.scala:79)     at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.call(CoreActionHandlerImpl.scala:57)     at com.mendix.core.actionmanagement.CoreAction.call(CoreAction.java:55)     at com.mendix.basis.actionmanagement.ActionManagerBase$1.execute(ActionManagerBase.java:150)     at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32)     at com.mendix.basis.actionmanagement.ActionManagerBase.executeSync(ActionManagerBase.java:155)     at com.mendix.basis.component.InternalCoreBase.execute(InternalCoreBase.java:383)     at com.mendix.basis.component.InternalCoreBase.execute(InternalCoreBase.java:398)     at com.mendix.webui.actions.client.ExecuteMicroflowAction.runMicroflow(ExecuteMicroflowAction.scala:88)     at com.mendix.webui.actions.client.ExecuteMicroflowAction.apply(ExecuteMicroflowAction.scala:36)     at com.mendix.webui.actions.client.ExecuteMicroflowAction.apply(ExecuteMicroflowAction.scala:19)     at com.mendix.webui.actions.client.RegularClientAction.$anonfun$execute$4(RegularClientAction.scala:46)     at com.mendix.webui.requesthandling.helpers.StateHandling.withState(StateHandling.scala:28)     at com.mendix.webui.requesthandling.helpers.StateHandling.withState$(StateHandling.scala:19)     at com.mendix.webui.actions.client.RegularClientAction.withState(RegularClientAction.scala:21)     at com.mendix.webui.actions.client.RegularClientAction.$anonfun$execute$3(RegularClientAction.scala:44)     at scala.util.Try$.apply(Try.scala:209)     at com.mendix.webui.actions.client.RegularClientAction.$anonfun$execute$2(RegularClientAction.scala:44)     at com.mendix.webui.actions.client.RegularClientAction.$anonfun$execute$2$adapted(RegularClientAction.scala:42)     at com.mendix.webui.requesthandling.helpers.ContextHandling.$anonfun$inContext$4(ContextHandling.scala:41)     at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:12)     at com.mendix.basis.actionmanagement.IMonitoredAction$$anon$1.execute(IMonitoredAction.scala:47)     at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32)     at com.mendix.basis.actionmanagement.IMonitoredAction.monitor(IMonitoredAction.scala:49)     at com.mendix.basis.actionmanagement.IMonitoredAction.monitor$(IMonitoredAction.scala:25)     at com.mendix.webui.requesthandling.helpers.ContextHandling$ClientMonitoredAction.monitor(ContextHandling.scala:49)     at com.mendix.webui.requesthandling.helpers.ContextHandling.inContext(ContextHandling.scala:41)     at com.mendix.webui.requesthandling.helpers.ContextHandling.inContext$(ContextHandling.scala:27)     at com.mendix.webui.actions.client.RegularClientAction.inContext(RegularClientAction.scala:21)     at com.mendix.webui.requesthandling.helpers.ContextHandling.inContext(ContextHandling.scala:24)     at com.mendix.webui.requesthandling.helpers.ContextHandling.inContext$(ContextHandling.scala:19)     at com.mendix.webui.actions.client.RegularClientAction.inContext(RegularClientAction.scala:21)     at com.mendix.webui.actions.client.RegularClientAction.$anonfun$execute$1(RegularClientAction.scala:42)     at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:12)     at com.mendix.webui.requesthandling.helpers.ProfileHandling.profileRequest(ProfileHandling.scala:14)     at com.mendix.webui.requesthandling.helpers.ProfileHandling.profileRequest$(ProfileHandling.scala:10)     at com.mendix.webui.actions.client.RegularClientAction.profileRequest(RegularClientAction.scala:21)     at com.mendix.webui.actions.client.RegularClientAction.execute(RegularClientAction.scala:39)     at com.mendix.webui.requesthandling.ClientRequestHandler.handleAction(ClientRequestHandler.scala:122)     at com.mendix.webui.requesthandling.ClientRequestHandler.processRequest(ClientRequestHandler.scala:99)     at com.mendix.externalinterface.connector.RequestHandler.doProcessRequest(RequestHandler.java:40)     at com.mendix.external.connector.MxRuntimeConnector$1.execute(MxRuntimeConnector.java:72)     at com.mendix.external.connector.MxRuntimeConnector$1.execute(MxRuntimeConnector.java:69)     at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32)     at com.mendix.external.connector.MxRuntimeConnector.processRequest(MxRuntimeConnector.java:75)     at com.mendix.basis.impl.MxRuntimeImpl.processRequest(MxRuntimeImpl.java:870)     at com.mendix.m2ee.appcontainer.server.handler.RuntimeHandler.service(RuntimeHandler.java:42)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)     at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:841)     at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:535)     at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:188)     at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1595)     at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:188)     at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1253)     at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:168)     at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:473)     at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1564)     at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:166)     at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1155)     at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)     at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)     at org.eclipse.jetty.server.Server.handle(Server.java:561)     at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:334)     at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251)     at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:279)     at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:104)     at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:124)     at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:247)     at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produce(EatWhatYouKill.java:140)     at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131)     at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:243)     at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:679)     at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:597)     at java.lang.Thread.run(Thread.java:748)   I Already tried the answer posted for 'NoSuchMethodError in ExcelImporter after migrating to Mendix 7 and updating the ExcelImporter'', but this does not work. Anyone any other solution then removing duplicate files and cleaning the deployment directory?

Best practise for seperating functionality into individual modules, but maintaining all flows in one app?

$
0
0
I've got the task to merge two and a new app into one holistic app. Basically, incorporate functionality and pages of different apps (each a single module) into one app. The user will use all of those three areas in one single new to build app. But I'm struggling with the best practise on how to organize my document structure in Mendix. Each module (application) consists of it's own pages, microflows and resources (snippets, ENUMs, etc.). My thought was to create an additional module 'Application' and have that module as a base for the app. It will consist of the cross-app microflows and pages that refer to the snippets (of each module pages), instead of those application pages themselves. This way, no page data or app specific microflows will exist in the 'application' module, a user can still access each section of the holistic app and, technical-wise, each section (app) can easily be exported if required. This would mean that all pages of each app should be converted to snippets and in Application a lot of empty pages will exist with a single snippet (aside from template (header, navigation) items. Who can suggest me some best practices, an approach on how to seperate those three apps, but still have them together in one single app?   - - -  It simply feels silly to have a navigation layout that refers to different pages in different modules. It would seem more logical to have all navigational pages in one single module and have those pages refer to snippets in each module. User-wise everything exists in one module, but technically everything is spread and organized in each app module. :)

MicroflowTimer NetworkError

$
0
0
Hi, From a dashboard page a run a microflowtimer to check for updates in the DB in a specific period. Whenever i lose my connection (f.i. disable wifi), i notice the client starts returning errors to the browser: Firefox: An error ocurred while executing microflowNetworkError when attempting to fetch resource. the POST action that is triggered cannot get a response, so this seems logical. Any ideas to disable the popup that comes with it? Or perhaps to not use the microflowtimer when there is no connection? Is there an easy way to check for connectivity?  

What is the function of Create Backup in Mendix Developer?

$
0
0
I need the latest backup of Acceptance environment. Now if i click on the "Create Backup" and then "Download Backup", whether it will only download the latest backup. Please confirm if there is any environment start/stop envolved in this process. Also confirm the function for "Create Backup"

[On Premise] Excel Exporter Error - ArrayOutOfBoundsException

$
0
0
Hi All, I have an issue with an on-premise app where the Excel Exporter functionality is throwing an error: 2018-10-22 15:23:19.851 INFO - ExcelXLSReader: Starting XLS import Template: 2 - Central User Stockcount Store Importer Template 2018-10-22 15:23:20.348 INFO - ExcelImporter: Statistics   -   FINAL statistics, Objects of type 'Stockcount.StockcountStores'      Created: 4      Synchronized: 0      Not found: 0      Skipped: 0  2018-10-22 15:23:20.348 INFO - ExcelXLSReader: Successfully finished importing 2 - Central User Stockcount Store Importer Template496 ms 2018-10-22 15:24:17.120 INFO - StouckcountCreate.ACT_ExtractGridData: Grid Count: 4 2018-10-22 15:24:17.446 ERROR - Connector: An error has occurred while handling the request. [User 'store1c_sit2' with session id '97b9a98a-99a4-406a-b2c6-53763122b10a' and roles 'CentralAdmin'] 2018-10-22 15:24:17.446 ERROR - Connector: com.mendix.core.CoreException: com.mendix.modules.microflowengine.MicroflowException: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: java.lang.A_: 0     at StockcountCreate.ACT_ExtractGridData (JavaAction : 'GenerateExcelDoc') Advanced stacktrace:     at com.mendix.basis.component.InternalCore.execute(InternalCore.java:569) Caused by: com.mendix.modules.microflowengine.MicroflowException: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: java.lang.ArrayIndexOutOfBoundsException: 0     at StockcountCreate.ACT_ExtractGridData (JavaAction : 'GenerateExcelDoc') Advanced stacktrace:     at com.mendix.modules.microflowengine.MicroflowUtil.processException(MicroflowUtil.java:146) Caused by: com.mendix.core.CoreException: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: java.lang.ArrayIndexOutOfBoundsException: 0     at com.mendix.basis.component.InternalCore.execute(InternalCore.java:598) Caused by: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: java.lang.ArrayIndexOutOfBoundsException: 0     at com.mendix.basis.actionmanagement.ActionManager.executeSync(ActionManager.java:195) Caused by: com.mendix.systemwideinterfaces.MendixRuntimeException: java.lang.ArrayIndexOutOfBoundsException: 0     at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:36) Caused by: java.lang.ArrayIndexOutOfBoundsException: 0     at sun.font.CompositeFont.getSlotFont(CompositeFont.java:351)     at sun.font.CompositeGlyphMapper.initMapper(CompositeGlyphMapper.java:81)     at sun.font.CompositeGlyphMapper.<init>(CompositeGlyphMapper.java:62)     at sun.font.CompositeFont.getMapper(CompositeFont.java:409)     at sun.font.CompositeFont.canDisplay(CompositeFont.java:435)     at java.awt.Font.canDisplayUpTo(Font.java:2063)     at java.awt.font.TextLayout.singleFont(TextLayout.java:470)     at java.awt.font.TextLayout.<init>(TextLayout.java:531)     at org.apache.poi.ss.util.SheetUtil.getDefaultCharWidth(SheetUtil.java:274)     at org.apache.poi.ss.util.SheetUtil.getColumnWidth(SheetUtil.java:249)     at org.apache.poi.ss.util.SheetUtil.getColumnWidth(SheetUtil.java:234)     at org.apache.poi.hssf.usermodel.HSSFSheet.autoSizeColumn(HSSFSheet.java:2165)     at org.apache.poi.hssf.usermodel.HSSFSheet.autoSizeColumn(HSSFSheet.java:2147)     at xlsreport.report.export.ExportExcel.processSheetPreferences(ExportExcel.java:220)     at xlsreport.report.export.ExportExcel.buildExportFile(ExportExcel.java:162)     at xlsreport.actions.GenerateExcelDoc.executeAction(GenerateExcelDoc.java:133)     at xlsreport.actions.GenerateExcelDoc.executeAction(GenerateExcelDoc.java:34)     at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:46)     at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.doCall(CoreActionHandlerImpl.scala:79)     at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.call(CoreActionHandlerImpl.scala:57)     at com.mendix.core.actionmanagement.CoreAction.call(CoreAction.java:55)     at com.mendix.basis.actionmanagement.ActionManager$1.execute(ActionManager.java:186)     at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32)     at com.mendix.basis.actionmanagement.ActionManager.executeSync(ActionManager.java:191)     at com.mendix.basis.component.InternalCore.execute(InternalCore.java:594)     at com.mendix.modules.microflowengine.actions.actioncall.JavaAction.execute(JavaAction.scala:64)     at com.mendix.modules.microflowengine.microflow.impl.MicroflowObject.execute(MicroflowObject.java:47)     at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAfterBreakingIfNecessary(MicroflowImpl.java:201)     at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAction(MicroflowImpl.java:157)     at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:46)     at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.doCall(CoreActionHandlerImpl.scala:79)     at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.call(CoreActionHandlerImpl.scala:57)     at com.mendix.core.actionmanagement.CoreAction.call(CoreAction.java:55)     at com.mendix.basis.actionmanagement.ActionManager$1.execute(ActionManager.java:186)     at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32)     at com.mendix.basis.actionmanagement.ActionManager.executeSync(ActionManager.java:191)     at com.mendix.basis.component.InternalCore.execute(InternalCore.java:563)     at com.mendix.basis.component.InternalCore.execute(InternalCore.java:578)     at com.mendix.webui.actions.client.ExecuteMicroflowAction.$anonfun$executeMicroflow$5(ExecuteMicroflowAction.scala:108)     at scala.Option.getOrElse(Option.scala:121)     at com.mendix.webui.actions.client.ExecuteMicroflowAction.executeMicroflow(ExecuteMicroflowAction.scala:108)     at com.mendix.webui.actions.client.ExecuteMicroflowAction.execute(ExecuteMicroflowAction.scala:63)     at com.mendix.webui.requesthandling.ClientRequestHandler.$anonfun$handleRequest$2(ClientRequestHandler.scala:364)     at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:12)     at com.mendix.basis.actionmanagement.IMonitoredAction$$anon$1.execute(IMonitoredAction.scala:47)     at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32)     at com.mendix.basis.actionmanagement.IMonitoredAction.monitor(IMonitoredAction.scala:49)     at com.mendix.basis.actionmanagement.IMonitoredAction.monitor$(IMonitoredAction.scala:25)     at com.mendix.webui.requesthandling.ClientRequestHandler$ClientMonitoredAction.monitor(ClientRequestHandler.scala:472)     at com.mendix.webui.requesthandling.ClientRequestHandler.handleRequest(ClientRequestHandler.scala:349)     at com.mendix.webui.requesthandling.ClientRequestHandler.handleActionWithSessionRequired(ClientRequestHandler.scala:280)     at com.mendix.webui.requesthandling.ClientRequestHandler.handleAction(ClientRequestHandler.scala:242)     at com.mendix.webui.requesthandling.ClientRequestHandler.liftedTree1$1(ClientRequestHandler.scala:104)     at com.mendix.webui.requesthandling.ClientRequestHandler.processRequest(ClientRequestHandler.scala:96)     at com.mendix.externalinterface.connector.RequestHandler.doProcessRequest(RequestHandler.java:40)     at com.mendix.external.connector.MxRuntimeConnector$1.execute(MxRuntimeConnector.java:71)     at com.mendix.external.connector.MxRuntimeConnector$1.execute(MxRuntimeConnector.java:68)     at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32)     at com.mendix.external.connector.MxRuntimeConnector.processRequest(MxRuntimeConnector.java:74)     at com.mendix.basis.impl.MxRuntimeImpl.processRequest(MxRuntimeImpl.java:858)     at com.mendix.m2ee.appcontainer.server.handler.RuntimeHandler.service(RuntimeHandler.java:42)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)     at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:841)     at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:535)     at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:188)     at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1595)     at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:188)     at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1253)     at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:168)     at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:473)     at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1564)     at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:166)     at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1155)     at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)     at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)     at org.eclipse.jetty.server.Server.handle(Server.java:561)     at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:334)     at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251)     at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:279)     at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:104)     at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:124)     at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:247)     at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produce(EatWhatYouKill.java:140)     at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131)     at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:243)     at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:679)     at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:597)     at java.lang.Thread.run(Thread.java:748)   We have two environments in fact (both on premise) but this issue only appears to be on one of the environments, the other one is working fine. Comparing the Model Reflections and Excel Exporter configurations they appear to be the same. So I'm wondering if it might be an environmental issue?   Does anyone know what might be causing this to fail or can anyone suggest what I might check for?   Thanks in advance Regards Adrian

Data grid - Unexpected behaviour?

$
0
0
Hi all, I have a data grid with a few editable columns. I have a Before Commit on the data grid entity because things need to happen when a value is changed.  I would expect the BCO event to be triggered when I change a value of an editable cell instantly, but the event only gets triggered when I leave the current row. So the object is not committed after each change of an editable cell.  This used to be different. The BCO event would be triggered after every change. Does anyone know if the current behaviour is intentionally, or is this a bug? Thanks!

[Mobile Apps] How to create config file using offline profile ?

$
0
0
Hello,  I'm looking for solution - I want to set some preferences of my app during first run on mobile devices and do it offline. The idea is to use maybe .txt or .xml config file which can be created on the first run and then checked during next runs? I know that Mendix apps have their own file structure on mobile devices. I will be grateful for any help or ideas 

Pretend you are hacking your own application

$
0
0
Easy to use and safe check of your entity access. Browse available entities, attributes and objects. Visit https://securitycheck.webflight.nl/ NOTE: CREDENTIALS AND MX MODEL ARE NOT STORED OR LOGGED

Can i add my own UI design in Mendix

$
0
0
I have created a UI in photoshop which is different from the themes available in the Mendix so can i use mine created UI in the Mendix.

Style change of "Download file" page

$
0
0
Greetings, colleagues!   I am working on one project that requires unique style. I was able to successfully change style of pages, snippets, headers, etc... I am stuck at "Download file" pop-up page. I want to change it's style and to add some extra functions to it.  Does anybody have experience with this? Any kind of advice is welcome.  Here is the pop-up i want to change.   Thanks in advance and best regards.

Google Cloud Platform SDK Authentication - How to deal with Environment Variables and a changing config file on your MX file system?

$
0
0
Hi All, For a project, we are currently implementing several Google Cloud Platform services. Because the authentication and use cases are quite complex, we decided to build connectors by using the Google SDKs. I will try to explain our challenge as brief as possible. In order to authenticate to the Google Cloud Plaform, Google asks you to download a credentials file (json) and place this somewhere on your file system. After that, you need to set a Environment Variable (GOOGLE_APPLICATION_CREDENTIALS) in which you set the path to this JSON. Because we want to change the credential file whenever we need to, we decided to use the temp folder. Working locally, this solution works when we set the path to the exact location of the file. We can use a fixed filename, but according to the documentation, the temp folder path may change. In Java, we can use the Mendix SDK to retrieve the current temp folder path. As of my knowledge, we kan not use parameters when setting the Environment Variable. DOCS: https://cloud.google.com/docs/authentication/production Questions: Is using the temp folder the really the only option if we need to write to the file during runtime? If so, is it safe to use this folder for storing credentials? Can we use variables when we set the GOOGLE_APPLICATION_CREDENTIALS Environment Variable? Is there another solution to pass the credentials in every scenario ad-hoc from a regular Mendix file document?   As you can see; quite some questions! Hopefully someone at the forum has some experience with the implementation of Google services in to their app. Happy to hear your thoughts. Best, Jeroen

preserve user-adjusted width of columns in grids

$
0
0
Hi,   We would like to offer our users the capability of storing user-adjusted column widths of grids, so that their adjustments are restored the next time they use the grid. Anyone knows how to do this in Mendix?   Thanks,   Vincent Houtgraaf

Consume webservice: Unable to find valid certification path

$
0
0
Hi, I have a web service with which you must connect with a PFX certificate. In SOAP UI this works, but in my local Mendix application I get the error message: "sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path". I have loaded the PFX certificate in Project> Settings> Certificates Hopefully someone at the forum can help me with the implementation of the PFX certificate in my app.

CSS question regarding radio buttons

$
0
0
Hi, I was trying to make an enumeration more intuitive, more like the example below https://codepen.io/samkeddy/pen/PbROLK strangely the parts where a radio button is checked, it doesnt work.     all parts with + (plusses in them) seem to be left out for example the part: input[type=radio]:checked + label{       I hope someone can find out what I'm doing wrong. The image below is what I get when I copy paste the code from the link, so it seems there is more css code left out.   The part of the code below, I can easily tweak, and adjust. input[type=radio] {   position: absolute;   visibility: hidden;   display: none; } label {   color: lighten($bg,40%);   display: inline-block;   cursor: pointer;   font-weight: bold;   padding: 5px 20px; } For more information, please leave a comment
Viewing all 83469 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>