Hi to everyone!
I just ran into the "disappearing exit buttons on production enviroment" that other posts mention.
Everything works fine on development enviroment, but as soon as the app is deployed, some of my forms called by a grid, loose the exit button.
This post: https://forum.scriptcase.net/forum/b...button-on-form mentions the problem was solved in 9.0.025.. but I'm still having the problem in 9.2.008
As far as I have been able to test, buttons called from the grid via an application link, work fine...
The buttons that fail, are the ones called via a button programmed in the grid with an event, using the sc_link macro.
This is the simple code that makes the exit buttons disappear (this is in the OnRecord event. I guess the only relevant part is the last line of code.. the rest is just styling and display):
These link buttons work perfectly fine, and the form is called and works correctly...only problem is that once I call the form, I cannot return to the grid, except via the menu.
I somewhere read that the problem might be related to the security app (which I have enabled in this project).. but I tried using the admin settings, with ALL permissions ON, and the problem persists. I haven't tried removing the whole security app yet
Oh! and I DID try deploying the project on development machine, and the problem persists.. so I have ruled out configuration / settings problems.. it works and fails exactly on the same server/apache installation.. only difference is if the app is deployed or not.
Any ideas?
I just ran into the "disappearing exit buttons on production enviroment" that other posts mention.
Everything works fine on development enviroment, but as soon as the app is deployed, some of my forms called by a grid, loose the exit button.
This post: https://forum.scriptcase.net/forum/b...button-on-form mentions the problem was solved in 9.0.025.. but I'm still having the problem in 9.2.008
As far as I have been able to test, buttons called from the grid via an application link, work fine...
The buttons that fail, are the ones called via a button programmed in the grid with an event, using the sc_link macro.
This is the simple code that makes the exit buttons disappear (this is in the OnRecord event. I guess the only relevant part is the last line of code.. the rest is just styling and display):
Code:
$buttonStyle = "width: 20px; text-align:center; padding:0px; border-radius: 4px;"; // I also use this styiling on other buttons on the grid, so I define it once {addModel} = "<button style=\"" . $buttonStyle . "\"> </button>"; // just to create a simple small, square button with rounded edges sc_link(addModel, form_add_new_model_relationship.php,idModel={idModel},"Add new model-part relationship","_self");
I somewhere read that the problem might be related to the security app (which I have enabled in this project).. but I tried using the admin settings, with ALL permissions ON, and the problem persists. I haven't tried removing the whole security app yet
Oh! and I DID try deploying the project on development machine, and the problem persists.. so I have ruled out configuration / settings problems.. it works and fails exactly on the same server/apache installation.. only difference is if the app is deployed or not.
Any ideas?
Comment