cntrint.blogspot.com
Counterintuition: Button Confirmation Message
http://cntrint.blogspot.com/2012/07/button-confirmation-message.html
A place for Application Express tips and tricks. Sunday, July 8, 2012. This is a quick way to add a javascript confirmation message to a button. Firstly make sure that your button template uses #BUTTON ATTRIBUTES# substitution string (note #BUTTON ID# doesn't seem to work as expected here). Add a button id to the Attributes field, or otherwise ensure you can identify it with a jQuery selector. Then in Post Element Text place some jQuery to extend the click event. Sam Hall (aka Capt. Egg).
cntrint.blogspot.com
Counterintuition: April 2010
http://cntrint.blogspot.com/2010_04_01_archive.html
A place for Application Express tips and tricks. Tuesday, April 13, 2010. XSS = X(cross) Site Scripting. This is where user entered data contains some javascript that will be later inadvertently rendered and executed by another users browser. The javascript then sends session information back to the attackers external server. This information could contain cookies that can be used to steal the user's session. It's a great read). HTTPOnly is sufficiently supported by 99% of mainstream browsers (and most i...
cntrint.blogspot.com
Counterintuition: XSS and Apex
http://cntrint.blogspot.com/2010/04/xss-and-apex.html
A place for Application Express tips and tricks. Tuesday, April 13, 2010. XSS = X(cross) Site Scripting. This is where user entered data contains some javascript that will be later inadvertently rendered and executed by another users browser. The javascript then sends session information back to the attackers external server. This information could contain cookies that can be used to steal the user's session. It's a great read). HTTPOnly is sufficiently supported by 99% of mainstream browsers (and most i...
cntrint.blogspot.com
Counterintuition: Interactive Report Column Custom Formatting
http://cntrint.blogspot.com/2012/05/interactive-report-column-custom.html
A place for Application Express tips and tricks. Tuesday, May 8, 2012. Interactive Report Column Custom Formatting. The question was posed, how to achieve custom formatting of a column if the available Format Models. In standard SQL reports, it's not such a problem as you can simply use the "HTML Expression" field. After teething problems with the first use case. The advantage here is you don't have to modify the query and you can put all sorts of additional formatting in the one place without interferin...
cntrint.blogspot.com
Counterintuition: November 2008
http://cntrint.blogspot.com/2008_11_01_archive.html
A place for Application Express tips and tricks. Sunday, November 30, 2008. In Application Express, it's not obvious how you would redirect to another page if the requested one fails an assertion. You can do so quite easily by creating a conditional 'On Load - Before Header' page process like this. Owa util.redirect url('f? P=' :APP ID ':XYZ:' :APP SESSION ': ' :DEBUG ': :');. Owa util.http header close;. Where 'XYZ' is the page you desire to redirect to and the condition is the assertion fail state.
cntrint.blogspot.com
Counterintuition: June 2009
http://cntrint.blogspot.com/2009_06_01_archive.html
A place for Application Express tips and tricks. Friday, June 19, 2009. Had an interesting problem today tracing the origin of some HTTP headers. An application which uses mod plsql (non-APEX) was constantly returning some troublesome header information which we needed to remove, particularly when a certain procedure was called. I searched every where in the. On the up side, I can now clarify some more of the behaviour of the undocumented. Sam Hall (aka Capt. Egg). Monday, June 15, 2009. FUNCTION HTTP GE...
cntrint.blogspot.com
Counterintuition: May 2012
http://cntrint.blogspot.com/2012_05_01_archive.html
A place for Application Express tips and tricks. Tuesday, May 8, 2012. Interactive Report Column Custom Formatting. The question was posed, how to achieve custom formatting of a column if the available Format Models. In standard SQL reports, it's not such a problem as you can simply use the "HTML Expression" field. After teething problems with the first use case. The advantage here is you don't have to modify the query and you can put all sorts of additional formatting in the one place without interferin...
cntrint.blogspot.com
Counterintuition: July 2009
http://cntrint.blogspot.com/2009_07_01_archive.html
A place for Application Express tips and tricks. Sunday, July 26, 2009. Every APEX developer needs to know about a handy firefox extension called It's All Text! Install this and it will allow you to seamlessly edit any textarea in an external editor. The default file extension applied to such files can changed to ".sql". So if your editor handles syntax highlighting based on file type, you're in business. I use SciTE. And it all works very well. Sam Hall (aka Capt. Egg). Subscribe to: Posts (Atom).
cntrint.blogspot.com
Counterintuition: It's All Text!
http://cntrint.blogspot.com/2009/07/its-all-text.html
A place for Application Express tips and tricks. Sunday, July 26, 2009. Every APEX developer needs to know about a handy firefox extension called It's All Text! Install this and it will allow you to seamlessly edit any textarea in an external editor. The default file extension applied to such files can changed to ".sql". So if your editor handles syntax highlighting based on file type, you're in business. I use SciTE. And it all works very well. Sam Hall (aka Capt. Egg). Subscribe to: Post Comments (Atom).
cntrint.blogspot.com
Counterintuition: July 2012
http://cntrint.blogspot.com/2012_07_01_archive.html
A place for Application Express tips and tricks. Sunday, July 8, 2012. This is a quick way to add a javascript confirmation message to a button. Firstly make sure that your button template uses #BUTTON ATTRIBUTES# substitution string (note #BUTTON ID# doesn't seem to work as expected here). Add a button id to the Attributes field, or otherwise ensure you can identify it with a jQuery selector. Then in Post Element Text place some jQuery to extend the click event. Sam Hall (aka Capt. Egg).