Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

1/30/2018 Anil's Oracle Application Framework Blog: Restrict user to enter data in CAPS ONLY

Anil's Blog is Best Viewed on GOOGLE CHROME


More Next Blog»

Anil's Oracle Application Framework Blog


Sharing learning with wider audience
Home ADF How to start learning OAF Extensions in OAF Trainings & Services Jobs

Contributors Friday, October 8, 2010

Anil Sharma
Restrict user to enter data in CAPS ONLY
Unknown Thanks Pranav for sharing this article.

In this exercise we are restricting the user to enter Character in UPPERCASE.

Contact Me

Contact Me!

Followers

Followers (144) Next

Brief about the steps we are performing


1. Create custom CSS.
2. Attaching this CSS to bean via personalization.

Step1. FTP the latest custom.css from server $Common_Top/html/cabo/style to desktop

Step2. Add the below text in custom.xss

Follow

Find us on Facebook

Blog Archive
Step 3: Now, FTP the updated custom.xss file to same path on the server i.e. $Common_Top/html/cabo/style.
► 2016 (2)
► 2015 (1)
Step 4: Set the CSS Class Property through Personalization.
► 2014 (6)
CSS Class : XXOraUpperText
► 2013 (5)
► 2012 (2)
► 2011 (7)
▼ 2010 (24)
► December (1)
► November (3)
▼ October (6)
Dependent
Picklist/Po
plist OAF
Testing VO at
design
time - OAF
Jdev 10G
feature
java.sql.SQL Finally after setting css for Project Name bean user can only enter in UPPERCASE only.
Exception:
ORA-
01008: not
all
variable...
Restrict user
to enter
data in
CAPS
ONLY

https://oracleanil.blogspot.in/2010/10/restrict-user-to-enter-data-in-caps.html 1/3
1/30/2018 Anil's Oracle Application Framework Blog: Restrict user to enter data in CAPS ONLY
Submitting
the Page
on Enter
Key - OAF
How to
Restrict
user from
entering
special
charact...

► September (7)
Here is another more simpler approach.
► August (1)
► June (3) Here in the processRequest we are setting the CSS to the Bean without making changes to custom.xss file.

► May (3)
import oracle.cabo.style.CSSStyle;
► 2009 (44) import oracle.apps.fnd.framework.webui.beans.message.OAMessageTextInputBean;
public void processRequest(OAPageContext pageContext, OAWebBean webBean)
{
super.processRequest(pageContext, webBean);
Popular Posts CSSStyle css =new CSSStyle();
css.setProperty("text-transform","uppercase");
How to add ViewAttribute
in ViewObject (VO) OAMessageTextInputBean mtib=(OAMessageTextInputBean)webBean.findChildRecursive("HelloName");
dynamically if(mtib!=null) {
mtib.setInlineStyle(css);
Controller Extension in }
R12 - OAF

Important Profile Options


in OAF Thanks
--Anil
Dependent LOV in OAF

Advanced Table in
Advanced Table via View Posted by Anil Sharma at 8:55 AM
Link
Reactions: funny (0) interesting (0) cool (0)
EO based VO Extension
in OAF – R12

Partial Page Rendering


(PPR) 5 comments:
To Find out the event
Occur Anonymous August 9, 2011 at 7:10 AM

Popup in OAF - R12.1.2 As per the Option 1 given we are able to force the user to enter the data in CAPS but while saving it saves how the user
Part II has typed and does not conert into uppercase.Is their any way to get it saved in the Uppercase itself

How to Test or Create Appreciate your help.


DBC File on Oracle Apps
11.5.10 Nandhi
Reply

Anonymous January 5, 2012 at 11:48 AM

Hi Anil,
I did this using the first approach but when the data gets saved in backend it does not get saved in uppercase; rather it get
saved as I type in the data. I need to this for whole address part on Customer form on R12. Please suggest.

Thanks
Dey
Reply

Anonymous March 26, 2012 at 10:11 PM


Any update on this last post Anil
Reply

kannan March 27, 2012 at 10:32 PM


please update
Reply

JoseAróstegui May 8, 2012 at 7:04 AM


Hi,

I have the same problem with approach 1 (text is saved as it's been written). Does the second approach truly solve the
issue?

Thanks!
Jose.
Reply

https://oracleanil.blogspot.in/2010/10/restrict-user-to-enter-data-in-caps.html 2/3
1/30/2018 Anil's Oracle Application Framework Blog: Restrict user to enter data in CAPS ONLY

Enter your comment...

Comment as: Unknown (Goo Sign out

Publish Preview Notify me

Note: Only a member of this blog may post a comment.

Links to this post


Create a Link

Newer Post Home Older Post

Subscribe to: Post Comments (Atom)

Copy Restricted

Copyright © 2010 Anil's Blog. All rights reserved.. Awesome Inc. theme. Powered by Blogger.

https://oracleanil.blogspot.in/2010/10/restrict-user-to-enter-data-in-caps.html 3/3

You might also like