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

Similar Messages

  • Code insight for xhtml pages

    hi,
    will there be code insight for xhtml pages and adf-faces (or facelets?) in JDeveloper 10.1.3.2+ ? Or is it at least planned for JDeveloper 11 ?
    thank you in advance
    David

    The preview release of Jdeveloper 11g will not provide direct support for facelets or xhtml. This is a technology we are keenly interested in and hope to make advances in the product to provide more support of it. If you wish to use facelets today it is possible, but to do so you must use files with the .html extension rather than .xhtml. Also, if there is specific support you are looking for please feel free to post those requirements so we better understand your needs.
    --Ric                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • No code insight for 1.5 SDK

    I added the 1.5 SDK in the libraries and now JDev recognizes 1.5 classes and methods however code insight does not appear to work for the 1.5 classes.

    Crap... belay that. It seems to be working after restarting Jdev.

  • 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

  • Single Dev Environment and Code Line for 6 and CC?

    Hi All,
    Up until now, we were developing for customers who only used InDesign CS5.5 and CS6 - using Extension Builder 2.1.
    The problem is that now a new customer only has CC 2014.1 (they just purchased it today). I found one hack how to create an Extension using 2.1 for CC 2014/2014.1. However, this hack doesn't support HostAdapters, which we require as we want to control the fly panel of the panel menu.
    Also, I think CC 2014.1 supports only HTML5 panels. Does that mean a total re-write of all our code? And since CS6 does not support HTML5 panels - do we now have to maintain 2 parallel code lines until the last of our customers migrates to CC???
    I'd appreciate any advice.
    Regards,
    mlavie

    Hi mlavie,
    You're no need to rewrite tens of thousands code.
    You are free to use any UI framework that suits your needs.
    As I understood, Adobe supporting only Photoshop HostAdapter in Extension builder 3 for now, so in any case, in my opinion, only HTML will not give a solution to your problem.
    Instead you can write your own "HostAdapter" using Adobe Illustrator CC 2014 SDK, and connect it with your (Flash/Flex)extension. (check samples with Notifiers, it will help)
    According to InDesign, It's strange, because everything works smoothly for me. Can you write more detailed about that?
    ps, sorry for bad English.
    Best Regards,
    Gegham

  • Underline and Code Insight Problem in JDev 10.1.2.0.0 (1811)

    I have just included the libraries to be able to use the MyFaces compnents in jdeveloper and everithing seemed to be working fine, until I imported a package in my case import org.apache.myfaces.custom.date.HtmlInputDate;
    The Jdev editor is underlining the line in blue telling me it cannot find the package if I declare a variable of the same type private HtmlInputDate dateFrom; I still get it underlined. funnily enough if I decide to compile it everything works fine. I'm having the same problem when using Log4J. After this happens codeinsight is not available for the underlined items.
    It seems as if the compiler can find the packages but the editor no. Am I missing something? anybody had the same problem?

    To tell you the truth I'm using a combination of 10.1.2 and 10.1.3 since the beta is still lacking the capability to handle BC4J. I'm waiting eagerly for the final release.
    As regards that document I followed the instructions to setup the 10.1.3 and followed the same guidelines to apply the same settings on 10.1.2 which has a different screen to setup the libraries. maybe I just missed out some jar files in the library setup in 10.1.2

  • Link between code and code groups and inspection type

    Hi All,
    I want to know the link between code and Code Group for UD and inspection type?
    There is an option of choosing Usage selected set in SPRO "Seeting for inspection type".If i dont enter anything there,will it show all the code groups in the system while taking UD?
    Pls guide

    Hi Shreya,
    Yes, the link between code and Code Group for UD and inspection type is specific selection of UD related to specific inspection type.  Ex. there are separate UD codes individually for Goods receipt against PO, Gr against Production or for In-process inspection ets. so If you assign the selected sets at SPRO Inspection type, then while doing UD system will show UD codes related to only that inspection type.
    If you don't enter anything there at SPRO, you will see all the code groups in the system while taking UD and one can get confused in selecting the relevant code.
    so assigning of UD selected sets, plant wise (tick) at " Inspection types" is best practice.
    Best Regards,
    Shekhar

  • Autocomplete / code insight features appeared in Release 919.

    The first time I ran version 919, in the SQL Worksheet pain I typed in "DBMS_" and Code Insight popped up listing the database packages starting with "DBMS_". That was very cool! Only problem is Code Insight has disappeared. I made no Raptor configuration changes yet it no longer comes up when I type in "DBMS_".
    Mike

    Let correct myself. I found it. I had accidentally pressed the correct keystroke (ctrl-space) and did not realize it. It is working now.
    Sorry,
    Mike

  • Implementation of Oracle Coding Standards and Code Quality Checks

    I wanted to implement a list of coding standards and code quality checks for my oracle packages,functions,views,tableetc .
    for example
    All variables with number datatype should start with N_ and charcter type with C_ in all my tables & views definition.
    This can be identified during peer review & can be corrected, but i think this is a repeated process which i don want to burden the developers rather i wanted a tool which does all these kind of checks which can be automated.
    Is there any tool which does this operation or can someone give me a little idea how can i automate these stuffs bu creating a generic oracle procedure which can run through all the tables,views and generate a error report for those which are deviating from the standards.
    Thus we can reduce the manual effort spent on peer review, please suggest.
    thanks in advance

    maru wrote:
    I wanted to implement a list of coding standards and code quality checks for my oracle packages,functions,views,tableetc .
    for example
    All variables with number datatype should start with N_ and charcter type with C_ in all my tables & views definition.Hungarian notation is dead. It has no place in modern programming languages. Has no place in PL/SQL. Anit ain't just me saying that.
    +"Encoding the type of a function into the name (so-called Hungarian notation) is brain damaged—the compiler knows the types anyway and can check those, and it only confuses the programmer."+
    Linus Torvalds
    +"No I don't recommend 'Hungarian'. I regard 'Hungarian' (embedding an abbreviated version of a type in a variable name) a technique that can be useful in untyped languages, but is completely unsuitable for a language that supports generic programming and object-oriented programming—both of which emphasize selection of operations based on the type an arguments (known to the language or to the run-time support). In this case, 'building the type of an object into names' simply complicates and minimizes abstraction."+
    Bjarne Stroustrup
    2) Conditional Statements
    IF (x = 1) --> Wrong
    IF ((x = 1) AND (y = 2)) --> wrong
    IF x = 1 AND y = 2 --> RightIdiotic rules. The simple rule should be readability of code. Not how many brackets to use, and when not to use brackets. Minute standards like detracts from designing and writing proper code, fast and efficiently.
    There are many more rules (which is specific to ur application) which can be incorporated in the tool, there by giving consistency ,readability and easy to maintain for the developers.Bull. The more rules there are, the more difficult it becomes for programmers to write code. As it is no longer about writing readable and flexible and performing code - it is about double checking every single statement line against a huge list of rules about do's and dont's. It is not about getting the programmer focusing on solving the problem - it is about distracting the programmer with a complex and large rule list of how the code should look like.
    Sorry - but this rubs me the wrong way. In that environment, I would be the first to tell you to shove your "+many more rules+".
    I've developed systems in over a dozen languages over the years. I've seen all kinds of standards. The standards that work are those that are short, simple and sensible. Hungarian notation is not sensible. Writing reserved words in uppercase is not sensible. Dictating how brackets should be used is not sensible.
    What is sensible is using the de facto naming standards in use today - as per .Net Guidelines for Names (MSDN) and Code Conventions for the Java Programming Language.
    What is sensible is providing guidelines like bulk collection needs to be justified (not possible using SQL only) and use the limit clause to manage memory spend on the collection variable. Or how packages need to be used to modularise code, providing a public interface and private implementation.
    Standards are about creating a sensible and easy-to-use framework for writing code. It is not about creating a list of a 1001 rules that a developer needs to remember and adhere to, as if the developer is now part of some weird religious sect that has rules for every single aspect of human behaviour.

  • .alx and .cod installation files

    Hello Team,
    We are looking for .alx and .cod file for Facebook and Twitter apps. Though, these are available as a freeware, the usage will be for corporate use and hence due to security threat, we cannot download it from world wide web.
    Can you assist us, how can we purchase the installation files form authorized sources? Your assistance will be appreciated.
    Thank You.
    Regards,
    Ashish

    Guys,
    Does any one have an idea, how to procure these installation files?
    Thank You.
    Regards,
    Ashish

  • Class Libraries and Code used to Access Google Distance Matrix API

    Hey Everyone....! I want to use Google Distance Matrix API with my C# application, which gets two co-ordinates(Latitude/Longitude) and pass them to API. Also to receive the results from API and construct and output class to interpret JSON objects.
    Can anyone please tell me about class libraries and code used for above purpose.
    Longbow

    Hello,
    If you want to use the Google Distance Matrix API, i suggest that you could post code sample demo to this api forum:
    https://developers.google.com/maps/support/
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • 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

  • 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

Maybe you are looking for