Create a validation that runs when a button is pressed
Hi good people from this forum, I was wondering if it's possible to create a validation that runs when a button is pressed.
I'm using Oracle Apex 4.2.2 with Oracle Apex Listener 2.0 and Oracle Database XE 11g
Thank you so much for your time
P.S. On another note, How can I change my display picture =P?
You can create a validation and give it's condition like 'When Button Pressed' and select a button name or select the Condition Type as 'Request=Expression1' and give request(button name) in Expression1.
Thanks
Lakshmi
Similar Messages
-
Add code behind functionality that run when the user view the SP 2013 content pages
I need to add code behind functionality that run when the user view the SP 2013 content pages, What is the best approach to do that?
is it add Delegate Control to master page?
is it add code behind to master page?
is there an event reviver for that?
Your answer will be highly appreciatedHi,
According to me, for code behind stuff
Create master page(using module etc..), have the required placeholders in it.
Then, create a page that inherit from this master page, now you can use that placeholder in you page.
Lastly, place web parts in that placeholder. So, code behind will come with that master page .
Hope it helps.
Thanks
-Rahul -
Creating a job that runs a Tcl script
Hi,
We currently have a scheduled job running a Tcl script on a 8.1.7 DB. My question is, can I still use the same setup in 10g DB (i.e. creating a job that runs Tcl script)? If I can, how am I gonna do it?
Thanks,
howieIt depends on how you scheduled the job in 8.1.7 DB.
By Cronjob? Yes you can do the same to connect to 10g
By DBMS_JOB?. Yes you can do it in 10g and in addition, can improve it with DBMS_SCHEDULER
Via OEM? Yes in can use Enterprise Manager to create a Job that runs the Script. -
Is there a standard script that runs when a projector stops?
I know there are a couple of scripts I can use to set things up when starting a Director movie (startMovie and PrepareMovie). But are there also scripts I can use that run when the user chooses to shut down a projector? I want to run a script that sets the user's screen rez back to its original setting before shutting the projector down.
Thanks!
DeweyYes, I am looking at that one. But isn't that script activated each time a .dir movie is exited, even if it opens a different .dir movie? Or, is it only activated when the 'PROJECTOR stops?
The script I want to run should only run when you exit the projector.
Dewey -
Unlike IE When back button is pressed it takes too long. pleas do something for that. I like firefox and i get to use the back button more often.
thnxIn order to be able to find the correct solution to your problem, we require some more non-personal information from you. Please do the following:
*Click the Firefox button at the top left, then click the ''Help'' menu and select ''Troubleshooting Information'' from the submenu. If you don't have a Firefox button, click the Help menu at the top and select ''Troubleshooting Information'' from the menu.
Now, a new tab containing your troubleshooting information should open.
*At the top of the page, you should see a button that says "Copy text to clipboard". Click it.
*Now, go back to your forum post and click inside the reply box. Press Ctrl+V to paste all the information you copied into the forum post.
If you need further information about the Troubleshooting information page, please read the article [[Use the Troubleshooting Information page to help fix Firefox issues]].
Thanks in advance for your help! -
I need to create an APP that runs on an Android Tablet to play mp4 video stored on the SDCARD. I have tried using VideoPlayer and passing NULL to the Connect() method, but while this will play a video from a shockwave SWF it will not play it as an APP from a .apk file.
There are several apps in the App Store. Look at them to see what might meet your needs. There is a keynote app that might be best for you.
-
Changing Navigation when cancel button is pressed
Hello All,
We are having custom responsibility for Offer and vacancy creation. New Menu of type(App Pref Menu Container) is created and the required functions and sub menus are attached to it. This was done earlier by someone else. Now when ever i start a transaction (i.e. create offer) and then cancel it, it goes to the custom home page of that responsibility. Now i want to change the navigation page when cancel button is pressed. I believe it was achieved through menu only. Can anyone suggest how?
Thanks and regards,
PradeepIf a user is halfway ....Look at it this way...Various wizard pages insert rows into various tables. Mark all of them (or some appropriate "master" record) with a "Pending" flag.
Pressing Cancel is nothing special, just like closing your browser window, the Pending data would continue to hang around.
You could set up background jobs that purge pending data older than N days or something if you like.
What I was suggesting was that the "start wizard" button/process should first delete all these Pending rows before starting its real work. -
Add a new check box when a button is pressed??
I was trying to add a check box dynamically when a button is pressed.
The check box contains title and a textbox for the user to enter data.
For example , when the user hits addnew button , a new check box (title-name)
with a textbox for entering name should appear on the form.
Please help
thanksganeshpuppala wrote:
Hi ,
Thanks for the reply , I want to just do the task in java script.
Can you explain with an example.
thanksSince you are on a Java forum, I can only assume you want to be talked out of using JavaScript. And since you didn't indicate your choice of GUI toolkit, the default assumption is that you want to use Swing. Congratulations! Start here:
[http://java.sun.com/docs/books/tutorial/] -
Matchcode in OO (call the search help when the button is pressed )
Hi Guys,
I'm using the class cl_dd_document in order to fill a form that contains a input element (cl_dd_input_element) and a button element (cl_dd_button_element).
What I need to do now is to simulate (or build) a matchcode for the button.
For example, the input field is for entering the name of a table, and with the button i want to show all the tables that are elegibles for that field.
Any suggestion?
Regards,
Eric
Message was edited by:
Eric Hernandez PardoHi Uwe,
What I want to know is how to call the search help when the button is pressed. (Like the one in SE80 Transaction)
Regards,
Eric
Message was edited by:
Eric Hernandez Pardo -
Detect when a button is pressed for more than a certain period of time
How do I detect if a button is pressed for more than a certain amount of time? E.g. if you press on the delete button on the dialer and hold it there, it continues to delete. Or if you hold down the .com button for more than a sec, it changes to .net and so forth.
ThanksStart a timer when the button is pressed. Reset the timer when the button is released. If the timer expires before being reset then you know the button has been held down at least as long as the timer was set for.
-
My iPhone 6 wont come on when home button is pressed and screen pixels out and fades. Any one have fix or same problem?
When I press the home page the screen activates but stays black. I have to press the side button to turn if off then may have to repeat several times to get my phone to come on. Sometimes while using the phone the screen will become pixelly and start to fade away leaving a white screen with vertical line on it. I have to use the close button to make it go away.If one of the two major buttons of your phone is broken, it is unfair to expect normal operation to be available. The first resolution to any problem involves a usable Home button, as does the second option for resolving any problem. Get your Home button fixed.
-
How do I create a title, that behaves like a button?
Hi,
I'm using XML to load data from asp to flash. Here's the XML
example:
1. <?xml version="1.0" encoding="iso-8859-1"?>
2. <news>
3. <item>
4. <headline>Flash XML Based News reader out
today!</headline>
5. <date>05/09/1986</date>
6. <message>Today my new xml based flash news reader
came out, I am so excited!</message>
7. </item>
8. <item>
9. <headline>One day until the Flash XML Based News
reader is out!</headline>
10. <date>05/08/1986</date>
11. <message>Tomorrow my new xml based flash news
reader comes out, I am so excited!</message>
12. </item>
13. <item>
14. <headline>Two days until the Flash XML Based News
reader is out!</headline>
15. <date>05/07/1986</date>
16. <message>The day after tomorrow my new xml based
flash news reader comes out, I am so excited!</message>
17. </item>
18. </news>
And here's the ActionScript part:
1. // Initialize the xml object that our news will be loaded
into
2. var news_xml : XML = new XML();
3. // ignore all whitespaces inside of our xml file
4. news_xml.ignoreWhite = true;
5. // when the xml recieves a return from the load() function
call, execute this function
6. news_xml.onLoad = function( success : Boolean ) {
7. // if the xml file was successfully loaded
8. if ( success ) {
9. parseNews(this);
10. }
11. }
12. // call the load function on the xml object, passing in
the url of your xml file
13. news_xml.load("xmlTutorial.xml");
14. // this function will take our news xml object and parse
it
15. function parseNews( _xml : XML ) : Void {
16. // first we create an array that holds all the values of
the item nodes
17. var items : Array = _xml.firstChild.childNodes;
18. // now we want to iterate over every item in the items
array
19. // and parse the nodes as we see fit
20. for ( var i : Number = 0 ; i < items.length ; i ++ ) {
21. // here we set the text of the text field ( news_txt )
22. // the first thing we add to the textfield is the
headline then a line break
23. news_txt.htmlText += "<b>" + items
.childNodes[0].firstChild +"</b><br>";
24. // next we add the string date followed by the date value
in the xml file
25. news_txt.htmlText += "Date: " +
items.childNodes[1].firstChild + "<br>";
26. // now we add the message, then two line breaks, only for
formatting
27. news_txt.htmlText += " " + items
.childNodes[2].firstChild + "<br><br>";
28. }
29. }
So far is everything clear to me. But what I want to do now
is that after a user clicks on title, next happens:
the current swf unloads
the flash sends data to asp (ID of an article and ID of an
author, which movie to load next).
How do create a title/button?I know how to make a title to
behave like a link (just add the
http://... in the headline tag in XML
document. But this,..... I just don't know how to do that.
THX for any help2m, you are right. I should tell you about my concept. It's
all on the paper yet, because this is how I work - first I write
down everything on paper, study it and the next step in trying to
make it work on computer.
I have a main swf, I call it system.swf. System.swf receives
the info about the swfs, it must be loaded from html tag
<object><param>. The ID of the movies is send from
flash to asp and then via <object>back to flash. Does that
make sense? Is there a better way for that?
So, the system.swf is loaded for the whole time - let's say
it on level1. On level 2 are then loaded other swfs.It depends
which content the user wants to see.
About the article part:
first the user sees the list of last articles (title, date
and short description). When he/she clicks on the title, all the
action happens:
flash sends the data which article the user wants to read to
asp, asp searches in data base for the requested article and
creates xml, where are title, date and the whole content of the
article.
At the same time asp also sends via <object>tag in html
the id of the swf that must be loaded and the id of the author of
the article, so the swf, where the pictures of the all authors are,
will know what picute must load (this is the second swf that is
loaded on the article part - it's created like a gallery; the
author of the active article is bigger and if the user wants to
read the last article of other author, he/she just closes the
picture and then the images are moving in a slider way and when
he/she clicks on an image, it get larger and the last artcle of
this author is loaded).
And I wonder how can I make this all to happen: when the user
clicks on a title, all the var action happens?
If you have better idea how to create this, please, advice.
THX for the help so far -
XML Publisher does not create a valid XML file when I try to 'generate '
I am working through an Oracle document that walks you through creating an XML Pub report. I am using HCM 8.9, Tools 8.49.15 and it has XML Pub installed and I have the Microsoft plug-in installed
I have created a query and have downloaded an rtf template and now am on a page where you enter your data source and then click ‘Generate’ for the sample data file. I did it and it created ‘PERSONAL_DATA_PAY.XML’ which is created from a PS Query. However if I click on ‘PERSONAL_DATA_PAY.XML’ it generates a blocky text file that is not an XML file and I can’t go any further.
Do you know why it’s not generating a valid XML file when I click on 'generate'?
Thanks
Allen H. Cunningham
Data Base Administrator - Oracle/PeopleSoft
Sonoma State UniversityOn the right click on HD under video quality to filter it.
-
How to create pl/sql that run efficiently in background ?
Hi sql gurus,
We have application on Oracle 10g where 150+users (from multiple branch) concurrently input transaction. The transaction number is centralized, means all user use same transaction number counter.
To avoid the contention that occured, we think of using pl/sql procedure that run in background to do :
- select transaction that not yet has number
- query the last transaction number counter(a column in a table), increment by 1, update the transaction with the number
- commit
- process another transaction
What is the best approach to do this ?
(means a pl/sql that does not cause high CPU utilization, because it will run all day long)
Thank you,
xtantoHi,
Why can't you give them a number upon creationCurrently we doit this way, and this cause contention. thats why we think of separate the numbering process.
Fyi we donot use Sequence ( for gapless numbering).
We maintain the number counter in a column in a separate table. It is the update to this table that cause contention.
Oracle sequences are typically used for meaningless number generation. Yes, We dont use sequence.
Thank you
xtanto -
I created an imovie that runs 2hrs 14min but can't get it to burn on a DVD
I creatded an imovie that runs 2hrs 14min but can't get it to burn onto a DVD.
Any recommendations?Hi
iDVD - don't care about GBs - ONLY - Time = Movie + Menus - as follows
iDVD 08, 09 & 11 has three levels of qualities. (version 7.0.1, 7,0.4 & 7.1.1) and iDVD 6 has the two last ones
• Professional Quality
(movies + menus up to 120 min.) - BEST (but not always for short movies e.g. up to 45 minutes in total)
• Best Performances
(movies + menus less than 60 min.) - High quality on final DVD (Can be best for short movies)
• High Quality (in iDVD08 or 09) / Best Quality (in iDVD6)
(movies + menus up to 120 min.) - slightly lower quality than above
Menu can take 15 minutes or even more - I use a very simple one with no audio or animation like ”Brushed Metal” in old Themes.
About double on DL DVDs.
If You NEED to put in more than 120 minutes onto a SL DVD - Then I would use Roxio Toast™ as this can squees in between 7 to 10 hours onto this - BUT AT A BARELY USABLY QUALITY.
VHS tapes recorded in EP- mode will look brilliant in comparision
Just as info:
SP = 240 minutes on a standard VHS tape
LP = 480 minutes
EP = 720 or more ?
Yours Bengt W
Maybe you are looking for
-
FTP issue inside to outside on ASA
we have user who are on DHCP and would require some user to access FTP server which is on the outside. However being on DHCP it is not possible so suggested to use a internal server and ftp from their but it still doesn't work after allowing through
-
Freight charges on sales orders
Hi, The system has been maintained to process freight charges, what would be the transaction code to see the freight charges applied to a sale order? Thanks
-
Hi Guru's We need help to understand why cash discount has not been applied by a payment at 10.05.2008 For vendor xxxxx for 2 documents we did loose cash discount: FI doc xxxxx FI doc xxxxx Invoice date is 25.04.2008 and posting date is 02.05.2008 fo
-
Exception handling in ODI - common exception handling framework
Hi, I need to come up with a common exception handling framework in an environment where ESB and ODI are being used for interfacing and ELT operations. I am of the opinion that 1. I am not able to find any documentation wrt exception handling when OD
-
I tried to read my mails from hotmail. It wont open
cant get to my hotmail