ADFSolution

Wednesday, December 7, 2016

How to convert input field into DateTime.

How to convert  input field into DateTime.


Hello Friends.


Today I am sharing  
How to convert  input field into DateTime.




  <af:inputText label="Label 1" id="it3" autoSubmit="true" converter="javax.faces.DateTime"/>



How to enable spelling Checker input field.

How to enable spelling Checker input field.

Hello Friends.

Today I am sharing How to enable spelling Checker input field..



Code is :

 <af:inputText label="Label 1" id="it2"   spellCheck="on" rows="10" />

How to make secure your Input field data


 How to make secure your Input field data.

Hello Friends.

Today I am sharing how to make secure your Input field data.


 The following screenshot shows an example of such behavior.



Go to input field set property   autoSubmit true and  secret  true.

Code is :       <af:inputText label="Label 1" id="it2" autoSubmit="true" secret="true"/>





Sunday, November 20, 2016

ADF inputText Right Aligned Number

Hello Friends.

Today I am sharing how to right aligned number of values in input text.


In picture show two input text. First input text set property right aligned number.

Go input text property style tab open Horizontal Align select property "Right".
Now go converter set property which type number you have required.

Code is:

  <af:inputText label="Label 1" id="it1" inlineStyle="text-align:right;"
             
                converter="javax.faces.Integer"/>

Now run application.