Code Insight and JSP and JDEVELOPER

Hi everybody
Does anybody can help me how I can enable code insight feature of jdeveloper?
Remember that import statement is in jsp tags.
Thanks a lot
Shahram

The Code Insight feature currently only works with .java files.
null

Similar Messages

  • Code Insight and Fedora Core 2

    Hi,
    Code insight doesn't seem to work on my FC2 system. Does anyone know how to fix it ?
    Leighton

    One or more of the following steps makes it work: ( Our system is Fedora Core 2 / KDE 3.3.0 / Java 1.4.2_04 / kernel 2.6.5 / AMD Duron 1800+ / 512MB RAM + 1GB cache )
    1. upgrade to kernel 2.6.9-rc3 ( not likely to be relevant )
    2. upgrade to Java 1.4.2_05 and configure JDeveloper for this library
    3. make it a system library
    4. turn of IPv6 lookups in KDE ( set env var KDE_NO_IPV6=true )
    Leighton

  • Code Insight and mixed case PL/SQL identifiers

    Let’s assume I hava a package “Test” with a procedure “DoSomeReallyHardWork”.
    I would like code insight to complete a call of this procedure and preserve the original case.
    I don’t like “test.dosomereallyhardwork” and I strongly dislike “TEST.DOSOMEREALLYHARDWORK".
    Is there any way to achive this kind case preservation?
    I recompiled my code with PL/Scope turned on, but it seems that all identifiers are stored in uppercase. Bug or feature?

    The identifiers are case insensitve, so your code could as easily read
    create or replace procedure TestProc is
    ThisVarHasNoMeaning varchar2(100);
    begin
    ThisVarHasNoMeaning := 'Test';
    THISVARHASNOMEANING := 'Other';
    end TestProc
    You only have one identifier, but can have multiple capitalizations. While it would be nice if the declaration was the 'definitive' one, it looks like they've gone the easy route and uppercased them all for consistency.
    If you used _ (the This_Var) in your variable names, at least you could use initcap to pretty them up.

  • Code insight and possible side effects

    Hi,
    I'm using SQL Developer 1.2 on MacOSX 10.4.9 (MacBook Pro) and noticed the following problems:
    In SQL Worksheet, start typing a query and use the shortcut for code insight ie: "SELECT * FROM SCHEMA.EMPL":
    Nothing happens, no completion popup is displayed (first problem)
    Hit backspace to correct the table name : the backspace is disabled (second problem) as other keys (already mentionned in the forum).
    Load presets from preferences: keys are now working again (... except code insight)
    Regards
    FJ

    Hi,
    I downloaded the latest release of SQLDevlopper (multiplatform this time) and here is the error log linked to my actions.
    - Create a new connection, test it with success and save. - OK
    - Connect to the new connection:
    java.sql.SQLException: Fonction non prise en charge
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:269)
    at oracle.jdbc.dbaccess.DBError.throwUnsupportedFeatureSqlException(DBError.java:690)
    at oracle.jdbc.OracleDatabaseMetaData.getDatabaseMajorVersion(OracleDatabaseMetaData.java:4028)
    at oracle.dbtools.raptor.InitializeConnectionListener.initConnection(InitializeConnectionListener.java:99)
    at oracle.dbtools.raptor.InitializeConnectionListener$1.run(InitializeConnectionListener.java:73)
    - Type query select * from myschema. :
    Exception in thread "AWT-EventQueue-0" java.lang.NoSuchMethodError: oracle.jdbc.OraclePreparedStatement.setStringAtName(Ljava/lang/String;Ljava/lang/String;)V
    at oracle.dbtools.db.DBUtil.bind(DBUtil.java:748)
    at oracle.dbtools.db.DBUtil.bind(DBUtil.java:1094)
    at oracle.dbtools.db.DBUtil.executeOracleQuery(DBUtil.java:470)
    at oracle.dbtools.db.DBUtil.executeQuery(DBUtil.java:497)
    at oracle.dbtools.db.DBUtil.executeReturnArrayList(DBUtil.java:658)
    at oracle.dbtools.db.DBUtil.resolveName(DBUtil.java:1142)
    at oracle.dbtools.db.DBUtil.resolveName(DBUtil.java:1108)
    at oracle.dbtools.raptor.insight.CompletionInsight.getInsightData(CompletionInsight.java:236)
    at oracle.javatools.editor.insight.AbstractInsight.showInsight(AbstractInsight.java:777)
    at oracle.javatools.editor.insight.AbstractInsight.showInsight(AbstractInsight.java:707)
    at oracle.javatools.editor.insight.AbstractInsight.actionPerformed(AbstractInsight.java:502)
    at javax.swing.Timer.fireActionPerformed(Timer.java:271)
    at javax.swing.Timer$DoPostEvent.run(Timer.java:201)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    Now the backspace key is not working till the reloadBuffers() function is called
    Hope this helps
    Message was edited by:
    user580108

  • Code insight is not working correctly in Jdev 10.1.3 (preview) and java 1.5

    The code insight does not work for me. I followed the advice of Steve Muench given here:
    http://radio.weblogs.com/0118231/stories/2003/01/17/whyIsntMyCodeInsightWorking.html
    but that did not change the problem. The problem seems to be related to new java 1.5 features. As soon as I start using generics the code insight is lost...
    Any clues what is going on? I s this easy to fix?
    -- example: (NOTE that iI use double (( )) to indicate generics definitions. the forum software would not let me put in the correct syntax!)
    package mypackage;
    import java.util.Set;
    public class tester1
    private Set ((Integer)) intSet = null;
    public tester1()
    intSet. ---- NO CODE INSIGHT POPS UP! (if i change to "private Set intSet = null;" it works)
    public static void main(String[] args)
    new tester1();
    P.S.
    Also, i noticed that the auto-import ist not working for the "Set((Integer))" line!
    Message was edited by:
    user444936

    thanks for the info.
    Hmm - too bad. I may have to switch to eclipse or something then, since my project involves some 1.5 parts and the missing code insights and import features are a real pain for me.
    Cheers,
    Jochen

  • Jsp taglibs in include files not detected, throws errors, no code insight

    I have a jsp which is included in all the other jsp. it looks something like this
    taglibs.jsp
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
    <%@ taglib uri="http://www.springframework.org/tags" prefix="spring" %>
    <%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
    test.jsp
    <%@ include file="/jsp/menu/taglibs.jsp"%>
    <html>
         <head>
              <title>Tours</title>
         </head>
         <body>
    <form:form commandName="testCommand">
                   <form:hidden path="tour.firstname" id="tour.firstname" />
    and so on.
    I am having 2 problems
    1. the jsp editor show errors all over the place saying
    element path not expected
    element commandName not expected etc.
    2. no code insights.
    but if i include the taglib def in test.jsp it dosn't show any error and also provides code insights. but seldom do people include all taglibs in all jsps.
    is there a way for Jdeveloper to show code insights in jsp pages which includes a jsp or like xml schemas could be added at some place(tools-pref-xml schemas) and when used anywhere, would provide code insights.

    am not sure, try with this
    <jsp:include   .../>

  • Code Insight.... Cloumn Names?

    Hi Guys,
    I was recently using SQL Worksheets and toyed with the code insight, and noticed that if I type in the schema name, code insight kicks in an provide a list of table names in that schema.
    But when I reach the where section of my SQL and the code insight does not provide a list of column names for the table alias. That sucks! :o)
    Am I missing something?
    Example:
    select *
    from xx.(1) xse
    where xse.(2)
    (1) code insight provides list of table names.
    (2) code insight does NOT provide a list of column name for table xse.

    Might be worth posting this one over on the SQL Developer forum - I believe we get this functionality from SQL Developer in future releases of JDeveloper.
    Thanks,
    Brian

  • Facelets and code insight for XHTML

    Hi,
    what about support for facelets and code insight for xhtml?
    Thanks,
    Uros.

    Hi,
    actually the templating mechanism is deployable in shared libraries, which means you should be able to reuse this outside of JDeveloper with the right libraries in place. The issue we found with Facelets is with the required binding references that we need for ADF to work in templates (though this is an Oracle specific problem for as long as JSR 227 isn't turned into a J2EE standard) .
    Also, templates in JDeveloper 11 are referenced at runtime, which means they can be changed on the fly even after deployment and all pages will reflect them. Plus, you don't need to configure a new extension and filter to your JSF files/configuration making it more straight forward.
    And yes, it can be deployed to other J2EE containers than Oracle- Not sure what the open source plans are, but I'll point someone from our Trinidad supporters to this thread to shed some light on what the Trinidad community has in the plans.
    Your point for a common templating support is well taken (though I wished there would be something better than Facelets ;-) )
    Frank

  • SQLdeveloper on mac and code insight

    Hi!
    Just downloaded SQL developer 2.1.0.63 and running it on snow leopard. (BTW, for others out there, make sure that you unzip the file with the standard apple utility).
    I cannot get code insight to work for an Oracle or a Teradata DB.
    For Oracle, i type in SELECT * FROM <DB_NAME>. ctr+space and nothing happens. this is in sql worksheet and in newly created files.
    BUT if i just type in SELECT, in a second it gives me select * from table autocompletion.
    as for teradata, i only get autocompletion after select in newly created files, but in sql worksheet - nothing works at all.
    any luck on this?

    when in type in select * from DBNAME.
    this is what i see in the console:
    *...?aux tok2?, parse time = 16
    Finished parsing = 0
    InsightableOracleDatabase.fetch() time = 2216
    SELECT 'SCHEMA' type, username owner, username object_name, null column_name, null column_id, null data_type
    FROM all_users WHERE rownum <=50
    and username like ?
    union all
    SELECT object_type type, owner, object_name, null column_name, null column_id, null data_type
    FROM all_objects
    WHERE      object_type ='TABLE' and object_name not like 'BIN$%' and rownum <=50
    and object_name like ?
    union all
    SELECT object_type type, owner, object_name, null column_name, null column_id, null data_type
    FROM all_objects
    WHERE      object_type ='VIEW' and object_name not like 'BIN$%' and rownum <=50
    and object_name like ?
    union all
    select 'TABLE' type, user owner, synonym_name object_name, null column_name, null column_id, null data_type
    from all_synonyms
    where synonym_name like ?
    and rownum <=50
    and owner in (user,'PUBLIC')
    DBNAME%
    DBNAME%
    DBNAME%
    DBNAME%
    Code completion time = 2271
    when i do this:
    select * from DBNAME.TABLENAME T where t.
    i get this in console:
    *...?aux t2?, parse time = 23
    InsightableOracleDatabase.fetch() time = 705
    SELECT 'COLUMN' type, owner, table_name object_name, column_name, column_id, data_type
    FROM sys.all_tab_cols
    WHERE hidden_column = 'NO' and rownum <=50 and owner = ? and table_name = ?
    union all
    SELECT object_type type, user owner, object_name, null column_name, null column_id, null data_type
    FROM all_objects
    WHERE rownum <=50 and object_name not like 'BIN$%' and object_type IN ('PROCEDURE','FUNCTION','PACKAGE')
    and owner = ?
    union all
    SELECT 'FUNCTION' type, owner, object_name||'.'||procedure_name object_name, null column_name, null column_id, null data_type
    FROM all_procedures
    WHERE rownum <=50 and procedure_name is not null
    and owner in('SYS',?) and object_name = ?
    DBNAME
    TABLENAME
    B
    TERADATA
    B
    Code completion time = 1534
    In this case, the autocompletion works!
    but in the first case - it doesn't do anything (((
    This is when connected to a Oracle DB. (i just also have a teradata connection installed, but it is not connected. not sure why it appears in the console).
    Please help!
    Edited by: strannik19 on Jan 13, 2010 3:55 AM

  • Table aliases and Code Insight Completion

    Oops, never mind, I see there are lots of threads on this... so the big question is: Does anyone know when this will be supported?
    One thing I am noticing with the new SQL Developer is that if you use table aliases (as we do here) that Code Insight Completion doesn't work. For example, if I type the following SQL:
    SELECT *
    FROM My_Table mt
    WHERE mt.
    At the point where I put the dot (i.e. mt.) I would assume that code insight would drop down a box showing me the columns in the alias mt (i.e. My_Table). But nothing happens. Now if I put the full table name My_Table in there (i.e. WHERE My_Table.) then the drop down occurs. But not if you use a table alias - and putting the full table name in defeats the purpose of using aliases.
    I know that in other SQL developers (such as PL/SQL Developer) this works fine and we are used to it working this way with aliases. Is there another way to get SQL Developer to do it this way? Or is this going to have to be a NEW feature later on?
    Thanks.
    Tom
    Message was edited by:
    tbsimpson

    Try searching this has been answered.
    http://forums.oracle.com/forums/search.jspa?objID=f260&q=alias+insight
    -kris

  • JSP (no java code), taglibs and dynamic list boxes

    Hi,
    Can anyone recommend a few examples of JSPs using Tag Libraries to represent a dynamic dropdown box in a form? We are trying to learn how to incorporate tag libs into our pages so we have no code on the JSPs. We currently have a JSP that uses dynamic dropdowns, but the all the code is in the JSP. Most examples we find use either static data or just output data into a table with taglibs. But our pages use many dropdowns, inputs, etc... for updates and inserts. We are using JSPs, servlets, and tags which will get data from EJB's (stateless and entity). (We are also using WEblogic Server 7.0 if that makes any difference) If you know of some good examples or tutorials that show how to accomplish this, it would GREATLY help us out!!
    Thanks!

    Check out Struts, they have an HTML taglib that does exactly what your talking about. http://jakarta.apache.org/struts

  • JSP not showing code insight on press of CTRL+SPACE

    Hi , i am using jDeveloper 11.1.2.
    When i was using JDeveloper 11.1.1.3 , my jsp's where showing code insight correctly when i clicked on CTRL+SPACE after writing any methodname etc.
    But after upgrading to jdeveloper 11.1.2 my jsps are not showing code insight on ctrl+space , only java file shows properly code insight.
    Please help me.
    Note: but my jsp's compile successfully and run also, only code insight is not working.
    Zeeshan

    can some one please help me ?
    Zeeshan

  • Code insight is not available when eding jsp by using 10.1.3.36.73

    I use 10.1.3.36.73 jdeveloper on windows to develop web application,
    but code insight is easy not available when editing jsp 2.0.
    I must restart jdeveloper and it still isn't often available.
    ex. in jsp
    ArrayList al = new ArrayList();
    for (Iterator it=al.
    Code insight is not supported for jsp or this is bug?

    Do you still have any code error in your jdev editor? no matter the error is JSP or HTML (it is signed by little red box at the right of the window near scroll bar), code insight sometimes is not available.

  • Starting in OA Framework and JDeveloper

    Hi all....
    Begore post here I tried to extend a OA Framework page, I want to start with simple things, for example change label button, or add a text field to an existing OA page ....
    Main doubt is how I can download jsp and java page files, I've run Export utility to get XML definition page and I get it.
    I'm a little lost because I've read OA Framework Developer Guide and I believe is easier to deploy a extended application that get(download its source code from server) its source files to be extended.
    I've read about Export and Import utilities and I think that they only can be used to get page XML definition but not to get soruce code ( java & jsp) files...
    I've done to run toolbox example tutorial and i believe that I understand main concepts but my question remains:
    where, how (i guess by ftp) get source code files to be put them into JDEV_HOME directory.....
    Another question is this: I read in OA Framework Dev Guide that if I want to deploy a extended application I must zip up it and then upload it to server directory and uncompress it(maintainin JDEV_HOME structure directory).
    So If someone could help I'll bevery pleaced...
    I'm using Oracle Application 11.5.10 and jdeveloper 9.0.3(Oracle9i JDeveloper Oracle Applications Extension)
    Any comment or advice will be very helpful..........
    Cheerss Noah.

    Hi...
    mmmm, there aren't much responses...
    I'm not sure, but perhaps I didn't explain me correctly:
    My doubt is where I found jsp and java filesand thendownload them to be extended by jdeveloper.
    I don't know if exists a tool or script that do this work easier, because I'm thinking that I must dowload source code from different directories and then allocate this files in adecuate directories in JDEV directories...
    Any comment will be pleased...
    Cheers
    Noah

  • Site Studio XA and Jdeveloper

    Hi ,
    I have Jdeveloper Studio 11.1.1.3.0 installed on my machine. I have installed the RIDC and Site Studio extensions in Jdeveloper using Help -> Check For Updates -> Source -> Install From file. I used oracle.ucm.wcm.jdev-11.1.1.zip and oracle.ucm.ridc.jdev-11.1.1.zip for this. These extensions got installed without any error.
    Now when I am trying to create a new connection using Oracle Content Server Connection as connection type I am getting following error.
    java.lang.NoClassDefFoundError: oracle/stellent/ridc/convenience/adf/mbeans/IdcConnection
         at oracle.stellent.wcm.jdev.features.rescat.IdcConnectionWizard.runWizard(IdcConnectionWizard.java:88)
         at oracle.stellent.wcm.jdev.features.rescat.IdcConnectionWizard.invoke(IdcConnectionWizard.java:43)
         at oracle.ide.wizard.WizardManager.invokeWizard(WizardManager.java:372)
         at oracle.ide.wizard.WizardManager$1.run(WizardManager.java:420)
         at oracle.ide.util.IdeUtil$3.run(IdeUtil.java:1079)
         at oracle.javatools.util.SwingUtils.invokeAfterRepaint(SwingUtils.java:520)
         at oracle.ide.util.IdeUtil.invokeAfterRepaint(IdeUtil.java:1092)
         at oracle.ide.wizard.WizardManager$2.run(WizardManager.java:428)
         at oracle.ide.util.IdeUtil$3.run(IdeUtil.java:1079)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    Caused by: oracle.classloader.util.AnnotatedClassNotFoundException:
         Missing class: oracle.stellent.ridc.convenience.adf.mbeans.IdcConnection
         Dependent class: oracle.stellent.wcm.jdev.features.rescat.IdcConnectionWizard
         Loader: ide-global:11.1.1.0.0
         Code-Source: /C:/Oracle/Middleware/jdeveloper/jdev/extensions/oracle.ucm.wcm.jdev.jar
         Configuration: extension jar in C:\Oracle\Middleware\jdeveloper\jdev\extensions
    This load was initiated at ide-global:11.1.1.0.0 using the loadClass() method.
    The missing class is not available from any code-source or loader in the system.
         at oracle.classloader.PolicyClassLoader.handleClassNotFound(PolicyClassLoader.java:2190)
         at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1733)
         at oracle.classloader.PolicyClassLoader.access$000(PolicyClassLoader.java:143)
         at oracle.classloader.PolicyClassLoader$LoadClassAction.run(PolicyClassLoader.java:331)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1692)
         at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1674)
         ... 17 more
    Please help.
    Thanks
    Pravin

    Hi Pravin ,
    SS with JDev provides you to create the SS Connection which is to be added to your project . We do not need a Oracle Content Server connection for that . To be able to do it you will need to install the Webcenter Plugins which will be available from :
    Check For Updates -> Source -> <Online> - Select Webcenter Framework and Webcenter Portal .
    Once these are deployed , then you will be able to create oracle content server connection .
    Hope this helps .
    Thanks
    Srinath

Maybe you are looking for