POP + javascript: does not save session

Hello
I have a selection list and a popup. I try to assign the value to the POP element using javascript, but it does not work.
Here's the link: [link: http://apex.oracle.com/pls/otn/f?p=11910:1:1730577978881661:].
Select any value in LOV ID. observe "set mnually" appears in pop.
Click on 'submit '. ' Not Null ' validation will fail...
Here is debug and javasript:

Session state: save the p_arg_values and form elements
0.04:... Session state: saved point new value 'P1_LOV_ID' = '2 '.
0.04:... Session state: saved point new value "P1_AJAX" = "21".
0.04:... Session state: Save "P1_TEMP" - registration of same value: '2 '.
0.04:... Session state: Save "P1_LOV_SUBMIT" - registration of same value: "% null."
* 0.04:... Session state: Save "P1_POP" - registration of same value: "undefined."
0.04: point of treatment: ON_SUBMIT_BEFORE_COMPUTATION

< jump >
JavaScript:
function set_Value_LOV (pThis, pSelect) {}
var l_Return = null;
var l_Select = $x (pSelect);
var l_Value = "manually configure";

l_Select.value = l_Value;
}


The LOV defined in POP is static and has a single line.

the interesting caveat:
in IE 7, the validation fails. in FF3, domain 'indefinite' a chain and apparently is not ' fire up the validation. At the same time, it should be "manually set"...

Maybe I should use another property of the object DOM of POP to actually set the value?

Help, please

Published by: andrey on December 10, 2008 10:10

Andrew:

There is nothing special about the item "_hidden" you are referring to. It is a hidden point normal HTML. In the APEX "implementation of control 'popup lov', APEX stores the currently selected value of the LOV in this hidden item. You can watch the pop up Apex LOV as a combination of a context menu that displays the values in the LOV and a hidden item store the value selected by the user. The user selects a value from the LOV and the selected value is stored in a hidden HTML field in the parent window. This field is ideally named 'POPUP_LOV_NAME_HIDDEN' :)

CITY

Tags: Database

Similar Questions

Maybe you are looking for