OAF page is not able to display the custom error messages
Hi,
I have extended a seeded CO and trying to throw few custom error messages.
It was working fine, but suddenly it is not able to display the error messages(but checked that the error messages are still present in application) and saying "Message not found. Application: PER, Message Name: ...."
Is there any profile option which enables the custom messages?
Thanks,
Ranita
Hi,
There is no profile to enable the Custom error Messages, u will use the diagnostistics for showing the messages in the custom page
use the following syntax for writing a msg in Jdeveloper
pageContext.writeDiagnostics(strClassName, "Initializing the vo....", OAWebBeanConstants.STATEMENT);
and enable the following profile option to yes
Fnd:Diagnostics
Regards
Chanu
Similar Messages
-
Component level display of the Custom Error Message in 11g
Iam using custom error handler that extends the default DCErrorHandlerImpl class to handle the Custom exceptions thrown from the service layer, and able to see the exception displayed in the ADF UI in a popup window.
How can we do Customization in order to display the Custom error message inline with a component (i.e. associated with a specific UI component with the arrow mark look and feel ) instead of the global level message displayed as a pop up window on the ADF UI page? Please suggest.
Thanks,
Kayal.
Edited by: user11217416 on Feb 15, 2012 6:07 AM
Edited by: user11217416 on Feb 15, 2012 6:14 AMHi,
Try as follows
final static int MSG_FATAL = 1;
final static int MSG_ERROR = 2;
final static int MSG_WARN = 3;
final static int MSG_INFO = 4;
public static void showMsgForRelevantComponentAll(int iSeverity, String sMsg, UIComponent uIComponent) {
FacesMessage msg = null;
switch (iSeverity) {
case MSG_FATAL:
msg = new FacesMessage(FacesMessage.SEVERITY_FATAL, null, sMsg);
break;
case MSG_ERROR:
msg = new FacesMessage(FacesMessage.SEVERITY_ERROR, null, sMsg);
break;
case MSG_WARN:
msg = new FacesMessage(FacesMessage.SEVERITY_WARN, null, sMsg);
break;
case MSG_INFO:
default:
msg = new FacesMessage(FacesMessage.SEVERITY_INFO, null, sMsg);
FacesContext facesContext = FacesContext.getCurrentInstance();
facesContext.addMessage(uIComponent.getClientId(facesContext), msg);
} -
Not able to display the image on the popup.
hi,
my requirement is: i have command link on the form.which on clicked should display a popup and with in that popup a image should be shown. I have stored that image in the form of byte array.
On clicking the link i am able to show the popup.But,not able to display the image on the popup.
thanks in advance.
Srikanth.VHi,
how do you access the image? Put yourself in our shoes and look at your question and then add the missing information. E.g. does the image show if loaded on a page itself and not a popup ?
Frank -
I am not able to display the text conditionally
i am not able to display the text conditionally
Please check the below formula.
i am not able to print all the below text,the text is printing only one line and some is missing.
Please do the needful.
@(If(("@Endrdesc1."=="EWWC006"),"12 It is hereby understood and agreed that any work in connection with the delivery or cartage of goods other than by hand, handcart, cycle or bicycle is expressly excluded from the indemnity granted under this policy 97 It is hereby understood and agreed that any work away from shop or studio is expressly excluded from the indemnity granted under this policy.","")) -
Hi All
I am working on IBase scenario for my client, I am new to the IBase scenario. Here we are creating installation base for two to five levels of product.
Once we create IBase for lower level then this IBase is inserted in upper level IBase. Like this we assign all levels based on product.In some cases we need to unassign any of IBase from its upper level IBase. When it is unassigned we are not able to display the IBase which unassigned. When it is unassigned from upper level how come system not able to display this IBase. If we speak functionally the part (IBase) which is unassigned should be valid to assign in any other upper level IBase in feature.
The error I am getting for above is
Serial number XXXXXXX for material XXXXXXX does not exist in any IBase
Message no. IQ122
Diagnosis
Serial number BMF3000106 for material S24-D5022-C100-6 does not exist in any installed base on 31.03.2015 at 10:22:09.
System Response
The system cancels processing.
Hi experts please suggest.
Regards
KesavaHello Kesava
Can you please explain in detail what exactly you are trying to do while assigning and unassigning Ibase.
Regards
Naresh -
Not able to Enable the Custom Ribbon button On Pages in Sharepoint 2013
Hi Team,
Not able to Enable the Custom Ribbon button On Pages in SharePoint 2013. we have used the button edit properties section of the Pages.
Same is working for Lists but not for Pages.
Thanks,
ShrikantThanks for your reply.
Right now my server is not working to get the code. will share you in some time.
I am just thinking if page get checked out and my control is also present in the Edit properties section then do I need to specify something explicitly to enable the button. The same is working for Lists. -
How to enable the DFF in OAF page(where Dff is based on the custom table).
Hi Experts!!
I am in the process of enabling the dff in OAF page. I am not able to enable the dff if am using the Custom table.
Ex:
Assume that my DFF XX_DFF is using the custom table XX_TABLE of att1,att2..
I am able to enable the dff in OAF page but not able to make those values entered to get stored in the custom table.
I need helping hands to help me out to get the entered dff values stored in my custom table.
Kindly provide me the steps so that I can follow up..
Best wishes,
Thiru.Hi,
thiru_apps wrote:
I need to store the captured values of Dff(which was enabled in the seeded page based on the custom table XX_Table) and the same needs to be stored into the custom table xx_Table.
Basically the entered values for the DFF enabled should have to be get stored in the XX_TABLE(Custom TAble).As per my understands in Standard page u want create some extra fields and those should be save in custom table...is it ...
For that u r going create stack layout region in standard page via personalization and extend with custom region.
IF im geting u correctly u need to write code in co and am.
---U had already created the components eo vo AM co...
---For the custom region in Jdev do the mapping of viewInstacne and view attribute properties for the fields.
---In AM:
public void CreateVo(OAPageContext pageContext, OAWebBean webBean)
Row hrow;
OADBTransaction tr=getOADBTransaction();
EOVOImpl vo=getEOVO1();
if(!vo.isPreparedForExecution())
vo. executeQuery();
hrow=vo.createRow();
vo.insertRow(hrow);
hrow.setNewRowState(Row.STATUS_INITIALIZED);
public void savetr()
OADBTransaction tr=getOADBTransaction();
tr.commit();
In Co ProcessREq:
AMImpl AM=(AMImpl)pageContext.getApplicationModule(webBean);
AM.CreateVo(pageContext, webBean);
In Co ProcessFormREq:
---GEt the event of the save button of the standard page
if(pageContext.getParameter("save")!= null)---DI of the standard page
AM.savetr(pageContext, webBean);
Regards
Meher Irk -
I am not able to execute the transport.send(message)
I am not able to execute the transport.send(message) when trying for sending mail. I am getting error like this : -
javax.mail.SendFailedException: Sending failed; nested exception is: javax.mail.MessagingException: Could not connect to SMTP host: 10.175.80.50, port: 25; nested exception is: java.net.ConnectException: Connection timed out: connect
Please help me on this to resolve this issue asap. thanksHi Vinod,
public void SendMail( )
//@@begin SendMail()
// Specify the host name of the mail server
String host ="----
IWDMessageManager messageMgr = wdControllerAPI.getComponent().getMessageManager();
// Initialize Session
Properties props = System.getProperties();
props.put("mail.smtp.host", host);
props.put("mail.smtp.auth", "true");
Authenticator auth = new Auth();
Session session = Session.getInstance(props, auth);
// Create new MimeMessage
MimeMessage message = new MimeMessage(session);
try
// Set the From Address
String from = wdContext.currentContextElement().getCtx_From();
message.setFrom(new InternetAddress(from));
// Set the To Address
String to = wdContext.currentContextElement().getCtx_To();
Address ar[] = new Address[1];
ar[0] = new InternetAddress(to);
message.addRecipient(Message.RecipientType.TO, new InternetAddress(to));
// Set the Subject
message.setSubject(wdContext.currentContextElement().getCtx_Subject());
// Set the Text
message.setText(wdContext.currentContextElement().getCtx_Text());
Transport tr = session.getTransport("smtp");
tr.connect("Put again here Host Name", Port Noumber, "userid", "password");
tr.sendMessage(message, ar);
}catch (AuthenticationFailedException e){
messageMgr.reportException(e.toString(),false);
}catch (AddressException e) {
messageMgr.reportException(e.toString(),false);
} catch (MessagingException e) {
messageMgr.reportException(e.toString(),false);
}catch (Exception e){
messageMgr.reportException(e.toString(),false);
//@@end
And also create the class Auth() like
public class Auth extends Authenticator {
public PasswordAuthentication getPasswordAuthentication()
String username = "userID";
String password = "Passwod";
return new PasswordAuthentication(username,password);
Please check it i think i will work. Also please use constant value for the to, from, subject and text. -
The custom error message in the bank application is displaying in English
Hello Team,
The custom error message for a blank institution number in the bank application is displaying in English when the user is logged in French. See attached screen shot.
ESS --> Personal Information --> Bank Information.
Could any one let me know the procedure in solving the error. Helpful answer is highly appreciated.
Thanks,
SankarHi,
sandip is correct, go to SE11 Table T100.
I did it this way: Searched for (in my case) SPRSL = DE and TEXT = "Bitte Bankschlüssel eingeben" (that's the said error message). With the upcoming result I got the message ID and message Number, these are:
ARBGB = 'AR' MSGNR = '195'
ARBGR = '1J' MSGNR ='510'
Maintain them for your SPRSL and you should be fine.
regards, Lukas -
Version: you are editing the shared version of this page. Not able to edit the page
Hi,
I have a sharepoint 2010 publishing site, which i have version upgraded to Sharepoint 2013.
I have the below features already activated:
1.Activate office sharepoint publishing infrastructure feature at site collection level.
2. Activate office sharepoint publishing feature at site level.
Also, versioning is enabled in the pages - document library settings.
The page does not seem to be checked-out by anybody else, and I am trying to edit the page using the system account.
I am not able to modify the page, and the ribbon does not show up.
What am i missing?
ThanksThis is not an error message but simply letting you know you are making changes to a page that will affect everyone viewing
the page vs. a personal view.
See more at:
http://www.go4sharepoint.com/Forum/version-editing-shared-version-page-7439.aspx#sthash.P2ZfVOBm.dpuf
http://office.microsoft.com/en-us/windows-sharepoint-services-help/about-web-part-page-personal-and-shared-views-HA001160936.aspx
Mark ANSWER if this reply resolves your query, If helpful then VOTE HELPFUL
INSQLSERVER.COM
Mohammad Nizamuddin -
Test.jsp not able to display the output from the java code.
when i try to invoke http://localhost/papz/test.jsp
I dont see anything. The page is blank. And there are no error messages in any log files. When i click on view source in IE i get to see the entire source code, including the jave code.
<html>
<head>
<title>Test</title>
<body>
<%
out.println("Hello World");
%>
asdfasdfasdf
</body>
</html>
i added in the asdfasdf to see whehter it will be printed or not... It does print that stuff out.
when i try to invoke the login.jsp page, i get the dialog box "save this file to disk"
Any clues whats going on...?
I followed the instructions...over and over again... but it doesnt seem to help.
win nt 4.0
apache 1.3.12
jserv 1.1.1
Pls help. ThanksHi,
Have you solved your problem?
I4m trying to do the same, but I installed portal 30, then portal to go, and when I try to run test.jsp I get the following error:
Request URI:/papz/test.jsp
Exception:
java.lang.NoSuchMethodError: oracle.jsp.util.JspUtil: method
stripTarget(Ljava/lang/String;C)Ljava/lang/String; not found
Thanks
Pablo Lopera
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by NewBie:
when i try to invoke http://localhost/papz/test.jsp
I dont see anything. The page is blank. And there are no error messages in any log files. When i click on view source in IE i get to see the entire source code, including the jave code.
<html>
<head>
<title>Test</title>
<body>
<%
out.println("Hello World");
%>
asdfasdfasdf
</body>
</html>
i added in the asdfasdf to see whehter it will be printed or not... It does print that stuff out.
when i try to invoke the login.jsp page, i get the dialog box "save this file to disk"
Any clues whats going on...?
I followed the instructions...over and over again... but it doesnt seem to help.
win nt 4.0
apache 1.3.12
jserv 1.1.1
Pls help. Thanks<HR></BLOCKQUOTE>
null -
Not able to display the Portal Contents
Hi
I created new user and assigned only one role called "Content Administrator"
When i loggned using that user then i am not able to see the contents under the browse tab.
Please let me know what to do if i want get the contents under the browser tab;
Thanks
mmukeshIs your laptop's Internet explorer version is IE 7.0? If thats the case then it might be the issue. Portal doesnt work well with IE 7.0 and you get some problems like these a lot of times. You can correct this to include IE 7.0 also but that you have to configure via the Visual Admin. For now to confirm this - just try checking IE version - and if its 7.0 try installing IE 6.0 to see whether you are still getting the error.
You can see note number 991449 to find out how you can include IE 7.0 also to your portal setting to eradicate this error. Well - if at all thats the cause. Please verify that before doing anything.
Regards,
Shubhadip
Message was edited by:
Shubhadip Ghosh -
Displaying the customized Title message in a page
Hi all,
How do I display the customized Greeting in a page?
For eg.If I put Hello #user# in the greeting and it will show me Hello and the userid.Instead of this I want to display Hello and last_name and first_name(I have the values of last_name and first_name).How can I do this?
Regards,
RanjitAnswer was posted in your forum in the PDK section
-
Report 6i/Webdb -Not able to display the report in the browser - rep- 3002 error.
Would someone tell what I missed, I have set up the following:
1) a report using report builder on NT
2) my database is in Unix
3) my report server is started in NT
4) I run webdb listener for the following code: http://myweb.com/cgi/rwcgi60.exe?server=repserver+report=myreport+userid=usid/pw/connect_string+destype=cache+desformat=html. Then, I receive this message:
Error: The requested URL was not found, or cannot be served at this time.
Oracle Reports Server CGI - Report Job has terminated with error.
Reports Server Replies:
REP-3002: Error initializing printer. Please make sure a printer is installed.
Why is it thinking I want to use the printer whereas I want to display the report in the browser?. Any help would be appreciated.
nullIt sounds like that your Web CGI did not configure right. To test if your CGI configuration is correct, type:
http://hostname:port/cgi-bin/rwcgi60exe?
If you get a help screen, then you should be able to bring up your report.
Regards,
Xiaoling -
Not able to display the 18 cloumns inthe alv output
Hi Everybody,
I am developing one report to the display the output in alv for the 18months report.
basically my requirement is when ever i execute the program based on the current month it should calculate the next 18months and fetch the data and display in the alv.
for eg: if we are executing in the month of mar 2012 then in the output it should display from march 2012 to next year aug 2013 and in the column heading also it should display from March to next year August.
i have written the code and able to fetch tshould change he data for the 18 months and when i am sending the data into the internal table from row wise to column wise for the months the data is getting overwritten from the next year march 2013 to august 2013 and i am unable to add the new column after 12 months completed and the field catlog heading also should change based on when we are executing.
please find the below code which i have written and please let me know how and where i can correct the code so that the 18 columns are displayed from the month of the execution and the data according to it.
final internal table:
TYPES : BEGIN OF ty_output,
matnr TYPE matnr, "Material
maktx TYPE maktx, "Material Description
mjahr TYPE mjahr, "Material Document Year
jan TYPE menge_d, "January Sales Qty
mjan TYPE meins, "January Unit of Measure
feb TYPE menge_d, "Febuary Sales Qty
mfeb TYPE meins, "Febuary Unit of Measure
mar TYPE menge_d, "March Sales Qty
mmar TYPE meins, "March Unit of Measure
apr TYPE menge_d, "April Sales Qty
mapr TYPE meins, "April Unit of Measure
may TYPE menge_d, "May Sales Qty
mmay TYPE meins, "May Unit of Measure
jun TYPE menge_d, "June Sales Qty
mjun TYPE meins, "June Unit of Measure
jul TYPE menge_d, "July Sales Qty
mjul TYPE meins, "July Unit of Measure
aug TYPE menge_d, "August Sales Qty
maug TYPE meins, "August Unit of Measure
sep TYPE menge_d, "September Sales Qty
msep TYPE meins, "September Unit of Measure
oct TYPE menge_d, "October Sales Qty
moct TYPE meins, "October Unit of Measure
nov TYPE menge_d, "November Sales Qty
mnov TYPE meins, "November Unit of Measure
dec TYPE menge_d, "December Sales Qty
mdec TYPE meins, "December Unit of Measure
month TYPE char2, "MONTH
menge TYPE menge_d, "Quantity
meins TYPE meins,
END OF ty_output.
code to pass the data in the internal table:
*Getting the Data into GT_OUTPUT Table
LOOP AT gt_output1 INTO wa_output1.
READ TABLE gt_output WITH KEY matnr = wa_output1-matnr ASSIGNING <out>.
IF sy-subrc NE 0.
APPEND INITIAL LINE TO gt_output ASSIGNING <out>.
<out>-matnr = wa_output1-matnr.
<out>-mjahr = wa_output1-mjahr.
ENDIF.
READ TABLE GT_MAKT INTO WA_MAKT WITH KEY MATNR = WA_OUTPUT1-MATNR.
<out>-maktx = wa_makt-maktx.
READ TABLE gt_final INTO wa_mseg WITH KEY matnr = wa_output1-matnr.
CASE wa_output1-month.
* case wa_output1-mjahr.
WHEN '01'.
<out>-jan = wa_output1-menge.
<out>-mjan = wa_mseg-meins.
WHEN '02'.
<out>-feb = wa_output1-menge.
<out>-mfeb = wa_mseg-meins.
WHEN '03'.
<out>-mar = wa_output1-menge.
<out>-mmar = wa_mseg-meins.
WHEN '04'.
<out>-apr = wa_output1-menge.
<out>-mapr = wa_mseg-meins.
WHEN '05'.
<out>-may = wa_output1-menge.
<out>-mmay = wa_mseg-meins.
WHEN '06'.
<out>-jun = wa_output1-menge.
<out>-mjun = wa_mseg-meins.
WHEN '07'.
<out>-jul = wa_output1-menge.
<out>-mjul = wa_mseg-meins.
WHEN '08'.
<out>-aug = wa_output1-menge.
<out>-maug = wa_mseg-meins.
WHEN '09'.
<out>-sep = wa_output1-menge.
<out>-msep = wa_mseg-meins.
WHEN '10'.
<out>-oct = wa_output1-menge.
<out>-moct = wa_mseg-meins.
WHEN '11'.
<out>-nov = wa_output1-menge.
<out>-mnov = wa_mseg-meins.
WHEN '12'.
<out>-dec = wa_output1-menge.
<out>-mdec = wa_mseg-meins.
ENDCASE.
* ENDCASE.
ENDLOOP.
Fieldcatalog
FORM fieldcatlog .
REFRESH gi_fcat.
CLEAR gr_fcat.
gr_fcat-fieldname = 'MATNR'.
gr_fcat-tabname = 'GT_OUTPUT'.
gr_fcat-ref_fieldname = 'MATNR'.
gr_fcat-ref_tabname = 'MSEG'.
gr_fcat-outputlen = 18.
APPEND gr_fcat TO gi_fcat.
CLEAR gr_fcat.
gr_fcat-fieldname = 'MAKTX'.
gr_fcat-tabname = 'GT_OUTPUT'.
gr_fcat-ref_fieldname = 'MAKTX'.
gr_fcat-ref_tabname = 'MAKT'.
gr_fcat-outputlen = 40.
APPEND gr_fcat TO gi_fcat.
CLEAR gr_fcat.
gr_fcat-fieldname = 'MJAHR'.
gr_fcat-tabname = 'GT_OUTPUT'.
gr_fcat-seltext_l = text-mjh.
gr_fcat-seltext_m = text-mjh.
gr_fcat-seltext_s = 'Mat Doc Yr'.
gr_fcat-outputlen = 40.
APPEND gr_fcat TO gi_fcat.
CLEAR gr_fcat.
gr_fcat-fieldname = 'JAN'.
gr_fcat-tabname = 'GT_OUTPUT'.
gr_fcat-seltext_l = text-jan.
gr_fcat-seltext_m = text-jan.
gr_fcat-seltext_s = text-jan.
gr_fcat-outputlen = 17.
APPEND gr_fcat TO gi_fcat.
CLEAR gr_fcat.
gr_fcat-fieldname = 'MJAN'.
gr_fcat-tabname = 'GT_OUTPUT'.
gr_fcat-seltext_l = text-mja.
gr_fcat-seltext_m = text-mja.
gr_fcat-seltext_s = text-mja.
gr_fcat-outputlen = 20.
APPEND gr_fcat TO gi_fcat.
so on ...
CLEAR gr_fcat.
gr_fcat-fieldname = 'DEC'.
gr_fcat-tabname = 'GT_OUTPUT'.
gr_fcat-seltext_l = text-dec.
gr_fcat-seltext_m = text-dec.
gr_fcat-seltext_s = text-dec.
gr_fcat-outputlen = 18.
APPEND gr_fcat TO gi_fcat.
CLEAR gr_fcat.
gr_fcat-fieldname = 'MDEC'.
gr_fcat-tabname = 'GT_OUTPUT'.
gr_fcat-seltext_l = text-mde.
gr_fcat-seltext_m = text-mde.
gr_fcat-seltext_s = text-mde.
gr_fcat-outputlen = 20.
APPEND gr_fcat TO gi_fcat.
can anyone help me out and recity this
thanks in advance.....
Moderator message : Not enough re-search before posting, post only relevant portion of source code, discussion locked.
Message was edited by: Vinod KumarHi meer,
I saw your code , here in type declaration ty_out it's having only 12( jan to dec ) months you need to add 6 more months at type declaration and field catalog level also.
Thats the reason why next year's data is overwritng the prev year data.
I think Coloumn heading (month names) you need to determine dynamically in field catalog beacause 18 months name will depends on current month.
Regards,
Rajeev Goswami
Maybe you are looking for
-
Verizon's Understanding of Courtesy
I posted this to Fios Internet but I guess this would had been a better place, so I wanted to post it to the correct Forum. I have an Extreme HD Triple Play Verizon customer for almost 3 years. I recently have moved to a new location within the same
-
Reg. G/L Account automatic assign in PR creation
Dear Experts I am configure MM module in ECC 6.0, in which, when I try to create PR then the G/L account number is not assigned automatically. Only I did the below settings OBYC - BSX GBB -VBO,VKA and VBR WRX What are the othe
-
Hi, Currently I am working on SRM upgrade project . How to remove/hide approve button in UWL inbox. Below xml code, using in UWL configuration file in portal: <ItemType name="uwl.task.webflow.srm.TS90000005.SAP_SRM" connector="WebFlowConnector" defau
-
Dreamweaver CS3 crash when intializing
Hi, I am using adobe cs3 suite, my dw is not working properly it crash when initializing the initializing screen appears for a movement and then disappear. I tried different tips like remove the rename the dw configuration file as well as remove the
-
IPhoto not "seeing" my iPod so I can't import photos
although the iPod shows up on iTunes, it does not show up in iPhoto or LightRoom. please help! Thank you, Isabella