Upload javascript / HTML / CSS/ files to BSP environment
HI,
1. Would there be an easy way to upload (in mass) Javascript files to a BSP environment?
Right now, we have to do it one by one (right click BSP application > create > MIME object > import).
but we will manage a web2.0 AJAX application in this way, so uploading one by one is not an option
2. once uploaded, would there be a way to edit and maintain those files in an easy way?
Right now, we can only edit in notepat, right clicking the file and then "change"
The goal is that we could easily change it in another tool
thanks in advance!
Pieter
Hi Pieter,
you can upload multiple MIME objects by right-clicking on the MIMES filder and selecting "Import MIME Objects".
Many different ways to do editing. It sounds to me like the best way for you is to use the [WebDAV|http://en.wikipedia.org/wiki/Webdav] protocol to expose the BSP application objects as a file system and then you can edit then with whatever tool you want.
[http://help.sap.com/saphelp_nw04/helpdata/en/46/bb184dab4811d4968100a0c94260a5/frameset.htm]
Cheers
Graham Robbo
Similar Messages
-
Including external javascript and css files in servlet
Hello,
I am struggling to generate an HTML page from within a servlet using external javascript and css files. I am not sure how to point the servlet to the external files.
Any code sample to accomplish the above will be much appreciated.
Thanks inadvance,
Antana.Can't you just include the following in your servlet?
response.setContentType("text/html");
PrintWriter out = response.getWriter();
out.println("<html>");
out.println("<head>");
out.println("<title>Getting CSS</title>");
out.println("<link rel='stylesheet' type='text/css' href='yourCSS.css' />");
out.println("<script language='JavaScript' SRC='yourScript.js'></script>");
out.println("</head>");
//... -
When building a web site, how do I set up a blank browser page that I can pull html & css files into.
David's book is a good place to start. This is really far more involved that can be covered in this forum. You'll need to get familiar with a database, most likely MySQL, PHP, how to send requests tot he database - queries - and most likely maintain a state with Sessions. As you can see, it's a bit involved. The good news is this skills you'll acquire to do this will go a long way! It will cover all the basic requirements of web application development.
Dive in, and have fun!
Lawrence *Adobe Community Expert*
www.Cartweaver.com
Complete Shopping Cart Application for
Dreamweaver, available in ASP, PHP and CF
www.twitter.com/LawrenceCramer -
.css file in BSP Application
Hi,
Where can i find the .css file in a BSP application ?
kindly help!
Regards,
Bharath Mohan B.Hi,
Referr to the below link...
This should help you :
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/4e/7feef553415e4fb357e80f7a6223b1/frameset.htm">http://help.sap.com/saphelp_nw04/helpdata/en/4e/7feef553415e4fb357e80f7a6223b1/frameset.htm</a>
<i>Do reward each useful answer..!</i>
Thanks,
Tatvagna. -
Gzip for JavaScript / CSS files on SUN ONE / Glassfish
how to Gzip JavaScript and CSS files on Sun One Web Server / Glassfish Server. .
Can anybody help me out .?[http://blogs.sun.com/meena/entry/about_http_compression_in_sun]
and
[http://blogs.sun.com/meena/entry/dynamic_compression_of_static_files]
and
[Sun ONE Web Server 6.1 Administrator's Guide in docs.sun.com|http://docs.sun.com/source/817-1831-10/agcontnt.html#wp1016016] -
Hi
I had uploaded my custom.css file from Shared components-> Cascading style sheets. Initially I could see the changes reflecting on the pages. After that when I deleted my file and uploaded file again with more edits and additions, I am not seeing the changes. From Firebug Net tab I get to know that my old css file is only loaded always. I tried deleting cache, cookies, browser data and did force refresh. Nothing is working.
Is it possible to know where in filesystem will the my css file be loaded? Any suggestions how to solve this?
Thanks!The thread given by Rradhika concludes that this problm can be solved by using a HTML page or a JSP page without an accompaning bean.
I tested my application with a HTML error page but it is also not working, the usual error page is loaded, not my custom HTML error page.
Any further suggestions are very much appreciated.
Thank you. -
"\n" problem while downloading the file in unix environment
Hi folks,
I have some problem in uploading and downloading the file in unix environment..
This is my sample code i am using.
File userDataFile = new File("xyz".csv");
out = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(userDataFile),"UNICODE"));
out.write("Name"+"\t");
out.write("Age"+"\t");
out.write("Dob"+"\t");
out.write("Contact"+"\n");
for(int i=0;i<retList.size;i++){
out.write("xyz"+"\t");
out.write("22"+"\t");
out.write("300399"+"\t");
out.write("xyzzz"+"\n");
as per this i wrote code for generating the reports. Its contains some 7k records.
Its works in Windows environment.
Some times in Windows environment if the contents size is 7000 records means
i got only the headers..
I am not getting any real records.
I am not sure.. my client is using may be an unix environment..
Please give the solutions for this..
Very thanks in advance.Hi Jothi,
This is not an answer to your question. It is a question for you instead. I have tried to reach you on several forums regarding the HAP_DOCUMENT documentation you have.
Again, I am really sorry to contact you through a differente forum, but I really need the HAP_DOCUMENT documentation for my project.
Please send me a message to [email protected]
Thanks again.
JULIAN CASTRO -
Using &APP_ID. in uploaded javascript file
Hi dev's,
I fumbling around with a quite annoying problem.
When I create a javascript directly inside the "Header Text" of my page the script works perfectly:
<script type="text/javascript">
function fnc_setTreeItem (pItem)
var get = new htmldb_Get(null,&APP_ID.,'APPLICATION_PROCESS=dummy',0);
get.add(pItem,$x(pItem).value)
gReturn = get.get();
get = null;
</script> But when I use an uploaded javascript file instead because the source code becomes to much then the script runs on an error:
<!-- Custom js, css, libs -->
<script type="text/javascript" src="#APP_IMAGES#ukd_monitoring.js"></script> Firebug error description:
syntax error
E()apex_ns_3_1.js (line 1)
? in apex_ns_3_1.js@1("ContentArea")apex_ns_3_1.js (line 1)
$x("ContentArea")apex_3_1.js (line 1)
$x_Style(["BB", "ContentArea", "ContentBody" 0=BB 1=ContentArea 2=ContentBody], "display", "")apex_3_1.js (line 1)
$x_Show(["BB", "ContentArea", "ContentBody" 0=BB 1=ContentArea 2=ContentBody])apex_3_1.js (line 1)
filterAttributeRegions(a.htmldbButtonListCurrent f?p=4000:4...1,150#HEAD, "#HEAD")apex_builder.js (line 1)
propTest()apex_builder.js (line 1)
? in apex_3_1.js@1()apex_3_1.js (line 1)
[Break on this error] var get = new htmldb_Get(null,&APP_ID.,'APPLICATION_PROCESS=dummy',0);\nIs there a possibility to get the APP_ID work inside an uploaded file?
Best regards,
TobiasHello Tobias,
Use $v('pFlowId') instead. That should work...
Greetings,
Roel
http://roelhartman.blogspot.com/
You can reward this reply by marking it as either Helpful or Correct ;-) -
Accessing substitution variables in static uploaded javascript file
Hi there,
I just created variables and a pageinit function in my page header and try to access these variables (Flow_Id, Page_Id etc) within a js-file I uploaded into workspace static files.
I try to use them within an URL ( e.g. "f?p="+ Flow_Id + ":100:" + Session_Id ), but they are -undefined- and thus lead to a 404-Page!
Here is the code:
onload="pageinit()" //in page html body attribute
//and the following code in the html header
<script type="text/javascript">
<!--
var Flow_Id; // application id
var Page_Id; // page id
var Session_Id; // session id
var Request; // request value
function pageinit(){
Flow_Id = html_GetElement('pFlowId').value; // application id
Page_Id = html_GetElement('pFlowStepId').value; // page id
Session_Id = html_GetElement('pInstance').value; // session id
Request = html_GetElement('pRequest').value; // request value
//-->
</script>Can someone please point me to the right direction!?
Thank you very much.
Regards
JohnnyHi Paul,
I tried with IE 8 now and could at least find out now, which lines of code are responsible for the error:
addmenu(menu=[
"mainmenu",
69,
153,
1,
style1,
1,
"left",
1,
0,
,"Home","f?p=" + $v('pFlowId') + ":100:" + $v('pInstance'),,"",1 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"Tab2","show-menu=list01","tab2.html","",1
,"Tab3","f?p=300:1:","tab3.html","",1
,"Tab4","show-menu=list04","tab4.html","",1
])It must be the way I try to create the first URL (for Home) I already mentioned, because if I hard-code the URL, it works without errors.
I could hard-code the URL, but then I always get a new session-id. So, at least I need to find a way of accessing the current session-id here.
As mentioned before, I also tried to set global variables within a javacript function in the page header and assigning the current values for the session and app-id and reference these variables within the js-file I uploaded to the static files. But that did not work either. These variables were undefined.
I guess they were undefined because at the time when the function was processed the variable might not have been set yet.
But I followed exactly the solution Carl Backstrom mentioned in some of his posts some years ago. God bless him.
I am not a javascript expert, so maybe you got a hint for me!?
Thanks again for your support.
Johnny -
Muse site uploaded to Business catalyst, where are the css files?
Hello.
I've uploaded a site created in Muse to my Business Catalyst account. I want to access the css files but in Business catalyst Admin/Site Manager there is no File Manager for the CSS files. How do I make any change? I know I can make changes in the page editor but I need the CSS files as well. Similarly, how do I replace an image, I can't find an images folder either? Do all of these changes have to be done in the Muse program itself?
Muse is new to me so thank you for any help.
GrantHi Grant,
Because for now CSS and HTML file editing is incompatible with Muse (e.g. republishing your site will potentially overwrite all the changes), we've decided to hide the file manager for Muse users.
However, there is a way to re-enable it. In order to enable site management for your user, please log into your site, and click on "My Details" (upper right). In the My details page, please check the option "Enable online content editing (incompatible with Muse)", and enter the password to confirm. A new entry (Site Manager) will appear in your menu.
A similar case here:
http://forums.adobe.com/thread/1030124
Hope this helps,
Alexandru -
Changing or Deleting Uploaded CSS file
I am having a problem modifying an uploaded CSS file. I uploaded it just fine but now when I go to the Edit Cascading Style Sheet page and click any of the three buttons (Cancel, Delete, Apply Changes) I get a page not found error with the following URL https://<servername>/pls/htmldb/wwv_flow.accept. If I then press the refresh button I get this error:
Expecting p_company or wwv_flow_company cookie to contain security group id of application owner.
Error ERR-7621 Could not determine workspace for application (:) on application accept.
OK
I'm sure it is something wrong with the environment because it works great on the Application Express version I have loaded on my laptop.
Message was edited by:
ddlloydddloyd,
Your CSS is too large to edit directly and save. We attempt to prevent you from doing that, but ultimately, we base our size calculation on the actual size and not the eventual size of the encoded data that will be posted.
You have really two options - either break this up into multiple CSS files, or edit locally and upload again.
I hope this helps.
Joel -
Html tag to upload more than one file at a time
hai sir this is surendra i need html tag to upload more than one file at a time .I am using
<input type="file" name="">
tag to upload single file at a time i need tag to upload more than one file at a time .
Waiting for your resultYou can add more than one input element of type file.
<input type="file" name="name1">
<input type="file" name="name2"> -
Error When Uploading a CSS file or Static file
When I am uploading a CSS or Static file , I get the following error. But I can upload images files with no issues.
ORA-02291: integrity constraint (FLOWS_FILES.WWV_FLOW_FILE_OBJ_FK) violated - parent key not found
Oracle XE upgraded to Apex 3.1
Please help
GeorgeYes, if you upload an image on a normal Oracle Apex Database its stored in the DB.
But, if you remember, when you configire apex you specify an images directory /i/.
Under this directory you will find all the images that apex uses as well as css files, etc.
If you place your image in this directory you can reference it my modifying the appropriate stylesheet/template.
So, for example, you cna place your own stylesheets in the appropriate directory on the server. -
I have built a css style sheet in Dreamweaver. When I try to attach it to my html website, it prompts me that my "css file appears to be an .html file and cannot attach". I've tried removing the /* */ as suggested by other forums, but this has not resolved the issue. I was using css style sheets with no problem 2 days ago. Now I get that error message. How do I fix this so I can attach my style sheet?
What does the code of the CSS file look like?
An external CSS file needs to be written in CSS only (no html tags like <html>, <body>, <head>, etc ).
It also must have a .css file extension, if yours has a .html extension it won't work. -
How to upload the data from excel(3 tabs) file to sap environment
Hi all,
This is Mahesh.
how to upload the data from excel(3 tabs) file to sap environment (internal tables) while doing bdc.Hi,
The FM 'ALSM_EXCEL_TO_INTERNAL_TABLE' makes it possible to load a worksheet into an internal table in ABAP.
However, if you want to get the data from several worksheets, I think you are stuck with OLE access to your Excel Workbook...
You can find a solution for 2 worksheets in this post :
TO UPLOAD DATA FROM 2 EXCEL SHEETS INTO TWO INTERNAL TABLES
I think you can easily modify it to handle any number of worksheets.
Hope it helps !
Best regards,
Guillaume
Maybe you are looking for
-
NTLM Authentication : why is it not possible to create more than one NTLM realm ?
Hello, I'm wondering why it is not possible to create more than one NTLM realm on a wsa. Can you explain exactly what is the blocking point ? Thanks in advance Regards
-
Trouble opening an iTextSharp rendered PDF
Here is a strange problem. I used iTextSharp PDFStamper to generate a PDF with FormFields. Everything works great. Some users have complained that Acrobat Reader is taking a long time to open a PDF. I have confirmed this, the same document that ta
-
Am first time Imovie user, downloaded video from my camera to Iphoto , would like to save some of the image in the video as individual still photos . Is this possible? , Do I do this in Iphoto or Imovie? Am using Snow Leopard thanks in advance Mhair
-
Switchover 2-node primary 1-node standby
Hi, Primary database has 2 node RAC, & standby database has only 1 node - stand alone. then switchover procedure is normal as 1 to 1 ? or any changes in performing switchover. Do i need to make the cluster database as single node by setting cluster_d
-
I started iTunes, and it said that the Apple Mobile Device Service wasnt started so it couldnt access my itouch. i tried to start it in control panel> ad. tools> services> apple mobile device service> start, but it displayed message above. Why? Help,