PL language in script

hi,
my sapscript form needs to be printed out in 2 languages EL and PL. We created custom output types and copied MEDRUCK form for this. my problem is, it is printing out in PL language but the format is getting from the standard form, even if we used the custom output types. can anyone knows why is it printing in standard form format.
please advise.
thanks.

What you need, in your case, is the reverse approach
– calling PL/SQL from JavaScript code – which is
possible, using AJAX...
It seems like what you are trying to do is a
validation process. Pressing the button should fire a
JavaScript code, which in turn will fire an on-demand
PL/SQL procedure, and according to the returned
results will display a confirm dialog boxHi Arie,
This is exactly what I am struggling to do, but I don't think is working...is there a good example somewhere, with good documentation saying what goes where? I've tried looking at Carl's On-Demand page example and I just can't tell if I'm following it correctly.
Based on what is entered in P4_PROJECT_NUM, I need to verify that the value isn't already in the database when the user tabs out of the field.
My javascript for page 4 (in HTML Header):
function checkCO()
var get = new htmldb_Get(null,$x('pFlowId').value,'APPLICATION_PROCESS=validate_value',4);
get.add('ID', $x('P4_PROJECT_NUM').value)
gReturn = get.get();
if(gReturn) // if function return true
alert($x('P4_PROJECT_NUM').value + ' already exists in database.');
get = null;
//-->
</script>
My onDemand process, from the Application Processes:
declare
v_count number;
cursor cr_check_co is
select count(*)
from usd_changeorders
where chg_ref_num = v('ID');
begin
open cr_check_co;
fetch cr_check_co into v_count;
close cr_check_co;
if (nvl(v_count, 0) = 0) then
return true;
else
return false;
end if;
end;
I am calling the javascript from the onBlur event of the field I want verified.
I am getting an alert, but it is displaying every time, whether the value is valid or not.
Can you tell me what I am doing wrong?
Thanks!!
Janel

Similar Messages

  • Problem in the header in the main window in russian language in script

    Hello,
    We are using one custom script in Russian language for Contract form and print program is copy program of SAPFY06P.
    The issue is, when the contract form is having more number of pages in its output, then some times Russian header text is not printing properly in the output, it prints as junk text instead of Russian language, and surprisingly it is happening only for some pages randomly.
    I implemented protect and endprotect statements for the item text in the form, then also Russian text is not printing properly, rather the random printing is changing from one page to the other
    In the custom program u2018ZCONPF02u2019 (copy program of u2018FY06PF02u2019), there is one perform u2018ausgabe_pos_uebu2019.  In this perform, there is u2018WRITE_FORMu2019 function module with element u2018PROTECTu2019. There is no function module with element u2018ENDPROTECTu2019 in this
    Perform. Even after I applied this change there is no successful result to the output.
    could you please give me the solution for this.
    Thanks and Regards
    Srinivas.N

    Hello Varma,
    All  formats are declared properly. Is it any logic probelm ?
    Thanks and Regards
    Srinivas

  • How to deal with multiple language SQL script?

    Hi All,
    We now want to create a SQL script that contains multiple languages(English, Chinese, Japanese), this script need to be run at there different database installed on different OS, for example, Oracle9i on Windows 2000 English Edition/Chinese Edition/Japanese Edition.
    If I save the file as ANSI format, this file will only be recognized at local OS(e.g. the Chinese and Japanese character will not be normally displayed on other OS, if I run the script, the CH/JP characters will not be stored normally in DB).
    If I save the file as Unicode format, this file can be recognized by all three OS, but Oracle SQL Plus will not recognize it, thus we can't run the script.
    Who can tell me how to deal with this issue? Is it possible to save only one script that can run on different language OS?
    Thanks,
    Spark

    Hi,
    The ISQLplus supports multiple languages, but there will be following problems for my case:
    1.ISQLplus don't support Unicode format script too, so I must save the file as ANSI format.
    2.To display the characters normally depends on the database server's platform. I create a script contain three languages with ANSI format in Chinese OS, but if I want to load this script to database server installed on English OS via ISQLplus, the Chinese characters will not be displayed normally too.
    PS:
    So, I think this is not only related with Oracle but also the Windows OS, it is hard to create one file with ANSI format that can be displayed normally in different platforms.
    Thank you all the same,
    Spark

  • How to Pass selected language between scripts

    Hi,
    I have a main script in which user is selecting language then later I am calling a callback script using call subflow step.
    When callback script is executed, I get English as default language for all prompts.
    I like to send caller's language selection to subflow so that script automatically picks all prompts based on user selected language.
    English and French language is installed and common name prompts are available in both folders. uccx version is 8.5
    Any help in pointing in right direction will be appreciated.
    Thank you,
    Sonain

    Sonain,
    In the subflow step of the calling script you can pass in the language either "English" or "French" using the input mappings tab. In the Sources field you can type either "English" or "French", in the subflow destinations field you can enter language (no quotes) which is a variable defined in the called script. In the called script you create a string variable called language and either use a switch step based on the language string or If step based on the language string. Based on the language passed in from the calling script you can do a set contact info step to set the language. See attached. I haven't tested this but I use the set contact info step to set the language where necessary.
    Bill Mungaven

  • Printing problem for Arabic language in Script..printing in reverse...

    Hi Experts,
      I have a customized P.O script which is now to be made for arabic language.i have excel sheet with me which is translation of english to arabic,
    1.  how can i proceed with the form in order to get exactly in arabic.
    2. as arabic is read from right to left, presently i am getting everything in reverse. in a sentence of five words in arabic, the last word is printing first and so on.
    3. even the left window is printing on right?
    plz suggest me what kind of steps should i take in order to get exactly in arabic.
    thanks in advance..
    Cheers,
    Pavan

    Hi Pravan,
    This is a little tricky problem, to make a Smartform in Arabic you need to execute in the followin steps:
    (1) Login to SAP using Language = AR(arabic).
    (2) Develop the Smartform using this setting. I should warn you that everything you develop will be done from left to right but the display will be from right to left when the smartform layout is executed, so you need to program accordingly.
    (3) Once you have finished developing in ARABIC logon come back to the normal EN logon and run the smartform function module with
    IMPORTING....
    CONTROL_PARAMETERS = W_PARAM
    (where W_PARAM-LA = 'AR').
    This will make the smartform run in arabic in the english logon. Also make sure that you do not try to edit the smartform in english logon otherwise it will revert back and give you the same problem. Hope this helps even though its late    .

  • Transalation of language in scripts

    Hi,
    I have developed a script in English language.
    I want some texts to be shown in French.
    I went to SE63 transaction and made the language Translation.
    I could see the transaltions when I see it through SE71 Transaction ( Printing Test ).
    When I logon in French and run the Script from driver program.
    The texts still appear in English.
    Please suggest.
    Smriti.

    Hi Smriti,
    For printing different languages depending upon the log on language ,you can make use of standard text (SO10 transaction).
    Here you need to create different SO10 objects for different languages. And these so10 objects can be called from the script by
    /:INCLUDE mytext OBJECT TEXT ID ST LANGUAGE EN
    Here name is the name of text
    LANGUAGE is used to specify language like EN ,if omitted then log on  language is used.
    Get back if you need any other help.
    Cheers
    Ajay

  • About different language of script

    hi ,experts
    I have been troulbe ,
    when I edit my script in se71 ,it can't success(if i log on use english).
    but I edit my script in se76 and original language"en" ,targer languge"zh",to edit ,the mofication will be success(if I logo the system in chinese).
    how can I edit it successful in enghlish system?
    (when I edit my script in se71 use ZH,the syetem tell me that "Form ZMMR00 lang. ZH locked: Original lang. EN being processed")

    Hi,
    U can EDIT the FORM only in any language but not at the same time or parallely. U cannot Edit parallely though they are different languages.
    As per your Message ( "Form ZMMR00 lang. ZH locked: Original lang. EN being processed"), i think u r trying to EDIT the FORM in both EN & ZH at a time. its not possible, either u first edit in EN and then edit in ZH...
    Hope it helps!!
    Rgds,
    Pavan

  • Translatate into korean language in script output

    Hi Experts,
    Korean language is not being printed out for purchase orders.
    Noticed Korean translated texts are missing and hence PO layout is defaulted to english.
    How to maintain korean language translations for the text elements in  program SAPLZMM_MEDRUCK. Whereas in this program all the display text has been created as text-symbol.
    Kindly provide some suggestion.
    Thank you,
    Lingam

    ECC and above
    SE63 -> Translation -> Abap Objects -> Short texts -> Place cursor on "ABAP Texts" -> Press Shift + F6 (or expand button below) -> Double click on "Text Elements" -> Give object name = SAPLMEDRUCK -> Select Source language EN by pressing F4 and Select Target language KO by pressing F4 -> Translate the texts to Korean
    4.6C and below
    SE63 -> Translation -> Short texts -> ABAP -> Program Texts -> Give Program name = SAPLMEDRUCK -> Select Source language EN by pressing F4 and Select Target language KO by pressing F4 -> Translate the texts to Korean

  • How to transliterate various indian language scripts into english in SAP HANA?

    Hi All,
    We're trying to perform matching of Indian names in two different tables. In this, the two tables may contain names in different languages. For example, the table1 may contain the names in English and the table2 may contain the names in Hindi, Tamil, Bengali etc.,
    Now we want to know the method for matching the names between the two tables irrespective of their language and script.
    So, we decided to transliterate any other language to english and match them. But, we're unable to find any method/AFL in HANA.
    Please help us with some methods to transliterate a text in english or any other method to compare two texts in different lanugages.
    Regards,
    Sabarish

    Do these tables have a field called SPRAS (language key) available?
    -Patrick

  • Scripting Languages are for Insane People!!!!

    Hope you brought your flamethrowers because I am feeling a bit chilled.
    Sooo I am knee deep in some heavy javascript(Nodejs) and while fighting to populate an array with the results of a sqlite query
    (somehow my array is getting nuked nodejs or nodejs-sqlite3 bug? )
    I am left scratching my head saying to my self WTF!! This would have taken me like 5 sec in Qt C++. So I wrote up the same example
    in Ruby, Python, Java, Lua and Perl. And in every case my Qt C++ example was not only cleaner, shorter but easier to write/understand.
    Granted scripting languages are not only valuable but necessary in CERTAIN cases, but the way people use them today is just INSANE.
    My primary scripting language is javascript but that is only because my work requires it. But ill take lua over any scripting language any day.
    I am going to go sink my teeth in Django see if that pisses me off any less!
    Sooo whats your opinion.
    Last edited by zester (2011-09-13 05:19:18)

    satanselbow wrote:
    ethail wrote:
    keenerd wrote:But Lua is a scripting language.  Maybe I missed the joke?
    I think he could be pointing that of the many scripting languajes he has used, seems that only LUA satisfies him, and it's not widely used as he would like. That's what it seemed to me.
    Somewhat ironically (within this threads context) - one of Lua's biggest selling points is it's simple integration with other languages, both scripting and higher level.
    Good point!
    Lua is insanely <-- Word of the day (Pee-Wee Herman Play House AHHHHHHHHHH) easy
    to embed and bind.
    Little examples I wrote a couple of years ago sooooo it is what it is.
    If using C++
    extern "C" {
    #include "lua.h"
    #include "lualib.h"
    #include "lauxlib.h"
    How to call a C Function from Lua
    luaavg.c
    #include <stdio.h>
    #include "lua.h"
    #include "lualib.h"
    #include "lauxlib.h"
    /* gcc -o luaavg luaavg.c -I/usr/local/include -L/usr/local/lib -llua -lm -ldl */
    /* the Lua interpreter */
    lua_State* L;
    static int average(lua_State *L)
    /* get number of arguments */
    int n = lua_gettop(L);
    double sum = 0;
    int i;
    /* loop through each argument */
    for (i = 1; i <= n; i++)
    /* total the arguments */
    sum += lua_tonumber(L, i);
    /* push the average */
    lua_pushnumber(L, sum / n);
    /* push the sum */
    lua_pushnumber(L, sum);
    /* return the number of results */
    return 2;
    int main ( int argc, char *argv[] )
    /* initialize Lua */
    L = lua_open();
    /* load Lua base libraries */
    luaL_openlibs(L);
    /* register our function */
    lua_register(L, "average", average);
    /* run the script */
    luaL_dofile(L, "avg.lua");
    /* cleanup Lua */
    lua_close(L);
    /* print */
    printf( "Press enter to exit..." );
    getchar();
    return 0;
    -- call a C function
    avg, sum = average(10, 20, 30, 40, 50)
    print("The average is ", avg)
    print("The sum is ", sum)
    avg, sum = average(1, 2, 3, 4, 5)
    print("The average is ", avg)
    print("The sum is ", sum)
    --- How to call a Lua Function from C
    #include <stdio.h>
    #include "lua.h"
    #include "lualib.h"
    #include "lauxlib.h"
    /* gcc -o luadd luadd.c -I/usr/local/include -L/usr/local/lib -llua -lm -ldl */
    /* the Lua interpreter */
    lua_State* L;
    int luaadd ( int x, int y )
    int sum;
    /* the function name */
    lua_getglobal(L, "add");
    /* the first argument */
    lua_pushnumber(L, x);
    /* the second argument */
    lua_pushnumber(L, y);
    /* call the function with 2 arguments, return 1 result */
    lua_call(L, 2, 1);
    /* get the result */
    sum = (int)lua_tointeger(L, -1);
    lua_pop(L, 1);
    return sum;
    int main ( int argc, char *argv[] )
    int sum;
    /* initialize Lua */
    L = lua_open();
    /* load Lua base libraries */
    luaL_openlibs(L);
    /* load the script */
    luaL_dofile(L, "add.lua");
    /* call the add function */
    sum = luaadd( 10, 15 );
    /* print the result */
    printf( "The sum is %d\n", sum );
    /* cleanup Lua */
    lua_close(L);
    /* pause */
    printf( "Press enter to exit..." );
    getchar();
    return 0;
    -- add two numbers
    function add ( x, y )
    return x + y
    end
    --- How to load and call a lua function from c
    //last.cc
    # extern "C" {
    # #include "lua.h"
    # #include "lualib.h"
    # #include "lauxlib.h"
    int main()
    double z;
    lua_State *L = lua_open();
    luaL_openlibs(L);
    if (luaL_loadfile(L, "last.lua") || lua_pcall(L, 0, 0, 0)) {
    printf("error: %s", lua_tostring(L, -1));
    return -1;
    lua_getglobal(L, "f");
    if(!lua_isfunction(L,-1))
    lua_pop(L,1);
    return -1;
    lua_pushnumber(L, 21); /* push 1st argument */
    lua_pushnumber(L, 31); /* push 2nd argument */
    /* do the call (2 arguments, 1 result) */
    if (lua_pcall(L, 2, 1, 0) != 0) {
    printf("error running function `f': %s\n",lua_tostring(L, -1));
    return -1;
    /* retrieve result */
    if (!lua_isnumber(L, -1)) {
    printf("function `f' must return a number\n");
    return -1;
    z = lua_tonumber(L, -1);
    printf("Result: %f\n",z);
    lua_pop(L, 1);
    lua_close(L);
    return 0;
    function f (x, y)
    return (x^2 * math.sin(y))/(1 - x)
    end
    ---- How to execute a Lua Script from C.
    #include "lua.h"
    #include "lualib.h"
    #include "lauxlib.h"
    /* gcc -o luatest luatest.c -I/usr/local/include -L/usr/local/lib -llua -lm -ldl */
    int main()
    int s=0;
    lua_State *L = lua_open();
    // load the libs
    luaL_openlibs(L);
    //run a Lua scrip here
    luaL_dofile(L,"foo.lua");
    printf("\nAllright we are back in C.\n");
    lua_close(L);
    return 0;
    io.write("Please enter your name: ")
    name = io.read() -- read input from user
    print ("Hi " .. name .. ", did you know we are in lua right now?")
    ---- How to get a Variable value from Lua to C.
    #include <stdio.h>
    #include <lua.h>
    #include <lualib.h>
    #include <lauxlib.h>
    #include <string.h>
    /* gcc -o test test.c -I/usr/local/include -L/usr/local/lib -llua -lm -ldl */
    int main()
    lua_State *L = lua_open();
    if(luaL_loadfile(L,"settings.lua") || lua_pcall(L,0,0,0))
    printf("Error failed to load %s",lua_tostring(L,-1));
    else
    lua_getglobal(L,"screenWidth");
    const int screenWidth = lua_tonumber(L,-1);
    printf("Screen Width = %d \n", screenWidth);
    lua_getglobal(L,"appName");
    const char *appName = luaL_checkstring(L, -1);
    printf("Screen Name = %s \n", appName);
    lua_close(L);
    /* If we got this far, everything worked */
    printf("Success!\n");
    return 0;
    appName = "Firefox"
    screenWidth = 400
    ------ How to write a lua binding in C.
    #include "lua.h"
    #include "lualib.h"
    #include "lauxlib.h"
    #include <string.h>
    /* gcc zstring.c -Wall -shared -o zstring.so */
    static int zst_strlen(lua_State *L)
    size_t len;
    len = strlen(lua_tostring(L, 1));
    lua_pushnumber(L, len);
    return 1;
    int luaopen_zstring(lua_State *L)
    lua_register(L,"zst_strlen", zst_strlen);
    return 0;
    require "zstring"
    print(zst_strlen("Hello, World"))
    ----- Another Binding Example
    #include "lua.h"
    #include "lualib.h"
    #include "lauxlib.h"
    #include <unistd.h>
    #include <sys/stat.h>
    #include <stdlib.h>
    /* gcc general.c -Wall -shared -o general.so */
    /* system */
    static int zst_exec(lua_State *L)
    int status;
    status = system(lua_tostring(L, 1));
    lua_pushnumber(L, status);
    return 1;
    /* mkdir */
    static int zst_mkdir(lua_State *L)
    int status;
    mode_t mode = lua_tonumber(L, 2);
    status = mkdir(lua_tostring(L, 1), mode);
    lua_pushnumber(L, status);
    return 1;
    /* symlink */
    static int zst_symlink(lua_State *L)
    int status;
    const char *old = lua_tostring(L, 1);
    const char *new = lua_tostring(L, 2);
    status = symlink(old, new);
    lua_pushnumber(L, status);
    return 1;
    /* rmdir */
    static int zst_rmdir(lua_State *L)
    int status;
    status = rmdir(lua_tostring(L, 1));
    lua_pushnumber(L, status);
    return 1;
    /* rename */
    static int zst_rename(lua_State *L)
    int status;
    const char *old = lua_tostring(L, 1);
    const char *new = lua_tostring(L, 2);
    status = rename(old, new);
    lua_pushnumber(L, status);
    return 1;
    /* remove */
    static int zst_remove(lua_State *L)
    int status;
    const char *filename = lua_tostring(L, 1);
    status = remove(filename);
    lua_pushnumber(L, status);
    return 1;
    /* chown */
    static int zst_chown(lua_State *L)
    int status;
    const char *filename = lua_tostring(L, 1);
    uid_t owner = lua_tonumber(L, 2);
    gid_t group = lua_tonumber(L, 3);
    status = chown(filename, owner, group);
    lua_pushnumber(L, status);
    return 1;
    /* chmod */
    static int zst_chmod(lua_State *L)
    int status;
    const char *filename = lua_tostring(L, 1);
    mode_t mode = lua_tonumber(L, 2);
    status = chmod(filename, mode);
    lua_pushnumber(L, status);
    return 1;
    /* get_current_dir_name */
    static int zst_getcwd(lua_State *L)
    char *dir;
    dir = get_current_dir_name();
    lua_pushstring(L, dir);
    return 1;
    int luaopen_general(lua_State *L)
    lua_register(L,"zst_exec", zst_exec);
    lua_register(L,"zst_mkdir", zst_mkdir);
    lua_register(L,"zst_symlink", zst_symlink);
    lua_register(L,"zst_rmdir", zst_rmdir);
    lua_register(L,"zst_rename", zst_rename);
    lua_register(L,"zst_remove", zst_remove);
    lua_register(L,"zst_chown", zst_chown);
    lua_register(L,"zst_chmod", zst_chmod);
    lua_register(L,"zst_getcwd", zst_getcwd);
    return 0;
    Ugggg lost all the formating in that.
    If you cant make heads or tails of the above you can view it on my google code wiki http://code.google.com/p/zester/wiki/Lua_C
    Last edited by zester (2011-09-13 18:20:07)

  • Which is the script used when Serbian is selected as language in MS Hub?

    Could you please confirm if the table below is correct regarding the scripts used for each option?
    Language Name
    Language Code
    Script
    Serbian
    srl / sr
    Serbian (Cyrillic)
    sro
    Cyrillic
    Serbian (Latin)
    srm
    Latin
    Romano-Serbian
    rsb
    Latin
    We have doubts about Serbian. Could you please confirm the correct one?
    Thanks,
    Emilio.

    Effective 3/18, Serbia(srl/sr) will no longer be available in Hub. Following other options are continue to available in Hub:
    Serbian (Cyrillic) (sr-cyrl)
    sro
    Serbian (Latin) (sr-latn)
    srm
    Romano-Serbian (rsb)
    rsb     

  • Change primary language in online Windows 8.1

    Hi all, 
    is there a way to change windows 8.1´s primary language via script?
    After deploying o standard en-us image at every site of our company, we add site-specific language packs using lpksetup.exe commandline.
    On Windows 7, we were able to change default language (which seems to be called primary language in Windows 8.1) using and xml file as described here: http://msdn.microsoft.com/en-ie/goglobal/bb964650%28en-us%29.aspx
    With Windows 8.1 this doesn´t seem to work anymore - does anybody know another way of doing it? 
    Many thanks in advance, 
    Andreas

    Hi, 
    thanks for your answers but that´s not what i was looking for. 
    My Scenario is to deploy Windows 8.1 in a multinationaly environment. I had planned to have only one english image (no language packs at all) for all clients.
    Depending on the clients site, i´d add the needed language packs afterwards via commandline (lpksetup.exe) and set the default UI Language and Inputlanguage for the machine. Adding the languagepacks (using lpksetup.exe or dism.exe) does add the package to
    the local store, nut I still need do do these steps manually: 
    1. Add the language in the control panel applet to make it visible in the list of available languages (at least windows knows that the files are there) 
    2. Make one language the primary one
    3. Choose an input language
    4. Copy those settings for all users
    It can´t be the only way to do offline servicing and redeploy the windows image to all distribution points everytime we need a new language for a new site.
    Also, it´s not an option to let the user do the work, clicking through control panel applets. 
    Is there a way, to do Steps 1 to 4 via commandline in a running Windows installation (DISM doesn´t support any online installation)? 
    Best regards,
    Andreas

  • Reg language settings while browsing EBS

    Hi,
    Language - Greek / Portuguese / Spanish
    The "Lightweight MLS" is implemented in the R12.1.3 application and we have Greek, Spanish and Portuguese as languages. We have also run the TLS (Language Synchronisation) scripts and we are able to see the languages in the instance. One thing that I do not know is how to get the Forms & Reports to open up and show the Greek / Portuguese / Spanish language to the end user.
    Any pointers are appreciated.
    Regards,
    Purnima Johari

    Duplicate post -- https://forums.oracle.com/thread/2557738
    Please see the doc in your other post and it should answer your question.

  • Ssrs and script from was blocked due to mime type mismatch

    Hi
    I'm trying to add a script to my header on my SSRS report. I've been following this link:
    http://blogs.infosupport.com/reporting-services-javascript-injection/
    I get error stating:
    SEC7112: Script from http//####/HCCReportsServer?/ReportsLibrary/script.js was blocked due to mime type mismatch
    My code:
    ="<a href=""javascript:eval(unescape('function addScript(scriptFile){var head = document.getElementsByTagName(\'HEAD\')[0]; var script = document.createElement(\'script\'); script.setAttribute(\'language\', \'JScript\'); script.setAttribute(\'type\', \'text/Javascript\'); script.setAttribute(\'src\', scriptFile); head.appendChild(script);} addScript(\'http://dc1-sqlrs-d02/HCCReportsServer?/ReportsLibrary/script.js\');'))"">inject</a>"
    Please help. This is urgent to get it working for a demo.
    Thanks

    Hi Sunette,
    Based on my understanding, you come across an SEC7112 error when you inject JavaScript into the Reporting Services.
    In your scenario, you should remove the below setting in the web.config file(Location: C:\inetpub\wwwroot\wss\VirtualDirectories\<your port>).
    <add name="X-Content-Type-Options" value="nosniff" />
    As we tested in our environment(SQL Server 2012,SharePoint 2013,IE 11), we can inject JavaScript successfully. Please refer our test steps and results:
    1. Delete “X-Content-Type-Options" with value "nosniff" within the web.config file (Location: C:\inetpub\wwwroot\wss\VirtualDirectories\80).
    2. Design the report as below, then deploy the report to the SharePoint site.
    3. Create the script.js file with code below, and upload to the SharePoint site.
    function test()
    alert("The CHANGEME textbox will actually change…");
    //var doc = window.frames[1][1].document;
    var el = document.getElementsByTagName('span');
    for (var nr=0; nr<el.length; nr++)
    if (el[nr].innerHTML == "CHANGEME")
    el[nr].innerHTML = "I FEEL LIKE A CHANGED TEXTBOX";
    4. Run the report. Click the “inject”->”test”, the final results should look like below:
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu
    Qiuyun Yu
    TechNet Community Support

  • Date time picker script does not look right when calender pops up

    When I use this script in my header, my date time picker does not look right.  The pop up calender works but the layout is off,  here is the code I am adding to my header:
    <link href="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.2.2/css/bootstrap-combined.min.css" rel="stylesheet">
        <link rel="style.css" type="text/css" media="screen"
         href="http://tarruda.github.com/bootstrap-datetimepicker/assets/css/bootstrap-datetimepicker.min .css">
    And here is the code I am adding to the body of the html page below: Is it the placement of the code in the header? I've tried the beginning and the end of the hearder but no difference.  Thanks for your time on this....
    <div id="datetimepicker" class="input-append date">
    <input type="text"></input>
    <span class="add-on">
    <i data-time-icon="icon-time" data-date-icon="icon-calendar"></i>
    </span>
    </div>
    <script type="text/javascript"
    src="http://cdnjs.cloudflare.com/ajax/libs/jquery/1.8.3/jquery.min.js">
    </script>
    <script type="text/javascript"
    src="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.2.2/js/bootstrap.min.js">
    </script>
    <script type="text/javascript"
    src="http://tarruda.github.com/bootstrap-datetimepicker/assets/js/bootstrap-datetimepicker.min. js">
    </script>
    <script type="text/javascript"
    src="http://tarruda.github.com/bootstrap-datetimepicker/assets/js/bootstrap-datetimepicker.pt-B R.js">
    </script>
    <script type="text/javascript">
    $('#datetimepicker').datetimepicker({
    format: 'MM/dd/yyyy hh:mm:ss',
    language: 'en'
    </script>

    Page is not up yet, can I attach the html to this forum?  I'l cut and paste the html below, thanks
    <!DOCTYPE html>
    <!-- Consider specifying the language of your content by adding the `lang` attribute to <html> -->
    <!--[if lt IE 7]> <html class="no-js ie6"> <![endif]-->
    <!--[if IE 7]>    <html class="no-js ie7"> <![endif]-->
    <!--[if IE 8]>    <html class="no-js ie8"> <![endif]-->
    <!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
    <head>
    <!-- this is the header code for the date/time picker-->
      <link href="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.2.2/css/bootstrap-combined.min.css" rel="stylesheet">
        <link rel="style.css" type="text/css" media="screen"
         href="http://tarruda.github.com/bootstrap-datetimepicker/assets/css/bootstrap-datetimepicker.min .css">
          <!-- to here-->
        <meta charset="utf-8">
        <!-- Always force latest IE rendering engine & Chrome Frame -->
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <!-- Put your title here! -->
        <title>Hawaii Beach Weddings</title>
        <meta name="description" content="">
         <!-- Mobile viewport optimized: j.mp/bplateviewport -->
        <meta name="viewport" content="width=device-width">
        <link href="style.css" rel="stylesheet">
        <!-- Load Open Sans and Merriweather from Google Fonts
            For optimal performance, customize it to load the styles you need:
            http://goo.gl/QufgJ
        -->
        <link href="//fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700|Merriweathe r:400,700,900" rel="stylesheet">
        <!-- All JavaScript at the bottom, except for Modernizr
            Modernizr enables HTML5 elements & feature detects; It includes Respond, a polyfill for min/max-width CSS3 Media Queries
            For optimal performance, use a custom Modernizr build: www.modernizr.com/download/ -->
            <script src="js/modernizr-2.6.1.min.js"></script>
        <script src="js/modernizr-2.6.1.min.js"></script>
    </head>
    <body>
        <!-- Prompt IE 6 and 7 users to install Chrome Frame:        chromium.org/developers/how-tos/chrome-frame-getting-started -->
        <!--[if lt IE 8]>
            <p class="chromeframe alert alert-warning">Your browser is <em>ancient!</em> <a href="http://browsehappy.com/">Upgrade to a different browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">install Google Chrome Frame</a> to experience this site.</p>
        <![endif]-->
        <header id="master-header" class="clearfix" role="banner">
            <hgroup>
                <h1 id="site-title"><a href="index.html" title="Your Site Name">Hawaii Beach Weddings</a></h1>
                <h1 id="site-title2"><a href="index.html" title="Your Site Name">xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx</a></h1>
                <h2 id="site-description">Where the Sun, Sand and Love come together...</h2>
            </hgroup>
        </header> <!-- #master-header -->
    <div id="main" class="row">
        <!-- Main navigation -->
        <nav class="main-navigation span12 clearfix" role="navigation">
            <h3 class="assistive-text">Main menu</h3>
            <ul>
                <li><a href="index.html">Home</a></li>
                <li class="current">
                    <a href="about.html">About</a>
                    <ul class="sub-menu">
                        <li><a href="http://www.google.com">Subpage 1</a></li>
                        <li><a href="#">Subpage 2</a></li>
                    </ul>
                </li>
                <li><a href="contact.html">FAQ's</a></li>
            </ul>
        </nav> <!-- #main-navigation -->
    <div id="content" role="main" class="span12">
        <article class="page hentry">
            <header class="entry-header">
                <h1 class="entry-title">Simple Beach Weddings</h1>
            </header> <!-- .entry-header -->
            <div class="entry-content">
                <p>We specialize in simplicity for your beach wedding.  Let us keep it simple by offering what you need to make your beach wedding easy </p>
                <!-- Typography
                ================================================== -->
                <section id="typography">
                    <h1>I am first a photographer who loves to<small></small>capture &quot;the moment.&quot;</h1>
                    <p>By organizing Hawaii Beach Weddings, I have allowed myself to do what I do best: capture your moment. I use industry professionals to make a sometimes stressful event easy. By keeping it to a few simple choices: A Minister (necessary), Flowers, Music, Video, Chairs (optional), I have allowed you to quickly design your wedding event and enjoy your stay in the islands. </p>
                        <div class="row">
                            <div class="span7">
                                <h2>Ministers:</h2>
                                <h3>Reverand Robert Hoyt</h3>
                                                <p> </p>
                            </div>
                    </div>
                      <h2> </h2>
                        <div class="row"></div>
                        <div class="row">
                  </div>
                    <h2> </h2>
                </section>
                <section id="tables">
                  <div class="row">
                  </div> <!-- .row -->
                </section> <!-- #tables -->
                <!-- Forms
                ================================================== -->
                <section id="forms">
                    <h1>Let's begin with your contact information.</h1>
                    <form class="row">
                        <fieldset class="span5">
                          <p>
                            <label>Name
                              <input type="text" required></label></p>
                              <br>
                              <p><label>Phone number with area code <input type="text" pattern="\d{5}(-\d{4})?" title="a US Zip code, with or without the +4 exension" placeholder=" 123-456-7891"></label></p>
                              <br>
                              <p>
                              <label>Email
                              <input type="email"></label></p>
                              <br>
                              <h1>Where would you like your wedding to be?</h1>
                 <p><label>Honolulu (South Oahu)<input type="radio" name="rad"></label></p>
                 <p><label>Waimanalu (East Oahu) <input type="radio" name="rad"></label></p>
                    <br>     
                    <h1>What date & time would you like to have your wedding?</h1>
                     <!--This is the date/time picker-->
                          <div id="datetimepicker" class="input-append date">
          <input type="text"></input>
          <span class="add-on">
            <i data-time-icon="icon-time" data-date-icon="icon-calendar"></i>
          </span>
        </div>
        <script type="text/javascript"
         src="http://cdnjs.cloudflare.com/ajax/libs/jquery/1.8.3/jquery.min.js">
        </script>
        <script type="text/javascript"
         src="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.2.2/js/bootstrap.min.js">
        </script>
        <script type="text/javascript"
         src="http://tarruda.github.com/bootstrap-datetimepicker/assets/js/bootstrap-datetimepicker.min. js">
        </script>
        <script type="text/javascript"
         src="http://tarruda.github.com/bootstrap-datetimepicker/assets/js/bootstrap-datetimepicker.pt-B R.js">
        </script>
        <script type="text/javascript">
          $('#datetimepicker').datetimepicker({
            format: 'MM/dd/yyyy hh:mm:ss',
            language: 'en'
        </script>
        <br>
                         <h1>What type of flowers would you like to have?</h1>
                         <p>
                                <label>Bouquet<br>
                                    <select>
                                        <option>None</option>
                                        <option>Red roses</option>
                                        <option>White roses</option>
                                        <option>Hibiscus</option>
                                    </select>
                                </label>
                            <p>
                                <label>Flowers<br>
                                    <select>
                                        <option>None</option>
                                        <option>Roses</option>
                                        <option>Orchids</option>
                                        <option>Hibiscus</option>
                                    </select>
                                </label>
                                  <h1>What type of Leis would you like to have?</h1>
                                <label>Leis<br>
                                    <select>
                                        <option>None</option>
                                        <option>Kukui nut (male)</option>
                                        <option>Orchids (inexpensive)</option>
                                        <option>Stephanotus (sweet smelling</option>
                                    </select>
                                </label>
    </fieldset>
    <fieldset class="span4">
                          <p>
                           <!--this is the chair number selector-->
                            <p>
                               <label>Music<br>
                                    <select>
                                        <option>None</option>
                                        <option>solo singer with ukulele</option>
                                        <option>solo singer with guitar</option>
                                        <option>solo guitar instrumental</option>
                                        <option>small ensemble</option>
                                    </select>
                                </label>
                              <br>
                              <label for="s">Number of Chairs</label><p>
                                <select id="s">
                                    <option>none</option>
                                    <option>1</option>
                                    <option>2</option>
                                    <option>3</option>
                                    <option>4</option>
                                    <option>5</option>
                                    <option>6</option>
                                    <option>7</option>
                                    <option>8</option>
                                </select>
                            </p>
                            <p>
                              <label for="t">Notes</label> <textarea id="t" cols="30" rows="5">Textarea text</textarea></p>
                        </fieldset>
                <!-- Miscellaneous
                ================================================== --><!-- #miscellaneous -->
            </div> <!-- .entry-content -->
        </article> <!-- .post.hentry -->
    </div> <!-- #content -->
    </div> <!-- #main -->
        <footer id="footer" role="contentinfo">
            <!-- You're free to remove the credit link to Jayj.dk in the footer, but please, please leave it there -->
        </footer> <!-- #footer -->
        <!-- Grab Google CDN's jQuery, with a protocol relative URL; fall back to local if offline -->
        <script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
        <script>window.jQuery || document.write('<script src="js/jquery-1.7.2.min.js"><\/script>')</script>
        <!-- Load custom scripts -->
        <script src="js/script.js"></script>
    </body>
    </html>

Maybe you are looking for

  • Insert into DB table

    Hi experts, Iam trying to insert ITAB values into ZTABLE. While inserting the data <b>iam getting only the first record</b> into Ztable.(Actually i have 10records). What might be reason? I have 80 fields in Ztable. So iam using move corresponding. No

  • Converting servlets output to PDF fle

    How to convert Java Servlets output html file to PDF file or a Word document.

  • JAXB as standard API for Java Mappings in XI?

    Hi there, Has anyone on this forum implemented Java mappings in XI using JAXB (reference implementation for XML/JAVA data bindings of SUN)? If Yes, can you please share any experiences? We're considering to use this API for Java Mappings in XI but fi

  • ASK: Warranty started 3 months before Laptop was ordered ??

    Hi Folks,              I guess I am aiming this question at Mark or one of the other Lenovo people who frequent the forum. I recieved my Laptop (300 n200  0769-BRG) as a birthday present back in January this year. It was bought from Laptops Direct in

  • Help on Struts BC4J Framework

    Hi Everybody, I am new to BC4J Framework. I have enough experience in Java and JSP/Struts. Is there any guide which will explain me step by step development of an sample application using JDeveloper, Struts, BC4J and Oracle Database. I have tried to