Rule Author-How to use own JSP screen instead of Rule Author Customization

hi' I am using Oracle Business Rules and creating Rule Repository using Rule Author however
I want to use my own JSP screen for customization of Rules instead of using Rule Author customization screen.
please tell me how to do this.
thanks
Yatan
Edited by: Yatanveer Singh on Jan 29, 2009 5:19 AM

oracle provides API to edit rule repository programmatically. To use your custom JSP pages you need to write your wrapper classes over following oracle rule API classes:
oracle.rules.sdk.editor.ruleset.Rule
oracle.rules.sdk.editor.ruleset.RuleSet
oracle.rules.sdk.editor.ruleset.Action;
oracle.rules.sdk.editor.ruleset.AdvancedExpression;
oracle.rules.sdk.editor.ruleset.Expression;
oracle.rules.sdk.editor.ruleset.Pattern;
oracle.rules.sdk.editor.ruleset.SimpleTest
Once you create wrapper you can use them as pojos to build your custom rule author screen.

Similar Messages

  • HOW TO USE OWN LOGO IN 'REUSE_ALV_COMMENTARY_WRITE'

    HELLO THERE ,
    CAN ANYBODY TELL ME HOW TO USE OWN LOGO IN 'REUSE_ALV_COMMENTARY_WRITE' ?
    I HAVE TRIED THROUGH THE TRANSCATION 'OAOR' AND 'OAER' , BUT I'M UNABLE TO DO IT. SO CAN ANYBODY PLZ TELL ME ANY OTHER WAY?
    REGARDS.

    Hello NEON BLUE,
    First step first upload u r log in the sap system using the below steps.
    1.  Goto the transaction OAER
    2.  Enter the class name as 'PICTURES'
    3.  Enter the class type as 'OT'
    4.  Enter the object key as the name of the logo you wish to give
    5.  Execute
    6.  Then in the new screen select Standard doc. types in bottom window
         Click on the Screen icon 
         Now, it will ask for the file path where you have to upload the logo
    7.  Now you can use this logo in REUSE_ALV_COMMENTARY_WRITE
    call the FM
        CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
          EXPORTING
            IT_LIST_COMMENTARY       = Y_I_LISTHEADER[]
      I_LOGO                   =
      I_END_OF_LIST_GRID       =
      I_ALV_FORM               =

  • How to use session variable in JSP function  & How to use both JSP  Servlet

    Hi,
    I am new to JSP and servlets
    Still I am devloping a website in JSP. I am not mixing JSP with servlets, but I do create Java files for bean, logic and database works.
    I try to keep the hard coding part out of JSP.
    I dont how to use both JSP and Servlets in combination.
    Hence If needed I write some functions in JSP.
    but it gives me error
    +<%! public void abc()+
    +{+
    int intUserId = Integer.valueOf((Integer) session.getAttribute("MySession_UserID"));
    +}+
    +%>+
    Saying cannot find symbol session
    1) So can u please tell how can I access session variables within JSP function
    2) And also give me some links/tutorials about useing both JSP and Servlets in combination.
    Thanks
    Venkat

    The application architecture when you use Servlets and JSP in a standard MVC pattern is explained here (under the heading "Integrating Servlets and JSP Pages") and here ...

  • How to use conditional success Screen in SMP2.3 HWC?

    Hi All,
      Do anybody have reference for conditional success screen,
    I gone through this link SUP 2.2 Conditional Navigation Issue
    but i didnt able to do how to use conditional success Screen.
    If anybody have reference please provide me.
    Regards,
    Sravanya

    That works. Follow the below steps.
    1. Create a key on the selection screen: click on the selection screen>properties>keys>Add a key,ex. "value".
    2. MenuItem>In the properties of menu item>Parameter mappings>map the key with the key created in last step.ie. "value" instead of the key of the choice box.
    3. Get the value selected from choicebox:
    function customValidateScreen(screenKey, values) {
      if(screenKey === "Selection")
      var form = document.forms[screenKey + "Form"];
      if(form){
      SelectionValue = form.ChoiceboxKey.value;
    //ChoiceboxKey is the key of choicebox.
    //Declare a global value "SelectionValue "
    3. Map PK from program:
    customBeforeSubmit = function(screenKey, actionName, dataMessageToSend) {
      if(screenKey =="Selection" && actionName=="GoToChart" ){
      var myNewValue2 = new MessageValue();
      myNewValue2.setKey("Value");// Key created in the screen "Selection"
      myNewValue2.setValue(""+SelectionValue );
      myNewValue2.setType("TEXT");
      var mvc = dataMessageToSend.getValues();
      if( mvc ) {
      mvc.add( myNewValue1.getKey(), myNewValue1 );
    // So in the above way the data from choice box is send to online request.
    To do the conditional navigation you have to use the global value created,ex.
    hwc.customConditionalNavigation = function(currentScreenKey, actionKeyName, defaultNextScreen, conditionName, incomingDataMessage) {
      if( conditionName === 'Data'&& SelectionValue == "PieChart") {
             return false;
         }else{
        return true;
    Hope you understand how I did this.
    Midhun VP

  • How to use 'at selection screen on exit command'

    Hi,
    How do I use the above event in the following scenario.
    Scenario: I have a report program which has two radio buttons on the selection screen to which user command is assigned. On selection one, some fields should get disappeared on the selection screen. But one of the fields is a mandatory field, which doesn't allow to proceed unless we enter some value in that(which is redundant since anyway it will be disappearing).
    I thought 'on exit command' event works, but the user command assigned to the radio button is not of type E.
    Issuing a message at selection screen instead of making the field mandatory will work, but I don't want to do that.
    Can anyone please tell me how to handle this?
    Incorrect answers will be suitably punished.
    Thanks,
    Sumanth
    Edited by: Julius Bussche on Sep 26, 2009 12:40 PM
    Silly comment suitably modified.

    do not make that field mandatory using obligatory. so now your radio button work is done.
    now, how to make the field look like and work like mandatory field on execution:
    at selection-screen output.
    loop at screen.
       if screen-name = 'P_MAN'. " lets say this is the field which you want to make mandatory.
          screen-required = 2. "this will just  put a tick mark on the input , looks like mandatory.
       endif.
    endloop.
    now, how to check the mandatory option.
    at selection-screen.
    if p_man is initial.
      display your message to fill this.
    endif.
    hope this helps...
    and as per forum rules, kindly do not encourage people by talking about forum rules.

  • How to use At Selection Screen for fields whiledealing with Multiple Blocks

    Hi Guys,
                In my requirement i am having 4 blocks.1st block with raduio buttons for activating the opther 3 Blocks.
                  In these 3 blocks i am having some fields.
           How to do Validation for these fields.?
    I am using At Selection-screen on S-SCAD1. I am getting error"S_SCACD1 is neither a selection screen nor a Parameter"
    On the top of this" At Selection-screen on S-SCAD1" I am having"AT SELECTION-SCREEN OUTPUT."
                    Can anybody tell me how to solve this error?
    Thanks,
    Gopi.

    If you are using your block name than you should use like:
    AT SELECTION-SCREEN ON BLOCK S-SCAD1.
    Regards,
    Naimesh Patel

  • How to use dynamic selection screen inputs in main program

    hi all,
      its a report where in it calls one dynamic selection screen( user need to enter the parameters here) after that i need to use those inputs for some check, can any buddy help how to use/ get that input parameters into main program.
    regards,
    vara..

    Hi,
    i think u have created that dynamic selection screen in seperate program and calling to ur main program.instead of that u just create that synamic selection screen program as include program and include it in ur main program.
    or u need to use set/get parameter id concept.
    rgds,
    bharat.

  • How to use "Adjustment Level " in automatic adjustments rule

    Now we are setting up BPC for legal consolidation.
    we use BPC 7.0MS SP4 Version.
    I want to use some result of automatic adjustment rules for source data, so I tried to use adjustment level in automatic adjustments rules.
    I was setting up A rule's (to use source data) adjustment level is 0 and B rule's level is 1,
    the result of SPRUNCONSO were "Error" CSD-150 and CSD-160.
    Please let me know how to use adjustment level option.
    Thanks.
    Edited by: tae-youn.kim on Dec 14, 2009 3:20 AM

    Hello :
    CSD-150
    Check the method between METHOD Table and your ownership Cube. Check your Rules between the RULES Table and The ELIM Table. Check The INTCo.
    Regards,
    SANJAY

  • How to Use My TV screen as a Computer Screen

    Hi everyone,
    I have a 24" Intel IMAC, 1 year old. Great computer! I saw in some other posts that this is possible but I didn't quite understand what I need to do. I would like to use my TV screen as a computer screen, so I can watch things like my subscription to MLB.TV or any other video that I can play on my IMAC. I saw in some posts about using an Apple Video Adapter. Please be specific for me, is that what connects from the back of my IMAC? If so which slot? And going out from the computer, what does that connect to? What should I buy? And from there I can use a composite cables to connect to my TV? Yes, I have inputs for those on the TV.
    Thanks in advance to anyone who helps.
    Bill

    Your TV based on the jacks present (which are the same as ports), sound like quite an antique. Modern TVs have special jacks for computer hookup. Sounds like your TV has none. The best you'd hope to achieve is 720 x 480 resolution which would result in very little room for the windows on your screen, and very large text on your TV. Trying to even get the menubar and dock on the screen will be a challenge since TVs that only offer 720 x 480 resolution don't offer any screen area beyond the screen safe area for the menubar and Dock to be visible. It will just center on the screen's center, cutting off 20% of the exterior four sides. Ideally you'd want a 1080P HD-TV for computer hookup.

  • How to use OWN logical database

    Hi all,
    hope somebody can help me.
    I copied a standard logical database (FPMF). The program which I use and have modified is also copied from standard.
    How can I assure that the program use MY logical database instead of the SAP-One?
    In my case I have some get statements. And these get statements all refer to FPMF and not to my copied database.
    Do anybody what's the probelm?
    Cheers
    Philip

    Yes, I know. And I am not happy with this solution.
    But I didn't see another way for my issue.
    Thank you very much.
    Philip

  • I have no idea how to use the new "messages" instead of ichat

    i have recently got my first macbook. it isnt the first time i used one.  my friend has the macbook pro as well.  she has the "ichat" app for connecting with her friends.  but i have the "messages" app and i have no idea how to use it.. i cant find the buddy list to add friends... i dont know how to sign in to my account.. and when i try to send a message to someones id it says they arnt registered with ichat.. i have no idea what to do or where to begin!

    Hi Alexaaa,
    Open the Messages app and under the Messages menu go to Preferences>Accounts and set up your account using your AppleID and password.
    Once you have your account set up, then open the messages window. Next to the Search window you will see a little square with a pencil in it, click on that to start a new message. The cursor will be in the "To" line, and at the end of that line you will see a ". Click on that, and your contacts list will come up. Find the contact you want to send a message to, and select either their email or their phone number to send a message. Type in your message in the little message window at the bottom and press Enter to send.
    Hope this helps! Let us know if you have any other questions!
    Cheers,
    GB

  • JCA Classpath - How to use library from rar instead of from WLS

    We have a stand-alone resource adapter that uses the apache commons net library, and relies on features added in version 2.0.
    When we deploy to WLS 10.3.2, we get a class loading error when invoking the adapter. Method org.apache.commons.net.ftp.FTPClient.setConnectTimeout(T)V is not found.
    WLS 10.3.2 includes an older version of the library: com.bea.core.apache.commons.net_1.0.0.0_1-4-1.jar.
    Despite paclkaging the proper version (2.2) in our rar, the older and incompatible 1.4.1 version from the system classpath is used.
    Is there a way to use the version packaged in our stand-alone rar file? I have seen a way to do this for a war file (prefer-web-inf-classes in deployment descriptor).
    O know we could to modify the system classpath in the weblogic startup scripts to use the newer library. We prefer not to do this, since we don't know how WLS uses the library internally, and what might be affected by a different version.

    unfortunately, standalone adapter has not prefer-web-inf-classes or similar feature support.

  • How to use URL in actionscript  Instead of services-config.xml?

    Hi Alls,
    I would like to set my service's url in actionScript (I don't
    want to use compiler option -services witch need to recompile swf
    if you change service's url).
    I search for a long time on google but I found nothing, and
    adobe documentation isn't very clear.
    Thank for help!!!

    If you are relying on a services-config.xml file, then this
    must be provided
    at compile time because the compiler uses it to generate
    code.
    If you're not using <mx:DataService>, you can actually
    avoid compiling against
    a services-config.xml file. This is because for the other
    services, such
    as <mx:RemoteObject> or <mx:WebService
    useProxy="true"> or <mx:HTTPService
    useProxy="true">, the main thing the compiler does from
    services-config.xml
    is to generate the code to instantiate the set of channels
    that should be
    used to contact a destination in LCDS.
    Well... you can do that programmatically in ActionScript...
    something like
    this:
    import mx.messaging.ChannelSet;
    import mx.messaging.channels.AMFChannel;
    private function channelInit():void
    var channelSet:ChannelSet = new ChannelSet();
    var channel:AMFChannel = new AMFChannel(null, "
    http://{server.name}:{server.port}/mycontext/messagebroker/amf");
    channelSet.addChannel(channel);
    myRemoteObject.channelSet = channelSet;
    Just make sure you call this initialization code before you
    make any service
    requests. If you're proxied WebServices, be sure that you use
    the ActionScript
    API instead of the MXML tag so that you can delay when
    loadWSDL() is called
    because you'll want to setup the channelSet first.
    Regards,
    Pete
    Hello FredFlex,
    > Hi Alls,
    >
    > I would like to set my service's url in actionScript (I
    don't want to
    > use compiler option -services witch need to recompile
    swf if you
    > change service's url).
    >
    > I search for a long time on google but I found nothing,
    and adobe
    > documentation isn't very clear.
    >
    > Thank for help!!!
    >

  • How to use single JSP page for multiple users.

    Hi ,
    I am doing messenger kind of program using JSP and tomcat server.
    When i type message it is showing in the some div. If some other person request for the same page by giving my IP address and jsp page, he should able to see what i have typed on page so far.
    how can i do that one . can any one guide me .
    Thanks in advance.

    SuneelGoodatJava wrote:
    Hi ,
    I am doing messenger kind of program using JSP and tomcat server.
    When i type message it is showing in the some div. If some other person request for the same page by giving my IP address and jsp page, he should able to see what i have typed on page so far.
    how can i do that one . can any one guide me .
    Thanks in advance.HTTP is a request/response protocol. You can't do what you're suggesting without "pushing" what you type to all the other users. That's not the way HTTP works. Maybe an applet and servlet.
    %

  • How to use same jsp for edit and add form

    Hi,
    I would like to use the same .jsp file for edit and add. I just want to change a few controls based on edit/add mode. How do I configure this in the jsp?

    In the environment I currently have access to do not have similar setup.
    Let say you setup the DFF1 default value to $HEADER.customer_name, the name of the DFF is CUSTOMER_NAME, description can be anything.
    In DFF2, default value should be a SQL, where you can reference the DFF1. For example, SELECT DECODE($FLEX.CUSTOMER_NAME, 'ABC', 1, 'DEF', 2, NULL) FROM dual
    In this case, you can reference the DFF1.

Maybe you are looking for