Custom method in the Module of the Application with parameter

Hello

I created a custom in my AM method that takes a parameter map m as input.

{} public void dosomething (map m)
... my stuff...
}

In my jspx to executables and links page, I have added my method as a "methodaction."
and some "dosomething (Map)" in the menu dropdown called operations.
Down to settings, I see the current map.

But when I call the method of the bean of my support, like this:
BC = (DCBindingContainer) getBindings ();
OperationBinding opb = (OperationBinding) bc.getOperationBinding ("dosomething");
opb.getParamsMap () .put ("dosomething", my_map);
OPB. Execute();

the card remains in the AM zero...?
The card is not set?

Anyone who could help me with that?

opb.getParamsMap () .put ("* m *", my_map "");

Instead of the name of the method, I think it should be the name of the parameter.

Why not put it in the Pagedefinition. It would be a good practice.

Kind regards
Vincent

Tags: Java

Similar Questions

  • Cannot use this version of the application with this version of MAC OS x

    When I try to download the new beta, I get a message that says: cannot use this version of the application with this version of MAC OS x

    I'm new to Mac, but I installed all the updates and software that did not always help. I don't have to buy a new OS I do?

    Muse requires Mac OS X 10.6 or later.

    http://Muse.Adobe.com/tech-specs.html

  • How to call a method of the AM with parameters of Bean managed?

    Hello world

    I have a situation where I need to call the Managed bean (setDefaultSubInv) AM, under value changes Listner method. Here's what I do, I added the AM method on page links, and then at the bean call it

    Class [] paramTypes = {};
    Object [] params = {};
    invokeEL ("#{bindings.setDefaultSubInv.execute}", paramTypes, params);

    It works and be able to call this method, if there are no parameters. Say that I pass a parameter to setDefaultSubInv(String a) method AM, I tried to call it bean but raise an error

    The string available = 'test ';
    Class [] paramTypes = {String.class};
    Object [] params = {DISP};
    invokeEL ("#{bindings.setDefaultSubInv.execute}", paramTypes, params);

    I'm not sure this is the right way to call the method with parameters. Can anyone tell how to call a method of the AM with bean to manage settings

    Thank you
    San.

    Just do the following

    1. your method in the Client Interface.
    2 - Add to Page Def.
    3 - Customize your Script like below one to reach your goal.

    BindingContainer links = getBindings();
    OperationBinding operationBinding = bindings.getOperationBinding("GetUserRoles");
    operationBinding.getParamsMap () .put ("username", "oracle");
    operationBinding.getParamsMap () .put ("role", "F1211");
    operationBinding.getParamsMap () .put ("Connection", "JDBC");
    Object result = operationBinding.execute ();
    If (! operationBinding.getErrors () .isEmpty ()) {}
    Returns a null value.
    }
    Returns a null value.
    }

    I hope it helps you
    Thank you

  • installation of the application with sqlplus

    Hello

    I have the following scenario:

    -Apex 4.0
    -export file a single application
    -a workspace
    -diagram of several assigned to this workspace

    Now I want to import the application several times to the workspace using sqlplus, once for each schema.

    The id of the application, the alias, analysis of schema etc is in the export file.

    I had a look on the apex packages and found the package with several GENERAL wwv_flow_application_install to define the schema, the application id and alias analysis before calling the export.sql
    execute wwv_flow_application_install.set_schema('SCHEMA_1');
    execute wwv_flow_application_install.set_application_id(12345);
    execute wwv_flow_application_install.set_application_alias('F12345');
    
    @my_application_export.sql
    Works fine for the first importation, the application is imported with the correct analysis scheme, id, and the alias.

    Now, when I try to import the application with a different id, alias and the analysis of schema in the same workspace
    execute wwv_flow_application_install.set_schema('SCHEMA_2');
    execute wwv_flow_application_install.set_application_id(65432);
    execute wwv_flow_application_install.set_application_alias('F65432');
    
    @my_application_export.sql
    I get an error:
    APPLICATION 106 - my application
    Set Credentials...
    Check Compatibility...
    API Last Extended:20100513
    Your Current Version:20100513
    This import is compatible with version: 20100513
    COMPATIBLE (You should be able to run this import without issues.)
    Set Application ID...
    ...authorization schemes
    ...navigation bar entries
    Error creating navigation bar item id="91129183824345698" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_ICON_BAR_PK) verletzt
    ...application processes
    Error creating  application process id="91184561050363427" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_PROCESSING_PK) verletzt
    Error creating  application process id="94471501492414709" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_PROCESSING_PK) verletzt
    Error creating  application process id="4734332482474485" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_PROCESSING_PK) verletzt
    Error creating  application process id="4737523393840829" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_PROCESSING_PK) verletzt
    Error creating  application process id="4747127090401771" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_PROCESSING_PK) verletzt
    Error creating  application process id="4916531867947984" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_PROCESSING_PK) verletzt
    Error creating  application process id="5236411991076929" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_PROCESSING_PK) verletzt
    Error creating  application process id="5857313156776584" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_PROCESSING_PK) verletzt
    Error creating  application process id="5932521460840544" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_PROCESSING_PK) verletzt
    Error creating  application process id="5938622965525301" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_PROCESSING_PK) verletzt
    Error creating  application process id="5992517174351260" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_PROCESSING_PK) verletzt
    Error creating  application process id="6009310642772640" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_PROCESSING_PK) verletzt
    Error creating  application process id="6079621803374367" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_PROCESSING_PK) verletzt
    Error creating  application process id="6092717493593733" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_PROCESSING_PK) verletzt
    Error creating  application process id="6100522029483985" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_PROCESSING_PK) verletzt
    Error creating  application process id="6118725383621366" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_PROCESSING_PK) verletzt
    Error creating  application process id="6146811566877954" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_PROCESSING_PK) verletzt
    Error creating  application process id="6166435242762819" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_PROCESSING_PK) verletzt
    Error creating  application process id="6200519408694365" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_PROCESSING_PK) verletzt
    Error creating  application process id="6227109377463024" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_PROCESSING_PK) verletzt
    Error creating  application process id="6233624491883782" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_PROCESSING_PK) verletzt
    Error creating  application process id="6255122580895619" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_PROCESSING_PK) verletzt
    Error creating  application process id="6305417867615949" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_PROCESSING_PK) verletzt
    Error creating  application process id="6309623136872952" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_PROCESSING_PK) verletzt
    Error creating  application process id="6337509623905694" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_PROCESSING_PK) verletzt
    Error creating  application process id="6365129764763819" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_PROCESSING_PK) verletzt
    Error creating  application process id="6379026467934288" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_PROCESSING_PK) verletzt
    Error creating  application process id="6394407848008983" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_PROCESSING_PK) verletzt
    Error creating  application process id="6509116697050810" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_PROCESSING_PK) verletzt
    Error creating  application process id="6541413119009899" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_PROCESSING_PK) verletzt
    Error creating  application process id="6608531047328317" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_PROCESSING_PK) verletzt
    Error creating  application process id="6700508853725646" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_PROCESSING_PK) verletzt
    Error creating  application process id="6742324554251594" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_PROCESSING_PK) verletzt
    Error creating  application process id="7334514015119063" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_PROCESSING_PK) verletzt
    Error creating  application process id="7670522690946938" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_PROCESSING_PK) verletzt
    Error creating  application process id="8072506577416735" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_PROCESSING_PK) verletzt
    Error creating  application process id="20009752285410609" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_PROCESSING_PK) verletzt
    Error creating  application process id="20081548848027299" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_PROCESSING_PK) verletzt
    Error creating  application process id="20708543788789763" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_PROCESSING_PK) verletzt
    Error creating  application process id="22731153197043083" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_PROCESSING_PK) verletzt
    Error creating  application process id="23523833777980429" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_PROCESSING_PK) verletzt
    Error creating  application process id="24844033599530488" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_PROCESSING_PK) verletzt
    Error creating  application process id="27305353374170934" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_PROCESSING_PK) verletzt
    Error creating  application process id="50466671966030885" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_PROCESSING_PK) verletzt
    Error creating  application process id="71901123603261194" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_PROCESSING_PK) verletzt
    Error creating  application process id="71911102497406549" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_PROCESSING_PK) verletzt
    Error creating  application process id="72945796839696358" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_PROCESSING_PK) verletzt
    Error creating  application process id="75611727489424522" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_PROCESSING_PK) verletzt
    Error creating  application process id="83225345045878412" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_PROCESSING_PK) verletzt
    Error creating  application process id="85610253193310459" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_PROCESSING_PK) verletzt
    Error creating  application process id="87067130819049895" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_PROCESSING_PK) verletzt
    Error creating  application process id="88056347915314075" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_PROCESSING_PK) verletzt
    Error creating  application process id="88075722288656811" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_PROCESSING_PK) verletzt
    Error creating  application process id="88345731653374697" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_PROCESSING_PK) verletzt
    Error creating  application process id="88845427889263923" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_PROCESSING_PK) verletzt
    Error creating  application process id="88910422356738385" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_PROCESSING_PK) verletzt
    Error creating  application process id="91811388351479750" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_PROCESSING_PK) verletzt
    Error creating  application process id="93125490117100045" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_PROCESSING_PK) verletzt
    Error creating  application process id="95423105549600047" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_PROCESSING_PK) verletzt
    ...application items
    Error creating application item id="91496701517163955" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_ITEMS_PK) verletzt
    Error creating application item id="95462704735366247" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_ITEMS_PK) verletzt
    Error creating application item id="74925098071894457" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_ITEMS_PK) verletzt
    Error creating application item id="85623631562417725" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_ITEMS_PK) verletzt
    Error creating application item id="85623227060416485" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_ITEMS_PK) verletzt
    Error creating application item id="94468785778400675" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_ITEMS_PK) verletzt
    Error creating application item id="91131199188348715" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_ITEMS_PK) verletzt
    Error creating application item id="8268524672993859" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_ITEMS_PK) verletzt
    Error creating application item id="7892535820341915" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_ITEMS_PK) verletzt
    Error creating application item id="91189887631389994" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_ITEMS_PK) verletzt
    Error creating application item id="6112405616741037" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_ITEMS_PK) verletzt
    Error creating application item id="72925413621587631" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_ITEMS_PK) verletzt
    Error creating application item id="72916299722555256" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_ITEMS_PK) verletzt
    Error creating application item id="72868617917973832" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_ITEMS_PK) verletzt
    Error creating application item id="20812229261224610" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_ITEMS_PK) verletzt
    Error creating application item id="20002242542379371" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_ITEMS_PK) verletzt
    Error creating application item id="88055245014303801" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_ITEMS_PK) verletzt
    Error creating application item id="88069326341525493" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_ITEMS_PK) verletzt
    Error creating application item id="88059145884341899" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_ITEMS_PK) verletzt
    Error creating application item id="20013855758487357" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_ITEMS_PK) verletzt
    Error creating application item id="88517351238438154" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_ITEMS_PK) verletzt
    Error creating application item id="23556552890515825" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_ITEMS_PK) verletzt
    Error creating application item id="20001839772378565" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_ITEMS_PK) verletzt
    Error creating application item id="93127187824108820" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_ITEMS_PK) verletzt
    Error creating application item id="93126782976107414" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_ITEMS_PK) verletzt
    Error creating application item id="93126101545103287" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_ITEMS_PK) verletzt
    ...application level computations
    Error creating application computation item="HOST" ORA-00001: Unique Constraint
    (APEX_040000.WWV_FLOW_COMPUTATIONS_PK) verletzt
    Error creating application computation item="G_DIALOG" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_COMPUTATIONS_PK) verletzt
    Error creating application computation item="SYSTEMDATUM" ORA-00001: Unique
    Constraint (APEX_040000.WWV_FLOW_COMPUTATIONS_PK) verletzt
    ...Application Tabs
    Error creating standard tab id="95573900545089290" ORA-00001: Unique Constraint
    (APEX_040000.WWV_FLOW_TABS_PK) verletzt
    Error creating standard tab id="91601580463245325" ORA-00001: Unique Constraint
    (APEX_040000.WWV_FLOW_TABS_PK) verletzt
    Error creating standard tab id="91876081329026683" ORA-00001: Unique Constraint
    (APEX_040000.WWV_FLOW_TABS_PK) verletzt
    Error creating standard tab id="91608101550298709" ORA-00001: Unique Constraint
    (APEX_040000.WWV_FLOW_TABS_PK) verletzt
    Error creating standard tab id="93777386111792822" ORA-00001: Unique Constraint
    (APEX_040000.WWV_FLOW_TABS_PK) verletzt
    Error creating standard tab id="94269708930733587" ORA-00001: Unique Constraint
    (APEX_040000.WWV_FLOW_TABS_PK) verletzt
    Error creating standard tab id="95195786406758840" ORA-00001: Unique Constraint
    (APEX_040000.WWV_FLOW_TABS_PK) verletzt
    Error creating standard tab id="96143106731104676" ORA-00001: Unique Constraint
    (APEX_040000.WWV_FLOW_TABS_PK) verletzt
    Error creating standard tab id="97050786059624809" ORA-00001: Unique Constraint
    (APEX_040000.WWV_FLOW_TABS_PK) verletzt
    ...Application Parent Tabs
    Error creating parent tab id="98699999723200562" ORA-00001: Unique Constraint
    (APEX_040000.WWV_FLOW_TOPLEV_TAB_PK) verletzt
    ...Shared Lists of values
    Error creating list of values id="5940425154734029" ORA-00001: Unique Constraint
    (APEX_040000.WWV_FLOW_LOV_PK) verletzt
    Error creating list of values id="6040821434023266" ORA-00001: Unique Constraint
    (APEX_040000.WWV_FLOW_LOV_PK) verletzt
    Error creating list of values id="8142335285688267" ORA-00001: Unique Constraint
    (APEX_040000.WWV_FLOW_LOV_PK) verletzt
    begin
    *
    FEHLER in Zeile 1:
    ORA-00001: Unique Constraint (APEX_040000.WWV_FLOW_LOV_DATA_PK) verletzt
    ORA-06512: in "APEX_040000.WWV_FLOW_API", Zeile 2843
    ORA-06512: in Zeile 3
    When I import the application using the application builder and define the schema of analysis etc. I can import demand several times without problems.

    Why do I get these errors when I use sqlplus to import the application?

    Thanks for the help in advance,
    Dirk

    Dirk:

    Add the following and you should be able to import the application again:

    execute apex_application_install.generate_offset;
    

    Kind regards

    Jason

  • get the return value of a method of the application module in the workflow

    Hello

    I use jdeveloper 11.1.1.7.0

    I defined a method (return type is useful java card) in the Module of the Application and add this method to the client interface.

    also I have a workflow and in this TF firstly I should execute this method and put the return value for the pageFlowScope parameter. I know that to use this method as a methodCall and set it as an activity by default, but I don't know how to get the return value before entering the jsff page and set the pageFlowScope parameter.

    Habib

    Concerning

    When you add the activity to the way to deal, there are 'Return value' property that you can set to #{pageFlowScope.yourVariable}

    Dario

  • Is it possible to call a custom method in the App Module to a backing bean?

    I would like to know if a custom in the App Module method can be called from inside of a pod of support.
    I don't know if it is logically just call, to a backing bean, a custom in the App Module method. But I would like to know if this is necessary or if it is possible.

    Hello..
    Yes it is possible. You must add this interface method customer of AppModule.Now you can see this method in data Controls(Refresh the data control). To call this method using bean, should be added as an action method links (click on links > + > methodAction > and create the binding of the action).
    Now, you can call this method in the bean class.
    Check like uses this concept to run the display criteria

    http://ADF-Lk.blogspot.com/2011/05/Oracle-ADF-create-view-criteria-and_4727.html

  • TestStand fails to use the application with custom user settings

    Hello

    For a project of teststand, I use a .net application that uses a custom settings provider. The problem is that whenever he tries to use one of the teststand user settings, the application returns an exception:

    "Unable to load the provider type.

    I tried to illustrate the small demo project that I have attached.

    The .net application I call of test bench is AppWithUserSetting, and is one of the steps in the q.seq file in sequence to get a value from a user setting. That's where it crashes for me.

    On the other hand, if I instantiate the same objects and read the same setting from another application .net (DoLikeTestStandApp), everything is fine.

    Note that in the AppWithUserSetting settings.designer.cs file, a custom line has been added ([total:ystem.]) Configuration.SettingsProvider (typeof (AppWithUserSettings.UserAppSettingsProvider))]) to force the program to use the custom SettingProvider. And that's where it fails when loading teststand.

    No idea why? Right now, I'd rather not remove the use of this settingProvider custom because it will keep the settings of the user even when the upgrade to a different version of AppWithUserSettings.

    Thank you and best regards,

    Loïc

    PS: I use studio VS 2008 SP1 and Teststand 4.1.1

    Loïc-

    Like Doug mentioned, you are running in an issue similar to that of the other forum thread, he did. I went ahead and implemented workaround for this problem in your example and attached it below.

    I hope this helps. Let me know if you have any questions.

  • Error message validator custom method to the level of the entities

    Hello

    JDev 11.1.2.4

    I have a validator method at the level of the entities. The method can make the entity fail for various reasons. For each pattern, the error message should be different.

    The problem is that in the message of treatment failure, I don't know how to retrieve the correct reason.

    MyEntityImpl

    {} public boolean isValid()

    String pattern = null;

    If (Error1) {reason = ' reason no. 1 "; return false ;}}

    If (Error2) {reason = 'Reason 2'; return false ;}}

    Returns true;

    }

    How to set the value of the reason on handling failed message?

    Thank you

    A solution to work with a transitional attribute in OT

    Oracle adf - message validator set in in adf entity object programmatically - Stack Overflow

  • Installation of the application with the engine running and system Config API kills many services OR

    If I have an empty Windows 10 computer and install LabVIEW 2015 SP1f5 Run-time-Engine, then System Configuration 15.3.

    I see that several OR services are running OK on the machine subsequently:

    However, if I can install a built (LabVIEW 2015SP1) app - using an installer which includes also the 2015 SP1f5 RTE and the configuration of the system API 15.3, five services will not start and cannot be started manually either (affecting all the services into recovery mode restart fails too). Error code when you try to manual start is 1068 that indicates they are missing a dependency, but * any * of them will start...

    I suspect that is the reason that neither Max 15.3 ends with a timeout during the peripheral configuration warning - AND my use of RAD / system configuration set image function is a failure...

    Why the hell the same software support (which should really be installed in all cases, the application itself must be installed) has this devastating beats me. The only way to obtain the services of backup and running is to uninstall everything, even to delete all files remaining and records... and then reinstall the original RTÉ and SysConfigs.

    The problem seems to be a sort of obscure corruption both of my computers for development... I took the same source code and built the installer on a third computer with all the same IDE versions, and voila - everything works well.

    It would be good to know exactly what the problem is, but for now at least, I have a solution... (hopefully fix my machines and/or before you wipe them clean and reinstall the IDE together on them will get back on track...) Without knowing what the cause was however makes me wonder if I might have the same problem again later).

  • Run the application with the admin rights

    Hello

    I am a network administrator and I have problems with an external application. While running the application does not require local administrator rights, the software does an automatic updates check when it is launched. There are updates once a week. If the application is launched without administrator rights, the software does not check. Our users do not have local administrator rights. The result is that the application gets overwhelmed and an administrator needs to log in order to to refresh.

    Here are the solutions I've tried so far:

    1. I ran the application using the command runas , which works, but is not practical as an administrator will have to provide the password every time.

    2. change the compatibility of the application to 'RUN as administrator'. I have disabled UAC to make this work, but the user must always supply a password. I could create a locked user who cannot log on to any machine, etc, etc, but this seems like a stupid solution. I might as well give all admin rights.

    3 to research more, I tried to use RunAsSpc (http://www.robotronic.de/runasspcEn.html). This seems to work well and did exactly what I'm looking for, but created two issues: no drives mapped and an access violation when printing that I won't have to worry about troubleshooting.

    I had to give all users local administrator rights until I have a solution. Is it possible to allow the application to do its updates without granting full administrator rights to the entire system? Any recommendations?

    Yes, let the program provider to build their program cleverly.  It is not going to be a solution to this.

    Otherwise, you will need to just have someone who has admin rights not login once a week and install the necessary updates.  A bit like Microsoft Office Update (requires an administrator to do so).

  • I give up: try to change the application with In App Purchase

    This should be a simple process and a procedure.

    I have a soft retail de.99 in iTunes.

    I tried to change it for a free download, the first 7 pages of preview free app, with an In App Purchase de.99 to see the rest of the application.

    Followed all these instructions to the letter:

    http://www.Adobe.com/devnet/digitalpublishingsuite/articles/free-article-Preview.html

    iTunes rejects IPA because they do not see the IPA after page 7.

    I have the first 7 pages of the application defined as free in the producer of folio and the rest are marked as protected. Update the folio with the Public status and free.

    I guess the problem is that I have the app at the price of encore.99 in iTunes, but if I change it for free while waiting for approval from Apple it generates hundreds of downloads a day, and I end up having to buy another package of folio. Not exactly ideal.

    I spent the weeks with iTunes/Apple trying to get DPI approved. It should be such a simple process/procedure, but at this point, I'm ready to give up and let it run out my folio number and my professional subscription to expire.

    Unless someone has any experience with this problem and can offer specific advice / solutions?

    Thank you!

    You should publish the folio as Public & Retail, fix the price to $0,99 in iTunes in-app purchase. Because you have activated a free for the first 7 items preview, if a user moves on the folio, they see the pre-release 'free' or 'buy' option. They then click on 'free preview' and reading the first 7 items and when they hit article 8, that's when they are asked to buy if they want to continue reading the rest of the items.

  • register the application with Shared Services

    Hello

    I copied a planning of a new application application in Essbase. When I go to Shared Services, I don't see the application in Shared Services. I register this app in environmental assessments, but I get this error «Re-registration not allowed on planning of an [ApplicationName] application» I don't know what it takes then to see this app in Shared Services for the provisioning of users. I use 11.1.1.3

    Thank you.

    A quick way is to create the essbase app/db using eas that make sure that it is registered as an essbase in shared services application, and then save the outline of planning essbase on the newly created db db, copy all of the objects that are needed.

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • Event of the timer with parameter

    Hi guys,.

    I've implemented a BPM inputs 3 times with 3 timers. I need set the TimeDate of the Timer event with three entries. How can I do? I tried with create a DataObject object with three attributes when, before the activities of the timer, I attribute the entries for the data objects and on the Date of the time, I inserted the phrase with the attributes of data object, but it does not work!

    I also tried to insert three string as inputs (instead time) and then I insterted a transformation before the activities of the timer, but it does not work too...

    Please help me!

    Thank you

    I solved insertion-'2 h' in the expression of timer... So now, the question is: why the DateTime input increased by 2 hours? I'll open a topic...

    Thank you

  • How to pass the value calculated with the method of the Application Module?

    I am a newbie to ADF. IThink I'm missing something very basic:



    In JDeveloper 10.1.3.3 ADF, I'm trying to pass the session ID to a method in my App Mod, but the method receives a null value. I think I have a session ID getting too late in the process, but don't know where else to get it.



    Here are the details:



    I'm passing 3 argument to a method called ProcessReport:



    public String ProcessReport (Number reportNumber, Double caratWeight, String sessionID)



    In my PageDef I have:



    < p >
    & lt; executables & gt;

    & lt; variableIterator id = 'variables' & gt;

    & lt; Type = "oracle.jbo.domain.Number" variable

    Name = "ProcessReport_reportNumber" IsQueriable = "false" / & gt;

    & lt; Type = "variable java.lang.Double" name = "ProcessReport_caratWeight" "

    IsQueriable = "false" / & gt;

    & lt; Type = "java.lang.String variable" name = "ProcessReport_sessionID" "

    IsQueriable = "false" / & gt;

    & lt; / variableIterator & gt;

    & lt; / executables & gt;



    & lt; links & gt;
    < /p >
    < p >
    & lt; methodAction id = "ProcessReport" MethodName = "ProcessReport."

    RequiresUpdateModel = "true" Action = "999".

    IsViewObjectMethod = 'false' DataControl = "RC2DataControl."

    InstanceName = "RC2DataControl.dataProvider"

    ReturnName = "RC2DataControl.methodResults.RC2DataControl_dataProvider_ProcessReport_result" & gt;

    & lt; NamedData NDName = "reportNumber" NDType = "oracle.jbo.domain.Number"

    NDValue = "${bindings." ProcessReport_reportNumber} "/ & gt;

    & lt; NamedData NDName = "caratWeight" NDType = "java.lang.Double"

    NDValue = "${bindings." ProcessReport_caratWeight} "/ & gt;

    & lt; NamedData NDName = "sessionID" NDType = "java.lang.String"

    NDValue = "${bindings." ProcessReport_sessionID} "/ & gt;

    & lt; / methodAction & gt;



    & lt; attributeValues id = "reportNumber' IterBinding = 'variables' & gt;

    & lt; AttrNames & gt;

    & lt; Item Value = "ProcessReport_reportNumber" / & gt;

    & lt; / AttrNames & gt;

    & lt; / attributeValues & gt;

    & lt; attributeValues id = 'caratWeight' IterBinding = 'variables' & gt;

    & lt; AttrNames & gt;

    & lt; Item Value = "ProcessReport_caratWeight" / & gt;

    & lt; / AttrNames & gt;

    & lt; / attributeValues & gt;

    & lt; attributeValues id = 'sessionID' IterBinding = 'variables' & gt;

    & lt; AttrNames & gt;

    & lt; Item Value = "ProcessReport_sessionID" / & gt;

    & lt; / AttrNames & gt;

    & lt; / attributeValues & gt;



    & lt; / links & gt;
    < /p >




    On my page, I added an outputText control called sessionID to contain the session ID.

    In my command button submit the page I have and the action to invoke a method in my grain of support:



    The code is:



    FacesContext ctx = FacesContext.getCurrentInstance ();

    ExternalContext ectx = ctx.getExternalContext ();

    HttpSession mySession = ectx.getSession (false) (HttpSession);

    String theSessionID = mySession.getId ();



    sessionID.setValue (theSessoinID) / / I hope she fills the outputText control and is added to the binding must be passed to the ProcessReport method



    BindingContainer links = getBindings();

    OperationBinding operationBinding = bindings.getOperationBinding("ProcessReport");

    Object result = operationBinding.execute ();

    If (! operationBinding.getErrors () .isEmpty ()) {}

    Returns a null value.

    }



    String resultStr = (String) result;

    Return resultStr;



    No chance! I think I should get the sesson ID earlier, during the loading of the page, but I don't know where to put the code.



    Any suggestion would be appreciated.



    John

    Hello

    Here's what I'd do

    1. create a bean managed as follows

    import javax.faces.context.ExternalContext;
    import javax.faces.context.FacesContext;
    
    import javax.servlet.http.HttpSession;
    
    public class HTTPSessionAccessBean {
    
        public HTTPSessionAccessBean() {
        }
    
        public void setHttpSessionId(String httpSessionId) {
        }
    
        public String getHttpSessionId() {
    
            FacesContext ctx = FacesContext.getCurrentInstance();
            ExternalContext ectx = ctx.getExternalContext();
            HttpSession mySession = (HttpSession) ectx.getSession(false);
            String sessionId = mySession.getId();
            return sessionId;
        }
    }
    

    2. in the ApplicationModule Impl class to create the following method and expose it as a clientInterface

        public void setSession(String sessionId){
           ((SessionImpl)this.getSession()).getEnvironment().put("http_session",sessionId);
        }
    

    (3) in the file for pageDef create method as binding

     
          
    

    (4) in the same file for pageDef create an invokeAction

        
    

    The session ID is now accessible from the ApplicationModule as

            Hashtable env = ((SessionImpl)this.getSession()).getEnvironment();
            String sessonId =(String) env.get("session);
    
            }
    

    This keeps the layer of model/view separation

    Frank

  • Impossible to replace "initialize" method on the Application class

    Hi all

    Compilation of the following:

    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" 
                   xmlns:s="library://ns.adobe.com/flex/spark" 
                   xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600" xmlns:local="*">    
        <fx:Script>
            <![CDATA[
                override public function initialize():void {                
                    super.initialize();
                }
            ]]>
        </fx:Script>    
    </s:Application>
    
     
     
     
    

    Returns an error:

    Test_Initialize.mxml 1021: duplicate function definition. /Test_Initialize/src line 7 Flex problem

    The compiler bug?

    I think the ActionScript class generated by the compiler to your MXML file has its own surrogate autogenerated initialize(). You can check it using the - keep option. I do remember not what does the initialize() generated automatically, but - keep will show you.

    Assuming I'm right, I agree that it is a bad thing for the compiler to, so you should file a bug.

    Gordon Smith

    Adobe Flex SDK team

Maybe you are looking for