Hi all,

where do I find a description of the component "formattedField", in particular the "format" attribut?

Do you have an attribut for a required or mandatory field as in Oracle Forms?

Regards,

Frank

asked 28 May '13, 17:35

Frank's gravatar image

Frank
2314
accept rate: 0%


Hi Frank,

The syntax rules of the Formspider formattedField can be found here:

http://docs.oracle.com/javase/7/docs/api/javax/swing/text/MaskFormatter.html

Our formattedFiled is practically a JavaScript implementation of the JFormattedTextField and MaskFormatter in Java.

About your second question: Do you have an attribut for a required or mandatory field as in Oracle Forms? No. In our experience the required attribute caused more harm than good in Forms. Formspider does not enforce mandatory fields automatically by design. Yet Formspider has an attribute called Required for each Column in a Datasource Definition. (Open a Datasource Definition, expand the Columns node and select a column. You will see it on the right side under the Updateable checkbox).

The developer should use the api_datasource.getrequiredcolumnviolations API to check if there are any violations and raise an exception accordingly. The difference of this approach is that Formspider leaves the timing of the verification to the developer.

You can read more about how to use this API, in the API documentation at: http://formspideronline.com/formspider/api/index.html

Hope this helps.

Kind Regards, Yalim

link

answered 29 May '13, 04:42

Yalim%20Gerger's gravatar image

Yalim Gerger ♦♦
1.8k5
accept rate: 15%

edited 29 Sep '15, 04:33

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×5
×2
×1

Asked: 28 May '13, 17:35

Seen: 1,074 times

Last updated: 29 Sep '15, 04:33


© Copyright Gerger 2017