Without using applets geting the output into a javascript variable
Hi,
I'm not using executeCommand applets in my webpage,but with the url
i'm running the transaction. I'm passing the url to iframe as a <b>src</b> in the same page itself. like
<b>document.getElementById("<iframe>").src="http://localhost/Lighthammer/Runner?Transaction=<Transaction_Name>&<Input_params>=<value>&OutputParameter=*"</b>. It will take 10 seconds to execute the transaction and load into the iframe.
So I'm giving the
<b>SetTimeout("alert(document.getElementById('<iframe>').docuemnt.body.innerHTML",10000);</b>
In the iframe i'm able to see the output as "<u>oktransaction executed</u>" in <u>xml format</u>.
But in the alert I'm not able to see the same content. <i>In the alert I'm able to see</i>
<u><iframe id="<id of iframe>" src="<Which i set in the script>"></iframe></u>
Help me to get the OutputParameter value into a javascript variable.
Rakesh,
A couple of observations:
1. Why are you calling Runner directly? You should be using an XacuteQuery template, and reference "/Lighthammer/Illuminator?QueryTemplate=Folder/TRX" syntax when changing the URL in the iFrame.
2. You are also using "localhost" which is not portable and may also be causing your problem since your parent page will be based upon the server path, whereas you are forcing the browser to load localhost content into the iFrame (which unless you are physically sitting on the xMII server itself will never work).
Regards,
Jeremy Good
Similar Messages
-
Swing components without using applets
hi there
can i display swing components on the browser without using applets through jsp.
if the answer is yes.please help me by sending a sample code.thanking u.
-radhakrishnaA JSP is compiled into a (server-side, obviously) servlet, which responds to Http requests by constructing a String of HTML/JavaScript etc to send back to the browser which then displays it.
A Swing component is a piece of Java. The only way for such a component to run on the client side is to use either Applets or the new Java WebStart technology (see the JDC), which allows you to run a Java App locally from a Web Browser.
You cannot possible use JSP to view Swing Components, without also using either of the above. -
Can i make a book in iPhoto without using any of the built in layout templates, which are too limiting when i have already cropped my pictures to show just what I want. Ideally I just want to drag and drop and arrange and size the pictures myself
If you have Pages you can create customs pages for your book as TD suggested. If you have Pages from iWork 09 or 11 this app will add 80 or so additional frames to those offered: Frames and Strokes Installer. Don't use it on the latest Pages version, however.
This tutorial shows how to create a custom page with the theme's background: iP11 - Creating a Custom Page, with the Theme's Background for an iPhoto Book. Once the page is complete to get it into iPhoto as a jpeg file follow these steps:
Here's how to get any file into iPhoto as a jpeg file:
1 - open the file in any application that will open it.
2 - type Command+P to start the print process.
3 - click on the PDF button and select "Save PDF to iPhoto".
NOTE: If you don't have any of those options go to Toad's Cellar and download these two files:
Save PDF to iPhoto 200 DPI.workflow.zip
Save PDF to iPhoto 300 DPI.workflow.zip
Unzip the files and place in the HD/Library/PDF Services folder and reboot.
4 - select either of the files above (300 dip is used for photos to be included in a book that will be ordered).
5 - in the window that comes up enter an album name or select an existing album and hit the Continue button.
That will create a 200 or 300 dpi jpeg file of the item being printed and import it into iPhoto. For books to be printed choose 300 dpi. -
Need to split the output into files
Hi,
I have a query regarding splitting the output into different files. Please help to resolve that.
I have have select query query...
SELECT INDEX_NAME FROM DBA_INDEXES WHERE TABLE_NAME=<Table Name>;
If it returns less than 4 indexes then we have create one table and have to move those into the files.
For example...
File_1.sql
====
index1
index2
index3
If select statement returns more than 4 indexes then we have create 4 files and have to splict those indexes and has to move to those 4 files.
For example....
If select statement returns 13 records then...
File_1.sql File_2.sql File_3.sql File_4.sql
===== ====== ======= =======
index1 index4 index7 index10
index2 index5 index8 index11
index3 index6 index9 index12
index13
Index no need to be in order in any file and any file can I extra index in it.
Can be ok if we have any procedure or shell script. Please help me on this?
We are using 10.2.0.1 oracle db. Please let me know if you need any thing else?
Thanks
PathanAre you trying to put the output from SQL reports in different files?
Some reporting tools can do this.
You have a couple of options to do this.
Some reporting tools support the functinality to write to different files.
Another way is to write a PL/SQL procedure using UTL_FILE, which can open multiple files based on your conditions and to write to them as you need to.
An older, less elegant solution is to write nested SQL*PLUS scripts spooling to different files with the queries you need. A top level script would invoke the others, something like (untested)
--in first script
@subscript1
@subscript2
--in subscript1.sql
spool whatever.lst
select *
from dual;
... -
Download the output into Excel...(List- export- spreadsheet)
Dear friends,
I want to download the output into Excel...
I am using all SAP standards and using the ALV Block list
Ex: List->export->local file.. is anable from here i can download to excell .....but the same there is anothere option : List->export->spreadsheet...( this one inactive.)
I want to activate the List->export->spreadsheet option.
how to do this???
Thanks,
Sridhar.Hi
Use the Function Module:
EXCEL_OLE_STANDARD_DAT
For your purpose.
But by default you can get the option to download into several formats including your desired one.
Regards,
Sreeram -
Want to burn imovie without using one of the themes
How do I burn a DVD without using one of the themes
(From fellow poster Mishmumken: )
How to create a DVD in iDVD without menu (there are several options):
1. Easy: Drop your iMovie in the autoplay box in iDVD's Map View, then set your autoplay item (your movie) to loop continously. Disadvantage: The DVD plays until you hit stop on the remote
2. Still easy: If you don't want your (autoplay) movie to loop, you can create a black theme by replacing the background of a static theme with a black background and no content in the dropzone (text needs to be black as well). Disadvantage: The menu is still there and will play after the movie. You don't see it, but your disc keeps spinning in the player.
3. Still quite easy but takes more time: Export the iMovie to DV tape, and then re-import using One-Step DVD.
Disadvantage: One-Step DVD creation has been known to be not 100% reliable.
4. (My preferred method) Easy enough but needs 3rd party software: Roxio Toast lets you burn your iMovie to DVD without menu - just drag the iMovie project to the Toast Window and click burn. Disadvantage: you'll need to spend some extra $$ for the software. In Toast, you just drop the iMovie project on the Window and click Burn.
5. The "hard way": Postproduction with myDVDedit (freeware)
Tools necessary: myDVDedit ( http://www.mydvdedit.com )
• create a disc image of your iDVD project, then double-click to mount it.
• Extract the VIDEO_TS and AUDIO_TS folders to a location of your choice. select the VIDEO_TS folder and hit Cmd + I to open the Inspector window
• Set permissions to "read & write" and include all enclosed items; Ignore the warning.
• Open the VIDEO_TS folder with myDVDedit. You'll find all items enclosed in your DVD in the left hand panel.
• Select the menu (usually named VTS Menu) and delete it
• Choose from the menu File > Test with DVD Player to see if your DVD behaves as planned.If it works save and close myDVDedit.
• Before burning the folders to Video DVD, set permissions back to "read only", then create a disc image burnable with Disc Utility from a VIDEO_TS folder using Laine D. Lee's DVD Imager:
http://lonestar.utsa.edu/llee/applescript/dvdimager.html
Our resident expert, Old Toad, also recommends this: there is a 3rd export/share option that give better results. That's to use the Share ➙ Media Browser menu option. Then in iDVD go to the Media Browser and drag the movie into iDVD where you want it.
Hope this helps! -
Is there any way to display JTree without using applet
Hi,
is there any way to display JTree without using applet . Can we display the JTree in a JSP page.
With Regards,
Sheema.Not a JTree, per se. But there are Javascript solutions out there and there are JSP tag library solutions which use a JTree on the server side to hold and maintain the data and expanded nodes.
This is one that I've used before, it's pretty good:
http://www.jenkov.dk/treetag/introduction.tmpl -
Does anyone know how to transfer photos from a MacBook Pro to an iPad3 without using iTunes?
The iPad is synched to another Mac and I don't want to change the synch relationship of the iPad but want to transfer some photos.https://www.dropbox.com
being a Mac newbie try to google to do research. -
Can anyone confirm the date used for pushing the data into AR interface table? Is it abse don Actual ship date or scheduled ship date? We are facing a scenario where trx date is lower than the actual ship to which logically sounds incorrect.
Appreciate any quick response around this.Hi,
Transaction date will be your autoinvoice master program submission level date (If you haven't setup any logic.
Please check the program level default date, if user enter old date ststem will pick the same.
Customer is trying to set the value of the profile OM:Set receivables transaction date as current date for non-shippable lines at the responsiblity level. System does not set the transaction date to current date in ra_interface_lines_all.
CAUSE
Customer has used the functionality in R11i. But after the upgrade to R12, the system functions differently than R11i.
SOLUTION
1.Ensure that there are no scheduled workflow background process run.
2.Set the profile "OM: Set Receivables Transaction Date as Current Date for Non-Shippable Lines" at Responsibility level only as Yes.
3.Now switch the responsibility to which the profile is set.
4.Create order for Non-Shippable Lines and progress it to invoicing.
5.Ensure that the 'workflow background process' concurrent program is run in the same responsibility and this line is considered in it.
6.Now check if the 'SHIP_DATE_ACTUAL' is populated to ra_interface_lines_all -
Inputing the character 'ł' into a varchar2 variable in an oracle database?
how do I input the character 'ł' into a varchar2 variable in an oracle database?
I tried in sql plus or PL/SQL developer, I think the app I need it for is run through Oracle forms. each time it appears as a question mark when I cut and psate it from MS word.Can anyone help?
-
I want to assign the value of a Javascript variable to JSP Variable
I want to assign the value of a Javascript variable to JSP Variable .. for example :
<%
Bla Bla Bla
%>
<script>
var JavaScriptVariable="hello"
</script>
<%
String JSPVariable=// The Value of JavaScriptVariable ;
%>
How can i do that ??
Thanks>I want to assign the value of a Javascript variable to JSP Variable
cannot be done.Friend try to understand concepts properly Javascript is always excuted by the browser @clientside where as JSPCode is executed Websever(ServletContainer) @serverside.Through you are combining JSP Code blocks(Tags,Expressions,scriptlets...) & javascript under a single page webserver can only identify what is their under JSP Code blocks.
Hope this could be an appropriate answer for your question.
However,you can as well submit a request by encoding your URL with request parameters and the submit to the page and then collect it using request.getParameter(name).
But under a single context state it is not possible
REGARDS,
RaHuL -
Load Content into a javascript Variable
Hello guys. I very new to spry and I need some help.
How can I load content (text) from a html page(actually I
want to get a result from a dynamic php script) into a javascript
variable?
I saw the fragments example in wich spry loads some html
fragment into a div, etc... but I need the result text to be stored
in a variable so I can test the result before update the div.
Thanks in advance...I think this function updateContent shoud have a parameter to
tell if we want the content to be loaded inside a container or a
variable. It would be very helpful to integrate php/mysql
validation scripts to forms. I wanted to test if a username was
already in the database when the user choose the username in the
form, so I made a custom function and aplied it to the textbox
validation widget. Its working great, but it would be better if I
didnt have to create invisible divs to receive the response from
the php script I made.
Thanks anyway. Spry is a great product. -
Use 'convert_otf', but the output table of lines is empty, why?
Hello experts,
I am trying to use the function 'convert_otf' to convert smartforms into pdf. But the output table of lines is empty´.
* Convert OTF into PDF
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
format = 'PDF'
* max_linewidth = 132
IMPORTING
bin_filesize = lv_bytes
bin_file = bin_file
TABLES
otf = gt_otfdata
lines = gt_pdfdata
EXCEPTIONS
err_max_linewidth = 1
err_format = 2
err_conv_not_possible = 3
OTHERS = 4.
Before calling this function the parameter value are like following:
LV_BYTES: 0
BIN_FILE:
GT_OTFDATA: Standard Table[15x2(144)
GT_PDFDATA: Standard Table[0x2(268)]
After this function is called, the parameter value are like this:
LV_BYTES: 1774
BIN_FILE: 255044462D312E330D0A2...
GT_OTFDATA: Standard Table[15x2(144)
GT_PDFDATA: Standard Table[0x2(268)]
It looks that there is output for table lines. For download this pdf I have to get a table of pdf data.
What could be the reason for this?
Thank you.
RujingSee if the below code I did some time back is helpful :
call the FM to return the Smartform function module
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = 'ZOL_WATER_PLANT_WEEKLY'
IMPORTING
fm_name = lf_formname
EXCEPTIONS
no_form = 1
no_function_module = 2
OTHERS = 3.
pass data to the smartform
IF sy-subrc = 0.
ls_ctrlop-getotf = 'X'.
ls_ctrlop-no_dialog = 'X'.
ls_compop-tddest = 'LP01'.
ls_compop-tdnoprev = 'X'.
CALL FUNCTION lf_formname
EXPORTING
control_parameters = ls_ctrlop
output_options = ls_compop
user_settings = ' '
gf_date_fr = lf_date_fr
gf_date_to = lf_date_to
gf_datum = lf_datum
IMPORTING
job_output_info = ls_return
TABLES
gt_finaldata = gt_finaldata
gt_event = gt_fin_evnt
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ELSE.
LOOP AT ls_return-otfdata INTO wa_otf.
APPEND wa_otf TO int_otf.
ENDLOOP.
CALL FUNCTION 'SX_OBJECT_CONVERT_OTF_PDF'
EXPORTING
format_src = 'OTF'
format_dst = 'PDF'
devtype = 'PDF1'
CHANGING
transfer_bin = int_bin
content_txt = int_otf
content_bin = int_pdfx
objhead = int_header
len = wf_len
EXCEPTIONS
err_conv_failed = 1
OTHERS = 2.
Mathews -
How can you type without using capitals at the beginning of a sentence?
How can you type something without using a capital letter at the beginning of a sentence. It always automatically outs a capital letter and I don't want one because it could be a case sensitive password?
Tap the Shift key to turn off caps
-
How to send the output into separate file..(from spool)
Hi friends,
i was create a executable program .. it was executing fine.. imagine.. my program is just fetching the data from MARA table based on some conditions.. every thing is fine.. and i'm getting the output also..
but i want to save this output in a separate file.. that means.. what can i do.. my program is executing background... so, i want to save this out put in a file... so, can any one plz provide me the coding steps...
i dont know coding.. I'm learning ABAP... so, can you plz provide the exact coding..for storing these data into separate file from spool..
help ful answers will be rewarded
Thanks
Babuhi
if you want the o/p data in the seperate file in-addition to the spool
call FM : 'GUI_DOWNLOAD'
pass file name as
w_localfile = 'C:\fite.txt'
itab
= the final o/p table
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = w_localfile
filetype = 'ASC'
write_field_separator = 'X'
TABLES
data_tab = itab
EXCEPTIONS
file_write_error = 1
no_batch = 2
gui_refuse_filetransfer = 3
invalid_type = 4
no_authority = 5
unknown_error = 6
header_not_allowed = 7
separator_not_allowed = 8
filesize_not_allowed = 9
header_too_long = 10
dp_error_create = 11
dp_error_send = 12
dp_error_write = 13
unknown_dp_error = 14
access_denied = 15
dp_out_of_memory = 16
disk_full = 17
dp_timeout = 18
file_not_found = 19
dataprovider_exception = 20
control_flush_error = 21
OTHERS = 22.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
thanks & regards
vinsee
Maybe you are looking for
-
Pls can any one share process flow ppt documents (SD)
-
Installing printer drivers on x86 and x64 OS clients from print server
Hi experts, I have a print server win 2008 r2 with some printers installed on it including x86 and x64 drivers. 1. I wanted to install printer drivers on x86 and x64 CLIENT OS (win 7/8 ) from the print server. 2. This installation should in in back
-
11 CS & CC update downloads instant fail (49)? - all others update ok.
Using iMac OS X Yosemite 10.10.1 with Creative Cloud, eleven CS and CC updates constantly fail with "Download error. Press Retry to try again or contact customer support.(49)" Updates never appear to start, they just instant fail with the above erro
-
ORA-23313 - DBMS_REPCAT.CREATE_MASTER_REPGROUP
Hi I have a DEV database (db_name=DEV, instance_name = DEV, global_names=TRUE ) which was created from the backup of the database PROD. I am trying to implement replication between DEV and another database TEST. When I try creating the master group a
-
Hide records of Tranining Histroy in Custom infotype
My client is maintaing Training History in a customzed infotype. There are few records which has a end date, and client want to hide these recrods in overview mode. Is it possible to hide these records at infotype level, or is there any better option