How can I use JDeveloper 3.2 to edit *.js file?

Could someone please tell where to configure JDeveloper 3.2 to recognize javascript files with the .js extension?

<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by [email protected] - JDeveloper Team:
Hi,
I don't think it's possible to get syntax highlighting etc. for .js files, but you can tell JDevleoper to treat them as text files by editing the line that starts:
jdeveloper.ide.treatAsText
in jdeveloper.properties in the jdev lib directory to include .js. Make sure you close JDev before editing this file, since it overwrites it when it quits.
Brian<HR></BLOCKQUOTE>
Thank you Brian that easily solved my problem.
null

Similar Messages

  • How can I use time machine to recover my iWeb09 files?

    I read that iWeb stores one's website pages in the domain folder which can be located at ~/Library/Application Support/iWeb. Can I use time machine to recover my iWeb09 files? If so, how? -I tried. I entered my Time Machine back up, and went back in time and brought the domain file forward but it opened only my current site pages, not the ones I am trying to recover. And it says the Domain file was last modified in October 2007 which is crazy because I've been using iWeb a lot and have published many pages. It seems like the uncorrupted pages, which I am trying to recover, existed somewhere on my computer at one point in time and space, less than a week ago, becuse I just published my site to a new hosting service since Apple will soon stop web hosting. So why can I not find them using time machine?

    I continued searching and read another person's advise to down load an app named "Find File," then search for .sites. She said spotlight doesn't always find all files. So I did and sure enough, when I searched for .sites I found another Domain package, which I have no idea how it was created but which, it ends up, was the one actually being used by iWeb. So I went to that package then did the time machine and went back to before my web pages became corrupted. I had to delete corrupt blog pages out of my website menu to get iWeb to upload the other page changes even to a local folder.
    So I went to that newly found Domain, went back in time, then brought that forward and as you pointed out the domain package had the parts of the pages, the files and jpegs, but not the structure/layout of the pages. So, I guess I gave up on finding the old pages.
    Those pages still exist on the Apple hosting server but iWeb doesn't not reverse publication. Cyberduck would bring back the files and bits and peices but again not the pages as a total entity. I'm preparing for the end of Apple website hosting (next month?) and am republishing my old site. I decided to use a new domain name. So my entire original site is still totally intact on the web under the original domain name, on my mobile me site, I guess it will be there till sometime in June?
    My problems started when I tried to publish my website to the new server. It just would not publish the whole website in one session. So I decided to do it a few pages at a time. Some pages went up, but as I added more, for some unknown reason the, blog pages, (about 70 subpages),  which had aleardy uploaded just fine to the new server, became corrupt and locked up iWeb. Of course once I deleted the corrupt pages I didn't want to continue publishing the site to the host until I found and reinserted uncorrupted pages, knowing publishing changes would delete the already published pages.
    At first I thought it was the hosting server's fault, but when I discovered that it wouldn't publish even to a local fold I was able to locate the cause within iWeb, deleted those pages then tested by publishing to a local folder. iWeb worked locally, so I knew I had found the problem pages. Well this is way more than you wanted to know. Thanks for your advise but I'll just start the blogging pages over.

  • How can I use the find button in Edit ADF Table in JDeveloper 10.1.3

    Hi all,
    in JDeveloper 10.1.3
    How can I make the find button work in
    the same Edit ADF Table without adding new view ?
    thanks

    Hi there,
    it depends on what you mean by adding a new view object. You[b] don't have to create a new viewobject. You do have to add a second instance of your existing view object to your page.
    Form scratch works more or less like this. Drop your view object as ADF table on the form. Add the find and execute operations. Drop the same view object on your form but now as ADF search form. Place the fields form the search form in the corresponding columns next to the existing fields. For each #{row} field ,and the find button, set the rendered property
    #{bindings.testUserIterator.findMode ==false}. For each inputfield, and the execute, set the rendered property #{bindings.testUserIterator.findMode ==true}.
    Now it will work.
    I hope this is what you are looking for.
    Good luck
    Luc Bors

  • HOW CAN I USE ONE OF MY "PREVIOUS ITUNES LIBRARY" FILES?!

    Sorry about the caps lock. I searched for thsi question and got like 10 good results, none of which had answers. iTunes asked me to choose a pervious iTunes library before, but how do I do it now?!

    you can hold shift when starting iTunes to force it to ask you to create a new or select an existing library file.

  • (How) can I use my Airport Extreme to send FLAC files/iTunes to my stereo?

    (New to this topic.) Is it possible to use my Airport Extreme Base Station to send FLAC and iTunes music files to my (ParaSound P3/A23) stereo system wirelessly?
    If so, how?
    (Not interested in iOS devices doing this - just, effectively, in using my 'mid-2011'  2.7 iMac (10.7.3) as a music server
    TIA!

    Yes, add an AirPort Express and convert FLAC to Apple Lossless and iTunes will be able to play them. VLC will not help since you need iTunes to connect to the AirPort Express and VLC will not work with iTunes.
    There may be an exception to this but I've never tried it. You could try using AirFoil to connect to the AirPort Express and play your FLAC files that way but I have no guarantee it will work. AirFoil seems very flexible so it may prove to be a solution for you.
    I'm not familiar with the Sonos Bridge/Connect system so I cannot comment on the quality. I understand that it is comparable to using the AirPort Express but locking at the price it seems a more expensive solution for your needs.

  • How can I use web service call for edit a report with SSRS in Java Struts2 web application

    Hello im new in SSRS technologie and I would like make web service call at my SSRS server. Is sombody can help me ?
    - What API should I import in my project ? I use Maven can I found this API on Maven repository ?
    - I would like have an sample of code which initialize the ReportingService, do the call and process result.
    We use the SQL Server ReportingService 2008 R2 and currently we made HTTP call like this : http://<ssr_server>/ReportServer/Pages/ReportViewer.aspx?%2fSSRS_OMB%2fMyReport&rs:Command=Render&MyParam=<value>
    Regards

    Hi ombinte,
    SQL Server Reporting Services provides access to the full functionality of the report server through the Report Server Web service. Because the Report Server Web service is an XML Web service which uses Simple Object Access Protocol (SOAP) over Hypertext Transfer
    Protocol (HTTP), any SOAP-aware application or development tool can communicate with the SSRS web service.
    There are three primary ways to develop Reporting Services applications based on the Web service, please see:
    Develop applications using Microsoft Visual Studio and the Microsoft .NET Framework SDK.
    Develop applications using the rs utility (RS.exe), the Reporting Services script environment.
    Develop applications using any SOAP-enabled set of development tools.
    For more information about Report Server Web Service, you can refer to the following document:
    http://technet.microsoft.com/en-us/library/ms152787.aspx
    Hope this helps.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • How can I use sql loader to load a text file into a table

    Hi, I need to load a text file that has records on lines tab delimited into a table. How would I be able to use the sql loader to do this? I am using korn shell to do this. I am very new at this...so any kind of helpful examples or documentation would be very appreciated. I would love to see some examples to help me understand if possible. I need help! Thanks alot!

    You should check out the documentation on SQL*Loader in the online Oracle document titled Utilities. Here's a link to the 9iR2 version of it: http://otn.oracle.com/docs/products/oracle9i/doc_library/release2/server.920/a96652/part2.htm#436160
    Hope this helps.

  • LV 7.1 - How can I use installer to create folder with its files included w/o adding each file?

    I have several files to place in folders created by the installer. Can't seem to see how I can avoid adding each file individually at build time. Is there an easier way to do this? Simply "adding" a folder would be a solution.
    Thanks
    Fran

    Fran,
    I believe this question is directly addressed in this online Knowledgebase.
    Kind Regards,
    E. Sulzer
    Applications Engineer
    National Instruments

  • How can I use the defaults command to edit a sub key in an array of plist?

    For example, how could I edit the Name key in the array?
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
    <key>Test</key>
    <array>
    <dict>
    <key>IPAddress</key>
    <string>xxxx</string>
    <key>Name</key>
    <string>yyyy</string>
    </dict>
    </array>
    </dict>
    </plist>

    I realize you are asking specifically about 'defaults', but as they concede in 'man defaults', it may not be the best tool for editing properties in "complex" structures, such as those buried in dicts within arrays, etc.
    As an alternative, it looks like in 10.5, '/usr/libexec/PlistBuddy' is now a part of the standard install - 'PlistBuddy' may be more useful for this sort of task.
    For example:<pre>
    /usr/libexec/PlistBuddy -c "set Test:0:Name zzzz" /path/to/file.plist</pre>

  • How can I use Lightroom 5.7 to import RAW files (.arw) from my new Sony Alpha 7 ll?

    When I try to import, I get a "Preview Not Available for this File" message.
    I thought LR 5.7 would contain a Camera RAW converter.  If not, when?
    Please help  me....

    Support was provided in record time with the LR 5.7.1 update.
    Profiles for new camera models can only commence being created after the camera has been released to the market.
    See the link below.
    Lightroom Journal | Tips and advice straight from the Lightroom team.

  • How can I use Flash_Slideshow.SWF in my Flash CS4 document?

    Hi,
    I have downloaded a nice Flash Slide show file (.SWF) and would like to use in my Flash CS4 document without any modification (as it is). How can I use it? There is no .Fla file this Slide Show. It just works using xml file.
    Please do help.

    Hi,
    You need to load a .swf file in your flash document using the loader class. I'm assuming you are using the AS3. Please click on the below link which helps you to use the loader class.
    http://www.adobe.com/livedocs/flash/9.0/ActionScriptLangRefV3/flash/display/Loader.html
    Thanks

  • I have a passport external hard. previously, I used it on windows, then I changed my laptop to mac. Now, It's only read. How can I use it for copying files on it on mac? I don wanna use it on windows again.

    I have a passport external hard. previously, I used it on windows, then I changed my laptop to mac. Now, It's only read. How can I use it on my mac for copying files on my passport? I don wanna use it on windows again.

    If you're not going to use the drive on a Windows machine, you should use Disk Utility (Applications>Utilities folder) to erase the drive and format it as "Mac OS Extended (Journaled)" with a single GUID partition (default):
    Good luck,
    Clinton

  • How can I use jbo:InputSelect for a char type filed?

    How can I use <jbo:InputSelect for a char type filed?
    I have two tables. One is room (primary key is room(type is char)), another table is responsibility (foreign ker is room(type is char)). Both tables have same length for room column.
    There is a problem:
    If I use (in the "DataEditComponent.jsp" file)
    <jbo:InputSelect multiple="false" datasource="dsEdit" displaydatasource="roomData" displaydataitem="ROOM" displayvaluedataitem="ROOM" ></jbo:InputSelect>
    to get the room input for responsibility from combobox(Datasource roomData is from room table). In the form the room field cannot bind the data in combobox, alway select the first item. And if I select one item and click the update button.There is an error message:
    Error Message: JBO-27010: Attribute set with value H409 for Room in Responsibility has invalid precision/scale
    I found If I changed the field type from char to varchar2 in database also change the entity objects, it works well. I wonder if there are any diffrence using <jbo:InputSelect tag in char and varchar2 type. How can I use <jbo:InputSelect for a char type filed as i don't want to change my datatype in database at this stage.
    I try this in JDeveloper 9.03, 9.034, 9.04. The result is the same.

    If I were in your shoes, here's how I would do it:
    <%-- Assuming you have dsRoom and dsResponsibility --%>
    <%-- Select is an HTML tag --%>
    <select name="ROOM" size="1">
    <% char roomID =""; // Init your character var
    // Open a rowsetIterator to get the records and add them to the LOV
    <jbo:RowsetIterate datasource="dsResponsibility" changecurrentrow="true" >
    <% roomID = (char)dsResponsibility.getRowSet().getCurrentRow().getAttribute("ROOM"); // Grab the char value
    // add the value to the LOV
    %>
    <option value="<%=roomID%>"><%=roomID%></option>
    </jbo:RowsetIterate>
    </select>
    If you are using this as part of an edit page you may want to utilize the "selected" option of the <option> tag. In one instance I am doing this on an edit page because the use may open an existing record. If I don't account for it, then it will change the DB to contain the first value from the list! You can do a simple check like:
    //Set the current record's char
    char curRecord = (char)rowEdit.getAttribute("ROOM");
    // inside the iterate:
    if (curRecord == roomID) {
    <option value="<%=roomID%>" selected><%=roomID%></option>
    } else {
    <option value="<%=roomID%>" ><%=roomID%></option>
    Hope that helps!

  • How can i use autoSuggestBehavior for inputText witha separator

    I use JDEVADF_11.1.1.2.0
    how can i use a input Text Field with auto suggest by sepearted
    in a field with what, is separated
    Example Value :"Name1;Name2;Name3......"
    Sorry for my English

    I'm not exactly sure what do you mean here.
    The basics of working with autosuggest are here:
    http://www.connotea.org/user/jdeveloper/tag/auto%20suggest

  • How Can I use a Variable  in Data Controls query. Frank Kindly check...

    Hii,
    I am using JDeveloper 11g ADF BC.
    My Requirement is that I hv a login screen which is taken from [http://blogs.oracle.com/shay/simpleJSFDBlogin.zip].
    I hv attached BC in this application. I want to use the login usercode in the next pages after login screen. Next screen contains 3 list items which will be populating based on the user. So I created &lt;af:selectOneChoice&gt; using the BC( Just drag & dropped the column into the page from the data controls). But in the data control i want to use this usercode for passing the condition. Now Data is coming without any condition.
    So How can I use the usercode in the Data controls query.
    When I tried to display the usercode in the next page it is showing by binding the value. its code is follows
    &lt;af:outputText value="#{backing_getUser.uid}"
    The program for checking the username & Password is follows.
    package login.backing;
    import oracle.adf.view.rich.component.rich.RichDocument;
    import oracle.adf.view.rich.component.rich.RichForm;
    import oracle.adf.view.rich.component.rich.input.RichInputText;
    import oracle.adf.view.rich.component.rich.layout.RichPanelFormLayout;
    import oracle.adf.view.rich.component.rich.nav.RichCommandButton;
    import java.sql.*;
    import java.util.List;
    import java.util.Map;
    import oracle.adf.view.rich.component.rich.output.RichMessage;
    import oracle.jdbc.OracleDriver;
    public class GetUser {
    private RichInputText uid;
    private RichInputText pid;
    private RichCommandButton commandButton1;
    private RichInputText inputText1;
    private RichInputText inputText2;
    public void setUid(RichInputText inputText1) {
    this.uid = inputText1;
    public void setPid(RichInputText inputText2) {
    this.pid = inputText2;
    public RichInputText getUid() {
    return uid;
    public RichInputText getPid() {
    return pid;
    public void setCommandButton1(RichCommandButton commandButton1) {
    this.commandButton1 = commandButton1;
    public RichCommandButton getCommandButton1() {
    return commandButton1;
    public String login_action() {
    // Add event code here...
    String user = this.getUid().getValue().toString();
    // String pass = inputText2.getValue().toString();
    String pid = this.getPid().getValue().toString();
    Connection conn;
    conn = getConnection();
    Statement stmt = conn.createStatement();
    ResultSet rset = stmt.executeQuery ("SELECT usercode FROM guser where usercode = '"+user.toUpperCase()+"' and pwd=F_TEST('"+pid.toUpperCase()+"')");
    if (rset.next()) {
    conn.close();
    return "good";
    conn.close();
    } catch (SQLException e) {
    System.out.println(e);
    return "bad";
    public static Connection getConnection() throws SQLException {
    String username = "ACCTS";
    String password = "ACCTS";
    String thinConn = "jdbc:oracle:thin:@SERVER1:1521:G5PS";
    DriverManager.registerDriver(new OracleDriver());
    Connection conn =
    DriverManager.getConnection(thinConn, username, password);
    conn.setAutoCommit(false);
    return conn;
    public void setInputText1(RichInputText inputText1) {
    this.inputText1 = inputText1;
    public RichInputText getInputText1() {
    return inputText1;
    public void setInputText2(RichInputText inputText2) {
    this.inputText2 = inputText2;
    public RichInputText getInputText2() {
    return inputText2;
    -----

    Hi,
    I didn't look at the example, but if you want to secure your application then you should use container managed security. Read this .
    Anyway, you could add this before return "good"; in your login_action()
    FacesContext.getCurrentInstance().getExternalContext().getSessionMap().put("username", user);Then, you can access this from anywhere in the application by using #{sessionScope.username}.
    Pedja

Maybe you are looking for

  • Help on Scope of Subject and WLSPrincipal

    Hi, I am trying to understand the scope of WLSPrincipal. Does it span across various authenticators. For example, I have the following authenticators set DefaultAuthenticator (req) IplanetAuthenticator (sufficient) goes to DS1 and has user John. Ipla

  • Spot Healing Brush NOT working...

    Has anybody run into this? The spot healing brush is NOT working. I am starting over on a picture I already edited, using this tool a lot (to remove weird reflections, facial flaws, etc. I "reset all tools" to see if that would help and it isn't. I t

  • Problem with HealthKit And finding hosts

    hi guys. I have 5c (not jail broken) . The problem is that healthkit doesn't work for me. It doesn't show any data in running and walking which I have added to dashboard isn't this app going calculate how much I have run??? my other question is that

  • Transfer Posting -  MB1B 412 E

    Hi, While doing the transfer Posting for 412 E , I am unable to make the the Sales Order field as Optional. Kindly please guide me. regards, R.Ramakrishnaraj

  • ABAP Sneak-preview 2004

    Hi, I am trying to install sneak-preview 2004. I got the below error. Can anyone tell me how to solve this? Failed in step 17 of 24. ERROR 2007-01-16 18:42:21 CJS-30023  Process call 'C:usrsapNSPSYSexenucNTI386R3load.exe -dbcodepage 1100 -i test_MIGK