Compatibility ADF Faces and jQuery

ADF Faces and jQuery is incompatible? In some of my pages I used jQuery to improve my drawing. Since ADF Faces has no component such as p or h1 or if I use these tags and ADF behaves unexpectedly. So by jQuery, I can wrap some components like div generated by af:panelGroupLayout. If I specify a styleClass to this pgl I can easily the warp by p as $('.cls').wrap ("< p..."). Are their any risk of error or of bad behavior to do? In one thread, I see as jQuery is not integrated into the life cycle of ADF so it can be difficult to tell whether or not it behaves by mistake. Y at - it no risk to deal with a problem of PPR?

Hello

In ADF Faces active JSF 2.0 use of things like JQuery would be more affordable, I would suggest that you test this last integration using Facelets and Jdeveloper 11.1.2.0. However you perception is right, using a lot of JQuery on your page in ADF faces, could potentially break some of the life cycle. There are, however, examples:
http://codingwithpassion.blogspot.com/2011/01/using-jQuery-in-Oracle-ADF-faces.html
http://George.maggessy.com/2010/08/ADF-and-jQuery-working-together.html

What kind of JQuery components are you trying to use?

-Juan Camilo

Tags: Java

Similar Questions

  • Combination of ADF Faces and JSTL is advisable or trap?

    Dear all,

    Our applications(ADF/Webcenter) of fusion using JSTL and ADF Faces inside is advisable or pitfall. ADF Faces features are enough or do we need to rely on the JSTL functions? I prefer to use ADF Faces/JSF functions without the combination with others.

    for example 1


    < jsp:root xmlns:jsp = "http://java.sun.com/JSP/Page" version = "2.1".
    xmlns:f = "http://java.sun.com/jsf/core".
    xmlns:h = "http://java.sun.com/jsf/html".
    xmlns:af = "http://xmlns.oracle.com/adf/faces/rich".
    xmlns:fn = "http://java.sun.com/jsp/jstl/functions" >

    for example 2

    < jsp:root xmlns:jsp = "http://java.sun.com/JSP/Page" version = "2.1".
    xmlns:af = "http://xmlns.oracle.com/adf/faces/rich".
    xmlns:f = "http://java.sun.com/jsf/core".
    xmlns:h = "http://java.sun.com/jsf/html".
    xmlns = "http://java.sun.com/jsp/jstl/core" >


    Best regards
    KT

    Hello

    Our applications(ADF/Webcenter) of fusion using JSTL and ADF Faces inside is advisable or pitfal?

    To suggest a rule: feature edge try ADF Faces before reaching out to the JSTL. The difference between JSTL and JSF in general, is that the JSTL expressions are evaluated in compiling page while JSF expressions are evaluated deferred. This difference can have an impact on the PPR updates and data rendering (which, in many cases I guess you can fix by defining the ADF Faces, content delivery component immediate instead of deferred). On a light background, I scored with a JSTL alert 'heads up' for this reason

    Frank

  • Pls Help - ADF face and video Streaming Server

    Dear all,

    I want to display video files (only the marker .wmv) inside my ADF faces. The video files are running on Window Server supports.
    Is it features ADF file support showing the video inside the ADF Faces page. Our application doesn't use a database, we used the AAU to store all the content.
    Help me how to do to tackle this problem but also to see me useful articles.



    Best regards
    KT

    JDeveloper version: 11.1.1.5.0
    WebLogic 10.3

    Published by: KT on 10 Sep 2012 11:44

    Thank you Arun,

    This one works


    standbyText = "hello" id = "m2".
    Autostart = "true" playCount = '0 '.
    HauteurInterne = "300" LargeurInterne = "400" >

    * need to installed windows media plugin in the browser *.
    Useful articles
    http://www.baigzeeshan.com/2010/11/how-to-display-videos-in-ADF-fusion.html
    http://jobinesh.blogspot.SG/2011/07/tips-on-using-afmedia-to-display.html

  • the ADF faces and IE

    Hello, I have a problem with the ADF and EI. I use jdev 11.1.1.5.

    The problem of the compatibility mode. In firefox and crome works well.



    "The current compatibility setting is not supported. Turn off compatibility view before you run this web page

    In Internet Explorer, press F12 and adjust the browser Mode and Document to the same value (IE8 & IE8 Standards, for example)

  • Mix ADF Faces with HTML, JavaScript, CSS, JSTL question

    Dear all,

    The project is now starting to deploy to the production server. When we try to deploy to the production server who made a lot of mistake. As this used widely used project mix ADF faces with
    HTML/JavaScript/CSS/JSTL. I would like to know what are the most error when we have mixed to use each one and how can we overcome them there?
    There is in the project

    1 mix of tags html with ADF Faces components
    2. the use of JavaScript/CSS inline
    3. mix the JSF/ADF Faces and JSTL tags

    Help me how to address this issues as well as links to useful blog.

    JDeveloper IDE version: 11.1.1.5.0 with Webcenter
    WebLogic version: 10.3



    Best regards
    KT

    Published by: KT on May 16, 2013 21:23

    Hello

    In addition to this project widely used mixture ADF faces with HTML, JavaScript, CSS, JSTL.

    JavaScript, CSS, and JSTL is not a problem, whereas - according to the JSF version - HTML is. JSF 2 is the first version of the JSF, which allows you to mix HTML with less side effects, if you use Facelets as view declaration language.

    I would like to know what are the most error when we have mixed to use each one and how can we overcome them there?

    There is in the project

    + 1. mixture of html with ADF Faces components tags +.

    This could ruin your pages, lead to update issues and - in case of frequent use in the trees - even destroy the functionality

    + 2. online use of JavaScript / CSS +.

    Poor performance because of heavy weight pages. If you were using ADF Faces and your JS addresses the DOM instead of the architecture of client cJavaScript ADF Faces then chances are JS will fail for the components that have changed their HTML output (which has an impact on the DOM structure) or changes are not submitted to the server.

    For CSS, CSS inlineStyle not applay to the DOM element that is external, which means for example af:input the background text color will color the lavel

    + 3. mix JSTL and JSF/ADF Faces tags +.

    Dependa on how you do. JSF has postponed EL syntax, which means that EL resolves at run time, whereas JSTL resolves at compile time. So the race conditions could become a problem

    Overall, it is difficult to say if things were coded wrong in the project (although for the use of HTML you can be sure) without seeing the code. It seems that the team that built the application however did not dare to the suite of recommended practices

    Frank

  • ADF Faces: refreshment at one point

    Hello

    (using JDeveloper 11.1.1.3.0 and ADF Faces and perhaps elsewhere in the ADF)

    -(q1) how can I refresh (part of) a page at a specific moment in time on the server (without user interaction)?

    It seems to be possible using the vote (with the af:poll component), but since it is based on the interval it seems less appropriate refresh at a specific point in time on the server.

    Also, using a component of af: activeOutputText that something seems possible to display the current time on the server (automatically changing) without user intervention.

    See the sample application
    at http://www.consideringred.com/files/oracle/2010/PointInTimeRefreshApp-v0.01.zip
    and the screencast
    at http://screencast.com/t/ZTE0MGY3Mzkt

    I was wondering if a response to (q1) might be somewhere in a kind of combination between the component af:activeOutputText and the af:poll component.
    But any suggestions for answer (q1) are welcome.

    Thank you very much
    Jan Vervecken

    I think that you have the code that calculates how much time left between now and the time you want to do a refresh.
    Then set this interval as interval for the component af:poll - in the event of expiry of survey, you can disable or set another interval.

  • ADF Faces 11R2 - taskflow region discount table in the parent page

    Hello world

    I use 11R2 ADF Faces and ADF Jésus BC.

    I work with a project that consist of a page with a table and a region that is a workflow. The region contains only one button.

    The behavior is: ' whenever the user presses the button in the region, then the table on the page must be re-queryed and updated on the page.

    I use the parent action in the workflow to specify the result of the container page and page flow routera then to execute the method = "executeWithParams" and then return to the page to redisplay the it.

    It seems that the query is actually underway, but the page is not refreshed.

    Any ideas how to do this in a standard way?

    Kind regards
    Jan

    Hello

    You set the property to change policy in the file table to PPR binding PageDef?

    Frank

  • 11g ADF Faces on server SOA Oracle 10g deployment

    Respected by all,
    I have 10g Oracle SOA server, I want to set up a portal with ADF Faces and deployed on Oracle 10 g SOA Server.

    (1) ADF Faces Version can I use? (10g or 11g)

    (2) what should I take the JDeveloper 10 g or 11 g for my development license?

    Thank you and best regards,
    Vijay chraibi

    Vijay,

    (1) 10 g. 11g NO - it is well documented that 11g does not work on the server 10g

    (2) I am not a representative of Oracle license, but if I understand JDeveloper licenses, simply to allow for the deployment of the FAD, not development. You can buy support for JDeveloper, however. Best thing is to get an official response from your Oracle Sales Rep, however.

    John

  • Request clarification on the ADF Faces + Trinity mix on the same page 11 g

    Hello

    I wonder if someone Oracle could indicate support of this. JDeveloper 11 g release notes contains a section titled, "ADF Faces and data visualizations," in which we find the following:

    The use of Apache MyFaces Trinidad components

    The mixture of Apache MyFaces Trinidad tr: tags with ADF Faces af: tags on the same page is not supported. You can mix the trh Trinidad: tags with ADF Faces AF: tags. However, there may be some problems of introduction to cross-browser with the help of the trh Trinidad: tags. As a best practice use the ADF Faces AF: layout tags as your first choice, unless the provision is not feasible using the trh Trinidad: tags.

    Does that mean that only DVT + Trinidad is not supported, or that someone else suggested that active af: tags are not taken in charge, or we cannot mix tr: and af: at all?

    Best,

    John

    John,

    the brief summary is that generally you are on the right side when you do not mix the components of the Trinity with ADF Faces RC components. It of IO to use components on separate pages, but not in a single page.

    The summary of average size is that not all components of Trinidad cause conflict with ADF Faces Rich client and that in fact the active components issue requests for PPR can cause serious problem. The integration of PPR is a major problem between the two batteries. If you use - for example trh:script to include JavaScript or CSS to your page ADF Faces, then it doesn't cause damage. Ditto for the layout to the Trinity labels that do not use PPR to disclose their children.

    Frank

    PS. : We had a bug filed against this and dev on both teams looked at how to solve the problem. It seems, however, that it would take major architectural changes

    Published by: Frank Nimphius on May 1st, 2009 12:58

  • ADF FACES - JAVA SCRIPT-LINKS

    Hi all

    I am facing the following problem using ADF Faces and with Java script

    What I need to do... i read a string in a 'list' in a JSP page that is in the sesion (I did), then I need to print as many links with the name of the list items.
    For example, if my list have the values {'value1', 'Value2', "Value3"} I have to print the following links

    VALUE1
    VALUE2
    VALUE3, which are the names to read from the list

    But I can not

    I did the following... within the JSP

    < % @ page import="mx.com.uaem.htb.sspoc.portal.Util"% >
    < % @ page import="java.util.List"% >
    < % @ page import="java.util.ArrayList"% >
    < %
    System.out.println ("Dentro JSP");
    List < String > myList = (list) Util.getSessionMapValue ("myListRef");
    for (int i = 0; i < myList.size (); i ++) {}
    System.out.println (myList.get (i));
    % >
    < % - Código HTML-% >
    < af:commandLink text = "< = i % value % >"
    action = "#{mostrarResultado1.mostrarReferencia}" / >

    < af:commandLink text = ' value #{i} ".
    action = "#{mostrarResultado1.mostrarReferencia}" / >
    < %} % > This IS THE END OF THE LOOP

    Here, I'm just trying to print the value of the 'I' variable (0,1,2)
    And I got 3 links (as expected), but I don't see the value of the variable i

    The problem here is that I don't see in the adf faces tag (for example the < ad: commandLink...) a variable that has been declared in the block of <>% Java, I mean... I don't see the i and the myList.

    Can someone help me?
    I tried many options... but I can't


    Thanks in advance

    Use the af:foreach tag - you shouldn't write Java scriptlets in your JSF.
    http://www.Oracle.com/technology/products/jdev/htdocs/partners/AddIns/Exchange/JSF/doc/tagdoc/core/foreach.html

  • ADF Faces 11g on IBM WebSphere Application Server 7

    Hello



    We deploy a product 11g ADF Faces on WebSphere AS 7 (a Java EE 5 certified container, available from September 9, 2008).



    I could not find any information on the question of whether this is possible. It seems not officially certified (but wait it should work).



    Release Notes State: "< em > ADF 11g applications require a Java EE 5 container.» To date, only Oracle WebLogic Server 10g (10.3) is certified, and we intend to support both JBoss and Tomcat. Note, 10.1.3 OC4J and/or OAS 10.1.3 is not fully compliant Java EE 5 and ADF 11 g applications will not work in this environment. < /em >.
    ADF 10 g support WAS 6 and other containers, so I really hope that it is a timing issue and not a victim of the acquisition of BEA.



    -Anyone

    (a) have experience with 11 g & WAS7?

    (b) knowledge if Oracle is planning document or certify has BEEN supported in the future? (and if so, when)



    Thanks thanks in advance!



    David.

    WebSphere 7 certification for the ADF is on our to-do list, but probably would be done for the next version of JDeveloper 11 g.
    If you use just ADF Faces and not the rest of the ADF frame - I don't expect too many problems - you might want to try and see how it works today - and let us know if you encounter any problems.

  • Dynamic display the names of the objects in view (adf faces bc 10g)...

    I have written an application in adf faces and business components, but would like to be able to add items to it simply by creating a view of data base, i.e. with standard names and a suffix, probably static number of columns (just a read only view). I can handle the front-end and logic, but can't see a way to parametise the names & columns in view of component of the business objects. I can do things like create a load of dummy views with 10 passes to say selection double 0 then their chuck in the model, which is a mess, but would work... I was wondering if there's a cleaner way I can achieve through the model or any other method, so any ideas that could point me in the right direction would be useful.

    Thanks in advance...

    Tim.

    Hello

    You may want to investigate the dynamics of ViewObjects or dynamicaly adding attributes such as 9 and 29 of http://radio.weblogs.com/0118231/stories/2004/09/23/notYetDocumentedAdfSampleApplications.html

    See also

    http://www.bloggingaboutjava.org/2006/04/binding-dynamic-view-object/

    Frank

  • Zoom image using Jquery in ADF Faces

    Hello

    the body of each

    How are I hope to a fine

    Please I want to

    step by step to work

    Zoom image using Jquery in ADF Faces

    Hi user,

    Please specify your jdeveloper version

    Please check if link below help you

    http://www.awasthiashish.com/2014/12/image-zoom-power-zoomer-effect-using.html

  • ADF Faces 11 G + EJB 3 and the bean Validation

    Hey guys,.

    I did research on validations and I would like to use validation (JSR 303) beans in my current project. Today, this project uses ADF Faces 11 G + EJB3 in Jdeveloper 11.1.1.5.0. I see the default value of the JPA application is EclipseLink (TopLink) and this seems like JPA 1.0, probably because the weblogic implements JEE 5.

    I think that there is no problem to use the validation of beans in my project, I have to install the library (apache bean validation or hibernate validator).

    Anyone know or experience something like this?

    Please see
    http://soadev.blogspot.com/2009/12/integrating-JSR-303-bean-validation.html

  • How toggle and show/hide in the ADF faces components

    Hello

    In my application, I need to toggle and show/hide in ADF faces components based on a user manipulates some components. I need to I am a newbie to ADF, all ideas are appreciated.

    Kind regards
    Surya

    For use to hide/show the Visible property and toggle use ReadOnly property.
    Set them to some EL Expression as #{ == ? : }
    Also set the PartialTrigger on this attribute pointing to the parent attribute

    Don't forget to fix biased/AutoSubmit submit = true to the parent component.

    Amit

Maybe you are looking for