Set the parameters of the event

I need set the rendering of the event parameters. Support file not found how together make it parameterized.

Hello

I assume you are using JSR168 portlets and try to set the rendering parameters when you receive an event? If so, you can do that from the backup file. you will need to handle the event in your portlet instead of a backup file. For example, the following code would go in your portlet java source:

Import javax.portlet.ActionResponse;
Import javax.portlet.ActionRequest;
import com.bea.netuix.events.Event;

SerializableAttribute public class JavaPortlet extends GenericPortlet
{
...
This method will receive the event. It can have any name, but must
have this signature
' Public Sub handleEvent (request, response ActionResponse ActionRequest,
Event event)
{
Insert here the code of the event management
To set a report parameter, make calls like this:
response.setRenderParameter ("paramName", "paramValue");
}
...
}

Then, in your .portlet file rather a tag for "invokeBackingFileMethod", use the "invokeJavaPortletMethod" tag and specify the name of the method to call, as did the "invokeBackingFileMethod".

Kevin

Tags: Fusion Middleware

Similar Questions

  • Set the event level 38041 16

    Hello
    I learned at the end of the - Edit command set event 38041 trace name context forever, level 16' system;

    as workaround for bug 5645718 in dbms_stats.

    Question: In the unlikely case where issuing this command causes an unexpected problem in my production database, how can I cancel the order forward-backward and put the database back without having to resort to the backup restore?

    In addition, when the event is defined, what command can I use to check that it has been done and if I need to cancel it, what command can I use to check it's been overturned?

    Thank you

    How to determine what system events are being implemented? [845043.1 ID]
    How to set the EVENTS in the SPFILE [160178.1 ID]
    How to list the whole event named for a database [ID 436036.1]

    HTH...

  • Set the events in oracle 11g for SAP

    Hi all

    Recently, we have updated 10.2.0.4 oracle database at 11.2.0.3 (AIX 7.1) for the SAP application.

    Some settings of the default event have been set when the database has been executed with 10.2.0.4 version. After upgrading to 11.2.0.3, these events have not observed pfile/spfile. However, the post_upgrade log shows that these events have been defined (and journal displays a list of events as well).

    Now, my concern is whether the settings of the event have been put already by default (if it is already set after upgrade, don't know why pfile reflecting is not them) or do I have to adjust the settings manually.

    Thanks in advance for your help.

    Kind regards
    Prakash

    See SAP Note 1431798 for a list of the parameters of the event required. These are correct. You must also run the last Patch Bundle SAP that specifically tells you to set these events after the installation of the hotfix. If you have run the wrapper of dbua SAP by their 11g upgrade instructions, I think that it defines these events for you as well.

  • Set the location on parameters event / Signal

    Hi, I use locations on my app.

    If location not defined on (settings BlackBerry)

    I'm open settings

    // If Location settings not ON
    if ( !iPositionSource->property("locationServicesEnabled").toBool() )
    {
            // Open Location Settings
        InvokeManager invokeManager;
        InvokeRequest request;
        request.setTarget("sys.settings.target");
        request.setAction("bb.action.OPEN");
        request.setMimeType("text/html");
        request.setUri("settings://location");
        InvokeTargetReply *reply = invokeManager.invoke(request);
    }
    

    But if I want the event after user change the location settings, there is this event?

    Thank you

    Specifically, I would recommend controlled again once your application is in the foreground. There is no signal that tells you the permissions have changed.

  • setting report parameters fails for the report that runs the stored procedure in QMR FDM 2.1.1

    Hello

    Can someone help us please on this issue we have; If a solution is already available somewhere on the forum please link me to it.

    Please see our situation;

    The script below was part of the customization of a colleague to a script of Oracle FDM ("AftFileImport").

    There are no screenshots at this stage that came back to us with a temporary workaround.

    More detailed description:

    We built a custom report of FDM ("FSBValidationErrorsforAllLocations") that accepts two parameters (CatKey, period) and which calls a procedure stored in SQL Server with the same two parameters. FDM SQL statement of the report is:

    RUN FSBValidationErrorsforAllLocations ' ~ time ~', ~ Cat Key ~

    It works through the User Interface.

    When you try to put the two settings by customizing the event Oracle 'AftFileImport'script, the report fails. Below the part of the code in the 'AftFileImport', where we tried to fill values:

    • objReport.mParametersClear
    • objReport.mParametersAddNew "CatKey", RES. PstrCat
    • objReport.mParametersAddNew 'Period', RES. PstrPer

    We must understand why the way above to the definition of the parameters does not work with stored procedures, as seems to be the only documented way Oracle of setting parameters.

    Please let me know if that's enough.


    Thank you in advance.

    Hello

    which is the error when you run the script?

    • objReport.mParametersAddNew "Cat Key", RES. PstrCat

    Try again with the white space as it is how you named your parameter in the report definition, didn t you?

    Also try to use the built like the following examples:

    objRP.mParametersClear
    objRP.mParametersAddNew 'Period', CDate (dtePeriod)
    objRP.mParametersAddNew 'Loc', CLng (lngLocation)
    objRP.mParametersAddNew 'CatKey", CLng (lngCatKey)
    objRP.mParametersAddNew "TargAcct", CStr (strAutoMapAcct)

    Concerning

  • I can set the number of events in the calendar to display in the Page Notifications?

    I have many calendar events every day (15-25), but only the following event appears in my display of notifications.   Is it possible for me to set the number I see?  As perhaps the next 3 or 5?  And then they are updated as events will expire?  iPhone 6 s

    No, it isn't. There are other calendar applications, for example schedule 5 of Readdle, that display more complete information, but it does not include the events 'expired' or has a Setup for the number of events displayed in the Notifications. I don't know either, but you can always check the App store. But to be honest, I doubt you will find one that handles what you are looking for in the notifications. The sight of Notifications is not really designed for the complete management of the content of the app.

  • How to pragmatically set the name of the user event?

    In LabVIEW 2010, I register a user event during execution by using the function of events Reg, but I want to put the name of the user event, according to the runtime. LV said "If wire you a cluster at the entrance to the data type of the user events , LabVIEW uses the type name of the cluster in the event user name." But I need set the name of the event based on the data that is generated during execution.

    How can I pragmatically set the name of a user with data from cluster event at run time?

    I can do this by changing the text of the label of the bunch before I use Reg events function?

    How will I know what name the user never received?

    Thank you.

    I found a viable solution. I can create a user with a name known event. The event that is sent with the event data will include a Source DN string that identifies the sender of the event. The event handler can then handle each event based on the name of the Source. This is equivalent to have several unique named events, is only right they all share a common event data format, which is OK in my case.

    It works very well.

    THANKS for all the suggestions.

  • How can I set up a structure of the event that sends text when the user presses the button "Return"?

    I'm new to programming of the Structure of the event.  I am trying a program which causes the content of a control to the string to be processed when the user presses the button back in after typing in the control of the chain.  I think (I hope!) that it is simple, I just can't understand how do.

    Basically, I would take the attached VI and change so that the user can send the value of control 'String In' to the indicator "String Out" either by pressing the 'Return' key or press the button 'send string. '

    Any help would be greatly appreciated.

    This example has nothing to do with the RETURN key specifically.  It fires all simply whenever the value of the control is changed.  If you click outside the text box or on another still controls the value changes and still the event is raised.  This is often the desired so if it works in your application, you good to go.

    You CAN ONLY answer a particular key if you wish.  Set your event to meet 'This VI' > key down.  Then, read the proposal Vcle on the left side of the structure of the event and compare it to the RETURN (for example).  The Boolean result of the comparison gets connected to a structure to deal with your code to run inside.  You can also wire Vcle directly to a case structure and execute different code based on which key was pressed last.

  • Set priority higher for front panel events in a Structure of the event

    Hey people,

    I need some advice on the management of events in Labview 2013... I have a structure of the event which handles events of façade (keys) as well as some user events. User events come thick and fast from an external dll. The data as well as this event gets queued at the start and then traced / processed.

    The tricky part is if there are great number of events of the user, the response to the event of the façade is significantly delayed. I get about 80 events back to back user every two seconds. So, if I press a button on the Panel before every two seconds (2 seconds, 4 seconds, 6 seconds... etc) is obviously the delayed answer as opposed to pushing in multiples of 3 seconds (3 seconds then 6 seconds, 9 seconds...) where the reaction is immediate.

    Now I know labview 2013 supports two prioritres while generating events (high & normal) but the problem is in my case, user events come from a dll using the 'PostLVUserEvent' method that does not accept a priority. And I don't see a way to set a priority for the events of façade (keys).

    Any thoughts on how this can be managed?

    Thanks in advance, best regards, Abel.

    The best solution would be to separate user and events of the FP in two independent loops, but I understand that this may be difficult if the two event classes operate on the same data.

    Another possibility is to use two loops serialized, encapsulated together in a larger loop, each containing a structure of the event: the first, with a short timeout, would manage the FP events and could go out on timeout. the second would deal with all user events and would be forced to stop after a predefined number of events managed or, better still, when a quantity preset time has elapsed.

  • How to set the parameters of "Configuration ThinPro" via the HP Device Manager

    Hello

    Maybe I'm blind, but how can I set the settings in "Setup ThinPro', accessible from

    ThinPro Control Center-->

    Control Panel-->

    Setup-->

    Configuration ThinPro

    through the HP Device Manager? These parameters allows to use a very strict kiosk mode, which we want to deploy. So far I found just to solve this problem through a complete picture, but this isn't a solution for me.

    I hope that I have forget something or you have another clue.

    Concerning

    Looks like there is no direct way via the HP Device Manager. Now, I manually configure a thin Client and save the registry.xml that I can ride with other devices.

    Concerning

  • How to set the parameters of scanning on Officejet 6500 connected to a Mac?

    I'm trying to scan documents and pictures using the following:

    Scanner: HP Officejet 6500 E710n-z all-in-one
    Computer: Macbook Pro retina
    Operating system: OS X mount Lion
    Application: "HP Scan" (this application was provided by HP)

    Whenever I have analyze anything, it comes out in grayscale at 300 dpi resolution.  At least, this is what HP Scan tells me when I click on the "Info" button in the lower right.

    I would like to be able to scan things in color rather than just in grayscale, and I wish I could choose the resolutions other than 300PPI.  But I looked everywhere in the graphical interface of the HP scanning application, and I can't find anywhere to adjust these settings.

    Did anyone here know how to change these settings?

    Unfortunately, the link you provided is a version of the software much older than what I have currently installed.

    HP_Installer_Inkjet_Full_Group02_10.3.dmg was published on 14/09/2009, and it is intended for OS X 10.6, aka Snow Leopard.  When I installed the printer installation CD had software pretty much at this time, and he refused to install on MTN. Lion.  Instead it asked me to download the latest version from the HP website.  What is installed on my machine is a file named HP_Mountain_Lion_Ink_SW_v12.23.18.dmg.  Unfortunately, I neglected to save the URL I downloaded from, and I can't seem to find him.  But I saved a copy of the .dmg file in case I ever need to reinstall.

    Meanwhile, I managed to find the answers on my own.  Part of my problem is that, although I'm fairly familiar with Linux and Windows, I am new to the GUI of Mac and his metaphor interface and GUI desktop is different, enough of these I'm familiar with what my instincts are sometimes not a lot of help.  Then, it took me days to notice the only critical button that made all the selections, I was looking for visible.

    HP Scan DO allows you to set things like the Type of Scan (photo or Document), Mode (color, grayscale, black & white), resolution and a number of other parameters.  But we must first click on the "Scan" button... ", and then click on the widget of the arrow to the right of the selection of the Scanner.  By clicking on the arrow pointing downwards in fact all other settings appear.

    If you change the Type of Scan of photo of the Document, it automatically changes color in grayscale Mode, which does not want to create a color PDF.  But you can change the Mode back to color.  And you can save this document as a PDF searchable to call the I.R.I.S. OCR software on it.

    To create a multiple page PDF, or let the software analyzes all sheets in the document feeder, or place another page on the window and click on the button 'Add' in the lower left corner of the window, how it displays the same dialog box that is displayed when you click 'Scan '. ».  You can click on the arrow down and change the settings for each page or leave them alone and they will remain the same as the parameters of the previous page.

    When you have analysed all the pages that you want in a single document, click 'send '.  This displays the usual selection of files box.  At this point, if you set the 'Searchable PDF', or 'PDF' format a checkbox will appear marked "save all items in a single file.

    Thus, it seems that HP Scan works with MTN. Lion, it provides all the features that Capture of Image and seen I.R.I.S. integrated in it, it provides OCR features that Capture of Image is not.

  • How to: set the time zone on a new event before adding it to the calendar?

    I want to add a new event to the calendar, but when I do gets set to a time zone from the casablanca time which means GMT, I want to solve it the current time zone of users.  What is happening now is that if the user manually changes the time zone then the start time of the event changes too.

    Here is my code so far:

    EventList _eventList = null;
                    try{
                        _eventList = (EventList)PIM.getInstance().openPIMList(PIM.EVENT_LIST, PIM.READ_WRITE);
                    }catch(PIMException e){
                        Dialog.inform("PIMException : " + e.getMessage());
    //                  return false;
                    }
    
                    BlackBerryEvent bbEvent = (BlackBerryEvent)_eventList.createEvent();
                    java.util.Calendar cal = java.util.Calendar.getInstance(); 
    
                    long start = cal.getTime().getTime();
                    if (_eventList.isSupportedField(Event.START)) {
                        bbEvent.addDate(Event.START, 0, start);
                    }
                    if (_eventList.isSupportedField(Event.END)) {
                        bbEvent.addDate(Event.END, 0, start + 3600000);
                    }
                    if (_eventList.isSupportedField(Event.SUMMARY)) {
                        bbEvent.addString(Event.SUMMARY, 0, title);
                    }
                    if (_eventList.isSupportedField(Event.LOCATION)) {
                        bbEvent.addString(Event.LOCATION, 0, address+", "+city);
                    }
                    if (_eventList.isSupportedField(Event.)) {
                        bbEvent.addString(Event.LOCATION, 0, address+", "+city);
                    }
                    Invoke.invokeApplication( Invoke.APP_TYPE_CALENDAR, new CalendarArguments(CalendarArguments.ARG_NEW, bbEvent) );
    //
    

    How can I set the time zone before calling Invoke.invokeApplication?

    OK, never mind, my Simulator has been updated with the different time zone, I thought he would pick uop, the right one.  Once I manually put itt o the right zoneit works as expected today.

  • Where the event FDMEE Script parameters are recorded?

    New to FDMEE and want to create a Script of the event... but are not a success if make them run.  Just indicages newspaper that "the script doesn't have to run.  I know that the previous output scripts each has specific settings, but cannot find where all parameters are required or documented in the admin FDMEE guides.

    Ok

    You don't need to declare the variable in the script of the BefImport event.

    You need a function in your import script. For example if you apply an import script to the account dimension:

    numLinesSkipped = 0

    def accCounteSkipLines (strField, strRecord):

    global numLinesSkipped

    numLinesSkipped += 1

    back strField #return account

  • Error when setting the parameters on the tool

    Hi experts,

    I want to use ODIsqlunload, but it still gives the error. My win7 OS

    error:

    oracle.odi.oditools.OdiToolInvalidParameterException: error when setting the parameters on the tool
    at com.sunopsis.dwg.function.SnpsFunctionBase.getCoreOdiTool(SnpsFunctionBase.java:620)
    at com.sunopsis.dwg.function.SnpsFunctionBase.getSunopsisApi(SnpsFunctionBase.java:494)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.executeOdiCommand(SnpSessTaskSql.java:1415)
    at oracle.odi.runtime.agent.execution.cmd.OdiCommandExecutor.execute(OdiCommandExecutor.java:32)
    at oracle.odi.runtime.agent.execution.cmd.OdiCommandExecutor.execute(OdiCommandExecutor.java:1)
    at oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(TaskExecutionHandler.java:50)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2906)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2609)
    at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:540)
    at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:453)
    at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1740)
    to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$ 2.doAction(StartSessRequestProcessor.java:338)
    at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:214)
    at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:272)
    to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$ 0 (StartSessRequestProcessor.java:263)
    to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$ StartSessTask.doExecute (StartSessRequestProcessor.java:822)
    at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:123)
    to oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$ 2.run(DefaultAgentTaskExecutor.java:83)
    at java.lang.Thread.run(Thread.java:662)
    Caused by: java.lang.Exception: ODI-30044: invalid parameter:-file
    at com.sunopsis.dwg.function.SnpsFunctionBase.actionSetParameters(SnpsFunctionBase.java:251)
    at com.sunopsis.dwg.function.SnpsFunctionBase.setParameters(SnpsFunctionBase.java:799)
    at com.sunopsis.dwg.function.SnpsFunctionBase.getCoreOdiTool(SnpsFunctionBase.java:616)
    ... 18 more

    and the code is:

    "SnpsSqlUnload «-file=F:\temp/data_6001_1001.dat" "-driver oracle.jdbc.OracleDriver =" «-URL=jdbc:oracle:thin:@musty-Pc:1521:XE "-user = system-pass = < @= snpRef.getInfo ("SRC_ENCODED_PASS") @ > - file_format variable = - charset_encoding = UTF8 '-row_sep = \n" "-date_format = YYYY-MM-DD '-fetch_size = 1000 '-field_sep = #
    Select / * + * /.

    columns...
    table...
    where (1 = 1)

    I have try this - settings file:

    F:\data_6001_1001.dat
    F:\test.txt
    C:\Test\test.txt
    C:/data_6001_1001.dat
    C:\test/data_6001_1001.txt
    c:/test/data_6001_1001.txt
    C:\test/data_6001_1001.dat

    all of them same result :(

    Please help me experts :(

    Hi experts, I have solved my problem :))

    my code like this:

    "SnpsSqlUnload «-file=F:\temp/data_6001_1001.dat" "-driver oracle.jdbc.OracleDriver =" «-URL=jdbc:oracle:thin:@musty-Pc:1521:XE "- user = system-pass =<@=snpRef.getInfo("SRC_ENCODED_PASS") @=""> - file_format variable = - charset_encoding = UTF - 8 '-row_sep = \n" "-date_format = YYYY-MM-DD '-fetch_size = 1000 '-field_sep = #
    Select / * + * /.

    But it's really strange! I change only the file--> FILE and driver---> DRIVER and row_sep--> ROW_SEP and etc...

    I don't know why, but they should be higher. I did on linux OS 64 bit and no mistake.
    But win7 it gave me error.

    I thik it's a bug...

  • How to set the parameters of width image scroller

    I followed a tutorial on how to build an image thumb wheel. In this tutorial the scrolling of the image extends from one side of the stage to the other, i.e. flash to the edge. I want to shorten in width, as 50 pixels or the other side of the stage. How to set these parameters? What would be a line of code to cut where I want? Here's what I have for the construction of the wheel:

    /////Build Scroller MovieClip to Contain Each Image
    var scroller:MovieClip = new MovieClip();
    var padding:Number = 10;//creating a var for padding to be used later on in easier calculations
    
    this.addChild(scroller);
    scroller.y = 600;
    scroller.x = padding;
    

    (I tried scroller.x - but he only positioned the scrolling differently on the stage. Once it scrolls on mouse over it yet completely jumps to the left, and in any case it doesn't take care of the right edge)

    Chances are that you only need to add a mask for the scroller object.  Create a rectangle that is as wide as you want the thumbs on the stage that it becomes a movieclip/sprite and assign it an instance name.  Then assign it just like a mask for scrolling using the: scroller.mask = masksInstanceName;

    You may need to adjust the code of a scroller for use limits of the mask instead of the scene if it currently specifies limits for scrolling.

Maybe you are looking for