Inserting custom JQUERY inside in-built AJAX code of ADF

Hello,
I am using a JQUERY plugin for fancy select boxes in ADF. Once we perform any AJAX calls in the page, the JQUERY plugin does not work. So we need to add our JQUERY methods inside the AJAX codes to make it work. Can someone tell us where can we locate the AJAX files used in ADF.
Any help on this would be highly appreciated.
Thanks!
Ank

Hello,
Thanks for the help but it did not help me. Let me explain you what I am trying to do:
I am using a JQUERY plugin for <select> boxes which we call as "selectOneChoice" components. The JQUERY plugin converts normal selectOneChoice to an image based stylized selectOneChoice one.
So I am using the JQUERY method as:
$(document).ready(function() {
$('select').selectbox();
Problems that I am facing:
This does not work on the first load of the page.
If I click any Search button or reset link or any other buttons, the plugin goes off from the selectOneChoice boxes.
The plugin also does not work for modal pop up which we call as af:popup.
Please help me with the resolution.
Thanks,
Ank

Similar Messages

  • Simple way to insert  custom Jquery Slideshows and Plugins in Muse

    Hi guys, I know the Adobe Muse team is working hard to make this revolutionary tool better by the day. They have done a lot of foundation work to get this tool up to this state. I say congrates guys keep the good work on.
    But before we get to the promised land. I know a lot of 'creative non-coders' still want to take up the challenge of doing some cool stuff spread around the internet nowadays such as jquery fullscreen image slideshow, fullscreen image jquery sliders, etc. But Muse is not there yet. I believe the next release will enable designers to take advantage of the height feature missing right now(I just believe so, no insider hint, please don't quote me.).
    Okay let me not bore you.
    Now I have noticed you can bring any slideshow into Muse if you have the bravery to do it. It's so simple. See this: www.dynamicarchitecturaldesign.com.
    The slideshow was a backstretch jquery plugin with some custom javascript to load the page before displaying the page.
    The trick is,  follow the instruction provided by the author of any of this script, especially the ones relating to the jquery-1.4min.js... jquery-1.7.min.js... upto the latest version that could possibly be available. Note: Adobe Muse also have almost the latest version of the jquery plugin. So after authoring your stuff in Adobe Muse, export as HTML then move and replace any of the code provided by the author of the code you intent to use with the one that Muse generates always:
    <script src="http://musecdn.businesscatalyst.com/scripts/1.1/jquery-1.7.min.js" type="text/javascript"></script>
    This is often placed toward thge bottom section before the closing </body> and </html> tags. Move it up to the head section using notepad or DW. Though this is not the intended workflow by the Muse team, but it gives you the edge to do stuff you want to do.

    Okay Maurya, am suggesting the Muse dev team can take a cue from the edge team. In the publishing setting of Edge their is an option for Framework via CDN! Introducing this feature into Muse will go along way to enhance the workflow of psuedo-developers using Muse  to cut down on web design time.  if I have some jquery codes for slideshows and so on that I have lifted from some places or purchased on the internet, I can conveniently place the codes as usual where they need to be and on export  indicate to Muse whether I want it to include its own code:
    "http://musecdn.businesscatalyst.com/scripts/1.1/jquery-1.7.min.jswhich has been further modified in the new beta 2 release as:
    <script type="text/javascript">
       if (document.location.protocol != 'https:') document.write('\x3Cscript src="http://musecdn.businesscatalyst.com/scripts/1.1/jquery-1.7.min.js" type="text/javascript">\x3C/script>');
    </script>
    in the export and during publish (a publish setting kinda of could be added to the preference area) or use my own framwork that I have included in the head section. So Muse will not include the above jquery musecdn...  in the publish version. That way you are giving us more control and winning more developers over to Muse and of course more money for Adobe . See screnshot in Adobe Edge:

  • How to insert custom text inside a text object?.

    Hi, I'm trying to do something like this:
    Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, <DYNAMIC TEXT> essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
    I need a text object (not sure if text, text field, or what type exactly is the correct one) and through a variable I need to modify the <DYNAMIC TEXT> part of the text, if I read correctly this is done using scripting.
    What I didn't find was a way to alter only the highlighted text, and not everything.
    This is to make a sort of contract, where some fields are subject to be modified, like names, dates, amounts, etc.
    Thanks in advance!.

    Duplicate the keyframes or use the SO multiple times with suitable staggering offsets. Or simply render it and reimport the resulting video/ image sequence.
    Mylenium

  • How to insert custom HTML before /body ?

    I love that I can insert custom HTML in the <head> of a page in Muse.
    However, I need to add custom HTML just before the end of <body>.
    Namely, I want to insert custom Jquery calls just before </body>. I can't do this in the <head>.
    However, other uses for other people might include inserting Analytics tracking code before </body>, as this is more optimum than in the <head>.
    I've tried using a Custom HTML widget, but even if I put it in the footer of my page, it still ends up appearing in the rendered HTML before Muse's Javascript. I need it to come after Muse's Javascript.
    Thanks in advance.

    Hi Harry,
    Please check this discussion, you might find it helpful in making the jQuery calls.
    How to (make best) use external js library from html object (need help from dev)
    http://forums.adobe.com/thread/1213057
    - Abhishek Maurya

  • Service Limits in Purchase Requisitions: Where to Insert Custom Code?

    The issue is related to finding a place in SAP logic where a BADI, or, an
    enhancement can be implemented when inside transaction ME52N for a
    Service Limits type Purchase Requisition where K is the Account
    Assignment and B is the Item Category for a Service Limit Purchase
    requisition. Especially. or initially, at the point of navigation when
    going from (within the Limit Tab) and selecting the Account Assignment
    Icon to the right.
    By finding a good place to insert custom code in between these two tabs
    during navigation I am referring to (1)the actuality of the transaction
    breaking into this location, and,(2)a place where the global fields can
    be read and changed ie. GL Account Number, Material Group, etc.
    I have read, and reviewed several SAP Notes: 496082, 627072 and 551863.
    Failed Attempts:
    1)I have tried finding BADIs via breakpoints inside of
    CL_EXITHANDLER~GET_INSTANCE. None that are found are used and are not ofany help.
    2)I have attempted to use various user exits within the following SMODs,to name a few:
    MEREQ001 |Customers' Own Data in Purchase Requisition
    SAPLF0PR |Requests: Account Determination and Checks
    SAPMF02H |Function exit: G/L account master data
    V45E0002 |Data transfer in procurement elements (PRreq., assembly)
    WDFE0001 |Customer-Specific Determination of Requirements Data
    COZF0001 |Change purchase req. for externally processed operation
    COZF0002 |Change purchase req. for externally procured component
    3)I have implemented various custom enhancements inside of SAP Main
    Program SAPLMEREQ inside include LMEREQF09, and a few other LMEREQFXX.
    4) We previously used BADI 'ME_PROCESS_REQ_CUST' to satisfy a similar
    requirement, but is of no help for this request.
    Thank-You,

    Custom tags are different than udfs.  Let's stick with udfs.  Your location choices are:
    1.  If only one template is going to use it, you can put it in that template.  Otherwise,
    2. You can put it in a .cfm file and cfinclude that file whenever you want to call the function, or
    3. You can put it into a .cfc.
    A little while back, someone ran some tests and posted the results on one of these forums.  The gist of it was that Option 2 would run faster than Option 3.

  • Can't insert custom HTML or change social widgets to update Phone layout

    MUSE 2014.2.1.10, CL 787362  on  Windows 8.1  i7 processor 24 GB RAM
    Anytime I try to insert custom HTML in the phone layout pages I get a window that says webpage could not be found  in a window that is too wide for the screen size and can't be re-sized!!!
    I am adding scripts, inline css and custom form code.  Need to republish changes and can't on mobile layout.  Its local code but I get The webpage cannot be found error!!! It also does this with the built in social widgets....  The code is there in the page on export but you can't preview and since I can't resize the box to 380px wide ( it jumps back open) it throws off my layout when export page.   This is not just custom HTML but upon changing or adding any of the built in social widgets such as Google maps, Facebook or  other social media.  Forms, buttons, menus and compositions no problems... they work just as they normally would.
    Preview mode just gives me the whole page as blank when I try to preview the page in Muse.  HELP  I need to update the address and the form to match the desktop site but the error is persistent! and undo does not revert it back to previous content  I just get the webpage cannot be found box even on undo!!!!

    The SECOND picture in my previous post  IS THE PREVIEW... NOTHING appears when I try to view the page in phone view!!!!
    HERE IS THE CODE!!!!!
    <style type="text/css">
    input[type="text"]
    color: #323232;
    border: 1px solid #E0E0E0;
    margin: 5px;
    fieldset {
    border:1px solid #E0E0E0;
    padding:10px;
    width: 350px;
    legend {
      padding:10 px 10 px;
      border: none;
      color:323232;
      margin:10px;
    textarea
      width: 328px;
      min-height: 14px;
      border-width: 1px;
      border-style: solid;
      border-color: #E0E0E0;
      padding: 6px;
      color: #323232;
      line-height: 14px;
      margin: 10px;
    button[type="submit"]
      text-indent:0;
      border:1px solid #E0E0E0;
      display:inline-block;
      background-color:white;
      color:#323232;
      font: Arial,  sans-serif;
      font-size:12px;
      font-weight:bold;
      font-style:normal;
      height:25px;
      line-height:25px;
      width:125px;
      text-align:center;
      margin-top:5px;
    button[type="submit"]:hover {
                  color:#679E11;
    button[type="submit"]:active {
      position:relative;
      top:1px;
    label.label-top {
    display: block;
    margin-top:5px;
    </style>
    <form  name="emailForm" id="emailForm" onsubmit="return validateform();" action="contact-us.asp" method="post">
    <fieldset>
      <legend>E-Mail</legend>
      <div>
      <label class="label-top" for="name">
       Enter your Name:
      </label>
      <input type="text" name="name" id="name" size="30" class="inputbox" value="" />
      </div>
      <div>
      <label class="label-top" for="mail">
       E-mail address:
      </label>
      <input type="text" id="mail" name="mail" size="30" value="" class="inputbox" maxlength="100" />
      </div>
      <div>
      <label class="label-top" for="subject">
       Message Subject:
      </label>
      <input type="text" name="subject" id="subject" size="30" class="inputbox" value="" />
      </div>
      <div>
      <label class="label-top" for="text">
       Enter your Message:
      </label>
      <textarea cols="50" rows="10" name="text" id="text" class="inputbox required"></textarea>
      </div>
      <div>
      <input type="checkbox" name="email_copy" id="email_copy" value="1"  />
      <label for="email_copy">
      E-mail a copy of this message to your own address. </label>
      </div>
      <div>
      <button class="button validate" type="submit">Send</button>
      </div>
    </fieldset>
    </form>
    <script type="text/javascript">
    function validateform()
    var emailRegEx = /^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/i;
        if (document.emailForm.name.value == '') {
            alert('Name is required');
      return false;
        else if (document.emailForm.mail.value==''){
            alert('Address cannot be blank');
      return false;
       else if (document.emailForm.mail.value.search(emailRegEx) == -1) {
              alert("Please enter a valid email address.");
         return false;
        else if (document.emailForm.text.value==''){
            alert('Message field cannot be blank');
      return false;
      else
          alert('Thank you for contacting Argus Talent.');
      return true;
    </script>

  • Is-it possible to insert a copyright inside a photo with adobe photoshop elements 10?

    Is-it possible to insert a copyright inside a photo with adobe photoshop elements 10 to protect my rihts?

    Thank for this precious information.
    Date: Sun, 15 Jan 2012 11:22:31 -0700
    From: [email protected]
    To: [email protected]
    Subject: is-it possible to insert a copyright inside a photo with adobe photoshop elements 10?
    Re: is-it possible to insert a copyright inside a photo with adobe photoshop elements 10? created by hatstead in Photoshop Elements - View the full discussion
    Yes, it is.
    The easiest way for me is access the custom shape tool,  and within that the Symbols library. You will find the copy right sign. Just drag it out. It will be on its own layer. Enter the rest of the info with the Type tool.
    The symbol can also be found in the character map on a Windows system.
    If you have multiple photos that you wish to mark, it is very efficient to make a copyright brush and apply  with a  click of the mouse.
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4141819#4141819
    To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4141819#4141819. In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Photoshop Elements by email or at Adobe Forums
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Inserting Custom object in JTable

    Hi All
    I am new to JAVA.
    I am trying to insert custom data to JTable.
    Example:
    I have a class called Student with some instance fields(like Name,age,sex ), and I want to add object of Student type to JTable.
    In table I want to display Student class fields. I have extended a class StudentModel from AbstractTableModel.My StudentModel
    contains a Vector to keep student data.
    But how do I add student object to StudentModel.and display in JTable
    please help
    thanks in advance

    Hello,
    apparently your problem is not related to Swing but to learning the Java language.
    If your aim is to learn Java, you should tackle this compile error. For that I suggest you turn to a colleague or a fellow student... or continue here, but you need to give more code than just the bit that doesn't compile.
    If your aim is to make the darn program display students in a JTable, you can have a look at BeanTableModel (http://tips4java.wordpress.com/2008/11/27/bean-table-model/).
    Best regards,
    J.

  • Inserting custom HTML tags into a HTMLDocument to be displayed in a JEditor

    Does anyone know how to insert custom tags into a HTMLDocument to be displayed in a JEditorPane?
    I have tried using the following code,
    kit.insertHTML( doc,
                    jep.getCaretPosition(),
                    "<testtag>FFFF</testtag>",
                    0,
                    0,
                    new HTML.UnknownTag("testtag") );When the above code is run the handleStartTag, handleEndTag and handleText methods are called on the HTMLReader but nothing is inserted into the document model? Can anyone help?
    I have created an instance of HTML.UnknownTag,
      public static HTML.Tag testTag = new HTML.UnknownTag("testtag");I have subclassed HTMLEditorKit and overridden the getParser() method,
      protected Parser getParser(){
        DTD dtd = null;
        try {
          dtd = createDTD( DTD.getDTD("html32"), "html32" );
        } catch ( Exception e ) {
          e.printStackTrace();
        dtd.getElement( "testtag" );
        Parser p = new ParserAdaptor( new DocumentParser( dtd ) );
        return p;
      }I have subclassed HTMLDocument and HTMLDocument.HTMLReader and created a TagAction for my new tag.
    The following code works fine, the custom tag is in the document model,
        String contents =    "<html>"
                           + "<body>"
                           + "<testtag>Here is some text</testtag>"
                           + "</body>"
                           + "</html>";
        ((HTMLDocument)jep.getDocument()).setPreservesUnknownTags(true);
        jep.setText( contents );

    I've been trying to get <blockquote> insert working in an editor but it seems to be a quite difficult task even if it's only about inserting a couple of tags into the right slot! This is the closest I got:
    HTMLDocument doc = (HTMLDocument)editor.getDocument();
    int start = editor.getCaretPosition()
    int paraStart = doc.getParagraphElement(start).getStartOffset();
    int paraEnd = doc.getParagraphElement(start).getEndOffset();
    String insideBlockQuotes = doc.getText(paraStart, paraEnd - paraStart);
    doc.setOuterHTML(doc.getParagraphElement(start),"<blockquote><p>"+insideBlockQuotes+"</p></blockquote>");
    This is how it works: Get the current paragraphs start and end positions, read the text between the start and end into a string, replace the paragrapElement with <blockquote><p>..the text from string..</p></blockquote>.
    This works 'in about' but it's far from perfect.. it has the following problems:
    1. It looses all formatting from the quoted paragraph (bold etc. tags from the quoted part)
    2. It assumes that the paragraphElement was a <p> (could have been another element too!)
    3. It's ugly
    Anybody come up with a better way to use blockquote?

  • ADF Faces: How to insert an HREF inside a table element

    Hi,
    I have a web service data control, and this web service returns the email of a department.
    I have to display this email inside a table, but, since this email is used to integrate the application with Microsoft OCS, the email must be inside an HREF tag, for example:
    <a href='sip:"+employeeBean.getEmail()+"'><img src='images/OCS.png'/></a>How can I insert this HREF inside the table, so the table displays the image and the href works ?

    Yes it works.
    Here is my code, so it will be usefull for others:
    <af:column headerText="OCS" id="c3333">
                              <af:goImageLink text="Contatta dipendente" id="gil1"
                                              icon="images/OCS.png"
                                              destination="#{row.ocsContact}"/>
                            </af:column>Many many thanks.
    Edited by: GheParDo on Jan 12, 2011 7:05 PM

  • Can i assign one customer to more than one company code how?

    can i assign one customer to more than one company code how?

    Hi
    First Create the Customer Centrally in XD01 and then extend the same Customer in FD01 for the required company codes.
    Regards
    Venkat

  • Help needed in adding custom About box in built applicatio​n in LabVIEW 2009

    Hello,
    Can anyone please help me add custom About box in built application in LabVIEW 2009? I had successfully built my application in labview 8.6, 8.5 and 8.2 before to include custom About box. However, when I tried the same method in LabVIEW 2009, it only showed LabVIEW 2009 About box rather than my custom About box.
    Here is what I did:
    1) Wrote an "About Application.vi" in the built VI folder;
    2) Included this "About Application.vi" in the "Always Included" section of Source Files in Application Build;
    3) Built the application;
    4) Ran the built application, the About box showed only LabVIEW 2009 about (attached a picture).
    You can see that on the upper left corner of the picture, there is my custom icon.
    Your help is greatly appreciated,
    Cathy
    Solved!
    Go to Solution.
    Attachments:
    About Box.JPG ‏34 KB

    Here is the link to download LabVIEW 2009 f2 patch:
    http://digital.ni.com/public.nsf/websearch/C3F88F3​596A164AD86257647006FB022?OpenDocument
    Thanks for the help,

  • Is it possible to add a custom menu item to built-in apps like addressbook, safari etc in iPhone

    Is it possible to add a custom menu item to built-in apps like addressbook, safari etc in iPhone

    Apple expects the OS to remain constant for all users - helps to maintain a quality experience. Devs are not allowed to make changes to built-in apps.

  • Transfer Customer Master records from one company code to another company.

    hi ,
        working on a rollout project ,
    needed to transfer Customer Master records from one company code to another company code.
    is there any sap standard BDC/T-code as in case of Vendor Master FK15,Fk16(T-CODE) .
    thanks in advance.
    rahul
    Edited by: RAHUL SINGH on Jul 22, 2009 9:05 AM

    Hi,
    I think you should ask this question in functional consultant forum.
    Thanks,

  • Insert chinese characters in oracle81 database(with code here)

    Hi all,
    I have problem on insert chinese characters in oracle8i database(with code below). But no problem when display chinese characters in HTML( not include in the follow program)
    Can anyone help me?????
    In unix:
    Database setting:
    charset: ZHT16BIG5
    version:8.1.7
    In NT 4.0 with SP5:
    web/app server setting
    webserver: iWs4.0.1
    appserver: iAs6.0
    Java 1.2.2 with download classes12.zip/nls_charset12.zip
    JDBC thin driver
    code:
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.io.*;
    import java.sql.*;
    import javax.sql.*;
    import java.util.*;
    import java.lang.*;
    import java.lang.reflect.*;
    import javax.naming.InitialContext;
    import javax.naming.NamingException;
    import java.math.*;
    import oracle.sql.*;
    public class updatedata extends HttpServlet
    Connection dbCon = null;
    ResultSet rs = null;
    DataSource ds1 = null;
    String input_data = "";
    public void doGet(HttpServletRequest req, HttpServletResponse res)
         throws ServletException,IOException{
         input_data = req.getParameter("chinese_input");
    res.setContentType("text/html; charset=BIG5");
    PrintWriter out = res.getWriter();
    // draw a table
    ConnDB(out);
    DrawTable(out);
    public void JDBC(PrintWriter out) throws NamingException {
    InitialContext ctx = null;
    String dsName1 = null;
    Connection conn = null;
         dsName1 = "jdbc/project";
         try {
    ctx = new InitialContext();
    ds1 = (DataSource)ctx.lookup(dsName1);
         }catch (NamingException e) {
         out.println("exception in servlet in JDBC : " + e.toString());
    /** big5 to unicode conversion **/
    private String b2u(String str2convert)
         throws IOException {
         StringBuffer buffer = new StringBuffer();
         byte[] targetBytes = str2convert.getBytes();
         ByteArrayInputStream stream = new ByteArrayInputStream(targetBytes);
         InputStreamReader isr=new InputStreamReader(stream, "BIG5");
         Reader in = new BufferedReader(isr);
         int chInt;
         while ( (chInt = in.read()) > -1 ) {
              buffer.append((char)chInt);
         in.close();
         return buffer.toString();
    private void DrawTable(PrintWriter out){
    try{
         try{
         // update data
         String u="update test_chinese set chinese_script=? where prod_cd=?";
         String sProd = "T1";
         PreparedStatement ps = dbCon.prepareStatement(u);
         ps.setString(1, input_data);
         ps.setString(2, sProd);
         ps.executeUpdate();
         dbCon.commit();
         catch(SQLException e){
              out.println("exception in insert: " + e.toString());
    out.println("<html>");
    out.println("<body>");
    out.println("update success!!!!");
         out.println("</body>");
    out.println("</html>");
         catch(Exception e){
         out.println("exception in servlet in statement: " + e.toString());
    private Connection ConnDB(PrintWriter out){
         try{
         try{
              JDBC(out);
         catch (Exception e) {
              out.println("Database connect failed (init)");
              out.println(e.toString());
              return null;
         dbCon = ds1.getConnection();
         catch(Exception e){
         out.println("exception in servlet in connection: " + e.toString());
    return dbCon;
    public void destroy() {
    //Close database connection
    try {
    dbCon.close();
    catch (Exception e) {
    System.out.println("Error closing database (destroy)");
    System.out.println(e.toString());

    Hi, Jenny,
    When you said unable to insert to database, do you mean you get all ? marks in the database or garbage characters in the database?
    ? marks mean there are some byte chop off, and garbage characters mean the bytes are ok, just encoding problem.
    --Lichu                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Maybe you are looking for

  • Sap Script To OTF

    Hi Experts, I am trying to convert a script to pdf data. In the open_form I set getotf = 'X' and in the close form , i get the OTf data. I convert this otf to pdf data. In the pdf output, I only have the static fields and no data.Though the number of

  • Populating dates in a PDF form

    I am fairly new to Acrobat, so there may be a way to do this. I have an Excel form that I need to convert to a fillable PDF form. The problem I'm having is that I need a date to populate some fields when it is entered in a different field. I have a p

  • I have all my clips with an extra edge around the top and bottom I want to remove

    As you can see from the image below, I have all my source videos recorded at 1024x820.  I want to, using Premiere clip this to 1024x768 removing some from both the top and bottom.  I'll have hundreds of clips of this shape (1024x820) I will import in

  • SSIS Jobs in SQL 2012

    In SQL 2012 is it possible to execute SSIS packages from agent by invoking dtexec? In SQL 2008 I was running bunch of jobs that invoked dtexec.exe and called packages. I am not having much luck with it. In SQL 2008 I was executing packages stored in

  • Can I access to my podcast via Wifi ?

    I'm thinking of buying in Ipod Touch, but I have 2 questions : - Can we access to the music stored in my PC via the the Wifi connection of the Ipod touch ? This is particularly interessant for the poscasts - Is it possible to change the informations