Try to highlight the item application via javascript
HelloI don't know what I do wrong here someone maybe can enlighten us? I have the following in my
Header HTML of my login page
<script language="JavaScript1.1" type="text/javascript">
function setAppItem(val){
var req = new htmldb_Get(null, &APP_ID., 'APPLICATION_PROCESS=dummy',
&APP_PAGE_ID.);
req.add('F_LOGIN_MESSAGE', val);
var gReturn = req.get();
req = null;
}
</script>
<script language="JavaScript1.1" type="text/javascript">
function doLogin()
{
var err = false;
alert(document.getElementById('P101_USERNAME').value);
if((document.getElementById('P101_USERNAME').value == '') ||
(document.getElementById('P101_PASSWORD').value == '')) {
setAppItem('You must enter a username and password.');
err = true;
}
if(!err) {
doSubmit('Login');
}
}
</script>
The setAppItem function is called, but it does not put the text of elements of application?Thanks in advance for any help!
Hello
Check your page now.
I think you don't need any point or set those.
Just the value internal node HTML DOM.
BR, Jari
Tags: Database
Similar Questions
-
Value of the item application in javascript
I'm sorry that if this question has been asked, I can't find a clear answer on how to search through the forum.
I'm trying to access the value of an element of the application in javascript.
I tried $v('APPL_ITEM') and $v('APPL_ITEM').value, when I try with alert ($v('APPL_ITEM')) or ($v('APPL_ITEM').value) alert poster null or undefined.
I saw the session state, view all and see my request item hah a value.
How can I use the value of an element of application money in a JavaScript function.
Kind regards
MarkBrand:
Application parts are not part of the HTML page generated by APEX and are therefore cannot be referenced using javascript. You can however write a JS function that uses AJAX to retrieve the value of the element of the request of session state. Something like
function getappitem(appitem){ get = new htmldb_Get(null,$v('pFlowId'),'APPLICATION_PROCESS=GETAPPITEM',0); get.addParam('x01', appitem); gReturn = get.get(); get = null; // alert (gReturn) return gReturn; }
And and ODP named GETAPPITEM with the following code
HTP.PRN(v(APEX_APPLICATION.G_X01));
You can now call "getappitem" in JS like
getappitem ('TEMPORARY_ITEM') to get the value of the application element named "TEMPORARY_ITEM".
CITY
-
Generic procedure for the development of the item application of javascript?
For now, all I can think about is a javascript function call to an application process, which looks like this:
function setVariableValue (pName, pValue) {}
var gReturn;
get var = new htmldb_Get (null, $x('pFlowId').value, 'APPLICATION_PROCESS is odpSetVariableValue', 0);
get.addParam('x01',pName);
get.addParam('x02',pValue);
gReturn = get.get ();
get = null;
}
odpSetVariableValue
Start
immediate execution ':' || wwv_flow.g_x01 | ' := ' || wwv_flow.g_x02;
end;
Is there a function of APEX to do without "immediate execution"?
IgorHello Igor.
I think you can do the same thing without actually executing a PL/SQL process (see here for an example).
function setVariableValue (pName, pValue) {}
get var = new htmldb_Get (null, $x('pFlowId').value, 'APPLICATION_PROCESS is dummy', 0);
Get.Add (pName, pValue);
var gReturn = get.get ();
get = null;
}(The dummy application process are really...)
Greetings,
Roelhttp://roelhartman.blogspot.com/
http://www.bloggingaboutoracle.org/
http://www.Logica.com/You can assign this answer to your question in marking it as useful or Correct ;-)
-
Set and get the value of the item application in Javascript
Hello guys,.
Can you tell me an example how to set and get the value of the application element in Javascript, and how do I check if the value of the point of application is null in Javascript, too. I have read a few replies, but nothing worked (e.g. $x (app_item), $v (app_item), $s (app_item) and so on).
Thanks in advance!To get the value of an element, use the following syntax:
alert("The value of MY_TEST_ITEM is " + $x("MY_TEST_ITEM").value);
to set the value that you have just made
$x("MY_TEST_ITEM").value="Set to this value";
Keep in mind however that you need to send the page in order so that he could be picked up by APEX - javascript is CLIENT SIDE, ONLY! Either that or use AJAX to put on the side server.
-
I HAVE WINDOWS VISTA. WHEN I TYPE THE TEXT ON THE E-MAILS AND TRY AGAIN AND HIGHLIGHT THE TEXT DISAPPEARS FROM IT. I'VE BEEN ADVISED THAT PERHAPS THE COLOR IS WHITE (I THINK THAT OUR GIRL CAN ACCIDENTALLY CHANGED SOMETHING SINCE IT IS A NEW PROBLEM)
I DON'T KNOW HOW TO CHANGE THE COLOR. PLEASE CAN YOU HELP. Thank you.original title: TEXT DISAPPEARS WHEN I TRY TO highlight THE TEXTYou can open Notepad and type something. Press the Insert key, and then try to go back and change what you type and you will see the difference between insert and Overtype.
I can't help with Firefox, but in IE, you can change the colours via Tools | Internet Options | The colors. I think Firefox has a similar option, but you need to ask in a forum of Firefox to see the option. As it happens in the browser, then it is clearly a browser problem and not a problem in Windows mail.
Steve
-
I get the error message: 1 when you try to download the creative application of cloud. I tried rerun the installation and use of the cleaning tool. I can not uninstall and reinstall the app because there never have down loaded initially.
Try with the solution provided in the link below:
-
I am trying to install some Elements 9 on a new computer. I downloaded the files, .7z, .exe and run the installer. When I try to open the items, I get an error message "please the product using Setup.exe in the root folder of installation/uninstallation. I did it
Hello
Hope that helps!
Kind regards
Sheena
-
I just bought the 9.99 per month plan, and when I try to open the Photoshop application it asks me to buy new... Why would he ask me this?
Make sure that you have signed with correct email address
Sign in, sign out | Creative office cloud app
If they are correct, then check that your hosts file entries once
Log, activation, or connection errors. CS5.5 and later versions
-
Try to install the items 13 and it requires a serial number. The instructions show the number should start with 1057, but there is no code on the discs, the box or envelopes, only the discs came from 1057. I can't activate the software without this code, and it's a Christmas gift for my wife. Help!
Thanks a lot... the box inside was stuck and I didn't think it came out. Awesome!
-
try to install the items 11 and it comes with 18 errors in the payload
try to install the items 11 and it comes with 18 errors in the payload
Hi louisjones65,
You can try redownloading software and check out them. What are the BONES help and error messages that you get?
Please visit the Doc KB to troubleshoot issues with the installation logs: http://helpx.adobe.com/creative-suite/kb/troubleshoot-install-logs-cs5-cs5.html
-
The value of the point of Application via Javascript
How do you define the value of an element of application using javascript?Hello
I have not tested, but I think $s not work for point of application. He finds only the page elements.
You can test$s(pNd, pValue) Given a DOM node or string ID (pNd), this function sets the Application Express item value taking into account what type of item it is. The pDisplayValue is optional. If used for a page item of type "Popup LOV" where the attribute "Input Field" = "Not Enterable, Show Display Value and Store Return Value". It will be used to set the "Input Field". The value of pValue will be stored in the hidden return field. Parameters pNd (DOM Node | string ID) pValue (String | Array) pDisplayValue(String)
BR, Jari
-
How to pass the value of the item Application Javascript function.
Hello
I have the JavaScript in the properties attribute of the HTML Form element
I'm on page 1 and passing the value of the item page P1_DEPT_NO. It is perferctly working very well and I am able to get the exact value of the element on the page
I'm on page 1 and passing the value G_DEPT_NO of the Application element .onchange="javascript:function1($x('P1_DEPT_NO').value);"
The problem here is, I don't get the point of Application inside the javascript function value.
I tried to use alert(); and it gives me the undefined value
I just want to know, How to pass the value of the Application in Javascript element.onchange="javascript:function1($x('G_DEPT_NO').value);"
Thank you
DeepakDeepak,
I'm not a Javascript expert, but the suggestin I did was because the javascript is a case-sensitive... language and thats why onChange is not the same thing as onchange.
Not sure if this is causing the problem.Application elements not associated with a page and have therefore no properties user interface.
So, as mentioned in another post, the rendering would not work for the elements of the application.
If it is for a single item, used only on this page, you might create a hidden page element and use it fo your goalIf you want to keep watching objects application and AJAX, this page contains examples of using AJAX to solve problems like the one you mentioned.
http://www.Oracle.com/technology/OBE/hol08/apexweb20/ajax_otn.htm#T1BThank you
Rajesh. -
This is what comes up when I try to open the editor
It seems that the version of the App is affected. I've seen a lot of complaints about this and I wonder how is it, Apple is not to solve it - projects are underway and we're going to lose business...
-
Development of the APEX element via javascript
I'm fighting to set the value of an element of the APEX of the javascript.
At the moment I have a button on Page 1 that has a URL action. The URL points to
JavaScript:getConfirmation('&APP_SESSION.');
and my function is
< script type = "text/javascript" >
function getConfirmation (sessionNumber) {}
var response = confirm (' remove this step remove also all the dependencies that depend on this step.) ») ;
{if (Answer)}
html_SetSelectValue (P4_CREATED_STEP, 'YTest');
document.getElementById('P4_CREATED_STEP').value = "YTest1";
} else {}
html_SetSelectValue (P4_CREATED_STEP, 'Packers');
document.getElementById('P4_CREATED_STEP').value = "NTest1";
}
Window.Location.href = "http://appsit-dev-10g.oraclecorp.com/pls/aitmarvel/f?p=101:3:"+ open; "
}
< /script >
I see that I get no error javascript via the Firefox error console.
However when I redirect to page 2 with the javascript call. The value of 'P4_CREATED_STEP' is undefined.
Help, please.Hello
You do not submit the page or use AJAX to set the item session state.
This might helphttp://www.oracleapplicationexpress.com/tutorials/68
http://Apex-at-work.blogspot.com/2010/02/set-item-value-with-AJAX.htmlBR, Jari
-
Highlight the item selected in the ListView
Hello guys,.
I have a list view and you want to highlight the element select when I click on it, for all clicked items.Thank you.
esam_tec wrote:
Hello guys,.
I have a list view and you want to highlight the element select when I click on it, for all clicked items.Thank you.
There are different ways to do
eg.:
in your container of ListItem:
background: ListItem.selected || ListItem.active ? Color.Magenta : Color.Transparent
in your onTriggered of the ListView:
// select line myListView.select(indexPath, true)
Remember, if your work has been done:
// clear the selection myListView.clearSelection()
Maybe you are looking for
-
Hello So I need to create a setup package in silent mode to full firefox install that is here for Windows-> https://www.mozilla.org/en-US/firefox/all/?q=English%20 (US) I need to be able to select custom installation, settings, just like I would with
-
After the upgrade to FF 12 (the leopard), none of my favorites bookmarks toolbar working. They are all what it with the correct links defined in the properties but nothing happen when I click on them. And, when I add new bookmarks to the toolbar, tho
-
The purchased music disappeared from the music but is still purchased
I recently bought 25 Adele album. I bought, watched it downloads, and maybe the next day listened to the album in full with no problem. However, he disappeared and I can't get it back. He is no longer in my music, but iTunes still says it was bought
-
Disconnection of call with button / stop
Hello Is it possible to have call disconnect with button system / stop? Ex:. Samsung gives call witness (Home button) and disconnect with (power button) Concerning Paddy
-
Pavilion a6700y: the upgrade of my HP Pavilion with a ZOTAC GeForce GTX 2 GB 750Ti
My pc cannot run any game because of the graphics card (at least that is what people tell me), while I was looking at the ZOTAC geforce 750ti 2 gb gddr5 pci-express 2.0 video graphics card dvi hdmi displayport (ZT-70605-10 M). I'm not sure if it woul