Opening Oracle Apex Links in iframe

Starting Oracle Apex 4.1, application pages by default will not open inside an iframe (inline frame).

There is a new security setting introduced, which is restricting this feature. As commented by +Patrick Wolf  in the following setting has to be changed to enable this feature:

This is what he had to say: "There is a new security feature to prevent clickJacking attacks. For new applications it's enabled, for existing ones it's disabled. Please see Shared Components > Security Attributes > Browser Security -> Embed in Frames"

Keeping this for my reference purposes only.

Country State Dropdown dependency - AngularJS

Its been some time since I have written in this blog. Its mainly because of my work schedule. Cutting short personal note, let me introduce the problem.

I have a plain HTML page which has two drop-down which is my interest in the article. The first one is Country, second one is Region/State.

My requirement is to change the Regions when Country is selected/changed. I was trying to implementing this on my own, rather than trying to use features provided by AngularJS. Then with this stackoverflow thread, I was blown out. It was as simple as a filter clause in ng-options. I had never ever dreamed of anything simpler.

Of course in my JSON, region data has a country id which made this approach simpler. Let me share my JSON.

    "states": [
            "id": 1,
            "code": "KAR",
            "name": "Karnataka",
            "country": 1,
            "region": 1
            "id": 2,
            "code": "KER",
            "name": "Kerala",
            "country": 1,
            "region": 1
            "id": 3,
            "code": "MOS",
            "name": "Moscow",
            "country": 2,
            "region": 5

In my HTML this is how I had implemented the ng-options for country and region.  Should I tell you that country 1 is India, and 5 is Russia?

<select ng-model="" ng-options=" as for option in country.countries"></select>
<select ng-model="editData.region" ng-options=" as for option in region.regions | filter:{}"></select>

Now notice the text in Bold, that is all required for this magic to happen. Really hats of to the person who commented on stackoverflow, and AngularJS team for making such a simple framework for people like me. The comment is really easy to miss, and I am reproducing this for my future reference.

ng-options=" for state in states | filter:{country:countryCode}"

[SOLVED] FRM-30401: Warning: Formula ignored for non-formula item

This was a strange error which was daunting me for couple of hours today. The field name reported by Forms Builder had no formula attached to it.

The property of all fields in the block was also same. But since this was a warning, I tend to ignore. But after some more time, bogged over with the unnecessary popup while creating FMX.

Some googling gave me an answer that this was a Form Builder Bug. Then in no time, I got the solution from Oracle Forums. 

Specify some dummy formula in the field which is reporting error, and later clearing the property to None and no Formula removed the warning thrown. 

Recording for my reference.