on 10-14-2008 6:01 AM
Hello,
F4 help is working fine if both the parent and popup are pages with flow logic.....In MVC model, i tried to get the F4 help within a sub controller. I am getting the popup but couldn't pass the value back to the parent view..
JavaScript code in popup window
-
function getData()
{
if (window.opener && !window.opener.closed)
window.opener.transf("<%= lv_blart %>");
window.close();
return true;
}
JavaScript code in parent view
-
function getDocTyp()
{
document.open('docTyp.htm',window,"height=400,width=215,resizable=0,menubar=0,toolbar=0,location=0,directories=0,scrollbars=0,status=0");
}
function transf(fval)
{
document.getElementById("blart").value = fval;
}
Please some help me to rectify this..
Thanx in advance...
Best regards,
Maya.
Hi,
In MVC-based applications, input IDs are modified by the framework. That is, the input field with ID "blart" is changed to "subcontrollerID_blart", where subcontrollerID is the ID you gave to your sub-controller in bsp:call tag.
So try replacing:
document.getElementById("blart").value = fval;
by:
document.getElementById("subcontrollerID_blart").value = fval;
Regards,
Tanguy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
did you check the tutorial mentioned in this thread
if not check it once.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.