The value of charset-params Weblogicv12

Hi guys! I'm deployment artifact to the format of the war . It has parameters in the weblogic.xml file. In this file I added the tag charset params for example:

< charset params >

< input-charset >

> resource path < / * < / resource-path >

< java-charset name > UTF-8 < / java-charset-name >

< / input-charset >

< / charset params >

The deployment completed successfully!

But, when I build artifacts ear with the war (the war has the same charset params parameter in weblogic.xml file)

then during the deployment process, I get following error:

Caused by: weblogic.descriptor.DescriptorException: VALIDATION of the PROBLEMS have BEEN FOUND

problem: cvc-complex - type. 2.4 b: element not allowed: charset params @ http://xmlns.Oracle.com/WebLogic/WebLogic-Web-app in the weblogic-web-app element @ http://xmlns.oracle.com/weblogic/weblogic-web-app: < null >

to weblogic.descriptor.internal.MarshallerFactory$ 1.evaluateResults(MarshallerFactory.java:245)

to weblogic.descriptor.internal.MarshallerFactory$ 1.evaluateResults(MarshallerFactory.java:231)

to weblogic.descriptor.internal.MarshallerFactory$ 1.createDescriptor(MarshallerFactory.java:155)

at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:325)

at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:803)

Truncated. check the log file full stacktrace

How can I use charset params parameter in the latter case?

Thanks for the help everyone!

I found the decision.

In the second case, I had only not to use charset params. Instead it I use setting webapp.encoding.default (search by this title: things application.xml deployment descriptor - weblogic) in weblogic - application.xml example:

WebApp.Encoding.default

UTF-8

Note: This settings I added in weblogic - application.xml for ear artifact

Tags: Fusion Middleware

Similar Questions

  • Call a javascript function in the Value attribute of param

    Hello

    I want to put a TLF text field in the SWF file in an HTML page. So I used flashvar, by calling a javascript function to it attribute "value" as follows.

    < param name = FlashVars value = "" + SetFlashMovieParam() + "" id = "message" / > "

    SetFlashMovieParam() is a javascript like the following function.

    function SetFlashMovieParam() {}

    document.getElementById("message").setAttribute ("value", "msgText = Start");

    }

    Even if this does not work, when I put the text value directly to the 'value' attribute, it worked.

    < param name = FlashVars value = "msgText = here % 20is % 20The % 20text" id = "message" / > "

    I think it's because calling a javascript function syntax error in the param tag. Can anyone help to call this function properly...

    Thank you.

    Normally when you have an executable code embedded in the html code you should check that article accordingly.  In the case of javascript surround you with

  • Please advise on how to get the value of param output after the call to a procedure

    Hey,.

    a bean of support, the following code

    OperationBinding operationBinding = bindings.getOperationBinding ("func1");
    operationBinding.getParamsMap () .put ("pCustomerId", customerKey);
    operationBinding.execute ();

    What do I need to read the value of param?
    something like...
    String res = operationBinding.getParamsMap () .get ("myoutparam");

    Assuming that your operation binding is a method of AM service called func1, make the method returns the value and call getResult() on the operationBinding class.

    John

  • Widget Dev error: could not find the value for option: paging [in the param LIST]

    Hey, widget and other people, I'm working on a widget, but I get an error message whenever I try to select an option in a drop-down list of options, I created.

    This is the setting in the mucow xml file:

    (Tab is to facilitate troubleshooting; I normally follow each line.)

      <list name="pagingOption" label="Pagination" defaultValue="&quot;pagingType&quot;: &quot;simple&quot; ,">
    
          <value name="&quot;pagingType&quot;: &quot;simple&quot; ,"
              label="Simple"
              toolTip="PREVIOUS and NEXT buttons only"
          />
          <value name="&quot;pagingType&quot;: &quot;simple_numbers&quot; ," 
              label="Simple Numbers" 
              toolTip="PREVIOUS and NEXT buttons, plus page numbers"
          />
          <value name="&quot;pagingType&quot;: &quot;full&quot; ,"
              label="Full"
              toolTip="FIRST, PREVIOUS, NEXT and LAST buttons"
          />
          <value name="&quot;pagingType&quot;: &quot;full_numbers&quot; ,"
              label="Full Numbers"
              toolTip="FIRST, PREVIOUS, NEXT and LAST buttons, plus page numbers."
          />
    
        </list>
    

    I converted the name attribute of each value HTML entities to better manage the necessary quotes. Depending on your selection in the list, the values above should run end as one of the following (including the EOL commas):

    "pagingType": "simple" ,
    

    or

    "pagingType": "simple_numbers" ,
    

    or

    "pagingType": "full" ,
    

    or

    "pagingType": "full_numbers" ,
    

    ,

    When I try to select one of the options, I get the following error:

    widget paging error.png

    then... help?  What Miss me? :-/

    I would like to remove the 'features of your option values. They can be confused Muse.

    I would the value of these simple options, simple_numbers, complete and the full_numbers. Then change your HTML code to have something like:

    "pagingType": "{param_pagingOption}".

  • How to show/hide div based on the value of mysql

    I have a dataset that contains a 'locked' column, which is a Boolean value that I want to use to remove a button on a form.  The idea is that it will be fixed to 1 after a period of time, thus eliminating the buttun that connects to an update form and prevent the data being edited.  Currently I have the field bound to a checkbox at the top of the table.  How can I use this to hide the button (or any other html element) when the value 1 and show the item when the value 0?  I understand that I need to create a php mysql boolean variable and then use a loop if/else statement to hide/show the html code but I don't know how impliment that?  Thanks for any help.

    Here is the code:

    <? php require_once('Connections/testmypms.php');? >

    <? PHP

    $currentPage = $_SERVER ['PHP_SELF'];

    $maxRows_spec_rx = 10;

    $pageNum_spec_rx = 0;

    If (isset($_GET['pageNum_spec_rx'])) {}

    $pageNum_spec_rx = $_GET ['pageNum_spec_rx'];

    }

    $startRow_spec_rx = $pageNum_spec_rx * $maxRows_spec_rx;

    $colname_spec_rx = "1";

    If (isset($_GET['pxID'])) {}

    $colname_spec_rx = (get_magic_quotes_gpc())? $_GET ['pxID']: addslashes($_GET['pxID']);

    }

    @mysql_select_db ($database_testmypms, $testmypms);

    $query_spec_rx = sprintf ("SELECT spec_rx.spec_rx_id, spec_rx. FK_px_id, DATE_FORMAT (spec_rx.spec_rx_date, ' % d-% m-% Y') as formatted_rx_date, spec_rx. FK_user_id, spec_rx.spec_rx_rsph, spec_rx.spec_rx_rcyl, spec_rx.spec_rx_raxis, spec_rx.spec_rx_rhprism, spec_rx.spec_rx_rhprismbase, spec_rx.spec_rx_rvprism, spec_rx.spec_rx_rvprismbase, spec_rx.spec_rx_rnadd, spec_rx.spec_rx_rnhprism, spec_rx.spec_rx_rnhprismbase, spec_rx.spec_rx_rnvprism, spec_rx.spec_rx_rnvprismbase, spec_rx.spec_rx_rintadd, spec_rx.spec_rx_rinthprism, spec_rx.spec_rx_rinthprismbase spec_rx.spec_rx_rintvprism, spec_rx.spec_rx_rintvprismbase, spec_rx.spec_rx_lsph, spec_rx.spec_rx_lcyl, spec_rx.spec_rx_laxis, spec_rx.spec_rx_lhprism, spec_rx.spec_rx_lhprismbase, spec_rx.spec_rx_lvprism, spec_rx.spec_rx_lvprismbase, spec_rx.spec_rx_lintadd, spec_rx.spec_rx_linthprism, spec_rx.spec_rx_linthprismbase, spec_rx.spec_rx_lintvprism, spec_rx.spec_rx_lintvprismbase, spec_rx.spec_rx_lnadd, spec_rx.spec_rx_lnhprism spec_rx.spec_rx_lnhprismbase, spec_rx.spec_rx_lnvprism, spec_rx.spec_rx_lnvprismbase, spec_rx.locked, users.user_id, users.user_firstname, users.user_surname FROM spec_rx, users WHERE %s = spec_rx. FK_px_id AND spec_rx. (FK_user_id = users.user_id ORDER BY spec_rx.spec_rx_date DESC, spec_rx.spec_rx_id DESC', $colname_spec_rx);

    $query_limit_spec_rx = sprintf ("%s LIMIT %d, %d", $query_spec_rx, $startRow_spec_rx, $maxRows_spec_rx);

    $spec_rx = mysql_query ($query_limit_spec_rx, $testmypms) or die (mysql_error ());

    $row_spec_rx = mysql_fetch_assoc ($spec_rx);

    If (isset($_GET['totalRows_spec_rx'])) {}

    $totalRows_spec_rx = $_GET ['totalRows_spec_rx'];

    } else {}

    $all_spec_rx = mysql_query ($query_spec_rx);

    $totalRows_spec_rx = mysql_num_rows ($all_spec_rx);

    }

    $totalPages_spec_rx = ceil($totalRows_spec_rx/$maxRows_spec_rx)-1;

    $colname_demographics = "1";

    If (isset($_GET['pxID'])) {}

    $colname_demographics = (get_magic_quotes_gpc())? $_GET ['pxID']: addslashes($_GET['pxID']);

    }

    @mysql_select_db ($database_testmypms, $testmypms);

    $query_demographics = sprintf ("SELECT demographics.px_id, demography. FK_title_id, demographics.firstname, demographics.surname, DATE_FORMAT (demographics.dob, ' % d-% m-% Y') as formatted_dob, title.title_id, title.title FROM demographics, title WHERE %s = demographics.px_id AND demography. (FK_title_id = title.title_id", $colname_demographics);

    $demographics = mysql_query ($query_demographics, $testmypms) or die (mysql_error ());

    $row_demographics = mysql_fetch_assoc ($demographics);

    $totalRows_demographics = mysql_num_rows ($demographics);

    $queryString_spec_rx = "";

    If (! empty($_SERVER['QUERY_STRING'])) {}

    $params = explode ("&", $_SERVER ['QUERY_STRING']);

    $newParams = array();

    {foreach ($params as $param)

    If (stristr ($param, "pageNum_spec_rx") == false & &)

    stristr ($param, "totalRows_spec_rx") == false) {}

    return ($newParams, $param);

    }

    }

    If (count ($newParams)! = 0) {}

    $queryString_spec_rx = '& '. htmlentities (implode ("&", $newParams));

    }

    }

    $queryString_spec_rx = sprintf ("& totalRows_spec_rx = %d %s", $totalRows_spec_rx, $queryString_spec_rx);

    ? >

    < ! DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional / / IN" "http://www.w3.org/TR/html4/loose.dtd" > ""

    < html >

    < head >

    < meta http-equiv = "Content-Type" content = text/html"; charset = iso-8859-1 ">"

    < title > Spec Rx3 < /title >

    < script language = "JavaScript" type = "text/JavaScript" >

    <!--

    function MM_goToURL() {//v3.0

    var i, args is MM_goToURL.arguments; document. MM_returnValue = false;

    for (i = 0; i <(args.length-1); I += 2) eval(args[i]+".location='"+args[i+1]+"'");

    }

    ->

    < /script >

    < / head >

    < body >

    Rx Spec < p > < /p >

    < p > <? PHP echo $row_demographics ["px_id"];? > < / p >

    < p > <? PHP echo $row_demographics ['title'];? > <? PHP echo $row_demographics ["FirstName"];? > <? PHP echo $row_demographics ['name'];? > <? PHP echo $row_demographics ["formatted_dob"];? > < / p >

    < p >

    < input name = "Add_spec_rx" type = "button" id = "Add_spec_rx" onClick = "MM_goToURL ('parent', 'add_spec_rx.php'); return document. MM_returnValue' value = 'New Rx' >

    < /p >

    < p > < a href = "<?" PHP printf ("%s? (pageNum_spec_rx = %d %s", $currentPage, max (0, $pageNum_spec_rx - 1), $queryString_spec_rx);? > "> previous < /a > < a href =" <? PHP printf ("%s? (pageNum_spec_rx = %d %s", $currentPage, min ($totalPages_spec_rx, $pageNum_spec_rx + 1), $queryString_spec_rx);? > "> Next < /a > < /p >"

    <? PHP {? >}

    < table border = "1" cellspacing = "1" cellpadding = "5" >

    < b >

    < td > < table >

    < td > <? PHP echo $row_spec_rx ["formatted_rx_date"];? > < table >

    < td > <? PHP echo $row_spec_rx ["spec_rx_id"];? > < table >

    < td > locked:

    < input <? PHP if (!) ((strcmp($row_spec_rx['locked'],1)))) {echo 'checked' ;}? > name = 'locked' type = "checkbox" id = "locked" value = "1" > < table >

    < td > < table >

    < td > < table >

    < td > < table >

    < td > < table >

    < td > < table >

    < td > < table >

    < td > < table >

    < td > < table >

    < td > < table >

    < td > < table >

    < td > < table >

    < td > < table >

    < td > < table >

    < td > < table >

    < /tr >

    < b >

    < td > < table >

    SPH < td > < table >

    Cyl < td > < table >

    Axis of < td > < table >

    HPrism < td > < table >

    HPrismBase < td > < table >

    VPrism < td > < table >

    VPrismBase < td > < table >

    NrAdd < td > < table >

    NrHPrism < td > < table >

    NrHPrismBase < td > < table >

    NrVPrism < td > < table >

    NrVPrismBase < td > < table >

    IntAdd < td > < table >

    IntHPrism < td > < table >

    IntHPrismBase < td > < table >

    IntVPrism < td > < table >

    IntVPrismBase < td > < table >

    < /tr >

    < b >

    < td > < table > R

    < td > <? PHP echo ($row_spec_rx ['spec_rx_rsph'] <>null)? sprintf ("%+4.2f", $row_spec_rx ['spec_rx_rsph']): null;? > < table >

    < td > <? PHP echo ($row_spec_rx ['spec_rx_rcyl'] <>null)? sprintf ("%+4.2f", $row_spec_rx ['spec_rx_rcyl']): null;? > < table >

    < td > <? PHP echo $row_spec_rx ["spec_rx_raxis"];? > < table >

    < td > <? PHP echo $row_spec_rx ["spec_rx_rhprism"];? > < table >

    < td > <? PHP echo $row_spec_rx ["spec_rx_rhprismbase"];? > < table >

    < td > <? PHP echo $row_spec_rx ["spec_rx_rvprism"];? > < table >

    < td > <? PHP echo $row_spec_rx ["spec_rx_rvprismbase"];? > < table >

    < td > <? PHP echo $row_spec_rx ["spec_rx_rnadd"];? > < table >

    < td > <? PHP echo $row_spec_rx ["spec_rx_rnhprism"];? > < table >

    < td > <? PHP echo $row_spec_rx ["spec_rx_rnhprismbase"];? > < table >

    < td > <? PHP echo $row_spec_rx ["spec_rx_rnvprism"];? > < table >

    < td > <? PHP echo $row_spec_rx ["spec_rx_rnvprismbase"];? > < table >

    < td > <? PHP echo $row_spec_rx ["spec_rx_rintadd"];? > < table >

    < td > <? PHP echo $row_spec_rx ["spec_rx_rinthprism"];? > < table >

    < td > <? PHP echo $row_spec_rx ["spec_rx_rinthprismbase"];? > < table >

    < td > <? PHP echo $row_spec_rx ["spec_rx_rintvprism"];? > < table >

    < td > <? PHP echo $row_spec_rx ["spec_rx_rintvprismbase"];? > < table >

    < /tr >

    < b >

    < td > < table > L

    < td > <? PHP echo ($row_spec_rx ['spec_rx_lsph'] <>null)? sprintf ("%+4.2f", $row_spec_rx ['spec_rx_lsph']): null;? > < table >

    < td > <? PHP echo ($row_spec_rx ['spec_rx_lcyl'] <>null)? sprintf ("%+4.2f", $row_spec_rx ['spec_rx_lcyl']): null;? > < table >

    < td > <? PHP echo $row_spec_rx ["spec_rx_laxis"];? > < table >

    < td > <? PHP echo $row_spec_rx ["spec_rx_lhprism"];? > < table >

    < td > <? PHP echo $row_spec_rx ["spec_rx_lhprismbase"];? > < table >

    < td > <? PHP echo $row_spec_rx ["spec_rx_lvprism"];? > < table >

    < td > <? PHP echo $row_spec_rx ["spec_rx_lvprismbase"];? > < table >

    < td > <? PHP echo $row_spec_rx ["spec_rx_lnadd"];? > < table >

    < td > <? PHP echo $row_spec_rx ["spec_rx_lnhprism"];? > < table >

    < td > <? PHP echo $row_spec_rx ["spec_rx_lnhprismbase"];? > < table >

    < td > <? PHP echo $row_spec_rx ["spec_rx_lnvprism"];? > < table >

    < td > <? PHP echo $row_spec_rx ["spec_rx_lnvprismbase"];? > < table >

    < td > <? PHP echo $row_spec_rx ["spec_rx_lintadd"];? > < table >

    < td > <? PHP echo $row_spec_rx ["spec_rx_linthprism"];? > < table >

    < td > <? PHP echo $row_spec_rx ["spec_rx_linthprismbase"];? > < table >

    < td > <? PHP echo $row_spec_rx ["spec_rx_lintvprism"];? > < table >

    < td > <? PHP echo $row_spec_rx ["spec_rx_lintvprismbase"];? > < table >

    < /tr >

    < b >

    < td > < table >

    < td > user ID <? PHP echo $row_spec_rx ['user_id'];? > < table >

    < td > <? PHP echo $row_spec_rx ['user_firstname'];? > < table >

    < td > <? PHP echo $row_spec_rx ["user_surname"];? > < table >

    < td > < table >

    < td > < table >

    < td > < table >

    < td > < table >

    < td > < table >

    < td > < table >

    < td > < table >

    < td > < table >

    < td > < table >

    < td > < table >

    < td > < table >

    < td > < table >

    < td > < table >

    < td > < table >

    < /tr >

    < /table >

    < p > < / p >

    <? PHP} while ($row_spec_rx = mysql_fetch_assoc ($spec_rx));? >

    < p > < / p >

    < p > < / p >

    < p > < / p >

    < / body >

    < / html >

    <? PHP

    mysql_free_result ($spec_rx);

    mysql_free_result ($Demographics);

    ? >

    barrydocks wrote:

    I don't know there must be a more elegant way to do it!

    <>

    If ($row_spec_rx ['locked'] == 1) {}

    echo 'button html goes here ";

    }

    else {}

    echo "something else";

    }

    ?>

  • need to update the value of the column automatically (exists and the new value)

    Hello

    (1) I Segment1, Segment2, Segment3, Segment4, item_status (new column modified in the Temp table)

    Must update the form OFA and the DB Temp table item_status value in the column when I click APPLY to SAVE the Inserted records in the DB table and form and must register the mtl_system_items_b Segment1, Segment2, Segment3, Segment4 in which the condition

    Note: need to update automatically item_status for existing and new inserted records in the Table and the form

     Serializable[] param = {Segment1, Segment2, Segment3, Segment4
                       };
                       am.invokeMethod("InsertRecord", param);
                       row.setAttribute("SelectFlag", "N");
    

    Thank you

    Renon,

    When you write code, try to understand what makes each line. (If you don't understand all the lines, feel free to ask)

    row.setAttribute ("ItemStatus", row.getAttribute ("ItemStatus"));

    What do you think that the above line done? You try to get the value of the attribute and trying to put the same value. How is it, that will have an impact?

    You need to do 2 things.

    1. change the insertRecord method and the State of return of this method.

    Change the definition of the function:

    public String InsertRecord (String itemstyle, String itemcust, String itemsize, String itemcolor, String ordrno,

    String desc)

    Add a return statement at the end after validation.

    TR.Commit ();

    return the situation;

    }

    2 accept that status in CO and set the value to the attribute details VO.

    String status = (String)am.invokeMethod ("InsertRecord", param);

    row.setAttribute ("ItemStatus",status);

    I hope this helps.

    See you soon

    AJ

  • Get the values of default table row when the page loads

    Hello

    I am running JDev 11.1.1.7. We have a page that contains two tables in a relationship of the master / detail of nickname. We can do a real master ADF / detail with view items related because the query for the 2nd table is complex and works best when queries with binding settings. The View object for the 2nd table has a request with 2 link params as it can get in the first table. Thus, when a line is selected in the first table we want to execute ExecuteWithParams on the object from view of the table 2. We do it in the Bean managed for the page in a method that is the selection to the first table listener. It works fine except when the page initially loads, the first line is selected by default. When the default value is selected the selection listener is not triggered.

    I've seen the suggestion of not having a line selected by default when the page loads by removing the value selectedRowKeys on the table. However, we do not want that the 1st row of the table secondary master to be selected by default and we as the table of detail to show the correct corresponding lines.

    Steve

    Steve,

    Not really sure when you say that the 2nd table is complex and may not use the master detail. If the settings link in the parent table, you can set the ViewLink accordingly and it should work, right?

    In any case, if you're after the execution of methods on the loading of the page, you will find the links below.

    If it's a working group, you can add a methodCall as activity by default and UTF, you can use phase listener (if listener server does not).

    https://blogs.Oracle.com/aramamoo/entry/an_epic_question_how_to

    Advice from the Oracle Johny: ADF: how to run the ViewObject with a ViewCriteria on the PageLoad in Application Web ADF

    It will be useful.

    See you soon

    AJ

  • Get and set the value to allow selected rolling Shuffle and facing page

    Hello world

    I work with the page and spread,

    For now, I want to value page spead shuffle and type of document.

    but I just find the function to get and set the value for the Document Pages allow Shuffle using the

    InterfacePtr < IPageLayoutPrefs > iPageLayoutPrefs (static_cast < IPageLayoutPrefs * > (: QueryPreferences (IID_IPAGELAYOUTPREFERENCES, iDocument)))

    It has no function to set and get the value of enable selected rolling Shuffle and facing page

    No one knows about it?

    I thank in advance

    There is no code for this example in the SDK or internet. Just understand and apply the concept.

    Find the code for the shuffle spread and together following spread shuffle...

    // Get active spread
    UIDRef GetActiveSpread() {
        UIDRef spreadRef = UIDRef::gNull;
    
        InterfacePtr layoutData(Utils()->QueryFrontLayoutData());
        if(layoutData) {
      spreadRef = layoutData->GetSpreadRef();
      }
    
      return spreadRef;
    }
    
    // Get spread shuffle of passed in spread
    bool16 GetSpreadShuffle(UIDRef& spreadRef) {
        InterfacePtr spread(spreadRef, UseDefaultIID());
        if(!spread)
      return kFalse;
    
      InterfacePtr iBoolData(spread, IID_IISLANDSPREAD);
        if(iBoolData) {
            return iBoolData->GetBool();
        }
    
        return kFalse;
    }
    
    // Set spread shuffle of passed in spread
    // @param bValue: kTrue = no shuffle, kFalse = allow shuffle
    ErrorCode SetSpreadShuffle(UIDRef spreadRef, bool16 bValue) {
        ErrorCode status = kFailure;
    
        InterfacePtr spreadCmd(CmdUtils::CreateCommand(kSetIslandSpreadCmdBoss));
        if(!spreadCmd)
            return status;
    
        spreadCmd->SetItemList(UIDList(spreadRef));
    
        InterfacePtr iBoolData(spreadCmd, UseDefaultIID());
        if(iBoolData) {
            iBoolData->Set(bValue);
        }
    
        status = CmdUtils::ProcessCommand(spreadCmd);
        return status;
    }
    
  • srvrmgr syntax: How can I create subsystem named with the name and Description of the values?

    Looking through the library, he did discuss are of syntax that allows you to include the value of name and the named value of the Description of a subsystem/Profile Configuration.  In the screenshot, the circled values were created with the server online order Manager.

    NamedSubsystems.gif

    On the other hand, pouvez create a definition of the element with a name (full name) and a Description.

    For CompDef, it works:
    create the CompDefTest1_enu component definition for the type of component AppObjMgr component fins group run mode interactive full name 'Test Comp Def Test 1' description 'Test 1 CompDef Manager object.

    For named Subsytem, it does NOT work:
    create named subsystem Test5 subsystem EAITransportDataHandlingSubsys full name 'Test 5' description 'Test 5 Description'

    Someone can tell me if there is a good for a named subsystem, syntax to include the name and Description of the values in the command line, or is the only way to create it manually in the UI?

    Hello

    I spent reviewing aid to create the order in srvrmgr, it does not give the full name and description as parameters for the creation of subsystem. However, as you noted these settings are available for creating components definition:

    srvrmgr > help to create

    Create {component group | compgrp}

    [full name: ]

    [{description | desc} ]

    create {definition component: compdef}

    for {component type | comptype}

    {Component group | compgrp}

    run in mode {batch | interactive | background}

    [full name: ]

    [{description | desc} ]

    [with [ param =[, =...]]]

    [[fixparam =[,...]]]

    create the subsystem named for

    subsystem with = [,...]

    Shelf also has an example of creation of subsystem that doesn't include no description, name and first name:

    http://docs.Oracle.com/CD/E14004_01/books/StoreFwdMsg/StoreFwdMsg_InstallConfig14.html#wp1351472

    In this case I suggest that allows you to create a ticket on My Oracle Support to confirm this srvrmgr does not support the creation of a new subsystem with the full name and description settings and request an enhancement for these settings include request in create statement for new subsystems when using srvrmgr.

    It will be useful,

    WSiebel

  • get the values of the selected items to RichSelectManyChoice

    Hi all

    I have a RichSelectManyChoice

    When the user clicks on the "submit" button I want to get the values of the selected items...


    ----------------------------------------------------------page.jspx-----------------------------------------------------------------------------

    <? XML version = "1.0" encoding = "UTF - 8"? >

    " < = xmlns:jsp jsp:root ' http://Java.Sun.com/JSP/page "version ="2.1"xmlns:f =" " http://Java.Sun.com/JSF/core "

    ' xmlns:af = ' http://xmlns.Oracle.com/ADF/faces/rich "> "

    < jsp:directive.page contentType = text/html"; Charset = UTF - 8 "/ >

    < f: view >

    < af:document title = "untitled1.jspx" id = "d1" > "

    < af:messages id = "m1" / >

    < af:form id = "f1" >

    < af:panelGridLayout id = "pgl1" >

    < af:gridRow height = "100%" id = "gr1" >

    < af:gridCell width = '100% ' halign = "stretch" valign = "stretch" id = "gc1" >

    <! - content - >

    < af:selectManyChoice value = "#{bindings." CountriesView1.inputValue}.

    label = "#{bindings." CountriesView1.label}"id ="smc1.

    valuePassThru Binding = "#{suspect." Country}"="true">

    < f: selectItems value = "#{bindings." CountriesView1.items}"id ="si1"/ >

    < f: validator binding = "#{bindings." CountriesView1.validator} "/ >"

    < / af:selectManyChoice >

    < / af:gridCell >

    < / af:gridRow >

    < / af:panelGridLayout >

    < text af:button = "Button 1" id = "b1" action = "#{suspect.valide}" / >

    < / af:form >

    < / af:document >

    < / f: view >

    < / jsp:root >

    ---------------------------------------------------------------------------------------------------------------------------------------

    --------------------------------------------------------------------suspect.java-------------------------------------------------------------------

    package test.view;

    import com.sun.org.apache.xpath.internal.operations.String;

    Import oracle.adf.view.rich.component.rich.input.RichSelectManyChoice;

    public class suspect {}

    RichSelectManyChoice campaign private;

    String string = null;

    public suspect() {}

    ????????????????????????????????????????

    }

    public void valide() {}

    }

    {} public void setCountry (RichSelectManyChoice country)

    This.Country = country;

    }

    public RichSelectManyChoice {} getCountry()

    back country;

    }

    }

    ---------------------------------------------------------------------------------------------------------------------------------------------------------


    Anyone has an idea please?

    Hello

    You can use

    JUCtrlListBinding listBindings = (JUCtrlListBinding) getBindings () .get ("CountriesView1");

    Object [] str = listBindings.getSelectedValues ();

    for (int i = 0; i)< str.length;="" i++)="">

    System.out.println (STR [i]);

    }

    in this loop, you will get all the values of selectManyChoice, for details see Ashish Awasthi (Jdev/ADF) Blog: using the selection Multiple (component selectManyListbox & selectManyCheckbox) in ADF

    hope it helps

  • How to get the value of a keyframe?

    Hello, everyone:

    I wrote a plugin to effect according to the adobe after effects sdk examples, I want to just use Graph Edit of AE Panel to edit keyframes and get the data in row. now, I have a question, how do I get the data in row? any suggestion will be appreciated.

    Thank you

    If you want to get the value repeatedly, not the Bezier handle values.

    look in AEGP_GetNewStreamValue().

    It is used in some of the examples of project. It will let you do all param

    value at any time of the model.

    Tuesday, November 24, 2015 at 09:37, premiereBF, [email protected]>

  • How to get the value of the outputtext in javascript and send it to backing bean

    Hi Experts ADF,

    JDev Version 11.1.1.7.0

    I have the following: the value of the outputtext must be treated in javascript and the serverlistener method has the same value. I founded this value returns a string that wshould see the mouseover NIJ.

    Help, please. Thanks in advance.

    < af:column sortProperty = "#{bindings." OrderProposalReadClient.hints.exceptions.name}.

    filterable = "true" sortable = "true".

    headerText = "#{suiviewBundle.EXCEPTIONS} '"

    ID = "c16" >

    < af:outputText value = "#{row.exceptions}" id = "ot32" clientComponent = "true" > "

    < af:clientListener type = "mouseOver".

    method = "customJsFunction" / >

    < af:serverListener type = "mycustomserverEvent".

    Method="#{pageFlowScope.ChangeOrderProposalBean.handleServerEvent}"/ >

    < / af:outputText >

    < / af:column >

    JavaScript

    < af:resource type = "javascript" >

    var customJsFunction = function (event)

    {

    var exceptiondata = AdfPage.PAGE.findComponentByAbsoluteId ('ot32');

    AdfCustomEvent.queue ();

    Returns true;

    }

    < / af:resource >

    BackingBean

    public String handleServerEvent(EC ClientEvent)

    {

    Please let me know how to get the value that javascript code sends here.

    Let's say javascript sends the value of outputtext as "001".

    So, I have to check "001" in my list and return a value that appears on mouseover.

    }

    Kind regards
    Roy

    Hello, Roy.

    To use the value on another component of the user interface, I shows an example:

    -code of the page

    shortDesc = "shortDesc" >

    method = "customJsFunction" / >


    -the javascript code

    var customJsFunction = function (event)

    {

    var exceptiondata = event.getSource ().findComponent("ot32").getValue ();

    AdfCustomEvent.queue (event.getSource (),

    "mycustomserverEvent,"

    {param1:exceptiondata},

    (true);

    Returns true;

    }

    -OutputTextCase11.java

    public void handleServerEvent (EC ClientEvent)

    {

    String param = (String) ce.getParameters () .get ("param1");

    RichOutputText outputText = (RichOutputText) ce.getComponent () .findComponent ("ot1");

    outputText.setShortDesc (param);

    outputText.setValue (param);

    AdfFacesContext.getCurrentInstance () .addPartialTarget (outputText);

    }

    I hope this helps you.

    RFH.

  • pageContext.getParameter not retrieve the value of VO

    Dear,

    I use (pageContext.getParameter) to retrieve the value of messageTextInput when I click on submit and it works very well. But when I linked the messageTextInput with the VO attribute it returns value. Please I need your help with this.

    This is my code for CO

    /*===========================================================================+
     |   Copyright (c) 2001, 2005 Oracle Corporation, Redwood Shores, CA, USA    |
     |                         All rights reserved.                              |
     +===========================================================================+
     |  HISTORY                                                                  |
     +===========================================================================*/
    package g4s.oracle.apps.po.suppliers.server;
    
    
    import java.io.Serializable;
    
    
    import oracle.apps.fnd.common.MessageToken;
    import oracle.apps.fnd.common.VersionInfo;
    import oracle.apps.fnd.framework.OAApplicationModule;
    import oracle.apps.fnd.framework.OAException;
    import oracle.apps.fnd.framework.webui.OAControllerImpl;
    import oracle.apps.fnd.framework.webui.OADialogPage;
    import oracle.apps.fnd.framework.webui.OAPageContext;
    import oracle.apps.fnd.framework.webui.TransactionUnitHelper;
    import oracle.apps.fnd.framework.webui.beans.OAWebBean;
    import g4s.oracle.apps.po.suppliers.server.common.SuppliersVO;
    
    
    import oracle.jbo.ViewObject;
    
    
    
    
    /**
     * Controller for ...
     */
    public class SuppliersInfoCO extends OAControllerImpl 
    {
        public static final String RCS_ID = "$Header$";
        public static final boolean RCS_ID_RECORDED = VersionInfo.recordClassVersion(RCS_ID, "%packagename%");
    
    
        /**
         * Layout and page setup logic for a region.
         * @param pageContext the current OA page context
         * @param webBean the web bean corresponding to the region
         */
        public void processRequest(OAPageContext pageContext, OAWebBean webBean) 
        {
            super.processRequest(pageContext, webBean);
            if (!pageContext.isBackNavigationFired(false)) 
            {
                TransactionUnitHelper.startTransactionUnit(pageContext, "SupplierApprovalTxn");
                if (!pageContext.isFormSubmission()) 
                {
                    OAApplicationModule am = pageContext.getApplicationModule(webBean);
                    ViewObject MyVO = am.findViewObject("SuppliersVO1");
                    MyVO.setNamedWhereClauseParam("vdr_id", pageContext.getParameter("vdr_id"));
                    MyVO.executeQuery();
                }
            }
            else
            {
                if (!TransactionUnitHelper.isTransactionUnitInProgress(pageContext, "SupplierApprovalTxn", true)) 
                {
                    OADialogPage dialogPage = new OADialogPage(STATE_LOSS_ERROR);
                    pageContext.redirectToDialogPage(dialogPage);
                }
            }
        }
    
    
        /**
         * Procedure to handle form submissions for form elements in
         * a region.
         * @param pageContext the current OA page context
         * @param webBean the web bean corresponding to the region
         */
        public void processFormRequest(OAPageContext pageContext, OAWebBean webBean) 
        {
            super.processFormRequest(pageContext, webBean);
            //SupplierAMImpl am = (SupplierAMImpl)pageContext.getApplicationModule(webBean);
            //String xx = "ApprovalBTN";
            //Serializable[] parameters = { xx };
            //am.invokeMethod("TriggerApproval", parameters);
            String userContent = pageContext.getParameter("SupplierNameEnITM");
    
    
            MessageToken[] tokens = { new MessageToken("SUP_NAME",userContent) };
            OAException confirmMessage = new OAException("PO", "WF_PO_SUPPLIER", tokens, OAException.CONFIRMATION, null);
            pageContext.putDialogMessage(confirmMessage);
        }
    
    
    }
    

    print pageContext.getParameter ("vdr_id") and see what he's back

  • AF:inputListOfValues sets the value of the first item in the result set when using enter key or tab and component value autosubmit = true

    I use JDev 11.1.1.6 and when I type in a value in an af:inputListOfValues element and press enter or the tab key, it will replace the value I entered with the first element in the set of results LOV. If enter a value, simply click on the component af:inputListOfValues it works correctly. If I use the popup and find a value it works properly as well. I have a programmatic view object that contains a single transitional attribute (this is the view object that is used to create the list of the components of the value of) and then I have another object from view based on entities which defines one of its attributes in a list of the attribute value. I tried to use a base object view of entity to create the LOV to and everything works as expected, so I don't know if this is a bug when using programmatic view objects or if I need more code in the VOImpl. In addition, it seems after that first of the value being replaced by the first value in the result set that it will work correctly as well. Here are some excerpts of important code.

    Also, it seems that this does not work only if the text entered in the component af:inputListOfValues would have only a single game, returned in the result set. For example, given the result defined in code: Brad, Adam, Aaron, Fred, Charles, Charlie, Jimmy

    If we get into Cha, the component works as expected

    If we register A, the component works as expected

    If we get Jimmy, the component does not work as expected, and returns the first value of results IE. Brad

    If we get Fred, the component does not work as expected, and returns the first value of results IE. Brad

    I also checked that I get the same behavior in JDev 11.1.1.7

    UsersVOImpl (programmatic view with 1 transitional attribute object)

    import java.sql.ResultSet;
    
    import java.util.ArrayList;
    import java.util.Iterator;
    import java.util.List;
    
    import oracle.adf.share.logging.ADFLogger;
    
    import oracle.jbo.JboException;
    import oracle.jbo.server.ViewObjectImpl;
    import oracle.jbo.server.ViewRowImpl;
    import oracle.jbo.server.ViewRowSetImpl;
    
    // ---------------------------------------------------------------------
    // ---    File generated by Oracle ADF Business Components Design Time.
    // ---    Wed Sep 18 15:59:44 CDT 2013
    // ---    Custom code may be added to this class.
    // ---    Warning: Do not modify method signatures of generated methods.
    // ---------------------------------------------------------------------
    
    public class UsersVOImpl extends ViewObjectImpl {
    
        private static ADFLogger LOGGER = ADFLogger.createADFLogger(UsersVOImpl.class);
        private long hitCount = 0;
    
        /**
         * This is the default constructor (do not remove).
         */
        public UsersVOImpl () {
        }
    
        /**
         * executeQueryForCollection - overridden for custom java data source support.
         */
        protected void executeQueryForCollection (Object qc, Object[] params, int noUserParams) {
    
             List<String> usersList = new ArrayList<String>();
             usersList.add("Brad");
             usersList.add("Adam");
             usersList.add("Aaron");
             usersList.add("Fred");
             usersList.add("Charles");
             usersList.add("Charlie");
             usersList.add("Jimmy");
    
             Iterator usersIterator = usersList.iterator();
             setUserDataForCollection(qc, usersIterator);
             hitCount = usersList.size();
             super.executeQueryForCollection(qc, params, noUserParams);
    
        } // end executeQueryForCollection
    
        /**
         * hasNextForCollection - overridden for custom java data source support.
         */
        protected boolean hasNextForCollection (Object qc) {
    
             Iterator usersListIterator = (Iterator)getUserDataForCollection(qc);
             if (usersListIterator.hasNext()) {
         
                 return true;
    
             } else {
    
                 setFetchCompleteForCollection(qc, true);
                 return false;
    
             } // end if
    
        } // end hasNextForCollection
    
        /**
         * createRowFromResultSet - overridden for custom java data source support.
         */
        protected ViewRowImpl createRowFromResultSet (Object qc, ResultSet resultSet) {
    
             Iterator usersListIterator = (Iterator)getUserDataForCollection(qc);
             String user = (String)usersListIterator.next();
             ViewRowImpl viewRowImpl = createNewRowForCollection(qc);
    
             try {
    
                 populateAttributeForRow(viewRowImpl, 0, user.toString());
    
             } catch (Exception e) {
    
                 LOGGER.severe("Error Initializing Data", e);
                 throw new JboException(e);
    
             } // end try/catch
    
             return viewRowImpl;
    
        } // end createRowFromResultSet
    
        /**
         * getQueryHitCount - overridden for custom java data source support.
         */
        public long getQueryHitCount (ViewRowSetImpl viewRowSet) {
             return hitCount;
        } // end getQueryHitCount
    
        @Override
        protected void create () {
    
             getViewDef().setQuery(null);
             getViewDef().setSelectClause(null);
             setQuery(null);
    
        } // end create
    
        @Override
        protected void releaseUserDataForCollection (Object qc, Object rs) {
    
             Iterator usersListIterator = (Iterator)getUserDataForCollection(qc);
             usersListIterator = null;
             super.releaseUserDataForCollection(qc, rs);
    
        } // end releaseUserDataForCollection
    
    } // end class
    
    

    <af:inputListOfValues id="userName" popupTitle="Search and Select: #{bindings.UserName.hints.label}" value="#{bindings.UserName.inputValue}"
                                                  label="#{bindings.UserName.hints.label}" model="#{bindings.UserName.listOfValuesModel}" required="#{bindings.UserName.hints.mandatory}"
                                                  columns="#{bindings.UserName.hints.displayWidth}" shortDesc="#{bindings.UserName.hints.tooltip}" autoSubmit="true"
                                                  searchDesc="#{bindings.UserName.hints.tooltip}"                                           
                                                  simple="true">
                              <f:validator binding="#{bindings.UserName.validator}"/>                       
    </af:inputListOfValues>
    
    
    
    

    I found a solution to this problem. It seems that, when using a view object programmatic that has a transient as its primary key attribute, you need to override the methods in the ViewObjectImpl so that he knows how to locate the line related to the primary key when the view object records are not in the cache. That's why it would work properly sometimes, but not always. Here are the additional methods that you must override. The logic you use in the retrieveByKey would be on a view view object database object and would be different if you had a primary key consisting of multiple attributes.

    @Override
    protected Row[] retrieveByKey (ViewRowSetImpl viewRowSetImpl, Key key, int i) {
        return retrieveByKey(viewRowSetImpl, null, key, i, false);
    }
    
    @Override
    protected Row[] retrieveByKey (ViewRowSetImpl viewRowSetImpl, String string, Key key, int i, boolean b) {
    
        RowSetIterator usersRowSetIterator = this.createRowSet(null);
        Row[] userRows = usersRowSetIterator.getFilteredRows("UserId", key.getAttribute(this.getAttributeIndexOf("UserId")));
        usersRowSetIterator.closeRowSetIterator();
        return userRows;
    
    }
    
    @Override
    protected Row[] retrieveByKey (ViewRowSetImpl viewRowSetImpl, Key key, int i, boolean b) {
        return retrieveByKey(viewRowSetImpl, null, key, i, b);
    }
    
  • Read the values of the shape of the adf

    Hello

    I had problems with ADF, I use 11.1.2.2 version.

    What I want to do?

    I have two java classes:

    package model;
    
    public class Params {
        public Params() {
            super();
        }
       
        public Params(String paramType, String value) {
            super();
            this.paramType = paramType;
            this.value = value;
        }
       
        //  date or number
        private String paramType;
        private String value;
    
        public void setParamType(String paramType) {
            this.paramType = paramType;
        }
    
        public String getParamType() {
            return paramType;
        }
    
        public void setValue(String value) {
            this.value = value;
        }
    
        public String getValue() {
            return value;
        }
       
        public String toString() {
            return "value= " + value + " typ= " + paramType;
        }
    }
    
    

    package model;
    
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.List;
    
    public class Main {
        public Main() {
            super();
        }
       
        private List<Params> params;
       
    
        public void setParams(List<Params> params) {
            this.params = params;
        }
       
        public List<Params> getParams() {
            ArrayList<Params> list = new ArrayList<Params>();
           
            list.add(new Params("date", null));
            list.add(new Params("date", "2011-11-11"));
            list.add(new Params("num", null));
            list.add(new Params("num", "123"));
           
    //        System.out.println(list);
            return list;
        }
       
        public void readParams(List<Params> params) {
            for(Params p : params) {
                System.out.println(p.getValue() + " | " + p.getParamType());
            }
        }
    } 
    

    I created the main class data control and I want to create the form that can contain two types of fields: date. MinValue or inputText. A number of fields in the form depends on the size of the list. After that, I want to read user input to the function readParams (main class). But the values remain the same. User input is ignored. Why? This is my page jsf (part of the code):

    I solved this problem on my own.

    (GetParams) get accessor method was wrong.

    I have to populate the list in the constructor.

Maybe you are looking for

  • S10 - 0167 Bios error: no processor update bios found

    Hello My G 6483-72 with installed C2D E8400 (2 * 3 Ghz) is indicated as Core 2 6600 2.4 Ghz. Setup displays error 0167: no processor bios updates are found BIOS installed is 2WKT39AUS, so it should be supporting E8400. tried several times to flash ne

  • change the sequence of client file when Ctrl F5

    I have a 2011 test system based LabVIEW and teststand 2010. I modified the sequential model 'Single Pass' so that when you press Ctrl + F5, test 'main sequence' sequence of a self is executed, not the 'main sequence' of the currently loaded test sequ

  • A patch prevents the system from start - after KB981852

    Now I got my Windows 7 x 64 no longer starts after the automatic update of last night. Seems that some hardware configurations are not affected. I can't start for something else than to the console. I tried to remove everything "removable". All I nee

  • Problem with the program manager__

    I recently installed an update of windows 7 to microsft, whereupon my computer program manager seemed to detect a lot of programs on my computer still running smoothely.  Programs such as Microsoft Office and Google Earth still function perfectly as

  • How to recover pictures on SD SanDisk card 512 MB, which was quick formatted?

    How to recover pictures on SD SanDisk card 512 MB, which was quick formatted under Windows XP SP3? The SD card has been affected through SanDisk Imagemate 12 in 1 model number: SDDR - 89 V4. The camera was a digital pocket old KODAK cam 4 years... (S