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

i want a unique datetime combination with a other attribute but how?

$
0
0
Im a beginner with mendix and for school  i have to make a reservation schedule for classrooms. so a clasroom can have multiple dates and a date can have multiple classrooms   here you can pick a date and a room you want to select( i use a datetime widget from the appstore) the problem is that a classroom can be booked multiple times at the same date and time like here:and this should not be possible. And if i change the validation rule for date to be unique, this happens: if i select a other room that i want to reserve at 6/6/2018 at 10:00 it shows a error, this date and time is already used for a other room. so what i want is this: room KZ.D4.280 at 6/6/2018 at 10:00, if somebody else want to make e reservation for 6/6/2018 at 10:00 they have to choose a other room. is this possible?  

Remove Data grid row by clicking button outside data grid

$
0
0
Is it possible to remove data grid row when user clicks on a button that is placed outside data grid? If its possible can someone provide steps to implement this.

Mobile app - android native back button

$
0
0
Hi all, Is there a way to override/disable the Android back button. This seems to run a "close/previous page" action, which in my use case I would not prefer.   regards, Mark

Really cool simple things that save me so much time in the new Mendix.

$
0
0
Hi all   Two simple thing that i think are so gr8....maybe they were there before but i did not see them. These two buttons save me so much time...Thanks Mendix dev team!

Apply transition class to android back button

$
0
0
Hi all   I'm adding mobile app functionality to an existing app, and have created an app-like navigation UX using slide transition classes on buttons. However, I'm wondering how I can add one of these classes to the android back button, so that whenever it is pressed, the current screen slides right to reveal the previous screen?   Thanks Ferg

Anychart combine static and dynamic layout

$
0
0
HI, This is related to this post  https://forum.mendixcloud.com/link/questions/90182 We want to use custom range on x axis, so i move the layout config out and set it in the microflow so that we can custom the range on the fly or configurable. The question is that right now we move all out (layout setting in  anychart is empty), is it possible to have most of the setting as static (in layout section), but override only the ones we need, such as we only supply the custom ones such as range (Chart.Layout), can mendix combine these two?   Thanks Shannon

Getting error "Opening JDBC connection to None failed with SQLState:" after upgrading to 7.14

$
0
0
Everytime I start my moduler and run the project, it gives me the error "Opening JDBC connection to None failed with SQLState: S1000 Error code: -25 Message: error in script file line: 1 C:\Users\xxxxxx\Documents\Mendix\xxxxxx-main\deployment\data\database\hsqldb\default\default unknown token:" Then I have to go to the deployment directory and delete everything in the folder to start the project. Please suggest how to fix this problem. Also, this issue was not prior to upgrading and I have two different versions running on my system for 2 different applications.. Thanks.

I am not able to listen to touch start touch end event.

$
0
0
Hi All, I have written custom javascript in custom.js. I am registering a touchstart handler. But it is not working in Android. I have not tested in iPhone though.  What can be the reason? This is the code(not refactored) document.addEventListener('touchend',function(evt){    if(document.getElementsByClassName("mx-scrollcontainer-open").length && !$(evt.target).closest(".region-sidebar").length && !$(evt.target).closest(".toggle-btn").length){        document.getElementsByClassName("toggle-btn")[0].click();    }    if($(evt.target).closest(".menubtnrow").length || $(evt.target).closest(".mx-templategrid-row")){        $($(evt.target).find("span")[0]).click();    } });

Error while decrypting string: Tag mismatch!

$
0
0
Hi, when installing the latest encryption app store module, the error tag mismatch is shown in console. This happens after calling the EmailTemplate.SE_SendQueuedEmails microflow for sending mails. After debugging I found out that you need to re-enter the password for your email server configuration. Does this mean that you need to re-enter all encrypted strings as part of the upgrade, or is this unwanted behavior and considered a bug? Regards, Wilfried Edit: In order to close the Padding oracle attack vulnerability the CBC mode of the AES encryption standard was switched to GCM mode in the latest Encryption Module. Because of the algorithm change the previously encrypted passwords can not be read by the module and therefore they need to be entered again and then hashed by the new algorithm. So it is expected behavior that you had to enter the password again.

cloud native scheduled events

$
0
0
At my client we are using Pivotal CloudFoundry to deploy Mx apps. Currently we are facing issues with nightly scheduled events, especially at nights that a PCF upgrade is performed. It seems the application does not seem to deal well with an app reboot (as a consequence of the platform upgrade) while a scheduled event is running. We are using Mx6 but also tested with Mx7 (which should be cloud native), facing the same issues. Are there any design considerations to be taken into account or should Mx7 and PCF be able to handle these issues?

About ShowByCondition

$
0
0
Hi all, I have a issue about 'ShowByCondition' wedget as below. https://appstore.home.mendix.com/link/app/2539/ My desktopModeler version is 7.15.1 and I got a error message as below. The contents of this module seemed to be javascript. Does anyone have idea? Thank you in advance!  

How is it possible to get a "duplicate key value violates unique constraint" error?

$
0
0
Hi all, today I found this error on our server logs: UniqueConstraintViolationRuntimeException: Duplicate column value violates its unique constraint: ERROR: duplicate key value violates unique constraint "crmcore$person_pkey" Detail: Key (id)=(30680772461462705) already exists. (SQL State: 23505, Error Code: 0) If I interpret this correctly there a uniqueness constraint violation on the internal id generated by Mendix. So, how is is possible that this can happen at all? I expected that Mendix should handle that kind of stuff. Now I'm really wondering what we could do to fix this. Did anyone else see this kind of error? regards, Fabian EDIT - RESOLUTION: as far as I could determine this was caused by automcommited objects beeing used in the ProcessQueue.

database connectivity???

$
0
0
i am not able to connect to the SQL server database . i have introduced the jar into the userlib directory. i am facing an issue .

Mendix adds sort on ID to datagrids select queries -> slowing down performance

$
0
0
We're experiencing slow datagrids on a table with 4 million records.  When debugging in a test project I noticed that Mendix is always adding ID to the Order by clause: SELECT "myfirstmodule$test"."id", "myfirstmodule$test"."a" FROM "myfirstmodule$test" ORDER BY "myfirstmodule$test"."a" DESC, "myfirstmodule$test"."id" ASC LIMIT 20 This is a problem because there is no index on the combination column (a, id). There is a index on column a, but it can't be used. This results in a whole different query plan, slowing this datagrid down 20 times slower Anyone else experiencing this problem? Why is Mendix adding the ID column to every sort? Idea's to work around this issue? Here the full example based on a different but similar query. In this case there is an index on createddate   Update 1: I have some extra info as I inspected the indexes with PG admin. It seems that Mendix is adding ID to every index as well. The problem with the example is that I'm sorting on createddate DESC, id ASC -> while the index is created on createddate ASC, id ASC.  So sorting ASC is fast, sorting DESC is slow since you have no influence on the direction of the indexes from within the Modeler.  Leaving ID out of the indexes and out of the Order By would fix all this problems.

How to handle high traffic on rest services?

$
0
0
In our application we have several rest services published. We are receiving alerts for high CPU loads when another system start's indexing the website for there search engine. The CPU load goes down after the jvm eventually restarts itself. Our services are being called around 46.000 times in one night.  I will contact them and see if we can change something in this behaviour, but for this post my question is: How to handle high traffic on rest services, in order to prevent the host machine to be overloaded no matter how many clients? Is it possible to set a max on the amount of clients?  

"Unable to get property '_destroyed' of undefined or null reference"

$
0
0
Hi everyone, Ever since the Windows 10 April 2018 Update the browser Edge is having trouble working with Mendix. We have already received two complaints from customers about this issue and at first I wasn't able to reproduce it in Edge version 41. After I ran the Windows 10 update myself (that also updates Edge to version 42) I was able to reproduce the problem as well. Even the simplest of tasks like a menu item showing a page will result in the following console error: "Unable to get property '_destroyed' of undefined or null reference" It might well be something that Microsoft/Mendix will have to fix, but I just wanted to check if there's any workaround that anyone might have found. And also to see how many people can confirm they are having this issue as well. The two apps where we have experienced this are in 6.10.10 and 7.5.1. Upgrading the 7.5.1 one to 7.9.0 does seem to fix the issue, but I'm not sure the other customer is willing to make this step when the easier solution is to have people switch browsers, so any ideas are more than welcome!

Push notifications module throws generic error in mobile app

$
0
0
Hi guys 'n gals, I've been running in to an issue with an upgraded Mendix Project. We're currently on version 7.14.1, and ever since the upgrade, we get an error thrown in our face when we use the app on our mobile devices (the app is a PhoneGap app) If I remove the PushNotification snippet, the error is gone, but that's no solution obviously. I've been searching and searching, but no answer. If anyone has any clue, please! Image:

Not able to retrieve data from sqlserver using execute query of database connector

$
0
0
Hi, I have gone through the below sites: https://docs.mendix.com/refguide/configuration https://forum.mendixcloud.com/link/questions/86348 I have included the jar file "sqljdbc42.jar' in the "userlib" folder. But still i am not able to retrieve the data.Below is the screen shots which i used in execute query.   Below is the Error message for the connector. An error has occurred while handling the request. [User 'Anonymous_c9b8f2d2-3c03-4613-a70e-6e330d1f2f02' with session id 'd16677f1-fd71-4758-8f93-3070aef784b2' and roles 'Administrator'] -------- com.mendix.modules.microflowengine.MicroflowException: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: java.lang.RuntimeException: Failed to get driver instance for jdbcUrl=jbdc:sqlserver://IN2176914W1:1433/AdventureWorks2012    at MyFirstModule.Microflow1 (JavaAction : 'Execute query') 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.RuntimeException: Failed to get driver instance for jdbcUrl=jbdc:sqlserver://IN2176914W1:1433/AdventureWorks2012    at com.mendix.basis.component.InternalCore.execute(InternalCore.java:597) Caused by: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: java.lang.RuntimeException: Failed to get driver instance for jdbcUrl=jbdc:sqlserver://IN2176914W1:1433/AdventureWorks2012    at com.mendix.basis.actionmanagement.ActionManager.executeSync(ActionManager.java:195) Caused by: com.mendix.systemwideinterfaces.MendixRuntimeException: java.lang.RuntimeException: Failed to get driver instance for jdbcUrl=jbdc:sqlserver://IN2176914W1:1433/AdventureWorks2012    at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:36) Caused by: java.lang.RuntimeException: Failed to get driver instance for jdbcUrl=jbdc:sqlserver://IN2176914W1:1433/AdventureWorks2012    at com.zaxxer.hikari.util.DriverDataSource.(DriverDataSource.java:88)    at com.zaxxer.hikari.pool.PoolBase.initializeDataSource(PoolBase.java:323)    at com.zaxxer.hikari.pool.PoolBase.(PoolBase.java:114)    at com.zaxxer.hikari.pool.HikariPool.(HikariPool.java:105)    at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:97)    at databaseconnector.impl.JdbcConnectionManager.getConnection(JdbcConnectionManager.java:50)    at databaseconnector.impl.JdbcConnector.executeQuery(JdbcConnector.java:80)    at databaseconnector.impl.JdbcConnector.executeQuery(JdbcConnector.java:70)    at databaseconnector.actions.ExecuteQuery.executeAction(ExecuteQuery.java:81)    at databaseconnector.actions.ExecuteQuery.executeAction(ExecuteQuery.java:58)    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:593)    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:593)    at com.mendix.webui.actions.client.ExecuteActionAction.execute(ExecuteActionAction.java:135)    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) Caused by: java.sql.SQLException: No suitable driver    at java.sql.DriverManager.getDriver(DriverManager.java:315)    at com.zaxxer.hikari.util.DriverDataSource.(DriverDataSource.java:81)    at com.zaxxer.hikari.pool.PoolBase.initializeDataSource(PoolBase.java:323)    at com.zaxxer.hikari.pool.PoolBase.(PoolBase.java:114)    at com.zaxxer.hikari.pool.HikariPool.(HikariPool.java:105)    at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:97)    at databaseconnector.impl.JdbcConnectionManager.getConnection(JdbcConnectionManager.java:50)    at databaseconnector.impl.JdbcConnector.executeQuery(JdbcConnector.java:80)    at databaseconnector.impl.JdbcConnector.executeQuery(JdbcConnector.java:70)    at databaseconnector.actions.ExecuteQuery.executeAction(ExecuteQuery.java:81)    at databaseconnector.actions.ExecuteQuery.executeAction(ExecuteQuery.java:58)    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:593)    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:593)    at com.mendix.webui.actions.client.ExecuteActionAction.execute(ExecuteActionAction.java:135)    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)   Any help will be greatly appreciated. Thank you.

Compare a combination of different attributes

$
0
0
Hi guys, I'm fairly new to Mendix and i'd like to know how i can compare a combination of attribute values, for example: I have created an entity "reservation" with attributes "room", "date" , "start time" , "end time". Now i just want to prevent that the same room on the same date and in between the start-end time can be filled in the form again.  Any idea how i can achieve this ?  

Dynamic table - Entering and saving data

$
0
0
I'm working on creating an hour registration app, which requires you to provide how many hours you worked on what projects throughout the month. The idea is to create a table wherein an employee can enter his hours. The x-axis (left to right) has all the days. The y-axis (top to bottom) has all the projects. This results in a table of the size "days-per-month" x "number-of-projects". Using a save button, these hours are written to the database, and your hours for the month are saved. Furthermore, using an "Add" button, you should be able to add a row to add another project to your table. In essence, I'd like a dynamic table. See also the example below for the general idea of the table. Enter Mendix: As far as I've seen, Mendix contains a simple table function with a limited possible number of rows/columns, which is not what I need. I've tried a couple of ways to get this done, but those ways didn't lead me anywhere close to the solution I described. This leaves me with two questions: - Is there a functionality within the table widget (or other widgets) that I somehow missed, which would make this possible? - If not, do you have any pointers on how this could be realized using micro-flows?
Viewing all 83469 articles
Browse latest View live


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