Any way to display row-level errors in AdvancedTable from ProcessRequest?
I have a page which displays data in an Advanced Table. Users are also able to edit the data on each row, and then save. Upon saving, it will validate the data, and display row-level errors (via either OARowValException or OAAttrValException). That's all working fine.
The issue I have, is that sometimes data can become invalid from outside of this particular screen. So when a user opens the screen, some of the data displayed is already invalid. If the user saves, without changing anything, they'll see the errors. I want to show the errors immediately, without them having to save on every range of records. So I basically want to re-validate everything when it is first displayed, so from ProcessRequest. Is there any way to actually do that? I've tried several ways, but nothing seems to work.
Hi,
I havent used it but u can try with the below logic
Write ur logic in AM...
Import oracle.apps.fnd.framework.OAAttrValException
Import oracle.apps.fnd.framework.OARowValException
//Iterate through all the rows.
if(attr1!=attr2)
throw new OARowValException (
getEntityDef().getFullName(), // entity full definition name
getPrimaryKey(), // entity object primary key
"FND", // message application short name
"ATTR_EXCEPTION"); // message name Regards,
Gyan
Similar Messages
-
Any way to display a message when Flash is not found on the iPad?
Apple is obviously rejecting Flash to protect it's 'App' revenue. I've been on Android phones that run Flash and display all my content perfectly smooth. It can be quite frustrating how they are trying to bury it when I still have yet to see HTML5 replicate the type of interactive content Flash is capable of producing.
Is there any way to display a message on the iPad when the Flash player is not found?
I'd like it to says something along the lines of:
"Unfortunately the Apple iPad does not support the Flash player because their business interests do not want it taking away from their App revenue.
Did you know that the Dell Streak, HTC Flyer, Blackberry Playbook, Motorola Xoom, Samsung Galaxy Tab, Toshiba Thrive, and HP Touchpad all support the Flash player?"
My HTML code looks something like this...
<html>
<head>
<title>My Page</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#ECECEC" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<body onresize="setFlashSize()">
<div id="flashid" style="width:100%; height:100%;">
<script type="text/javascript" language="JavaScript">
function setFlashSize(){
var viewportheight = document.body.clientHeight;
var viewportwidth = document.body.clientWidth;
var mydiv = document.getElementById("flashid");
var styleheight = parseInt(mydiv.style.height);
var stylewidth = parseInt(mydiv.style.width);
if (viewportwidth<880){
document.getElementById("flashid").style.width = 880+"px"; }
else {
document.getElementById("flashid").style.width = 100+"%";}
if (viewportheight<760){
document.getElementById("flashid").style.height = 760+"px"; }
else {
document.getElementById("flashid").style.height = 100+"%";}
setFlashSize();
document.write('<object data="index1.swf" width="100%" height="100%" type="application/x-shockwave-flash">');
document.write('<param name="movie" value="index1.swf" />');
document.write('<param name="allowScriptAccess" value="always" />');
document.write('</object>');
</script>
<noscript>Javascript must be enabled to view Flash movie</noscript>
</div>
</body>
</html>Use swfobject for Flash detection and you can provide all kinds of alternate content... simple text, images, links, .js slideshow, a mov or mp4 video just for the iPhone... ANYTHING this is regular HTML. Your imagination is the only limit.
And YES, HTML5 is a far cry from replicating Flash... so give them the best of both worlds.
http://code.google.com/p/swfobject/
Review this article which deals with Flash and SEO for more ideas:
If you think that Flash is somehow bad for SEO, it's time to dispell that MYTH!
If fact, in some circumstances I'll use Flash INSTEAD of just HTML because then I'll have better SEO than with just HTML alone.
http://www.worldbarefootcenter.com/
The link to World Barefoot Center in the above post is just one example. View the source code and you see a couple paragraphs of text along with regular HTML links.... but what displays is the Flash version of the image and Flash links.
The client provided the artwork for the page... and that's what they wanted to use a .jpg image. Well yes, that could be done in HTML but it would be virtually invisible to Google. So Instead I converted the image into a Flash .swf and used swfobject to display the Flash. swfobject allows you to create alternate content inside the <div> which also holds the Flash .swf, then when the page is loaded it detects if the browser has the Flash pluggin. If it does, it displays just the Flash content, if not, it displays the alternate content. Since almost everyone has the Flash pluggin, for most people the Flash version of the <div> will display.
The alternate content for that <div> can be any regular HTML text, images, media player, links, etc., anything that you would use if you were not using the Flash. Now the best part is that the alternate content can be "over the top" as far as optimizing for SEO, since it will not be seen by most viewers.
Here's another example of SEO with Flash.. again, the page is just a single image provided by the client:
http://www.ksowetsuits.com/
View the source code. The alt content is paragraph after paragraph of information about the site, including lists and links. If it was just the HTML, it might be kind of a boring Home page. But for SEO I can go "over the top" in promoting the site, since most viewers will never see that part... but it's all indexed by search engines. The end result is BETTER SEO using Flash than just HTML.
On another Web site, a Flash video is displayed, the alt content is the complete text narration of the video. Now how many people would take the time to read that if they could just watch the video instead?? again, better SEO with Flash than without. In fact in one case we had first page search result from that video narration within 4 hours of posting the page.
On still another site with a Flash video, the alt content is another video, but a .mov version, which will, in effect play Flash video on the iPhone (not possible you say??). Well since the iPhone does not have Flash pluggin, it simply displays the .mov version of the video, while everyione else sees the Flash version.
So anyway, if Flash is a part of your Web development, you should look into using swfobject and alternate content.
http://code.google.com/p/swfobject/
Best wishes,
Eye for Video
www.cidigitalmedia.com
Adninjastrator -
Is there any way to mimic a Fatal Error in Actionscript?
One thing I've noticed about Flash is that there doesn't
appear to be any way to throw a fatal error in Actionscript. If I
want my flash application to halt completely in a given situation,
there's not really anything I can do to stop all code execution is
there? Also, is there any sort of modal dialog (like an Alert()
message in Javascript) in Flash? At the very least, it would be
nice to stop everything and send the user a message they can't
ignore when my code fails.
This is made more difficult by the fact that I'm trying to
write some Actionscript class files -- they don't have any library
items associated with them that I can depend on for user interface
elements.
Any suggestions about how to STOP ALL CODE EXECUTION and send
a MODAL DIALOG MESSAGE to the user would be *much*
appreciated.Hi greenbush,
I'm afraid there isn't. It's a file that you uploaded from your desktop, the original should remain there.
I wish that I had better news for you.
Best,
Sara -
Is there any way to display filenames or captions for photos?
is there any way to display filenames or captions for photos?
Thanks. There are so many it's very hard to see which one does what. Since I edit on the MacBook Pro using Photoshop Elements, all I really need is a way of seeing the filenames, and secondarily re-arranging thumbnails on the iPad screen manually.
-
Is there any way to display a file that contains text and pictures
Hi all,
I was wondering if java has any way to display a file that contains both text and pictures. I have tried using the RTFEditorKit and using an RTF file and it only diplays the text contained in the file and omits the pictures all together.
code:
import java.awt.*;
import java.io.*;
import javax.swing.*;
import javax.swing.text.rtf.RTFEditorKit;
public class Test
JScrollPane scroll;
JEditorPane edit=new JEditorPane();
RTFEditorKit kit=new RTFEditorKit();
public Test()
final JFrame frame = new JFrame();
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
edit.setEditorKit(kit);
edit.setEditable(false);
try
kit.read(new FileReader(new File("Installation.rtf")),edit.getDocument(),0);
catch(Exception e)
JOptionPane.showMessageDialog(null, e);
frame.getContentPane().add(new JScrollPane(edit));
Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
frame.setBounds(0,0,screenSize.width, screenSize.height);
frame.show();
public static void main(String[] args)
new Test();
Please help!
thanks in advance,
DeniseNot good as that usually means the project itself was corrupt.
Any chance you sync'd to Creative Cloud? That's the only way I know of that backs up your PS Touch (PSDX) files. -
20 days back myself ported network from vodafone in to airtel. But in my iphone5 its still showing vodafone in only. Done reset network setting, reztore but no use, can u ppl suggest any way to display carrier name correctly, ios i m using is ios7
Call your local Apple store. Not sure how the phone system works in the UK, but here in the US there is a menu system that allows you to make an appointment. Or, you can go online to www.apple.com/retail, or you can use the Apple Store app and make an appointment there after selecting the particular store.
-
Is there any way to get volume level of netStream?
Hello,
I want to get the activity level of audio of a NetStream, similar to how you can do it with a Microphone.
In this article,
http://stackoverflow.com/questions/1442913/as3-audio-activity-level-of-a-netstream
NetStreamInfo.audioBytesPerSecond is said to be the solution.
However, audioBytesPerSecond indicates how many data volume the stream have.
It does not get volume level of the stream.
It is not the same as microphone.activityLevel.
Is there any way to get volume level of netStream?
Thanks in advance.Thank you very much for your answer.
I will use audioBytesPerSecond.
I've tried SoundMixer class also, but it seems not working on streaming movies. -
Is there any way to display JTree without using applet
Hi,
is there any way to display JTree without using applet . Can we display the JTree in a JSP page.
With Regards,
Sheema.Not a JTree, per se. But there are Javascript solutions out there and there are JSP tag library solutions which use a JTree on the server side to hold and maintain the data and expanded nodes.
This is one that I've used before, it's pretty good:
http://www.jenkov.dk/treetag/introduction.tmpl -
Any way to display dorpdown menu over quick time player
hi all,
Is there Any way to display dorpdown menu over quick time
player in Dynamic HTML page like the flash parameters wmode
transparent....The menu and quick time is different Td's
ThanksNot that I know of.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"jibysk" <[email protected]> wrote in
message
news:ff9rjk$i6l$[email protected]..
> hi all,
>
> Is there Any way to display dorpdown menu over quick
time player in
> Dynamic HTML page like the flash parameters wmode
transparent....The menu
> and quick time is different Td's
>
> Thanks -
I just want to ask if there is any way i can fix my ipod touch 4G from watar damage and i dont think that a larg amount of water have entered and the ipod isnt working at all and i tried charging it but it didnt work so please help me, and thankyou.
Probably dead if you have tried to charge it.
You should never try to charge or turn on a wet electronic device.
You should let it dry for a week or so, then try. -
I've copied my itunes library onto an external hard drive. Is there any way I can do this and delete songs from my PC without also deleting from the external drive? Already lost two songs!!! I just want a back up - using a work PC and don't want others accessing my songs. Hope someone can help. Thanks!
I see. To get a better idea of what is being stored where please download and run the script iTunesInfo which should output something like this:
I'm interested in the block of 4 results starting ITL location. If your profile name shows up somewhere replace it with <Name>. It is also worth checking under Edit > Preferences > Advanced to see where iTunes thinks your media is supposed to go. My script estimates the setting based on the location of the first media file it can actually find.
tt2 -
Is there any way i can transfer all my SMS messages from my 3GS to my 4 ?
is there any way i can transfer all my SMS messages from my 3GS to my 4 ?
Use iTunes to backup files from your old ipod first then transfer to the new iPod. Please
follow the steps in How to transfer your backup from one iOS device to a new device. By the way, if you don't have the iTunes, you can use this iPhone transfer program. It help you to transfer sms and contacts from iPhone.
Hope it helps.
You can use http://www.google.com to search more -
Is there any way to get the query used in discoverer from backend??
Hi All,
I am new to dicoverer.
Is there any way to get the query used in discoverer from backend??
Thanks,
SachinHi,
you can view the SQL from within the discoverer menu:
in desktop: View-> SQL Inspector
in Plus: Tools-> Show SQL
The SQL in the DB tables is encrypted so it's a problem getting it from there.
You can export the workbook into SQL but it is not working for every worksheet (subquery, inline pivot tables...)
you can create a batch file to export them all using the output of this script:
select null,null,'echo off'
from dual
union all
select distinct
qs.qs_doc_name Workbook_name,
qs.qs_doc_details Worksheet_Name,
'start /wait <path>\dis51usr.exe /connect '||'&p_user_name'||'/'||'&p_password'||'@'||'&p_env'||' /apps_user /apps_responsibility "&responsibility" /opendb '||
chr(34)||qs.qs_doc_name||chr(34)||' /sheet "'||qs.qs_doc_details||'"'||' /export SQL "C:\Export Discoverer SQL\'||qs.qs_doc_name||'-'||qs.qs_doc_details||'.sql" /batch'
from eul_us.eul5_qpp_stats qs
where qs.qs_doc_name is not null
--order by 1,2
union all
select null,null,'echo off'
from dual
union all
select null,null,'exit'
from dual -
Is there any way for my ipad to piggyback the internet from my iphone without having to purchase a "plan" from ATT&T....The guy at the store said that I had to purchase a new plan with "so much" GB per month and loose my unlimited amount that I am grandfathered into with my current plan... any thoughts?
Unfortuneatly, you would have to give up your unlimited plan. In the US you would have to get the 2GB plan for $25 and add the teathering plan for $20 more. The teathering plan would give you another 2GB of data for a total 4GB.
-
Any way to force a complete refresh of contacts from Yahoo Address Book?
Any way to force a complete refresh of contacts from Yahoo Address Book?
About once a month I delete all my Yahoo contacts and upload a new file. (That may sound crazy but I do it from a master file (a database) both to Yahoo and Lotus Notes and blackberry via Notes. Only takes a few moments. Works for me.)
When I do this with my iphone it's duplicating some contacts, not a whole lot, but some - maybe 3%. I have reset the sync history before doing this.
So, any way to wipe the slate clean on the iphone and force a one way refresh?Please check you contact name in the device and verify if the names does not start with none alphabetic characters (e.g. @, &, *, etc). This characters will actually stop the sync process and will not be able to successfully complete the transfer of data. Do the same thing with the contact data you have online just to be sure..
If that it still doesn't work, delete your Google account on the device, restart, and then recreate the same account.
Let me know how it goes...
Maybe you are looking for
-
Open dataset and close dataset
Hi I need to write log file in fileshare. I am using the following FM to create the file. Z_FILE_OPEN_OUT_UNICODE' I have following qns 1. do i need to use open dataset and close dataset stmts, even I create the files with the FM?
-
Hello: Standard SAP does not clear (marked as cashed) payroll checks. I have a customized transaction that was recommended by an SAP OSS notes. It works great in the foreground, it cancelled when I try to run it in the background. Does anyone has b
-
Create a job without sql job agent
Hi I want to create a job to exec stored procedure once in day with out using job agent. Is there anyway to do it? Thanks,
-
Hi, I´m creating different webpages in IWEB. First of all I wonder how to make a back up of all the sites I make. Where are they stored on the computer? Second question: I like to make a press area where other people can download pdf´s and jpegs. Is
-
Printing Photos from Lightroom, HELP !!!!
Hi Everybody- I have a trial version of lightroom and I must say that is an AMAZING program, I am getting this program for sure, It is soooo much easier for me to get the hang of over Photoshop. But anyway,on to my question. I was getting fami