ADF LOV appears

We discovered a problem with an an ADF/JHeadstart application deployment in a citrix access gateway. It seems that the root of "scriptEval10_1_3_4_0.js" javascript execution context is missing. The context-root before this call is visible and seems to work.

This javascript is part of a call to open a window LOV, discovered with JMater. The query to the database is not made.

Ideas for this problem?


Thanks in advance,


Erwin

Some additional info: jdeveloper 10.1.3.4 version

In Citrix Access Gateway the pre-build javascript couldn't be found and generated.

The Url of the CBC should be prefixed with the CAG allusions.

The CBC for the javascript must be /cvps/agagaeagwerwfa/SCAD/adf/jsLibs/ScriptEval10_1_3_4_0.js

So how to change the generated javascript code referred to in the file jpsx?

< id body = 'body' onunload = "_checkUnload (event)" onload = "_checkLoad (event)" > "

"< script src="/SCAD/adf/jsLibs/ScriptEval10_1_3_4_0.js ">

< html > < body > < b > Http/1.1 object not found < /b > < / body > < / html >

< /script >

Apart from Citrix Access Gateway, is the javascript code and works correctly

< id body = 'body' onunload = "_checkUnload (event)" onload = "_checkLoad (event)" > "

"< script src="/SCAD/adf/jsLibs/ScriptEval10_1_3_4_0.js ">

if(!_pprBackRestoreInlineScripts)

{

var iFrameElement = document.getElementById ("_pprIFrame");

if(iFrameElement!=null)

{

var code =.

_getCommentedScript (iFrameElement.contentWindow.document, "_pprScripts");

if(code==null)

{

code = _getCommentedScript (text, "_pprScripts");

}

if(code!=null)

{

_eval (Window, code);

}

}

}

on the other

{

var saveScriptElement = _getElementById (text, "_pprSaveScript");

If (saveScriptElement! = null & & saveScriptElement.value! = "")

{

_eval (Window, saveScriptElement.value);

}

_pprBackRestoreInlineScripts = false;

}

< /script >

Perhaps the soucecode of adf faces - impl.jar could provide a better understanding of the process an overview...

Erwin,

This seems an ADFissue unrelated to the JHeadstart.

Can you create a sample ADF without Jheadstart application and a LOV based on templates and see if the problem reoccurs?

If so, contact the Oracle Support to save a SR/bug.

Thank you

Steven Davelaar,

JHeadstart team.

Tags: Java

Similar Questions

  • To right-align the amounts in ADF LOV

    Hello world

    I use JDev 11.1.1.7 and I wonder if there is way to align to the right amount in an ADF LOV (af:inputListOfValues). Are there? How?

    Thank you

    Guillaume

    You want to right align text in the entry or popup field?

    For the input field, you can probably set property mentioned in my previous answer.

    If you want to format the data in the popup, you should probably create a custom content, like this: ADF practice: building custom LOV with searchContent facet

    Dario

  • ADF LOV

    Hello

    I want to have a list of the components of value in my page, I check a lot of materials that it is all back with ADFBC, in my case, I would use just a simple Java Bean to provide an ArrayList of string in the value list, it will work with component LOV in ADF?

    So far, I got error of casting of string to javax.faces.model.SelectItem and oracle.adf.view.rich.model.ListOfValuesModel, by choosing different component ADF LOV.

    Is there a simple way to have just a Java Bean supported value list? Thank you very much

    -Liang Yi

    SelectOneChoice takes the list of SelectItem objects (and not list of strings)

    See this example: http://www.awasthiashish.com/2013/08/programmatically-populate-values-in.html

    AF:inputListOfValues supported by managed bean requires too much code.

    You can download ADF Faces components demo App Development Framework downloads to see how this can be implemented.

    Dario

  • How to remove the ADF LOV error no data input validation validates

    Hi all


    I am developing a custom Application of ADF, in my custom, ADF application as part of the home page, I have a set of ADF LOVs as well as a custom to "Seek" button and the button 'Clear' ADF. the erase button is used before every new search is called. the "Clear" button and search button work properly, except that when the user enter all the values in the LOV text box and then press the Clear button, the LOV throws an exception indicating invalid in LOV data and won't let me delete them until I have explicitly focus the cursor in the LOV and use remove / return back to clear this field If the LOV has valid data and when I click the button clear clears the field as it was planned.

    Please suggest how can I delete the message 'Error in data not valid' in LOV

    Thanks in advance,
    TK

    Hello
    You can try with

    http://download.Oracle.com/docs/CD/E12839_01/apirefs.1111/e12419/tagdoc/af_resetActionListener.html

  • How to generate the component ADF LOV on JSP using JDeveloper 10.1.3.1

    Dear Experts,

    Can someone please explain me how to build ADF LOV (list of values) component on JSP using JDeveloper 10.1.3.1. Please suggest me as soon as POSSIBLE. Also please

    Thank you
    Rajesh

    Hi Renon,

    I'm not working on this area, however wanted OTN for you:

    http://www.Oracle.com/technology/OBE/obe_as_1012/J2EE/develop/client/uix_lov_obe/uix_lov_obe.htm
    http://www.Oracle.com/technology/pub/articles/gauchman-Lov.html

    Hope that helps!

    See you soon
    Rémy Pucha

  • Question of the ADF - LOV based on parameter appears not

    Hi all

    I get the error message like "AttibuteManagerID" in my page

    Technical description:

    Application module: EOMUIModelAMImpl.java

    Display object:

    View1: EOMVO

    View2: NameOfNomineeVO - has a criterion of Requestor_PersonId =: ManagerId (view criteria have a 'required' for the Requestor_PersonId attribute type validation)

    View1 one of the attributes is NomineePersonId (Long) is a LOV that uses View2. View2 has a criterion with bind variable requestorPersonId (Long) =: ManagerId (Long), who, we are using the criteria in the EOMUIModelAMImpl.java file:

    These are the 2 methods used to define criteria in the EOMUIModelAMImpl.java class.

    SetManagerIdUsingCriteria method will define ManagerId to display subordinate to the Manager.

    {} public Long setRequestorPersonId()

    Long requestorPersonId = 0L;

    try {}

    EmployeeOfTheMonthRequestModelAMImpl employeeOfTheMonthRequestModelAM = (EmployeeOfTheMonthRequestModelAMImpl) getEmployeeOfTheMonthRequestModelAM ();

    ViewObjectImpl employeeOfTheMonthVO = getEmployeeOfTheMonth();

    System.out.println ("- before calling fetchRequestorPersonId in EmployeeOfTheMonthRequestUIModelAMImpl-");

    requestorPersonId = employeeOfTheMonthRequestModelAM.fetchRequestorPersonId () .longValue ();

    System.out.println ("- after the call to fetchRequestorPersonId in EmployeeOfTheMonthRequestUIModelAMImpl-" + requestorPersonId);

    employeeOfTheMonthVO.setApplyViewCriteriaName ("EmployeeOfTheMonthVOCriteria");

    employeeOfTheMonthVO.setNamedWhereClauseParam ("requestorPersonId", requestorPersonId);

    System.out.println ("- end of the setRequestorPersonId in EmployeeOfTheMonthRequestUIModelAMImpl-");

    } catch (Exception e) {}

    e.printStackTrace ();

    }

    Return requestorPersonId;

    }

    /**

    * This method is used to set the value of the variable binding ManagerId

    */

    public void setManagerIdUsingCriteria() {}

    Long requestorPersonId = 0L;

    EmployeeOfTheMonthRequestModelAMImpl employeeOfTheMonthRequestModelAM = (EmployeeOfTheMonthRequestModelAMImpl) getEmployeeOfTheMonthRequestModelAM ();

    requestorPersonId = employeeOfTheMonthRequestModelAM.fetchRequestorPersonId () .longValue ();

    System.out.println ("- after the call to fetchRequestorPersonId to setManagerIdUsingCriteria-" + requestorPersonId);

    ViewObjectImpl fetchManagerId = getNameOfNominee();

    fetchManagerId.setApplyViewCriteriaName ("NameOfNomineeVOCriteria");

    requestorPersonId = 300000001130413L;

    fetchManagerId.setNamedWhereClauseParam ("Requestor_PersonId", requestorPersonId);

    fetchManagerId.executeQuery ();

    System.out.println ("- End of setManagerId in EmployeeOfTheMonthRequestUIModelAMImpl-");

    }

    SetManagerIdUsingCriteria() method is able to reach a value of 'requestorPersonId', but is not able to define the criteria after execution of the query.


    Please share your ideas.


    Thank you


    Problem is solved after mapping binding parameter variable to the db attribute in view accessor.

  • ADF LOV based on Weblogic users

    Hi all

    I want to create a LOV based on all users of weblogic as the ADF. My version of Jdeveloper is 11.1.1.7. Can someone help me please in this matter? How can I achieve this in a simpler way. Thank you very much

    Here you can find example how get and set attributes on jmx: http://pirabid.blogspot.com/2013/04/modifying-supported-attributes-of.html

    Dario

  • ADF LOV-&gt; UI: main table showing the fields ID and not the search values

    Hello
    I am very new to the development of the ADF and will have a simple question that I can't solve.

    Using Oracle JDeveloper 11.1.2.0.0 I create my views and objects of entity without incident. I have an entity object that has several "search values" (these are all optional references to foreign keys to tables 'children'). Objects and relations are perfectly mapped the ADF.

    In the views of child object I created the list UI tips
    -Type: Combo box with list values
    -the "selected" column is the "description" of the research

    in the editable display object, I traced the fields 'id' to use the predefined LOVs.

    This works as expected in the user interface, I created with an ADF table can be updated.

    However (here's the noob question), the "id" is displayed in the search on the table column. When I click the menu drop-down I can see the description, etc, but for a professional user when they look at the table, they see an unfriendly identification number.

    How can I get the part of the LOV display to show the description, while remaining linked to the ID of the parent entity.

    for example, it shows
    Country             LOV1        LOV2     LOV3
    United States     15           18           2
    while I want to display:
    Country             LOV1            LOV2       LOV3
    United States     Washington  Seattle     Rain
    If this has been answered several times or walk through there, sorry for the redundant question, I simply can't find a solution!

    Hello

    There are several ways to do this, you simply need an additional outputText next to the lov component field to display the value of the description.

    If you search the forum or adf blocks, you'll find several implementations.

    And here's one: http://andrejusb.blogspot.com/2010/06/lov-description-text-with-groovy.html

    Gabriel.

  • How to ignore the validation of the ADF LOV

    Hello

    I have worked in oracle forms and now try to learn the ADF.

    In oracle forms, if we apply LOV to a field, it offers the possibility that we validate this filed of LOV like it or not. If we set ENTER FROM LIST = No., user can select LOV value or it can enter the value manually (and this value can be or not be in LOV).

    Now in JDeveloper 11.1.1.5.0, I have attached a list of input to a values it was filed. Any value I put in the deposited ADF framework, trying to validate of LOV, and does not update the model compared to invalid values. How can we ignore that?

    Infact, I have an obligation if the value does not exist in LOV, I create this value in the object instance on which rests the LOV. In doing so, the value will now be a valid value.

    Published by: student of oracle on 25 May 2011 23:57

    Published by: student of oracle on May 26, 2011 12:02 AM

    Yes, I agree. However, this might give you an idea how to make the scenario using a manual coding

    http://www.Oracle.com/technetwork/developer-tools/ADF/learnmore/69-custom-lov-with-BTF-276178.PDF

    Frank

  • ADF LOV sorting

    I use JDeveloper 12.1.2

    I created a sql view object based on a complex statement, with a specific sort

    I put this display on the page in a table object and the sorting is ok and everything is fine

    I try to make a LOV based on this display object, but the sort of data was lost! Why this problem occurs?

    Thank you

    Thank you... it works now

  • ADF: LOV SHOWS NOT ALL VALUES.

    Hello world

    I have lov on my page. My request for lov shows 700 values when I run the query into a toad.
    But when I run the LOV page shows only 25 values.
    How can I increase the size of LOV to show all values?
    Is it possible?
    Am I missing something?

    Thanks in advance...

    Kind regards
    Raja.

    The size of the beach for your iterator LOV is probably set to 25 (default) in the page links. Set it to-1 to retrieve all the rows at once.

  • Data control for the Web Service based filter table adf only appear not

    I have a SOAP web service I'm consumption as a web service data control.

    When I use one of the results of the web service through data to the web service in the form of a table control in the user interface with the filter and sort, I don't see the filters on the top of the table.

    It comes to JDeveloper version 11.1.1.7.

    Please let me know if anyone has an idea on this issue.

    TIA

    ABS

    You need connect your own logic on the filtering table.

    The table doesn't actually do the filter - it does, is the data control to filter the info - for a Web service we do not know how it will actually make a sort-, so you'll need to add a filterListener on the table and call a WS that will be returned the filtered data method.

  • OfficeJet premium 6700: ADF Assembly

    I jumped the cover of the automatic document feeder and the entire assembly to clear a jam, and it does not come off back down into place... What is the thing...?

    Hi @beckylousiana.

    Welcome to the Forums of HP's Support. It is not really a thing for her. I find it works better if you lower the Assembly first, then the cover.

    Nothing is mentioned in the standard doc paper jam.

    Cannot find a video for the 6700 either. This ADF printers appears to be very similar. https://www.YouTube.com/watch?v=5xi14x2W-Yu

    I hope this helps. If so, Great! Give us some reinforcements by pressing buttons of solution and laurels, that we will help and others see that we have the answers!

  • LOV - Dsiplay distinct values.

    Hello!

    I use JDeveloper version 11.1.1.7.0.

    I have a use case that works for the most part, where when a value 'attribute 1' is activated in a LOV, only those values that are on the same line as the value in the column 'attribute 2' can be selected in the attribute 2 LOV.

    Similar to how you would select only a certain country according to which Continent you had previously selected. This feature works as expected, but I see duplicate entries in the options drop-down list LOV. An example of the SQL is less than the SEPARATE statement used to fill my VO...

    SELECT DISTINCT 
        ATTRIBUTE_1,
                    ATTRIBUTE_2,
                    ATTRIBUTE_3,
                    ATTRIBUTE_4,
                    ATTRIBUTE_5
    FROM ATTRIBUTE_TABLE
    

    I realize that if I run the SQL in SQL Developer column ATTRIBUTE_1 indeed shows several lines in the table, because it must have a value for each row of the other attributes (2-5) above, it is the my LOV in ADF shows Dups, so I undersatnd the problem...

    If I take the attribute and run individually, I'll get my desired distinct attributes...

    SELECT DISTINCT 
         ATTRIBUTE_1
    FROM ATTRIBUTE_TABLE
    

    I see only a single value, which is what I would like, so I could possibly spread all the 5 attributes out to separate VO, but then I don't think I can apply the attribute dependencies, you will only see the corresponding values in LOV to 2 according to your selection of attribute 1 LOV attribute, like all attributes are not in the same SQL statement...

    Can someone advise me on how to realize the two separate values in my LOV and the possibility of having dependent attributes (the same than to see only the countries selected according to a selected continenet previously)

    Thanks in advance for any assistance with this.

    Sincerely, Jamie.

    For reference get dependent attributes, I did the following...

    I created a read-only VO of a SQL statement (as seen above). I then created variables bind to each attribute, as well as a view of criteria.

    I then added the criteria of as an accessor to my primary VO (which serves to fill out a form) and added a LOV for each of the 5 attributes, based on my original VO RO.

    I checked the following threads associated with no luck...

    ADF lov: duplicate values

    With unique values only - LOV swing UI LOVRowSet

    How to create lov attributes no duplicates in adf

    Hi Jamie,

    You don't need PK/FK to create dependent LOV. Simply create a ViewCriteria based on the attribute and filter your LOV accessor accordingly.  For example,.

    VO1->

    1. SELECT DISTINCT
    2. ATTRIBUTE_1
    3. OF ATTRIBUTE_TABLE

    VO2->

    1. SELECT DISTINCT
    2. ATTRIBUTE_1,
    3. ATTRIBUTE_2
    4. OF ATTRIBUTE_TABLE

    VO2 - ViewCriteria-> on ATTRIBUTE_1.

    VO2 - LOV1 on ATTRIBUTE_1 based VO1;

    VO2 - LOV2 on ATTRIBUTE_2 based on VO2 (with applied ViewCriteria ATTRIBUTE_1-based)

    I think this could work.

    Concerning

  • Question of Blocksize LOV

    Hello

    I have a LOV customized for the names of the approver. Whenever the user clicks on the light from the flash of the LOV to search for approvers, the LOV comes out well.

    But, despite the LOV extract multilpe lines, only the first record is displayed by default, when you the LOV appears. (even though it shows SHOWING records 1-10)

    If the user clicks on the button GO again or click 'Next 10 Records', then everything is fine, and the records are displayed in blocks of 10.

    Pointers, what went wrong?

    I tried to explicitly set the blocksize property in the LOVRN at 10 and 15, but it doesn't seem to work.

    Thank you

    Stéphane arnaud Germain

    Germain,

    Its possible that when you dynamically defining the whereclause and making executequery, LOV get the query and only retrieve data that results. Please, remove the executeQuery LOV CO statement and share your observation.

    Concerning

Maybe you are looking for