LOV does not return the value (2)
PPR in general does not work correctly if invalid HTML is generated. One example of an invalid HTML is having an opening <TD> tag immediately following another opening <TD> tag.
After checking everything else, if LOV still does not return the value, test whether it's not a problem with the invalid HTML by placing the messageLovInput outside of the complicated layout nestings you may have. If it works outside of the layout nestings, look for the possible problems in the layout nestings.
Hi RamKumar,
Thanks for your reply.. I have already done that but no luck :(
Regards,
Hemanth J
Similar Messages
-
When LOV does not return the value
Check that you are not calling setText(String) on the web bean to set the default value. It causes your bean to no longer draw the value from the underlying VO. One of the symptoms is that selecting a value from the LOV modal window will not return that value to the base page. (The value from the LOV will actually be set on the VO, but the UI won't reflect it.)
Setting the default value in the model layer is prefered. You can do this by overriding the create(AttributeList nameValuePair) method of OAEntityImpl or OAViewRowImpl.
If, for some reason, you need to set the default value from the client side, you need to call setText with the pageContext, e.g., setText(pageContext, "myDefault");Hello
Upon giving your question further thought I think that you would be better off if you added an 'id' column to table T1 and referenced this 'id' column in table T2 . Something like
Table_T1(id number, c1 varchar2(100)
and
Table_T2(.other_columns.. ,t1_id)
Your LOV will now be select c1 display,id return from table_t1The column t1_id will be defined to use this LOV.
You will need no other modifications to the form on table_t2
Varad -
LOV does not return the value (1)
Avoid calling setText on the web bean to set the default value. It causes your bean to no longer draw the value from the underlying VO. One of the symptoms is that selecting a value from the LOV modal window will not return that value to the base page. (The value from the LOV will actually be set on the VO, but the UI won't reflect it.)
Setting the default value in the model layer is prefered. You can do this by overriding the create(AttributeList nameValuePair) method of OAEntityImpl or OAViewRowImpl.
If, for some reason, you need to set the default value from the client side, you need to call setText with the pageContext, e.g., setText(pageContext, "myDefault");Hi RamKumar,
Thanks for your reply.. I have already done that but no luck :(
Regards,
Hemanth J -
Custom Integrator - Date Picker/LOV does not return a value to the cell
Hi,
I have configured a webADI template with a date picker in it. Though the picker is rendered when i double-click on the cell, the selected date is not populated back. Same happens for any other list of values may render in the integrator. Any suggestions on debugging this issue.
Regards,
VinayakaI have got the LOV working now. The issue was that I had not provided the table-select-column with the interface column name. It was set to the table column name.
Regards,
Vinayaka -
P_session.get_value call does not return the value
I have a form on a table.
After the doInsert call in the pl/sql event handler section of the insert button, I have the sql statement
"insert into temp
values(56,p_session.get_value_as_varchar2('DEFAULT','A_FIRST_NAME'));"
However, the value the call p_session.get_value_as_varchar2('DEFAULT','A_FIRST_NAME') returns is always null.
Any comments?
Thanks in advance.
nullWhen I user get_value_as_varchar2
function then i get following error
Anybody knows about solving a problem
code works fine for number data.
if i try to access varchar2 column then i get error.
An unexpected error occurred: ORA-06502: PL/SQL: numeric or value error (WWV-16016)
An unexpected error occurred: ORA-06502: PL/SQL: numeric or value error (WWV-16016)
(WWV-00000)
The preference path does not exist: ORACLE.WEBVIEW.PARAMETERS.8723279877 (WWC-51000)
(WWC-00000)
anybody knows please give reply its urgent..
thanks in advance
Yogesh
null -
Why is the giving me this error (method does not return a value) PLEASE !!
I have this code and it is giving me this error and I don't know how to fix it
can anyone out there tell me why
I have included the next line of code as I have had problems in the curly brackets in the past.
The error is
"Client.java": Error #: 466 : method does not return a value at line 941, column 3
Please help
THX TO ALL
private Date DOBFormat()
try
if
(MonthjComboBox.getSelectedItem().equals("") ||
DayjComboBox.getSelectedItem().equals("") ||
YearjComboBox.getSelectedItem().equals("")){
else
String dateString = StringFromDateFields();
SimpleDateFormat df = new SimpleDateFormat("dd/mm/yyyy");
Date d = df.parse(StringFromDateFields());
System.out.println("date="+d);
return d;
catch (ParseException pe)
String d= System.getProperty("line.separator");
JOptionPane.showMessageDialog( this,
"Date format needs to be DD/MM/YYYY,"+ d +
"You have enterd: "+ StringFromDateFields() + d +
"Please change the Date", "Date Format Error",
JOptionPane.WARNING_MESSAGE);
return null;
//File | Exit action performed
public void jMenuFileExit_actionPerformed(ActionEvent e) {
System.exit(0);
}Fixed it needed to have a return null;
this is the code
if
(MonthjComboBox.getSelectedItem().equals("") ||
DayjComboBox.getSelectedItem().equals("") ||
YearjComboBox.getSelectedItem().equals("")){
return null; -
Function does not return a value
CREATE OR REPLACE PACKAGE BODY Promo_Version_Logo_Pkg IS
FUNCTION Promo_Version_Logo_Rule(Rc IN test.Ot_Rule_Context)
RETURN Ot_Rule_Activation_Result
IS
PRAGMA AUTONOMOUS_TRANSACTION;
v_Result NUMBER;
CURSOR Cur_Promo_Logos IS
SELECT Pvlo.Promo_Id,
Evt.On_Date,
Evt.Channel_Id,
Evt.Start_Time,
Evt.Duration,
Pvlo.Logo_Id
FROM Event Evt,
Event_Technical_Data Etd,
Promo_Version_Logo_Opt Pvlo,
Promo_Timing Pt
WHERE Evt.Event_Technical_Data_Id = Etd.Event_Technical_Data_Id
AND Etd.Promo_Timing_Id = Pt.Promo_Timing_Id
AND Pt.Promo_Timing_Id = Pvlo.Promo_Timing_Id
AND Evt.Channel_Id = Rc.Channelid
AND Evt.On_Date >= Rc.Fromdate
AND Evt.On_Date <= Rc.Todate
AND Evt.Day_Type_Id = Rc.Daytype;
BEGIN
FOR Each_Record IN Cur_Promo_Logos LOOP
v_Result := Testing_Pkg.Insert_Event(v_Channel_Id => Each_Record.Channel_Id,
v_Tx_Time => Each_Record.Start_Time,
v_Tx_Date => Each_Record.On_Date,
v_Content_Id => Each_Record.Logo_Id,
v_Duration => Each_Record.Duration,
v_Event_Type => Uktv_Tools_Pkg.c_Logo_Kind_Code,
v_Container_Id => Each_Record.Promo_Id);
IF v_Result = -1
THEN
EXIT;
END IF;
END LOOP;
END Promo_Version_Logo_Rule;
END Promo_Version_Logo_Pkg;why do I get this "Hint: Function 'Promo_Version_Logo_Rule' does not return a value" after I compile it? The Testing_Pkg.Insert_Event should insert some values somewhere...I just want to try to test it before I move on onto the next bit of it, but I do not understand what I am doing wrong...
ThanksYou need something like:
END LOOP;
RETURN v_Result; -- if this is what you are trying to get the function to do
EXCEPTION
WHEN OTHERS THEN
<exception handling/logging - whatever you want>
RAISE; --this with then raise an error back to the calling process
END Promo_Version_Logo_Rule;This way the function either returns a value, or an exception which can be handled in the calling procedure -
In a purchase order for 3 GR's Quantity does not equal the value
Hi,
I have found the difference in one purchase order, there have been 3 GRs where the Qty does not equal the Value. How has this happened?
Any guesses why the difference has come.
Thanks®ards,
VeenaHi Vishal,
In po history for agt 3 Gr's Quantity does not equal the values. I hope the difference is Movement types. But exactly where to check this movements i am not getting.
Can you tell me this which T.code.
Tx, -
ME23n , Does not shows the values correctly in print preview
Hi,
When viewing a PO using ME23n , it does not shows the values correctly in the print preview.
For example;
This is the vendor & its address. (check attached image img1.jpg)
ZERANDIB BUSINESS APPLIANCES
Number-122/A
PO BOX 41,112,REID AVENUE
COLOMBO-04
When displaying the print preview, it shows only some parts of the above address
Shows only; (check attached image img2.jpg)
ZERANDIB BUSINESS APPLIANCES
PO BOX 41,112,REID AVENUE
These values are getting from a table called LFA1. I have checked that table & in that table all the values exists correctly.
I have noted issue is with, having only a single word. (If address or name having only a single word, that is without spaces, it will not going to show in the print preview) -
In the above example, it is not showing Number-122/A and COLOMBO-04 (Its a single word. No spaces there)
If its like --> Number - 122/A & COLOMBO - 04 , then it will display in the print preview correctly (where there are spaces after - mark)
check img3.jpg
If its having more than one word, then it will display correctly in the print preview. As below;
ZERANDIB BUSINESS APPLIANCES
Number - 122/A
PO BOX 41,112,REID AVENUE
COLOMBO - 04
If its 2 or more words, it shows correctly.
If its 1 word, then its not showing!
Why it is happening like that? Any ideas how to resolve this issue?
regards.
zerandibIt turns out that this problem went away after the program crashed. Everything seems to be working well now.
-
When using rabbitmq-jms for vFabric RabbitMQ javax.jms.Message.getJMSDestination does not return the actual destination when it is received from a consumer listening on a Topic with a wild card. I have tested with both 1.0.3 and 1.0.5 clients with RabbitMQ 3.1.5.
I was wondering if the community was aware of this problem and if there are any workarounds? If not what is the proper channel to file a bug report. An example code snippet is below. The test fails because the TextMessageMatcher expects the destination passed in on construction (second parameter) to equal the desination on the message received (aquired from getJMSDestination).
Mockery context = new Mockery();
final MessageListener messageListener = context.mock(MessageListener.class);
final Latch latch = new LatchImpl();
final String prefix = "test" + System.currentTimeMillis();
context.checking(new Expectations() {
oneOf(messageListener).onMessage(with(new TextMessageMatcher("MSG1", prefix + ".1234")));
will(new CustomAction("release latch") {
@Override
public Object invoke(Invocation invocation) throws Throwable {
latch.unlatch();
return null;
final Connection connection = createConnection(null, null);
Session session = connection.createSession(false, Session.AUTO_ACKNOWLEDGE);
connection.start();
Topic wildcardTopic = (Topic) getInitialContext().lookup(prefix + "." + "#");
Topic destination = (Topic) getInitialContext().lookup(prefix + ".1234");
final MessageConsumer consumer = session.createConsumer(wildcardTopic);
consumer.setMessageListener(messageListener);
MessageProducer producer = session.createProducer(null);
producer.send(destination, session.createTextMessage("MSG1"));
latch.await(5000);
connection.close();
Thread.sleep(5);
context.assertIsSatisfied();Check where your MDB sends the [response] messages to.
-
Hi,
I followed the below note and added a report to my SSHR menu.
How To Add A Report To A 11i Self Service Menu [ID 334847.1]
In my report , I have a condition in the query
and a.created_by =apps.fnd_profile.value('USER_ID')
When the report is submitted as a request , it works fine., however the same report when called from the self service page does not accept any value for apps.fnd_profile.value('USER_ID') .
Is there a workaround to handle this problem.
regardshi,
I had already tried the option apps.fnd_global.USER_ID too.
However it does not accept the value for apps.fnd_global.USER_ID.
We want to call the reports in SSHR using oaf and at the same time the records that are pending for approval created by the employee should only be visible.
regards
Maya -
Make sure that your bean is implementing the serializable interface and that
you are accessing the bean from the session with the same name.
Bryan
"Sandeep Suri" <[email protected]> wrote in message
news:[email protected]..
Hi, I have quick question about use of USEBEAN tag in SP2. When I
specify a scope of SESSION for the java bean, it does not keep the
values that I set for variable in the bean persistent.Thanks,Sonny
Try our New Web Based Forum at http://softwareforum.sun.com
Includes Access to our Product Knowledge Base! -
# Question
When the program gets terminated unexpectedly (power failure, UPS fails), when I reopen it, it usually does NOT return the previous pages, as I have checked in the 'options' box, but goes to some random collection of pages often from months ago. Very frustrating - can anything be done to COMMAND it to save current pages and re-open there? (As I said, I have this box checked in the options, but it does not work ..Very Important, how much Free Space is on your Hard Drive first of all? Click on the Macintosh HD on the Desktop, then do a Get Info on it.
Could be many things, we should start with this...
"Try Disk Utility
1. Insert the Mac OS X Install disc, then restart the computer while holding the C key.
2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu at top of the screen. (In Mac OS X 10.4 or later, you must select your language first.)
*Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.*
3. Click the First Aid tab.
4. Select your Mac OS X volume.
5. Click Repair Disk, (not Repair Permissions). Disk Utility checks and repairs the disk."
http://docs.info.apple.com/article.html?artnum=106214
Then try a Safe Boot, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, reboot when it completes.
(Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive.)
If perchance you can't find your install Disc, at least try it from the Safe Boot part onward.
Do they launch OK while in Safe Mode? -
GR Qty value does not equal the value
Hi,
In PO,there have been 4 GRs where the Qty does not equal the Value. How has this happened?
Could you please suggest me why the difference has come.
Thanks in advance,
Cheers,
VeenaHi,
Yes.you are right.My suggestion does not work here.
Mr.Adam has given the perfect solution.
But the problem is the limitations on availability to
define Before aggregation as the aggregation property
for CKF,even in Version older than 7.
So try to implement the solution given by Mr.Adam with
reference to version7 in your query even though your
version is less than version 7.
With rgds,
Anil Kumar Sharma .P -
RoadMap does not return the selected step on ESS 600 Record Time entry
RoadMap does not return the selected step on Record Time entry application in ESS. Is it suppose to behave similar way or is it suppose to take user to the selected step. If yes , then is there a setting or customization that i have to take care of, as its a standard SAP delivered ESS Record working time application.
Please let me know. I appreciate your help in advance.Check with administrator in the src configuration thing,
Cheers,
Apparao
Maybe you are looking for
-
Mobile Device Center and Windows 8.1 (Enterprise) not working
After a HD crash i've got a new HD. Had to setup all development tools and so on. And because of a new setup why not over to Windows 8.1? Now the problem is that Window 8.1 will not activate WMDC !? I keep saying "a component is missing" but no mor
-
Restarted and received a blinking file folder with question mark image.
I left my computer sitting while I was working on homework long enough for the screen saver to come on (I'm not sure exactly how long it was). Earlier in the day, I had to force quit safari and then later it unexpectedly quit several times. While my
-
We would like users to be able remotely access their desktop PC from their personal laptops over a VPN connection, but we need them to have no access other than viewing the screen and remote controlling it. No file transfer or drive redirection, no
-
Sqlldr when cluase issue in unix
hi.. this is my ctl file INTO TABLE "APB_DBA"."BN_STG" APPEND WHEN(03:07) <> 'TRAIL' FIELDS TERMINATED BY '~' OPTIONALLY ENCLOSED BY '"' AND '"' TRAILING NULLCOLS (Column1skip filler, COMPANY_CODE, CUST_BL_FRMT_NO) This is working fine and data loade
-
Can someone take a look at my crash reports and help me figure out what's wrong?
bp-06efc772-1fbf-4f69-9fa5-3c9f22141119 19/11/2014 13:24 bp-20b09049-7640-4921-82d0-982992141119 19/11/2014 13:19 bp-f14b54cf-5ff4-4511-a03a-4e8512141119 19/11/2014 13:15 bp-98d52826-117e-4a10-a838-cd2f32141119 19/11/2014 13:11 bp-e2a4eec9-07eb-4a77-