Problem in setting the parameters for an OASingleSelectionBean

Hi,
I have created an advanced table, for which I have to allow single selection or mutliple selection according to my requirements ie dynamically. So, for single selection, I have created a OASingleSelectionBean dynamically and add this to my advanced table bean.
I also want to set Action for the single selection option. I have set the action using
setPrimaryClientAction() which takes an argument of oracle.cabo.ui.action.FirePartialAction class. Now I also want to pass certain parameters when the single selection event happens.
For that, I have taken an object of FirePartialAction class and but using the FirePartialAction class .setParameters(oracle.cabo.ui.collection.Parameter[]) function. I am setting the parameters using
Parameter class object.setKey
Parameter class object.setValue
But my problem is that I want the value for the parameters at runtime, for which I intend to use SPEL. But I am not able to use SPEL using the setValue method.
So it goes like this in short:
OAAdvancedTableBean.setTableSelection(OASingleSelectionBean)
OASingleSelectionBean.setPrimaryClientAction(FirePartialAction)
FirePartialAction.setParameters(Parameter[])
Parameters.setKey(String)
Parameters.setValue(String) --- In case of value I want to give SPEL as an argument as I get the value at rutime
Is that any other way in which I can set the value for the parameters using SPEL?

Hi,
I got ur point.
Although i have never tried.........Can you try using method
Parameters.setValueBinding(new OADataBoundValueViewObject(<single selectionbean>,<vo attr>))
In this way without the use of SPEL, you will be able to achieve the functionality!
Try this and get back to me!
--Mukul
Message was edited by:
Mukul Gupta

Similar Messages

  • Setting the parameters for flash charts

    Hi friends,
    I am having a flash chart in one of my pages and the chart series is of type "Function returning the SQL query". the query is having some parameters like :P23_VARIABLE_NAME. The values of the variable is not getting passed on page load but the values will be passed only when we submit the form. The :P23_VARIABLE_NAME is a variable assigned to a list.
    Could you please let me know how to pass the value to the flash chart the data. The variable values are passed on page load for some other charts which are on the page.
    Regards,
    Pradeep

    That was helpful information. I verified the session status for the page items and saw that when the page loads the session status is blank and when we submit the form the status changes to I with the corresponding values that I entered.
    How can i set a default value for a page item so that when the page loads for the first time, The session status will be I and there is a default value for the page item.
    One more observations is that even the session status is blank how is the apex reports fetching the data based on the variable and the chart is not able to fetch the data.
    Could you provide some more light on the above two questions.
    Regards,
    Pradeep

  • Problem with SET GET parameters

    Hi all,
    I am facing a problem using SET and GET parameters.
    There is a Z transaction(Dialog program) where some fields of screen are having parameter ID's. That transaction is designed to diaplay/change status of only one inspection lot at a time.
    Now I need to call that transaction in a loop using BDC. I mean i need to update the status of multiple inspection lots(one after the other). Before calling the transaction I am using
    SET PARAMETER ID 'QLS' FIELD lv_prueflos.
    Unfortunately the transaction is only changing the first inspection lot. When I debugged I found that the screen field is changing in PAI. Even though in PBO it shows the next value, when it goes to PAI it is automatically changing to the first value(inspection lot).
    Example: Inspection Lots : 4100000234
                                               4100000235
                                              4100000236
    Now first time when the call transaction is being made the status of insp lot 4100000234 is changed. For the second time when insp lot 4100000235 is being passed in PBO ican see this. But the moment it enters PAI the screen field changes to 4100000234.
    Could you pls help me in solving this issue.
    Thanks,
    Aravind

    Hi,
    Problem with SET GET parameters
    Regarding on your query. Follow this below link.
    It will help you.
    Re: Problem with Set parameter ID
    Re: Problem in Set parameter ID
    I Hope it will helps to you.
    Regards,
    Sekhar

  • Can i set the timing for individual photos in a slideshow

    there are text pages that need to be read but not at a 4 second speed
    it has to be slower more time
    syncing to music i compose is a must
    can each individual photo have its own time
    i hope so or else they ruined a wonderful product
    with this limitation

    Glen:
    Yes, you can. Under the slide there's a button titled "Adjust'. Click on it and you can set the time for that slide, the transition, etc.
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto (iPhoto.Library for iPhoto 5 and earlier) database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've created an Automator workflow application (requires Tiger or later), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 6 and 7 libraries and Tiger and Leopard. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.

  • How do you set the time for this forum??? Not in nerd pleas

    how do you set the time for this forum?

    There were problems with the correct time display for postings, and based on another recent post this doesn't seem to have been fixed. My advice... don't worry about it.

  • Problem in setting the smtp in a apple mail account.

    Can anyone help me resolve a problem in setting the mail preferrences? I have multiple email accounts and the smtp address is being deleted to a none smtp in an account then when I fix the problem in one account it deletes an smtp address in another email account. When I fix that account it deletd another smtp address and so on an so forth. Is this a virus or is there a fix for this problem?

    Mail in IOS iPhone or OS X?
    Anyway You select each account and assign or create new smtp.

  • Transport request for Set Control Parameters for Actual Data.

    Hi Viewers,
    I am unable to create the transport request for the below settings
    Controlling->Profit Center Accounting->Basic Settings->Controlling Area Settings->Activate Direct Postings->Set Control Parameters for Actual Data.
    Is it possible to move the request through transport request or do we need to create the settings directly in the target system.
    Thanks
    Aswin.

    Hi,
    Please read the IMG help at the given path.  There are certain profit center accounting settings which cannot be transported directly from the same path, but there is another node in SPRO path for doing this.  If possible I will try to locate the path but I am not sure I can post it immediately as I am not having system handy.
    thanks,
    Kumar

  • How to set the conditions for item deletion approval workflow?

    Hi,
    I have created approval workflow for item modifications ie, when user try to modify an item, it will send a mail to Project Manager. For that I set the conditions in Change the behavior of the overall task: 1. When the task process starts 2 . When the task
     process completes .
    Change the behavior of the single task: 1.when a task is Pending.
    [I followed this https://www.nothingbutsharepoint.com/sites/eusp/Pages/5-Steps-to-Enhance-SharePoint-2010-Approval-Workflow.aspx ]
    My Requirement is that I want to set this same workflow for the scenario: when the user deletes an item it will send a mail (intimation mail for item deletion) to Project Manager. here i dont want to send modification mails when user deletes an item.
    When user modifies an item: 1. intimation mail, 2. Approve/Reject mail 3. intimation for approval / rejection mail.
    When user deletes an item: 1. intimation mail.
    How can we set it in one approval workflow?? where i have to set the condition for sending either item modification mails or deletion mail.
    Thanks,
    Praveen ji

    Hi,
    According to your post, my understanding is that you wanted to start approval workflow when item deleted.
    You should first make some changes to trigger the workflow when you delete the item.
    You can use the Event Receiver to achieve it.
    In order to trigger workflow on item delete you need to create event receivers and from event receiver call the workflow already attached with list.
    http://ravendra.wordpress.com/sharepoint-workflow-on-list-item-delete/
    You can also create custom action to start the workflow, you can refer to the following article, then modify the workflow as your need.
    http://blogs.sharepoint911.com/blogs/jennifer/Lists/Posts/Post.aspx?ID=50
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • How to set the icon for the entire application with JFrame.setIconImage

    I set the icon on the main frame using JFrame.setIconImage(). The icon is shown properly in the main frame.
    If more JFrames are opened from the main frame, the newly opened JFrames also show the icon.
    However if JDialogs are opended, in some cases the icon set on the main frame is shown and in other cases the coffee cup.
    What is JFrame.setIconImage() expected to do? Setting the icon for a single JFrame or the entire application?
    How can I set the icon for the entire application?
    How can I set the icon for JDialogs?
    Thank you

    In order for your dialogs to use the same icon as the frame, you must parent the dialogs to the frame which has the custom icon.
    See the following thread for more information: http://forum.java.sun.com/thread.jsp?forum=57&thread=362542
    cheers,
    Greg

  • How to set the size for height of iView tray?

    Hi,
    I have created a ABAP webdynpro component and integrated this comp with iView. Then i integrated iView into Page in portal. That is working fine.
    But the size of tray/window which is displayed in the page is very small.
    How to increase the height of that Tray/window/iView containing my component?

    Hi,
    By changing the maximum automatic height and Minimum automatic height property of the iview you can set the size for height of your iview.
    to do this follow the setps:
    goto content administrator -> portal content -> your folder where you created your iview or directly to your iview -> right click -> open -> object,
    and now in property category choose appearance-Size from the drop down menu and set the above properties to your required height.
    if you want the end user to modify this property set the property to read/write .
    *********please reward points if the information is helpful to you********************

  • How do you set the duration for multiple stills in iMovie 2013?

    How do you set the duration for multiple stills in iMovie 2013?
    Before upgrading to the latest version of iMovie last month, I was able to set the duation of all of the stills included in an iMovie project at one time by clicking the apply to all still box in the adjustment pop up. That option is no longer apparent. If it is available I cannot find it, and I have tried several different ways to accomplish it. I have tried the iMovie help section and can find nothing to help.
    Apple, do I really have to adjust close to 500 pictures to a 5 second duration individually???
    REALLY??!!

    ...why wouldnt people want that level of accuracy when animating, especially when working to music at a specific duration?
    Because often people are animating to words or beats in the music.  Music is rarely performed with a computer-precise beat and tempo.  Musicians aren't robots: they swing the beat sometimes.  They use rubato.  They change tempo.  They change time signatures.  As a result, you have to FIND those words and beats.  It's not a situation where you can say, "There!  I've found the duration of one beat!  Now it's easy to find the rest of them!" 
    If you try it, you will be very disappointed.
    Try finding the precise end of a piece of music that fades or ends on a big chord with a ring-out.  You'll see that it's trial-and-error: what's the point where it becomes inaudible?  It depends on how high your speakers are turned up.  You might have them way up, you set an end point for the layer, and then you do a RAM Preview at a more reasonable volume.  You might say, "Hey!  The music ends before the layer ends!"...  but you KNOW you set the layer's out point when the audio file goes silent.
    AE has layer markers that can be used on an audio layer to mark beats, words, etc. They come in very handy.
    I guess it comes down to this: because AE can do so much different stuff, there are very few automated procedures.  Oh, Adobe tries with effects that convert audio levels to keyframes, but they're not 100% reliable... especially on something like a capella choral works.  For true accuracy, you need  find the timings yourself. 
    If you want something simpler, try a different application. But be prepared for lower level of accuracy.

  • Can I set the language (for spellcheck) of a document in the iCloud Web version, or iOS version, of Pages? If yes, how?

    Can I set the language (for spellcheck) of a document in the iCloud Web version, or iOS (iPad) version, of Pages? If yes, how?

    In iOS, the spellcheck language follows the keyboard.
    The forum for questions about iOS Pages is at
    https://discussions.apple.com/community/app_store/iwork_for_ios

  • Can I set the DocumentType for an XML document? If so how? please help

    Hi,
    I am porting some code from jdom to xerces.
    jdom's document class provides a setDocType(String, String) function to set the DTD for the document.
    Is there anything similar in dom?
    The javadocs only mentions a getDocType() for the document interface in org.w3c.dom.Node interface. Is there any way I can SET the document type (DTD) for a given document object?
    TIA,
    Srinivas.

    In iOS, the spellcheck language follows the keyboard.
    The forum for questions about iOS Pages is at
    https://discussions.apple.com/community/app_store/iwork_for_ios

  • Set the password for zip file in unix

    Hi All,
    I have used the below command to zip the file and it is working fine.
    cd /YYYY;zip -r ZZZZ.zip ZZZZ.TXT
    While using the below command to set the password on zip file , I am getting error like "zip error: Invalid command arguments (encryption not supported)
    zip -P password -r ZZZZ.zip ZZZZ.TXT
    Can you please help me how to set the password for zip file in UNIX.
    Thanks,

    Do you use any characters in the password that might confuse the zip command? (like '-' or ';'?)
    If I use the command in RHEL4:
    cd /tmp
    zip -P password -r tt.zip gconfd-oracle
    adding: gconfd-oracle/ (stored 0%)
    adding: gconfd-oracle/lock/ (stored 0%)
    adding: gconfd-oracle/lock/ior (deflated 67%)

  • How to set the header for second page

    Hello all,
    I'm trying to set different header for first page and page number should starts from second page.
    Below is the sample code to set the header for each and every page.
    DECLARE
    hApplication OLE2.OBJ_TYPE;
    hWindow OLE2.OBJ_TYPE;
    hPane OLE2.OBJ_TYPE;
    hView OLE2.OBJ_TYPE;
    hDocuments OLE2.OBJ_TYPE;
    hDocument OLE2.OBJ_TYPE;
    hSelection OLE2.OBJ_TYPE;
    hParagraphFormat OLE2.OBJ_TYPE;
    hRange OLE2.OBJ_TYPE;
    hFields OLE2.OBJ_TYPE;
    hFont OLE2.OBJ_TYPE;
    args OLE2.LIST_TYPE;
    wdAlignParagraphLeft CONSTANT number(3) := 0;
    wdAlignParagraphCenter CONSTANT number(3) := 1;
    wdAlignParagraphRight CONSTANT number(3) := 2;
    wdSeekCurrentPageHeader CONSTANT number(3) := 9;
    wdSeekCurrentPageFooter CONSTANT number(3) := 10;
    wdSeekMainDocument CONSTANT number(3) := 0;
    wdFieldPage CONSTANT number(3) := 33;
    wdFieldNumPages CONSTANT number(3) := 26;
    wdPageBreak CONSTANT number(3) := 7;
    wdStory CONSTANT number(3) := 6;
    myTab CONSTANT varchar2(1) := chr(9);
    myBlue CONSTANT number(8) := 16711680; --FF0000
    myGreen CONSTANT number(8) := 65280; --00FF00
    myRed CONSTANT number(8) := 255; --0000FF
    myDkGreen CONSTANT number(8) := 32768; --008000
    myBlack CONSTANT number(8) := 0; --000000
    myText varchar2(2000);
    BEGIN
    hApplication:=OLE2.CREATE_OBJ('Word.Application');
    OLE2.SET_PROPERTY(hApplication, 'Visible', 1);
    hDocuments := OLE2.GET_OBJ_PROPERTY(hApplication, 'Documents');
    hDocument := OLE2.INVOKE_OBJ(hDocuments, 'Add');
    -------- Create Header and Footer --------
    hWindow := OLE2.GET_OBJ_PROPERTY(hApplication, 'ActiveWindow');
    hPane := OLE2.GET_OBJ_PROPERTY(hWindow, 'ActivePane' );
    hView := OLE2.GET_OBJ_PROPERTY(hPane, 'View' );
    ---- Header Section ---
    OLE2.SET_PROPERTY(hView, 'SeekView', wdSeekCurrentPageHeader);
    hSelection := OLE2.GET_OBJ_PROPERTY(hApplication, 'Selection');
    hFont := OLE2.GET_OBJ_PROPERTY(hSelection, 'Font');
    OLE2.SET_PROPERTY(hFont, 'Name', 'Times New Roman');
    OLE2.SET_PROPERTY(hFont, 'Size', 10);
    OLE2.SET_PROPERTY(hFont, 'Bold', FALSE);
    OLE2.SET_PROPERTY(hFont, 'Color', MyBlue );
    hParagraphFormat := OLE2.GET_OBJ_PROPERTY(hSelection, 'ParagraphFormat');
    OLE2.SET_PROPERTY(hParagraphFormat, 'Alignment', wdAlignParagraphCenter);
    OLE2.RELEASE_OBJ(hParagraphFormat);
    args := OLE2.CREATE_ARGLIST;
    OLE2.ADD_ARG(args, 'This is a');
    OLE2.INVOKE(hSelection, 'TypeText', args);
    OLE2.DESTROY_ARGLIST(args);
    OLE2.INVOKE(hSelection, 'TypeParagraph');
    OLE2.SET_PROPERTY(hFont, 'Size', 16);
    OLE2.SET_PROPERTY(hFont, 'Bold', TRUE);
    OLE2.SET_PROPERTY(hFont, 'Color', MyDkGreen );
    args := OLE2.CREATE_ARGLIST;
    OLE2.ADD_ARG(args, 'Test Header');
    OLE2.INVOKE(hSelection, 'TypeText', args);
    OLE2.DESTROY_ARGLIST(args);
    ---- Footer Section ----
    OLE2.SET_PROPERTY(hView, 'SeekView', wdSeekCurrentPageFooter);
    hParagraphFormat := OLE2.GET_OBJ_PROPERTY(hSelection, 'ParagraphFormat');
    OLE2.SET_PROPERTY(hParagraphFormat, 'Alignment', wdAlignParagraphCenter);
    OLE2.RELEASE_OBJ(hParagraphFormat);
    hFields := OLE2.GET_OBJ_PROPERTY(hSelection, 'Fields');
    args := OLE2.CREATE_ARGLIST;
    OLE2.ADD_ARG(args, 'Page ');
    OLE2.INVOKE(hSelection, 'TypeText', args);
    OLE2.DESTROY_ARGLIST(args);
    hRange := OLE2.GET_OBJ_PROPERTY(hSelection, 'Range');
    args := OLE2.CREATE_ARGLIST;
    OLE2.ADD_ARG_OBJ(args, hRange);
    OLE2.ADD_ARG(args, wdFieldPage);
    OLE2.INVOKE(hFields, 'Add', args );
    OLE2.DESTROY_ARGLIST(args);
    args := OLE2.CREATE_ARGLIST;
    OLE2.ADD_ARG(args, ' of ');
    OLE2.INVOKE(hSelection, 'TypeText', args);
    OLE2.DESTROY_ARGLIST(args);
    hRange := OLE2.GET_OBJ_PROPERTY(hSelection, 'Range');
    args := OLE2.CREATE_ARGLIST;
    OLE2.ADD_ARG_OBJ(args, hRange);
    OLE2.ADD_ARG(args, wdFieldNumPages);
    OLE2.INVOKE(hFields, 'Add', args );
    OLE2.DESTROY_ARGLIST(args);
    OLE2.RELEASE_OBJ(hRange);
    OLE2.RELEASE_OBJ(hFields);
    OLE2.SET_PROPERTY(hView, 'SeekView', wdSeekMainDocument);
    OLE2.RELEASE_OBJ(hView);
    OLE2.RELEASE_OBJ(hPane);
    OLE2.RELEASE_OBJ(hWindow);
    -------- Insert Text --------
    hFont := OLE2.GET_OBJ_PROPERTY(hSelection, 'Font');
    OLE2.SET_PROPERTY(hFont, 'Name', 'Arial');
    OLE2.SET_PROPERTY(hFont, 'Size', 12);
    OLE2.SET_PROPERTY(hFont, 'Bold', FALSE );
    OLE2.SET_PROPERTY(hFont, 'Color', myBlack );
    OLE2.INVOKE(hSelection, 'TypeParagraph');
    myText := myTab || 'This text is on the ';
    args := OLE2.CREATE_ARGLIST;
    OLE2.ADD_ARG(args, myText);
    OLE2.INVOKE(hSelection, 'TypeText', args);
    OLE2.DESTROY_ARGLIST(args);
    OLE2.SET_PROPERTY(hFont, 'Bold', TRUE);
    OLE2.SET_PROPERTY(hFont, 'Color', myRed);
    args := OLE2.CREATE_ARGLIST;
    OLE2.ADD_ARG(args, 'first ');
    OLE2.INVOKE(hSelection, 'TypeText', args);
    OLE2.DESTROY_ARGLIST(args);
    OLE2.SET_PROPERTY(hFont, 'Bold', FALSE);
    OLE2.SET_PROPERTY(hFont, 'Color', myBlack );
    args := OLE2.CREATE_ARGLIST;
    OLE2.ADD_ARG(args, 'page.');
    OLE2.INVOKE(hSelection, 'TypeText', args);
    OLE2.DESTROY_ARGLIST(args);
    args := OLE2.CREATE_ARGLIST;
    OLE2.ADD_ARG(args, wdPageBreak);
    OLE2.INVOKE(hSelection, 'InsertBreak', args);
    OLE2.DESTROY_ARGLIST(args);
    ----page 2
    myText := myTab || 'This text is on the ';
    args := OLE2.CREATE_ARGLIST;
    OLE2.ADD_ARG(args, myText );
    OLE2.INVOKE(hSelection, 'TypeText', args);
    OLE2.DESTROY_ARGLIST(args);
    OLE2.SET_PROPERTY(hFont, 'Bold', TRUE);
    OLE2.SET_PROPERTY(hFont, 'Color', myBlue);
    args := OLE2.CREATE_ARGLIST;
    OLE2.ADD_ARG(args, 'second ');
    OLE2.INVOKE(hSelection, 'TypeText', args);
    OLE2.DESTROY_ARGLIST(args);
    OLE2.SET_PROPERTY(hFont, 'Bold', FALSE);
    OLE2.SET_PROPERTY(hFont, 'Color', myBlack );
    args := OLE2.CREATE_ARGLIST;
    OLE2.ADD_ARG(args, 'page.');
    OLE2.INVOKE(hSelection, 'TypeText', args);
    OLE2.DESTROY_ARGLIST(args);
    ---- go to the top of the first page
    args := OLE2.CREATE_ARGLIST;
    OLE2.ADD_ARG(args, wdStory);
    OLE2.INVOKE(hSelection, 'HomeKey', args);
    OLE2.DESTROY_ARGLIST(args);
    OLE2.RELEASE_OBJ(hFont);
    OLE2.RELEASE_OBJ(hSelection);
    OLE2.RELEASE_OBJ(hDocument);
    OLE2.RELEASE_OBJ(hDocuments);
    OLE2.RELEASE_OBJ(hApplication);
    END;
    Please help me out
    Thanks,
    Bhavana

    Click on --
    Edit link for Page> Click "Edit Default" link on Banner >
    Under the "Banner Links"
    provide value something like this:
    Label = Help
    URL = /pls/portal30/docs/myhelp.html
    Icon = U can upload any icon here.
    For Application Components = See the Second Last tab on "Edit Component".
    Thanx,
    Chetan.

Maybe you are looking for

  • Illustrator CC Crashes when saving Symbols

    My issue is when I open an .eps, (any .eps because I tried it with a multitude of files), and I try to drag a path into the symbols panel then "save symbol library" Illustrator immediately crashes. It doesn't matter if its just one symbol or multiple

  • Copy & Paste plain text?

    It's really annoying sometimes when I can't copy just plain text from firefox to Pages. It always comes with its own font and size. How could I just copy plain text?

  • IPod will only import 1-2 seconds per track. Why?

    For some months when I try to import a CD I only get a second or two of music before it skips to next track and does same. I have had 2 updates and its not been solved. I cannot find 'iPod Updater' on my screen to try to restore factory settings. Ide

  • SAP Note Number: 852443 | Runtime Error MESSAGE_TYPE_X in Data Source over HANA Source System

    Hi, I am facing an issue for Inconsistency in Delta extraction due to a Init Request Mismatch. I found out an SAP Note 852443 for the same and it provided me with a workaround solution for the same. But , this Issue is frequently reappearing for the

  • Unable to Install Identity Server : Error 20: Identity System Configuration

    HI I am trying to setup IDM system as per below order. Oracle DB -> OID (two Instance OID1 & OID2 on separate RHEL5 box) -> OVD ( OVD1 & OVD2) -> OAM I have successfully installed this setup upto OVD. But once I started Identity Server installation,