There is a strange message called 'error' in message box after giving continue in step 5. I am trying to confirm order but it replied a message box just with 'error' text. It doesn't move to step 6 (confirm order). I also check with error log there is no updates there. If anybody know what it is, please reply......
Related
I've built a chat app using Django Channels. To check messages I should click on the message icon (just like stackoverflow for example). I want to add the feature enabling to have these small red circles on the message icon indicating the number of messages not read and I don't even know what I should type on Google to look for this. Any suggestions ?
Thanks!
I have an apex page where I have a button "SAVE & CLOSE" . On click of that button, I first want to save the data and then close the page.
I have a PLSQL code at point "Processing" to save the data.
I have then created a Branch at Point = "After Processing" and Type ="PLSQL Procedure" and written below code to close the window.
Begin
htp.p('<script type="text/javascript" >');
htp.p('window.close();');
htp.p('</script>');
end;
I have added the button's name in server side condition : When button Pressed.
But this doesn't work. When I click on apply, it doesn't close the window. It gives me an error :
"Error: SyntaxError: Unexpected token < in JSON at position 0 "
Can you please help me resolve this error and tell how can I close the window in button click.
Thanks,
Abha
You can use only APEX components and not write a single line of code :)
Set action for your button to "Submit page" - so all items will be submitted to use their values in processing. Image below will help you.
Now, for processing your pl/sql code use process in processing(left side on the picture).
Here you can create a new process and set type to "Close dialog" this process will automatically close the window. Without any javascript etc.. Apex is processing from top to bottom, so if you make this process last, it will always close the window after all processes are done.
You can as well set process server side condition, so it will not trigger every time.
Be careful with javascript - some web browsers are processing them in different way.
Hope it will help. Have a nice day !
Hi I got it working with other method :
Instead of type : PLSQL Procedure" select Type = "Page or URL Redirect"
and give
javascript:window.close()
in the Target.
This works.
What I did was make the page Modal. Then I added a Button called btnClosePage with a Dynamic Action (True Event) that calls "Close Dialog". I am working in Oracle Apex 20.2.
I've added a Slot Type into the web front end system of Lex by clicking on the "Save slot type" button.
But now I can't see the Slot Type anywhere. Nor can I edit it. It just seems to have vanished into thin air. However, when I then try and create another Slot Type with the same name, I receive an error saying that it already exists... which it obviously does, but I can't edit it or delete it because I can't see it.
How do I access it?? or how do I access the json for it???
Thanks
I've just found the answer. Go back to the Lex start page (ie click on the golden box, then locate the Lex feature).
Then on the left is a list of Intents and Slot Types.
This was a cashing issue for me. I closed all browser windows, deleted my cache for the past hour, and logged back into AWS.
Problem solved.
When I did logged back in, the slot was back in my Slot Types, even though I had deleted it (at least it was not showing in my list of Slot Types before). I was able to use it in my bot without any issues.
Go to Amazon Console
Type Amazon lex
On left side there are vertical menu like Bots, Intents, Slot types
Click on Slot types . Wait for 2 -3 seconds. Your created slot will appear in the list.
I am getting such an error at image below while OpenCart complete the pay option. How could this be solved?
hi when I want to click Continue button to continue the order after i finish my payment method then it goes to Checkout Confirmation" The continue button to checkout confirmation does not function it freeze like no action to take. but i look in code. i go to some javascript code. to continue it i try to trace which action it will take i think this javascript
They have the same problem with me. They have solved the problem here, but I do not know how they do it Opencart Fatal error: Opencart Fatal error: Call to a member function get() on a non-object
In visual c++, I am using a message box to warn the user about invalid entry in a dialog. When the entry is invalid and the user clocks OK in the dialog, a message box pops up which the user acknowledges by clicking OK and the original dialog is still available for the user to correct his entry.
My problem is that I see different behavior when the user hits enter on the keyboard vs clicking on the OK button in the dialog. When the user hits enter instead of clicking OK in the original dialog, the message still pops up but then everything goes away after the message is acknowledged (the dialog does not persist under it like with clicking OK).
The message box is based on WinUser.h method MessageBoxA. Any suggestions why this is or how to work around it?
Maybe the CANCEL option is the DEFAULT - Enter key will simulate the click of the DEFAULT Button, i.e the one with the dashed frame