Removing the BC generated JS and CSS files from pages

Hi,
We're working on a feature to allow you to generate pages without our styles and JS files. This is what we're planning to build, we need feedback on some automated JS/CSS generation for some pages and modules.
We will add one flag per "Page Template" flag (to not output module CSS or our JS things)
The Site Manager/Page Templates/Detail UI will have a new boolean control in the More Options sectionDon't include pre-generated HEAD elements
Once you are on a page that uses a template with this flag set to on, you won't see in your HEAD the following/StyleSheets/ModuleStyleSheets.css
We are wondering if you want us to include the validation JS files. Today, depending on the modules you have in the page or the type of overall layout (e-commerce, etc), we're adding the following files (click the image to see the code). Should we keep those or the flag should disable those, too?
Sincerely,
Alexandru

This will be a great little tweak,
Thank you Alexandru.
Just to clarify, the tick opton will be on web pages UI?, Template UI?, And Detail layouts like web apps etc - Anywhere where you select a template?
That would be great.
I am a bit torn with the javascript, The CSS - Yep go for it, But while I could see some advantages turning that off too, it may cause more problems.
I think a common use case is wanting to use CSS frameworks like foundation and Bootstrap. You will defiantly want to turn the modulestylesheets from rendering. But then if the javascript also got turned off, when you were doing eCommerce, and some other bits you would have to rebuild your own sollutions which would take up a lot of time.
My feedback on possible options:
- Two tick boxes to turn offf css or Javascript - this is a bit more messy though, It would solve the above dilema though.
- Maybe for now the CSS would be enough for now? Maybe with the re-introduction of Liquid down the line there could be something using that developers can do with conditionals?
- Both and provide documentation on how and where and when to include the javascripts back in. This would be a bit more messy support wise maybe?
- A bit more work but could offer more options going forward could help in a lot of ways would be to turn the head into a layout under Layouts.
This would have tags such as the BC javascript, a tag that renders the conditional .NET from your screenshot. A tag for the CSS and other elements, tag for the meta that is automatically generated etc.
This would also have the added effect of allowing people to fix up some meta layout issues, and have a bit more control when using frameworks, HTML5 or XHTMl doctype varients etc.
With Liquid in the future as well and conditionals this would also then allow more posibilities as well.
The sollution I take it would also be on by default for BC App html pages Alexandru?
Hopefully that is helpful and I hope others provide feedback for you as well.
Thank you for the update.

Similar Messages

  • How do I generate PDF and CHM files from the a command line in windows?

    I am trying to set up a PC to build some documents during the night. I was looking for a way to get framemaker to generate PDF and CHM files via a command line in windows? How is this done with FrameMaker 12
    Thanks for the help
    Alex

    Hi,
    The part with generate a PDF via a jsx seems to work OK, except when FrameMaker decides that it will not work anymore. I must say I am not impressed with the stabillity of FrameMaker 12, there is room for a lot of improvement!.
    I have given up on how to figure out how to get FrameMaker 12 to generate chm files via jsx scripts, any pointes are still very welcome.
    The route I have taken is I make a RoboHelp project for each chm files I need to generate. The only thing this RoboHelp project contains is a link to the actual FrameMaker project I want to generate a chm file.
    To make the chm I start RoboHelp with a script that
    1) Opens the desired project
    2) Sets the desired output chm files name
    3) Generates the chm file
    4) And finally quits RoboHelp
    Below is a copy of the jsx in case anyone can reuse anything.  And yes parameters are transfered via enviroments variable. I have later learned there is some way to read the parameters given at a command line but this seems to work so I stick to this for now.
    // Get parameters
    var RhProjName = $.getenv("RH_PROJ_NAME");
    var RhChmName = $.getenv("RH_CHM_NAME");
    var RhLogFileName = $.getenv("RH_LOGFILE_NAME");
    var RhLogFile = new File(RhLogFileName);
    RhLogFile.open("w", "TEXT");
    RhLogFile.writeln("RH_PROJ_NAME : ", RhProjName);
    RhLogFile.writeln("RH_CHM_NAME : ", RhChmName);
    doc = RoboHelp.openProject (RhProjName, 1);
    var sslmngr = RoboHelp.project.SSLManager;
    for(var i = 1; i<=sslmngr.count; i++){
      var ssl = sslmngr.item(i);
      if(ssl.name == 'Microsoft HTML Help') {
        // Set the output location and file name
        ssl.setSpecificProperty("DestinationProjectName", RhChmName);
        if (doc.saveAll(true) ) {
          RhLogFile.writeln("saveAll returned TRUE");
        } else {
          RhLogFile.writeln("saveAll returned FALSE");
        if ( ssl.generate() ) {
          RhLogFile.writeln("ssl.generate returned TRUE");
        } else {
          RhLogFile.writeln("ssl.generate returned FALSE");
      } else {
        // alert ("Found " + ssl.name + " dont do anything");
    doc.saveAll(true);
    RhLogFile.close();
    RoboHelp.closeProject();
    RoboHelp.quit();

  • HELP! Is there any way to remove the remnant of an old Word file  from OS 9.2.2?

    I know this sounds bizarre, but I've spent the last 6 hours trying to remove a non-existant file from the iBook I bought in 2002. I have already tried Microsoft Support, but am stuck because I can't remember the details of the info I used the one and only time I created an account with them in order to ask a single question several year ago, and am unable to provide them with a new email address that's acceptable to them for a single-time  contact.
    Besides, since the problem is on a Mac iBook, I'm hoping  I'll have more success in this community.
    Although I bought the iBook 12 years ago, I did so on a whim, and never really used it for the purpose I envisioned, which included working on a couple of projects while I was away from home. In anticipation of those projects I loaded copies of the software I typically used onto the iBook . . . including Office 2001, which I apparently used to create several personal documents, which I saved on the same device.
    Three or four years later, when my desktop Power Mac G4 was showing signs of trouble, I saved the most important documents  to the iBook for safekeeping . . . and a few years later, did the same when the tray on the optical drive failed and I decided it was more cost-effective to replace than repair it.
    Since then, the iBook has been in clear sight of my desk, but buried under piles of papers, until I rediscovered it last week . . . and since it's still in perfect condition, decided to look for a buyer. So far the few documents I created on the iBook plus the several hundred I had stored there have all been removed — except for the remnants of the half dozen files I created in Word.
    I thought I was rid of them, but since they still show up in a list of documents when I open Word, my guess is there  must  be a "graveyard" somewhere on my iBook where the bones of dead files reside for eternity (or until the iBook itself is trashed).
    There is no sign of them (or anything else) in the trash can  . . . and when I click on their names, an error message informs me that it can't find the files, but I'm welcome to search for them myself.
    I'm hoping someone in this forum can tell me where to look. . . . Since I'm pretty sure that even though all the other files have been deleted,  there must be a directory of some  sort still holding all or part of those  documents, as well, I'm also wondering if there is some way to perform a clean sweep of all the created files, without removing the core software and third party apps — before I send the iBook onto a new owner.
    The active  operating system on the iBook is 9.2.2 — although I think it also came with an early version of OS 10 pre-loaded.
    The Word software came with Office 2001, but I think it is version 5.1.
    If there's a solution, I hope it's relatively easy, because the thought of  writing scripts  scares me.

    Not sure what's happening with this thread, but in the last 15 minutes, Safari closed down twice — for reasons  apparently indirectly related to our discussion, but also  to a couple of sentences borrowed from  a Word document I had just written and was attempting to paste into this response
    To pick up from yesterday . . . Thanks again for your suggestions. After lunch, I did follow the first one, but unfortunately, it didn't work. But since I've always hated conceding to defeat without a decent fight (especially when it comes to a Mac)  — I spent the next 5-6 hours trying to understand why I couldn't open those  documents!!  I never did find the answer, but think I at least found a work-around.
    Just to clarify, when I looked at the list at the bottom of the File menu again, I realized there were nine of them (not just the 5-6 I had mentioned. From their titles, I also realized I had just seen them recently, while combing thru and culling  the several hundred  files I had saved to desktop Macs during those previously  mentioned crises . . . And since  the iBook couldn't find them on its drive . . . . thinking the docs might be missing critical information, I started by transferring  them back on a thumb drive.
    Like magic, I suddenly could read them, but still was unable to delete from from the iBook . . . until thru a series of quirky and convoluted maneuvers, I managed to  delete all the content from each document and save them with their original names . . . copied the empty documents from my thumb drive to my iBook . . . re-opened them to confirm that they could now see the original (but now empty files)  . . .  saved and renamed them Document 1-9  in that order.. . . put copies of each into a new folder for safekeeping on both  the iMaBool desktop and  thumb drive . . . trashed the folder on the iBook desktop (knowing I still had backups on the thumb drive)  . . .and Eureka! Documents  1-9 are still on the File Menu, but when opened, they all are now blank.
    As for re-installing  the original operating system, while I agree it's a good idea, it's been years since I last did a clean install, and can't remember  if OS 9.2 allowed selective reinstalls. So rather than run the risk of removing  ALL the third party software currently on the iBook, since my plan all along was to give the next owner all 5 MS Office disks (original install, 3 reinstall disks and separate hardware diagnostic disk), I think I'll leave that option to him/her.
    Can't say it was fun, but ultimately the time spent  probably was worthwhile, if only  because it provided a valuable learning opportunity.
    Thanks again for your suggestions and  attention. (How could I give up after you took the time to offer them?)
    cs

  • Generate .pkb and .pkg files from DB Package

    Env. Oracle 10G
    Hello,
    We have around 20 packages in our db. While making release in Production we need all packages as .pkb and .pkb. To prepare release we go to each package and copy body contents in .pkb file and specification in .pkg file. This we have to do for each package.
    Is there any way so we can automate process of creating .pkb and .pkg for each package. If someone has script or any idea, it would be helpufl.
    Thanks

    A little extension to Peter's approach
    select dbms_metadata.get_ddl('PACKAGE', object_name, owner) from dba_objects
    where object_type='PACKAGE' AND [other criteria for the packages you like ];
    / But if it is needed to generate a file for each SQL statement, the following fancy SQLplus script helps:
    set trimspool on
    set pages 0
    set feedback off
    set termout off
    set line 10000
    set heading off
    spool gen_script.sql
    select 'spool ' || object_name || '.pks
    prompt create or replace
    select text from user_source
    where name=''' || object_name || '''
    and type=''PACKAGE''
    order by line;' || '
    prompt /' || '
    spool off
    spool ' || object_name || '.pkb
    prompt create or replace
    select text from user_source
    where name=''' || object_name || '''
    and type=''PACKAGE BODY''
    order by line;' || '
    prompt /' || '
    spool off'
    from user_objects
    where object_type='PACKAGE'
    and [other criteria for the packages you like ];
    spool off
    @gen_scriptEdited by: thtsang on Oct 15, 2009 3:03 AM: Minor correction
    Edited by: thtsang on Oct 15, 2009 3:09 AM: Add prompts

  • Callind CSS file from images directory

    hi experts ,
    I am calling CSS file from page template header ,the CSS file is located in #WORKSPACE_IMAGES# ,but i need to modiy the file a lot of times so it is wasting fo time,can you please guy tell me a way by i can call the file form images directory coz i tried many times but it didnt work ,please advice me
    Regards ,
    Ahmed

    I think there is no way, except you have to upload it again & again to see the changes.

  • [svn] 3120: When you point Flex Builder at a local sandbox trunk build, it couldn' t generate the html-templates folder correctly for new projects so we moved all the html templates up one level and removed the html-templates directory and adjusted build

    Revision: 3120
    Author: [email protected]
    Date: 2008-09-05 10:44:10 -0700 (Fri, 05 Sep 2008)
    Log Message:
    When you point Flex Builder at a local sandbox trunk build, it couldn't generate the html-templates folder correctly for new projects so we moved all the html templates up one level and removed the html-templates directory and adjusted build.xml's to accommodate the directory change
    Modified Paths:
    flex/sdk/trunk/build.xml
    flex/sdk/trunk/webapps/webtier/build.xml
    Added Paths:
    flex/sdk/trunk/templates/client-side-detection/
    flex/sdk/trunk/templates/client-side-detection/AC_OETags.js
    flex/sdk/trunk/templates/client-side-detection/index.template.html
    flex/sdk/trunk/templates/client-side-detection-with-history/
    flex/sdk/trunk/templates/client-side-detection-with-history/AC_OETags.js
    flex/sdk/trunk/templates/client-side-detection-with-history/history/
    flex/sdk/trunk/templates/client-side-detection-with-history/history/history.css
    flex/sdk/trunk/templates/client-side-detection-with-history/history/history.js
    flex/sdk/trunk/templates/client-side-detection-with-history/history/historyFrame.html
    flex/sdk/trunk/templates/client-side-detection-with-history/index.template.html
    flex/sdk/trunk/templates/express-installation/
    flex/sdk/trunk/templates/express-installation/AC_OETags.js
    flex/sdk/trunk/templates/express-installation/index.template.html
    flex/sdk/trunk/templates/express-installation/playerProductInstall.swf
    flex/sdk/trunk/templates/express-installation-with-history/
    flex/sdk/trunk/templates/express-installation-with-history/AC_OETags.js
    flex/sdk/trunk/templates/express-installation-with-history/history/
    flex/sdk/trunk/templates/express-installation-with-history/history/history.css
    flex/sdk/trunk/templates/express-installation-with-history/history/history.js
    flex/sdk/trunk/templates/express-installation-with-history/history/historyFrame.html
    flex/sdk/trunk/templates/express-installation-with-history/index.template.html
    flex/sdk/trunk/templates/express-installation-with-history/playerProductInstall.swf
    flex/sdk/trunk/templates/metadata/
    flex/sdk/trunk/templates/metadata/AC_OETags.js
    flex/sdk/trunk/templates/metadata/readme.txt
    flex/sdk/trunk/templates/no-player-detection/
    flex/sdk/trunk/templates/no-player-detection/AC_OETags.js
    flex/sdk/trunk/templates/no-player-detection/index.template.html
    flex/sdk/trunk/templates/no-player-detection-with-history/
    flex/sdk/trunk/templates/no-player-detection-with-history/AC_OETags.js
    flex/sdk/trunk/templates/no-player-detection-with-history/history/
    flex/sdk/trunk/templates/no-player-detection-with-history/history/history.css
    flex/sdk/trunk/templates/no-player-detection-with-history/history/history.js
    flex/sdk/trunk/templates/no-player-detection-with-history/history/historyFrame.html
    flex/sdk/trunk/templates/no-player-detection-with-history/index.template.html
    Removed Paths:
    flex/sdk/trunk/templates/html-templates/

    Remember that Arch Arm is a different distribution, but we try to bend the rules and provide limited support for them.  This may or may not be unique to Arch Arm, so you might try asking on their forums as well.

  • My ipod nano was synced by itunes and removed all of my music and game files. I am in the process of adding my music back one cd at a time, but there is no history of tetris that I paid for from the itunes store. How can I get this game back for my ipod?

    My ipod nano was synced by itunes and removed all of my music and game files, and replaced my music with my kids music that they have put into the current itunes library. My music is nowhere to be found on my computer, so now  I am in the long, forever process of adding my music back one cd at a time, but there is no history of tetris that I paid for from the itunes store. How can I get this game back for my ipod?

    Contact iTunes support and explain your situation to them.  They may let you redownload it at no cost.
    http://www.apple.com/support/itunes/contact.html
    If they don't, I'm afraid you'll have to purchase it again.  Sorry.
    B-rock

  • HT3275 Time machine at home and it will not allow me to remove the listing of my external hard drive from the excluded files list.

    Please help guys, I have a Time machine at home and it will not allow me to remove the listing of my external hard drive from the excluded files list.
    I am trying to use time machine to back up the hard drive. For backing up from Macbooik pro and Imac, there is no problem. It seems to not want to allow the external drive to be removed from the Excluded list and as such will not back up from it.
    Is there a way to be able to transfer files (music, movies etc) to time machine, format the external drive then put the files back to hard drive?
    Sorry it is a long winded question but it is driving me nuts that I cant sort this out.
    The <Macbook and Imac are both running mountain lion.
    Thanks Guys

    As for the hard drive to which you have never been able to write, is it by any chance in NTFS format? OS X can read NTFS for importing files, but it does not contain code for writing on an NTFS volume. That's a choice, not a bug.
    There is third-party software available to install NTFS-writing capability into OS X. An example is Paragon NTFS for Mac OS X. Another alternative would be to use a disk format that both Macs and Windows systems can use for both reading and writing; this would require either a new drive or erase the existing data.
    If by "the new system software" you mean OS X 10.9 Mavericks, you may want to repost that portion of your query in the Mavericks forum at https://discussions.apple.com/community/mac_os/os_x_mavericks . I haven't made the leap yet.
    I don't know what other problems you have been having, so I cannot comment on them. You don't seem to have any other recent postings on these forums.

  • Load the External text and css file for more frames

    hello..
           I created one Movie file. In that I load the External text and css file in first frame and display the first variable value in one text box.
    And then in 2nd frame I use another one text field and display the 2nd variable value like that I want to load the more variable in more textboxes with different frames.
         I loaded  for first variable value in first frame. But I don't know how to do next frames like that..
         Help me...

    You need to load them in the frames they are in.  You can store the loaded data in variables in frame 1, but you will need to extend that layer so that whatever is stored is avaliable in other frames.  The code to load the data into the other textfields can then be done in the frames where it is needed.
    There are other options, such as not using other frames for content or having all of them in frame 1 and making them invisible until you get to the other frames where they get turned visible.

  • How to decrease the size of the JS and CSS File

    Hi experts,
    I m facing a bandwidth problem because i m accessing an application from a PDA and i noticed that it takes a very long time to load a very simple page. After some investigation, i noticed that its because the JS and CSS files downloaded are rather big.
    sapUrMapi_ie6.js (Size: 301 KB)
    sapWdSsr_ie6.js (Size: 79 KB)
    ur_ie6.css (Size: 247KB).
    Any idea how to minimize the size of these files or any workaround as to this problem ?
    Your help will be much appreciated.
    Regards,
    Daniel

    Hi,
    Check this link this may be helpful to you
    http://help.sap.com/saphelp_nw04/helpdata/en/b5/7e1141e109ef6fe10000000a1550b0/frameset.htm
    Regards,
    SURYA

  • 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>");
           //...

  • How to import programmatically an APEX images file using workspace images option and CSS files to APEX?

    Oracle db 11gR2
    Oracle APEX 4.2.1
    Linux RHEL 6.3
    I am importing a images file programmatically into APEX.  And also a CSS file.
    I want to add an images file to my APEX instance but I want to choose the option -- workspace images --.  How does one do that programmatically via the APEX API e.g.?
    I don't want the images tied to an application within APEX.
    Does one do the same thing for CSS files that are imported to APEX?
    thx.

    This is interesting and helpful,  I use the following code to import my APEX database application and run it via SQL*Plus and it works fine for database applications -- what do I need to change/add/modify in order to load the images and CSS files?  NOTE: I want the images to be -- Workspace images -- not tied to any application.  Also, I need to handle the situation where the images and CSS data already exist in the APEX environment as well as when they are not there (i.e. initial install).  Usually it is a case where it is an upgrade so the data already exists in the APEX app and just needs to be updated.
    declare
                      v_workspace      varchar2(35)    := 'WORKSPACE';
                      n_existing_app   number          := 123;
                      n_new_app        number          := 456;
                      v_app_alias      varchar2(35)    := 'WKALIAS';
                      v_parsing_schema varchar2(35) :='WORKSPACE_PARSE';
                      n_secgrp_id      number;
                      v_err_msg        varchar2(200);
                      n_err_num        number;
                      n_workspace_id   number;
                    begin
                      -- get workspace id
                      select workspace_id
                      into n_workspace_id
                      from apex_workspaces
                      where workspace = v_workspace;
                      -- set workspace id
                      apex_application_install.set_workspace_id (n_workspace_id);   
                      -- set security group
                      apex_util.set_security_group_id (p_security_group_id => apex_application_install.get_workspace_id);
                      -- set pasring schema
                      apex_application_install.set_schema(p_schema => v_parsing_schema);
                      -- delete existing app
                      begin
                        wwv_flow_api.remove_flow(n_existing_app);
                      exception
                      when NO_DATA_FOUND then -- do nothing when the application does not exist
                        null;
                      end; 
                      -- set new app id
                      apex_application_install.set_application_id(p_application_id => n_new_app);
                      -- generate offset
                      apex_application_install.generate_offset;
                      -- set application alias
                      apex_application_install.set_application_alias(p_application_alias => v_app_alias);
                      exception
                      when others then        
                        n_err_num := SQLCODE;
                        v_err_msg := SUBSTR(SQLERRM, 1, 200);
                        dbms_output.put_line('Error number = ' || n_err_num);     
                        dbms_output.put_line('Error message = ' || v_err_msg);
                    end;
    @newapp.sql
    commit;

  • Need to create PDF and Spreadsheet file from RDF file when user passes the parameters

    Hi Everyone,
    I am beginner as report developer ,i came across one  issue when the requirement came from the client regarding generating EXCEL FILE and PDF FILE from same RDF file .
    I was able to generate the PDF file but i when i tried to create excel file it does not include the margin in it, also the cell border are not seen( file comes with data but with no CELL borders), I have also attached screenshot for reference .
    View image: problem
    or
    http://i43.tinypic.com/2mq017k.jpg
    Software Used :
    Oracle reports Developer : 11g 1.2.3.0
    Thanks ,
    Harshil

    Dear  Olga12,
    Thanks a lot for your quick reply.
    When i suggested the solution to my client  for creating two separate templates attached to same data definition , they declined and argued that  we cant create 2 separate templates for all reports( more than 200 reports).
    Is there any way to create the PDF/EXCEL from same RDF other than creating two separate templates ?
    Thanks ,
    Harshil

  • Java script and css files are not loaded

    I am using 9iAS 1.0.2.2.2a on Windows Server Family 2000. My web application is using bc4j and developed in JDeveloper 3.2. I am also using Apache and web cache and caching js and css files.
    Problem is some times it does not load js files but load css files.
    Some times loads css files but does not load js files.
    Some times does not load js and css files.
    & some times loads both types of files.
    How to control this problem.
    Tahir Pervaiz.

    I'm fairly certain this issue represents a bug in IE 11. The same problem(s) do not occur in IE 9 or IE 10. The same problems occur on unrelated websites accessed from separate machines. Doing a force-refresh (Ctrl+F5) always fixes the issue.
    I took your advice about opening the console to look for error messages during page load. When loading normally (i.e. not doing a force-refresh), the console shows the following:
    HTML1300: Navigation occurred.
    File: TimeEntry
    DOM7011: The code on this page disabled back and forward caching. For more information, see: http://go.microsoft.com/fwlink/?LinkID=291337
    File: Dashboard
    SCRIPT70: Permission denied
    File: modernizr-2.5.3.js, Line: 468, Column: 9
    SCRIPT70: Permission denied
    File: jquery-ui-1.10.0.js, Line: 252, Column: 1
    SCRIPT70: Permission denied
    File: knockout-2.2.1.js, Line: 48, Column: 5
    SCRIPT5007: Unable to get property 'extend' of undefined or null reference
    File: knockout.validation.js, Line: 30, Column: 5
    When loading the page via a force-refresh, only the 'Navigation occurred.' message is displayed. It does not make sense that IE would apply a more restrictive security policy to scripts loaded from cache vs. scripts loaded directly from their original location,
    yet that appears to be what is happening.
    Post questions about html, css and scripting for website development to the IE Web Development forum.....WITH A LINK TO YOUR WEBSITE OR A MASHUP THAT SHOWS THE ISSUE...
    looks like you have a sandboxed iframe on your page.
    the first step in troubleshooting IE issues is to test in noAddons mode.
    Rob^_^

  • [svn] 1625: Avoiding an NPE instead of blindly instantiating a new localization manager here when encoding the compilation result of a CSS file to a SWF to unblock QE .

    Revision: 1625
    Author: [email protected]
    Date: 2008-05-08 13:53:33 -0700 (Thu, 08 May 2008)
    Log Message:
    Avoiding an NPE instead of blindly instantiating a new localization manager here when encoding the compilation result of a CSS file to a SWF to unblock QE.
    Doc: No
    QE: Yes
    Bugs: SDK-15490 - Compiler gives nullpointer in encode of incremental compile if benchmark is set to true
    Reviewer: Paul
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-15490
    Modified Paths:
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/CompilerAPI.java

    Hi, thank you for your replies, I found out few things about my servlet, and its portability
    and i have few questions, although i marked this topic as answered i guess its ok to post
    I am using javax.servlet.context.tempdir to store my files in that servletcontext temporary directory. But i dont know how to give hyperlink
    of the modified files to the user for them to download the modified files.
    What i am using to get the tempdir i will paste
    File baseurl = (File)this.getServletContext().getAttribute("javax.servlet.context.tempdir");
    System.out.println(baseurl);
    baseurl = new File(baseurl.getAbsolutePath()+File.separator+"temp"+File.separator+"files");
    baseurl.mkdirs();so i am storing my files in that temp/files folder and the servlet processes them and modifies them, then how to present them as
    links to the user for download ?
    and as the servlet is multithreaded by nature, if my servlet gets 2 different requests with same file names, i guess one of them will be overwritten
    And i want to create unique directory for each request made to the servlet , so file names dont clash.
    one another thing is that i want my servlet to be executed by my <form action> only, I dont want the user to simply type url and trigger the servlet
    Reply A.S.A.P. please..
    Thanks and regards,
    Mihir Pandya

Maybe you are looking for