Inside Oracle APEX by Patrick Wolf

Setting a "Case Restriction" for Page Items/Tabular Form Columns

That's the last posting about new features in the 1.02 release of the ApexLib Framework.

Ever wanted to set a case restriction (uppercase/lowercase/capitalize) for a field like you can do it in Oracle*Forms with the "Case Restriction" property?

Here you go!

There are three new ApexLib hints called
  • $APEXLIB_UPPERCASE$
  • $APEXLIB_LOWERCASE$
  • $APEXLIB_CAPITALIZE$
which can be set in the Page Item Comment or for Tabular Form Columns in the "Link Attributes" property.

If you set such a hint, the ApexLib Framework will automatically generate the necessary code for the browser and will also make sure that the values are stored with the correct case restriction when the page is submitted.

You can test this feature on the ApexLib Feature Demonstration site.


Labels: , , , ,

2 Comments:

  • how can i use both required and uppercase hints for the same item?
    Thanks
    Lalitha

    By Anonymous Anonymous, at 02 September, 2008 19:35  

  • Lalitha,

    you can set set multiple ApexLib hints, just add multiple of them into the comment text.

    About the required: That's also automatically detected if you use a label template which is named "...Required". You don't have to use a hint.

    Patrick

    By Blogger Patrick Wolf, at 02 September, 2008 23:27  

Post a Comment

<< Home