Class oracle.cabo.ui.beans.form.RadioGroupBean has been deprecated
Hi all,
im new to OAF just going through basics,n need u OAF champs help...
here is my code...
OAMessageChoiceBean oaCollectorBean = (OAMessageChoiceBean)pgbean.findChildRecursive("prCollector");
OAMessageRadioGroupBean oaReviewCycleBean = (OAMessageRadioGroupBean)pgbean.findChildRecursive("RevCycle");
OAMessageChoiceBean oaCreditAnalystBean = (OAMessageChoiceBean)pgbean.findChildRecursive("CreditAnalyst");
if ("CREDIT".equalsIgnoreCase(strCategory))
if(!(null == oaCollectorBean ))
oaCollectorBean.setRequired("yes");
if(!(null== oaReviewCycleBean) )
oaReviewCycleBean.setRequired("yes");
if(!(null == oaCreditAnalystBean))
oaCreditAnalystBean.setRequired("yes");
else
oaCollectorBean.setRequired("no");
oaReviewCycleBean.setRequired("no");
oaCreditAnalystBean.setRequired("no");
here im getting warnings as
Warning(44,37): class oracle.cabo.ui.beans.form.RadioGroupBean has been deprecated
may be beacause of which my beans are not getting mandatory...
please help.
Thanks'
Namrata
Hi,
Instead of importing oracle.cabo.ui.beans.form.RadioGroupBean, try by importing this class:
oracle.apps.fnd.framework.webui.beans.message.OAMessageRadioGroupBean
--Sushant
Similar Messages
-
Hi,
I have an advanced table and depending on the value returned I am setting a link for the messageStyledTextBean. When I run the page it runs correctly but I am getting the below warning:
Warning(88,26): method setUrl(java.lang.String) in class oracle.apps.fnd.framework.webui.beans.message.OAMessageStyledTextBean has been deprecated
Will this cause any problems in the future? or is there another method I should be using?
Many Thanks
MartinUse setDestination(String url) api, as setUrl(java.lang.String) is depricated.
--Mukul -
OAWebBeanFactory has been deprecated
Hi,
I'm new to OA Framework as well as java.. I'm trying to dynamically create a submit button on a standard page.. I'm using getWebBeanFactory.).createWebBean(pageContext,"BUTTON_SUBMIT") to create this in the processRequest of the Custom page controller and using personalization replace the standard page controller with the custom one.. I get this warning when i compile my custom controller class..
"warning: createWebBean(oracle.apps.fnd.framework.webui.OAPageContext,java.lang.String) in oracle.apps.fnd.framework.webui.OAWebBeanFactory has been deprecated"..
Here is my code from the processRequest
============================
OASubmitButtonBean oasb= (OASubmitButtonBean)pageContext.getWebBeanFactory().createWebBean(pageContext,"BUTTON_SUBMIT");
oasb.setID("xxWorkOrderRepButton");
oasb.setUINodeName("xxWorkOrderRepButton");
oasb.setEvent("xxWorkOrderRepButton");
oasb.setText("PrintWorkOrder");
webBean.addIndexedChild(oasb);
====================================
Can you please explain why this is happening?
Thanks in Advance,
Shree.Hi Abhishek,
Thank you so much for taking your time and replying. I really appreciate it.
I am sorry to bother you again, however, I have few questions.
I have tried personalization to add the message Check Box to the standard page but every time I add the item, it gets applied to Multiple pages. I have heard that the Self Service OTL page is very complicated.
If you are familiar with the OTL page. First you go the resp. and then click "CREATE TIME CARD" and then the user inputs the hours and then clicks Continue and finally comes to the REVIEW page and this is the Page where I need to put the Message Check Box. However, when I add the item, it gets applied to both the REVIEW page and the one before that.
Could you please advice on that and also being a beginner, I would request if you could also send me may be a sample code as to how to handle the partial page render event in pfr.
I did try doing the whole thing programmatically, like Initially disabling the SUBMIT button and then Adding a Message Check Box to the same Region but its just getting complex.
Your approach seams much better and simpler.
Sorry again if I am bothering you, but I would really grateful for all your help.
Thanks again,
Raj. -
Hello All,
I am having the foll. code
OADefaultTableLayoutBean oadefaulttablelayoutbean = (OADefaultTableLayoutBean)webBean;
OAMessageLovInputBean lov = (OAMessageLovInputBean)oadefaulttablelayoutbean.findIndexedChild("HrUsJobTitle");
if (lov != null || !lov.equals(""))
String l = pageContext.getParameter("JobName");
pageContext.writeDiagnostics(this, "Lov Value" +l, 3);
lov.setValue(pageContext,p);
When i compile, i get the foll compilation warning
Warning(50,7): class oracle.apps.fnd.framework.webui.beans.layout.OADefaultTableLayoutBean in package oracle.apps.fnd.framework.webui.beans.layout has been deprecated\
Warning(50,60): class oracle.apps.fnd.framework.webui.beans.layout.OADefaultTableLayoutBean in package oracle.apps.fnd.framework.webui.beans.layout has been deprecated
Thanks
RakeshUse OAMessageComponentLayoutBean instead.
--Prasanna -
How do i get back my stateful session bean after it has been passivated
hi ,
How do i get back my stateful session bean after it has been passivated by container.
i'm confused that is it possible or not .......give me answer
i've one stateful sessionbean which i'm accessing throgh my normal java client . now what i'm doing is when i first time call a method it is running ......then i'm shutting down the server jboss .......it is calling my ejbPassivate() method ... at this particular time client program doesn't do anything.....
now after i restart my server i'm again calling back that business method with that last object reference.......it gives me the exception given below.....
java.rmi.NoSuchObjectException: no such object in table
java.rmi.NoSuchObjectException: no such object in table
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown Source)
at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
at sun.rmi.server.UnicastRef.invoke(Unknown Source)
at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown Source)
at org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:118)
at org.jboss.invocation.InvokerInterceptor.invokeInvoker(InvokerInterceptor.java:227)
at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:167)
at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)
at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:55)
at org.jboss.proxy.ejb.StatefulSessionInterceptor.invoke(StatefulSessionInterceptor.java:106)
at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:86)
at $Proxy1.makeNewAcc(Unknown Source)
at client.GanJavaClient.main(GanJavaClient.java:46)so pls tell me that is it possible to get back that session besn or notStateful session beans are not persisted across restart of the EJB server instance(s) hosting them. You can't treat a Session bean as one would an entity bean.
Chuck -
I have just discovered that in order to save a PDF form that has been electronically filled out in Acrobat Reader, that I have to purchase reader extensions to make this possible. I would like to speak to someone about the price and how to purchase.
I cannot find a phone number on your site, so I am hoping to get an answer from Adobe this way.
Thanks,
ChaniThanks everyone for responding. I should have supplied more information.
I was hired by my client to create PDF forms that can be downloaded from their website, filled out electronically in Acrobat Reader, and then saved (with all the form fields filled in) and emailed.
I was supplied with scanned forms as the base for creating the form fields in Acrobat Pro. These web visitors that will be filling out the forms and emailing them will only have Acrobat Reader, most likely.
I created the forms in Acrobat Pro, and they worked great when I tested them ( in Acrobat Pro) - I could save the form field data. However, my client has come back to me with numerous complaints from their web visitors - they cannot save the form once they have filled it out in Acrobat Reader and keep the data they have entered. Instead, they have to print the form physically, scan it, and email it that way (kind of low tech for the year 2013, and not easy for these people).
So, my end goal is to update these forms in Acrobat Pro so they can be filled out by folks only using Acrobat Reader and saved with the form field data intact. Seems like a no-brainer that Acrobat Pro should have this capability without purchasing additional extensions. However, in my research online, I have found several posts that suggest that purchasing "Reader Extensions" is the only way to enable Acrobat Pro to be able to do this.
Can someone please clarify if I need to buy something to program these forms in Acrobat Pro to enable other people using Acrobat Reader to fill out these forms and save them with the form fields intact?
If I do need to buy something, what is it exactly? How do I find out clear, consise, specific information about buying it/the cost/the licensing? I am a sole owner/employee of a graphic design firm and these forms are for my client, which is a locally-owned regional hospital.
If this needs to move to the LiveCycle forum, fine, but I don't really know what that software is and since I'm only using Acrobat Pro (and the users, Acrobat Reader) I felt this was the appropriate place to post.
Thanks for all of your responses!
Chani -
Can a form that has been submitted by an applicant be returned to request further completion?
Can a form that has been submitted be returned to person who submitted it to request further information or maybe to request completeion of additional sections that may have been overlooked?
No, a response record will be created for each submission. If you need them to complete more fields, you may have to ask them to fill out the form and submit again. The new submission is a new record.
Thanks,
Wenlan -
BR0372E File /oracle/ SID /sapreorg/space SID .log has been already reporte
Hello,
The backup offline failed, i get the error as bellow:
#SAVED.... 20111009.0135.10
BR0372E File /oracle/<SID>/sapreorg/space<SID>.log has been already reported by backup utility
BR0280I BRBACKUP time stamp: 2011-10-10 00.19.19
#PFLOG.... /oracle/<SID>/sapbackup/begypbev.aff
#SAVED.... 20111009.0135.12
BR0280I BRBACKUP time stamp: 2011-10-10 00.19.22
#PFLOG.... /oracle/<SID>/sapbackup/back<SID>.log
#SAVED.... 20111009.0135.13
BR0280I BRBACKUP time stamp: 2011-10-10 00.21.07
#PFLOG.... /oracle/<SID>/102_64/dbs/init<SID>.ora
#SAVED.... 20111009.0135.08
[Normal] From: OB2BAR_BACKINT@e108pae0 "<SID>" Time: 10/10/11 00:21:07
#Backint exits with the code (0).
BR0232E 5 of 6 files saved by backup utility
BR0280I BRBACKUP time stamp: 2011-10-10 00.21.07
BR0231E Backup utility call failed
BR0056I End of database backup: begypbev.aff 2011-10-10 00.21.07
BR0280I BRBACKUP time stamp: 2011-10-10 00.21.08
BR0054I BRBACKUP terminated with errors
could you please help me
thx in advanceHi,
Please note that in fact the error BR0372E File ... has been already reported as saved by backup utility is not an error issued by brbackup tool but by the backint which is third party tool.
As the backint is a third party tool, you will need to contact your Netbackup partner to assist with solution.
Regards,
Abhishek -
Javax.faces.el.ValueBinding in javax.faces.el has been deprecated
hi jdev experts,
am using jdev 11.1.1.5.0 - adfbc-oracledb10g
my compiler always. please see this warning.
how can i ignore. may i know the reason of occurence warning. here?
Warning(4,22): javax.faces.el.ValueBinding in javax.faces.el has been deprecated
Warning(922,5): javax.faces.el.ValueBinding in javax.faces.el has been deprecated
Warning(922,42): createValueBinding(java.lang.String) in javax.faces.application.Application has been deprecated
Warning(989,5): javax.faces.el.ValueBinding in javax.faces.el has been deprecated
Warning(989,42): createValueBinding(java.lang.String) in javax.faces.application.Application has been deprecated
Warning(1005,5): javax.faces.el.ValueBinding in javax.faces.el has been deprecated
Warning(1005,42): createValueBinding(java.lang.String) in javax.faces.application.Application has been deprecated
Warning(1020,5): javax.faces.el.ValueBinding in javax.faces.el has been deprecated
Warning(1020,42): createValueBinding(java.lang.String) in javax.faces.application.Application has been deprecatedA short look into the javadoc reveals javax.faces.el.ValueBinding Deprecated. This has been replaced by ValueExpression.So you are using the wrong class to get to a value using EL inside one or more of your bean classes.
Timo -
I receive the following error from the Jclient statement :
JUMetaObjectManager.setBaseErrorHandler(new JUErrorHandlerDlg());
Warning(100,27): method setBaseErrorHandler(oracle.jbo.uicli.binding.JUErrorHandler) in class oracle.jbo.uicli.mom.JUMetaObjectManager has been deprecated
We attempted to correct this looking at the default boot strap code the wizard creates but it uses the same call. Can someone tell me how to modify the boot strap code ?
It causes strange behavior in the client with no errors being reported back to the client at all with its current method.
thanks,Rob,
its only a deprecation warning and should not bear any functionality loss because the class is still available and functional.
The correct call is
JUMetaObjectManager.setErrorHandler(new JUErrorHandlerDlg());
Frank -
Constructor has been deprecated
Hi ,
I'm getting the following warning...because of this piece of code
Date dtExpiryDate = new Date(strExpiryDate);
Warning(149,33): constructor Date(java.lang.String) in class java.util.Date has been deprecated
Can some one help me how to resolve this issue..
Thanks,
Maheshmahesh
i had this peice of code for dates conversion somewhere...i dont know your requirement .. so here is my sample code ...try it and see if it fits yours
CO-
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import oracle.jbo.domain.Date;
import oracle.jbo.domain.Number;
in processformrequest()
if ( pageContext.getParameter("checkdate") != null)
Date str_date = castToJBODate(pageContext.getParameter("startdate"));
System.out.println("start date = " + str_date);
Date end_date = castToJBODate(pageContext.getParameter("enddate"));
System.out.println("end date = " + end_date);
if(str_date.dateValue().after(end_date.dateValue()) )
System.out.println("start date less than end date ");
String msg ="start date cant be greater than end date ";
throw new OAException(msg, OAException.ERROR);
public oracle.jbo.domain.Date castToJBODate(String aDate)
DateFormat formatter;
java.util.Date date;
if(aDate!=null)
try {
formatter = new SimpleDateFormat("dd-MMM-yy");
date = formatter.parse(aDate);
java.sql.Date sqlDate = new java.sql.Date(date.getTime());
oracle.jbo.domain.Date jboDate = new oracle.jbo.domain.Date(sqlDate);
return jboDate;
catch (ParseException e)
e.printStackTrace();
return null;
} -
XMLElement has been deprecated?
Using the class oracle.xml.parser.v2.XMLElement generates
the following message on compilation:
class oracle.xml.parser.v2.XMLElement has
been deprecated.
Yet when I consult the documentation the class isn't listed as 'deprecated'. What alternatives exist for this?
I'm using xmlparser_2.1_beta.
Thanks.Meaning the version of Java no longer supports the command.
Try the Java API for getting the related materials and start. -
AddRequestObject has been deprecated while adding a resouce to a request
Hi Friends,
I have created a schedule task to create a request and to add users to it and also to provision a resource to the user. It is creating a request and adding a user successfully.
But while adding resource to the request by using the correct request key and object key, I am getting a compilation error.
This is the statment I am giving "requestIntf.addRequestObject(reqkey,objkey);"
I am getting the compilation error as "addRequestObkect(reqkey, objkey) in Thor.API.Operations.tcRequestOperationsIntf has been deprecated"
Did research in google but did not find anything. Can you please let me know what I am doing wrong.Using API : - you can use tcFormInstanceOperationsIntf api method setProcessFormData
setProcessFormData
public void setProcessFormData(long plProcessInstanceKey,
java.util.Map phAttributeList)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcInvalidValueException,
Thor.API.Exceptions.tcNotAtomicProcessException,
Thor.API.Exceptions.tcFormNotFoundException,
Thor.API.Exceptions.tcRequiredDataMissingException,
Thor.API.Exceptions.tcProcessNotFoundException,
tcAPIException
Sets the process data associated with an instance of a process in the system. If the process data already exists, then it updates the data with the specified values. In the case of a first-time save, all the required data must be provided. In the case of subsequent saves, only data being updated need be provided.
Parameters:
plProcessInstanceKey - The key of the process instance in the system.
phAttributeList - An array of tcMapping objects, each used to specify the attribute name-value pairs to be used to save data to the form
Throws:
tcAPIException - an error code of DOBJ.USR_PASSWORD_DOES_NOT_MATCH_POLICY might be set within this exception. If that's the case, one or many password policy rules were not met for password field in the form.
tcInvalidValueException
tcNotAtomicProcessException
tcFormNotFoundException
tcRequiredDataMissingException
tcProcessNotFoundException -
Warning: [deprecation] getRealPath in ServletRequest has been deprecated
I have extended class HttpServletRequestWrapper for custom implementation I have neither overriden the method getRealPath(java.lang.String) nor has this method been used/accessed anywhere. I still get following warning
[javac] /home/pangav1/dev/upgrade/webapps/common/src/minimed/ddms/webapp/common/filter/LocaleFilter.java:222: warning: [deprecation] getRealPath(java.lang.String) in javax.servlet.ServletRequest has been deprecated
[javac] public static class HttpRequest extends HttpServletRequestWrapper {
[javac] ^
Can anyone tell me the reason why compiler shows the warning message?It should certainly not be ignored, especially if you don't understand the reason of deprecation and don't know the alternatives, which is the case of the topicstarter. In any case of deprecated classes/methods, the reasoning of deprecation and any alternatives should already be described in the API docs.
[Here is the API doc of ServletRequest#getRealPath()|http://java.sun.com/javaee/5/docs/api/javax/servlet/ServletRequest.html#getRealPath(java.lang.String)] -
Hi All,
My web application has been running great all these years with WebLogic 7.0 SP2. I am upgrading it to Weblogic 8.1 SP4.
Few classes have the following code snippet:
throw new weblogic.utils.AssertionError("impossible case: " + idx);
Here idx is int.
This code snippet never gave any trouble with WebLogic 7.0 SP2. Now when I am building the application with WebLogic 8.1 SP4 and JDK 1.4, it gives the following warning at the build time:
[javac] warning: weblogic.utils.AssertionError in weblogic.utils has been deprecated
[javac] throw new weblogic.utils.AssertionError("impossible case: " + idx);
I am trying to identify, if this class has been deprecated in WebLogic 8.1, then what is the alternative class which I can use?
I searched in all BEA documentations, but did not get any reference.
Can some one help me, if you know about it.
I would highly appreciate it.
Thanks,
Ashish.Hi,
As you are using WLS8.1 It means your JDK will be JDK1.4 and there is a Bug already available with JDK1.4 for the Same issue ... Please find the below link:
http://bugs.sun.com/bugdatabase/view_bug.do;:YfiG?bug_id=4705373 (For Sun JDK1.4)
AND
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6373059 (For Sun JDK 1.5.0_05)
Please try to switch to JRockit JDK.
Thanks
Jay SenSharma
http://weblogic-wonders.com/weblogic (WebLogic Wonders Are Here)
Maybe you are looking for
-
Is there a way to go straight to the detail box when adding an event in month view? When I right click on a date on the calendar then choose "add an event", it just puts it right on the calendar, then I click that so I can put the time down, then onl
-
How to close the called vi but keep caller vi remain open
I have Main.vi that call and open subvi Calculator.vi. I want to close Calculator.vi window and keep Main.vi open when exit button is pressed. I've tried the EXIT function but this method also close Main.vi. Is there another method that close call
-
I have an iMac4 which I bought a year ago with 500 Gb of hard disc space. I had an iBook with 40 Gb of space and when I got my new machine I transferred all the info across straight away. The strange thing was that I then appeared to have used about
-
Hi I have previously mentioned this but didn't get much help. So I am asking the question again hoping to be clearer this time. I have a problem with associating programs I want to open certain files. For instance, I press command+I and set 'Keynote'
-
With what can I replace _Ios_Openmode?
IosOpenmode is declared in std on linux. The code which I am trying to build was developed on a linux box with gnu g++. I have taken one hurdle, but now am facing the next hill. There several more streams related enitties which are not available unde