UIShell: How to attach a callback handler tabActivatedEvent(ActionEvent)

Hi Experts,
I like to listen on tab selection changes and take action else where. I need to PPR parts of the application that are outside of main content area (example: filters, options, property editor)
In this wire frame http://www.twitpic.com/1e303w/full please see accordion on the left where there are filters, options. They are dynamic based on the selected tab in the shell.
It would be nice if I get a callback from public void tabActivatedEvent(ActionEvent action). Perhaps :-
1. TabContext could accept list of callback handlers and notify these listeners. Something like...
Ex: public void tabActivatedEvent(ActionEvent action) {
RichCommandNavigationItem tab = (RichCommandNavigationItem) action.getComponent();
// get tab index from id
Object tabIndex = tab.getAttributes().get("tabIndex"); // NOTRANS
setSelectedTabIndex((Integer) tabIndex);
*for (CallbackHandler handler: getCallbackHandlers()) {*
handler.notifyTabActivated(action);
2. Or may be we can go +1 better and push the handlers registration to Tab class so that would allow to attach listeners on selected Activities and not all.
Ex: public void addTab(String localizedName, String taskflowId *, SelectionListener...listeners* ) throws TabOverflowException
and in above code; we could do something like...
Tab tab = getTabs().get(getSelectedTabIndex());
*for (CallbackHandler handler: tab.getCallbackHandlers()) {*
handler.notifyTabActivated(action);
Edited by: GiriSenji on Apr 8, 2010 10:14 AM

It turns out we don't need such complex callbacks.
I found that I could just PPR the navigationPane.index. Many thanks to Richard.

Similar Messages

  • How to attach documents to BPM workspace from IPM ?

    Hi All,
    I want to attach a document to BPM workspace, which is uploaded from Oracle IPM.
    I can create the BPM instance and pass the metadata form IPM to BPM workspace.
    Passing image URL to one of the field, also possible but i want to attach the document to *'Attachment'* area of the workspace.
    Is this a possible scenario?
    Thank you
    E

    Hi Nir
    Yes, you can add attachments to Attachments section of Task under Comments and Attachments area. BUT you need to write some Java Code for this to use Task APIs to programmatically add attachments to the Task by reading the payload to get attachment details. You can write the java code in different places like when a Task is Assigned using TaskAssignment Callback handler. Or when Task is submitted using ITaskValidationCallback handler etc.
    http://docs.oracle.com/cd/E14571_01/apirefs.1111/e10660/oracle/bpel/services/workflow/task/ITaskService.html (See methods like addAttachment(..))
    You can find lots of samples online on how to use above APIs.
    Thanks
    Ravi Jegga

  • How do I get a handle on embedded sound files?

    From the Sound Class information, it says to use the SoundMixer Class to handle embedded Sound Files.  I have two sound files embedded, that I have setup in 2 separate layers, starting at frame one in the main timeline.  I needed to do this so I could see the wave files, and coordinate text with the waves.  I do not want to load these files into the .swf file at runtime using URLRequest.  How do I get a handle on those as they exist, to make each controllable by separate volume and mute controls for each sound?
    This will be a challenging question, because, "it can't be done" doesn't work for me.  I managed to create a way to use an external classfile to control the main timeline, the ROOT timeline, without having to create a sub movie to root.  I can use my component to call play(); as though it were in code in a frame.  But it isn't, it's in an external classfile.  I passed root to the classfile and told the classfile to think of it as a movieclip - that put the handle on it.  I tried similar way with root as a Sound, but that isn't detailed enough - I need to get a handle on the frame that contains the embedded sound file.  I embedded, attached it, using the properties view for the frame.
    I've attached, or whatever you want to call it, these sound files to a frame, and this frame is or should be attached to the layer I've created.  So, under the assumption that the ROOT has everything attached to it in some manner (it is after all the foundation for the COM), the stage of the root contains the visual components, so ROOT has to have the layer objects attached to it, which should have the frame objects attached to the layers.  I have two layers that each have a .wav file attached to frame one.  Somehow Flash keeps track of that - I want to know how Flash does it so I can read what flash reads.
    If this seems redundant, it probably is.  I want to paint the best picture I know how so I can get detailed feedback.  Please, if you have questions ask them so we can clarify, and get this resolved!  Thanks for reading!

    lol.
    ok, it can be done.  keep working on it.

  • WSA S160 Support for Terminal Servers (How are terminal server connections handled?)

    We have a terminal server environment with a mixture of computers and laptops. Currently we have multiple proxy servers and would like to considate down to one. Our current solution does not work well in a terminal server environment. We are looking for a way to integrate all equipment with one soluton and I was curious as to how the S160 handled users connecting via a terminal server.

    Edadios thanks for the response. I was reading over this document (see attached), and it looks to me like the connection would be tracked via a cookie surrogate. My bigger concern is that we are looking to be able to track usage per user even though they are on a terminal server. Our current solution (Barracuda) is not able to perform this function. I am hoping to have a S160 on site this week to do some testing but was hoping to gather some intel in the forums prior to implementation.
    The response helps clear up what protocols are in use but I am still wondering how terminal server connections are handled by the WSA and if they are truly handled and tracked per user instead of by the device they are connecing to.

  • Officejet 6600 is there a way to attach the document handler?

    How do I re-attach the document handler ono this HP OfficeJet 6600?

    Hello corgi3girl,
    Welcome to the HP Forums.
    When you say Document Handler, do you mean the Automatic Document Feeder (ADF)?
    Are you able to take a picture and send it as an attachment on this file so I can see what it is we are exactly dealing with?
    I will be more than happy to help so please write me back when you have time.
    Cheers, 
    Click the “Kudos Thumbs Up" at the bottom of this post to say “Thanks” for helping!
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    W a t e r b o y 71
    I work on behalf of HP

  • How do you get a handle to a TestStand API SequenceCallModule Object?

    I am trying to programatically specify the SequenceName for a sub sequence, created using the TestStand API called from LabView.  SequenceName is a property of the SequenceCallModule object but I cant see how to get the object handle.
    Can anyone help?
    Regards
    Steve
    There are 10 types of people in the world that understand binary, those that do and those that don't.

    Hi,
      you can actually do this. I was speaking to Steve yesterday on this :
    starting with the handle to the appropriate step (I've done it in the attached sequence file in TS, but should translate nicely to LV)
    so I use the sequence to get the step by name
    I can then get the step.module
    then using the TESTAND ADAPTER API (and not the Teststand API)
    I can use the module returned above with the SequenceCallModule class from the TestStand AdapterAPI then. (you have to know ahead of time what the appropriate module / adapter type is otherwise it will have problems)
    Hope that helps
    Sacha Emery
    National Instruments (UK)
    // it takes almost no time to rate an answer
    Attachments:
    3_0 using adapter specific sequencecallmodule.seq ‏39 KB

  • Webservice callback handler

    Hello everybody,
    I am trying to figure out how to implement a callback listener or handler. The thing is that I can talk to a webservice but I am supposed to get something back. The reply might get back to me in unknown ammount of time and sometimes without me initiating the conversation. So I should be able to listen to the webservice at any given time.
    My understanding of this is that my callback listener should be more like a webservice where I can accept calls any time. I am not sure if I am understanding this correctly, can anybody help me with the first step :)

    Upon further research, the problem is the Namespace. It seems
    that you cannot use a namespace prefix in the labelField attribute
    of a mx:ComboBox. I was able to get the label set correctly in the
    combo by using a labelFunction instead of setting the labelField:
    private function getMarketBasketName(data:Object):String {
    return data.mb::Name;
    My Webservice event handler callback now looks like this:
    private function
    handleMarketBasketsResult(event:ResultEvent):void {
    mbCombo.dataProvider = event.result.mb::MarketBasket;
    Note that "mb" is now defined (scoped) as a module Namespace
    variable since I'm using it in multiple functions. Also, I do not
    set any labelField property of the combo since I've defined a
    labelFunction of "getMarketBasketName".
    I've also noted a similar phenomenon with binding a DataGrid
    to an XML type that contains a Namespace. To get values to appear
    in the columns, I've had to write labelFunctions for every column.
    Yuk!!! There may be a way to do this with a single function if you
    follow a convention or do something with string replacement but....
    Unless someone posts an alternative technique, the lesson I
    have learned is always convert an XML data type to an object (using
    manual or automated serialization) and bind the data controls to
    that object (or array of objects) instead of directly to the XML.
    It will save the headaches of writing all these little functions to
    deal with namespaces.

  • How to attach that object_library to a form using jdapi?

    Hi!
    I am doing a migration process from Forms 6i to Forms 10g, and I need to attach an object_library object to a specific form using jdapi. The object_library that I want to attach is the web_util object_library.
    How to attach that object_library to a form using jdapi?
    Thanks.

    I had never used JDAPI before reading your post, but the attached code creates a minimal WebUtil-enabled form from scratch -- adapting it to update an existing form should be fairly straightforward. I've only been coding in Java for about a year, so consider this only as a starting point -- there may be better, easier ways of doing this.
    import oracle.forms.jdapi.*;
    public class Driver {
      public Driver() {
        /* create a minimal form */
        FormModule frm = new FormModule("JDAPI_DEMO");
        Block dummyBlock = new Block(frm, "BLK_DUMMY");
        Canvas dummyCanvas = new Canvas(frm, "CVS_DUMMY");
        Item textItem = new Item(dummyBlock, "TXT_DUMMY");
        textItem.setCanvasObject(dummyCanvas);
        /* open WebUtil object library */
        ObjectLibrary olWebUtil = ObjectLibrary.open("c:/ora10g/forms/webutil.olb");
        /* attach WebUtil PL/SQL library */
        AttachedLibrary alWebUtil = new AttachedLibrary(frm, "c:/ora10g/forms/webutil.pll");
        /* loop through each tab in object library */
        for (JdapiIterator it=olWebUtil.getObjectLibraryTabs(); it.hasNext();) {
          ObjectLibraryTab olt = (ObjectLibraryTab) it.next();
          /* loop through each object in tab */
          for (JdapiIterator it2=olt.getOwnedObjects(); it2.hasNext();) {
            JdapiObject obj = (JdapiObject)(it2.next());
            String className = obj.getClassName();
            /* handle module parameters */
            if (className.equals("ModuleParameter")) {
              ModuleParameter mp =
                new ModuleParameter(frm, obj.getName(), (ModuleParameter) obj);
            /* handle object groups */
            if (className.equals("ObjectGroup")) {
              ObjectGroup og = new ObjectGroup(frm, obj.getName(), (ObjectGroup) obj);
        frm.compile();
        frm.save("c:/jdapi_demo.fmb");
      public static void main(String[] args) {
        Driver drv = new Driver();
    }

  • How to create a callback function module

    Hi all,
    I am working in a requirement where we need to call a function module at a 'after change' event. So how to create a callback function module and register it with the crmvevent ?_
    I created a sample function module and try to create entries in table crmv_event_cust, but i got an error message saying that the function module name I provided is not in table CRMC_FUNC_ASSIGN. When I try to create entry there, I got a message that function module is not in CRMC_OBJ_FUNC and that table is a standard table with no maintanance options !!
    looks like i am going in wrong way ... can any one please help ??

    Looking at my system all you need to do is create the entry for the callback function in maint view: CRMV_FUNC_ASSIGN.
    Your entry should be as simple as Z-function name Object Function - <same as others in the segment you are assigning>
    IE for the partner it would be CRM_PARTNER as object function, for general order processing CRM_ORDER
    Take care,
    Stephen

  • How to attach multiple file in one mail

    Hi,
    I've problems with sending multiple files via Gmail account (Ipad version)  When sending the photo or video, I've to just click the photo and choose send to mail one by one. Any simpler way?  Sometimes i did sent both mpg and jpg but the reciepient didn't see any attachment too
    Anyone can help advise how to attach different file (doc, video, photo) in one mail will be a lot appreciated. Thank you so much

    You can attach multiple pictures to an email on an ipad2. Don't know about original iPad.
    Choose a photo or take a screen shot (hold down home button and button next to volume control at same time--screen shot now will appear in photos).
    Go to photos and edit your picture or screen shot, save it, then hold down on the image and copy it.
    Go to mail, create a new mail and paste it in.
    Save you mail as a draft.
    Go back to photos and select a different photo, copy it, and return to your draft, and paste it in. Repeat if you need to add more.
    Anything that you can take a screen shot or have an photo of can be pasted in one at a time into that draft email.
    If mail gets uncooperative, during this process, then double click on home button and quit multitasking mail, then open up mail again and send your draft. Uncooperative means gets frozen.

  • How to attach more than one picture on an email

    How to attach more than one picture on an email?

    Tap the square with arrow on top right and select pictures you want to send (max 5 pictures)
    http://i1224.photobucket.com/albums/ee374/Diavonex/f0bd7d73.jpg

  • How to attach a text in the center of the Ellipse using JXML ?

    How to attach a text in the center of the Ellipse using JXML ? Can we use labelFor="$topEllipse" ?
    <StackPane fx:controller="myfxml.ArchiveLogsController" id="Login" xmlns:fx="http://javafx.com/fxml">
    <children>
    <AnchorPane>
    <!-- Prevent AnchorPane so that it's max = pref. This causes it to center in StackPane -->
    <maxWidth><Double fx:value="-Infinity"/></maxWidth>
    <maxHeight><Double fx:value="-Infinity"/></maxHeight>
    <children>
    <Ellipse fx:id="topEllipse" centerX="100" centerY="100" radiusX="50" radiusY="10" strokeWidth="2" stroke="#FF0000" style="-fx-fill: linear-gradient(to right, white 0%, red 100%);"/>
    *<Label fx:id="ArchLogs_lb" text="My Ellipse Label" />*
    </children>
    <properties>
    <backgroundColor>
    <Color blue="1.0" green="1.0" red="1.0" />
    </backgroundColor>
    <elementLockSel>
    <Boolean fx:value="true" />
    </elementLockSel>
    </properties>
    </AnchorPane>
    </children>
    </StackPane>

    I'd suggest putting the Ellipse and the Label in a StackPane.
    I wonder why so many people call it JXML?
    It is so strange - I guess the JXML name just seems more natural to some people, though I don't know why.
    I think Greg is right and that labelFor is not what you want:
    http://docs.oracle.com/javafx/2.0/api/javafx/scene/control/Label.html
    "Labels also are useful in that they can have mnemonics which, if used, will send focus to the Control listed as the target of the labelFor property . . . A Label can act as a label for a different Control or Node. This is used for Mnemonics and Accelerator parsing. This allows setting of the target Node."

  • How to attach files in the new BT Yahoo system

    Can anyone tell me how to attach files to an email in the new system, please? I have a particular reason which is too complicated to go into here why occasionally I want to send files using web-mail rather than an email client (yes, I do know that's the best way). When I click the "attach" tab, I get an (apparently) helpful page which enables me to add several files at once. But there's no "continue" or "do it" button to get me back to the email I've started, and since ther's no tabs in the new system, I'm stumped.
    Solved!
    Go to Solution.

    Have you seen this thread? Not an elegant solution, but it appears to work for some bizarre reason.
    https://community.bt.com/t5/Email/Email-won-t-accept-attachments-error-18-temporary-It-isn-t/td-p/14...

  • How to attach .mdf file to sql server 2008 EXPRESS

    I have .mdf files created using SQL SERVER management studio 2012 in another computer and wish to attach the same to SQL SERVER 2008 EXPRESS in another computer. How should I do so? I tried this method :How
    to: Attach a Database File to SQL Server Express but then it shows an error that the database cannot be created due to compatibility issues.
    Msg 948: The database xyz cannot be opened because it is version 706. This server supports version 655 and earlier. A downward path is not supported..
    Any help??

    I have .mdf files created using SQL SERVER management studio 2012 in another computer and wish to attach the same to SQL SERVER 2008 EXPRESS in another computer. How should I do so? I tried this method :How
    to: Attach a Database File to SQL Server Express but then it shows an error that the database cannot be created due to compatibility issues.
    Msg 948: The database xyz cannot be opened because it is version 706. This server supports version 655 and earlier. A downward path is not supported..
    Any help??
    You are trying to attach SQL Server 2012  database files to SQL Server 2008 R2 which is not allowed, you either need to upgrade your SQL Server 2008 to 2012 or alternatively you can generate all scripts from SQL Server 2012 and execute it in SQL Server
    2008 R2.
    You can refer below link to how to generate script.
    http://blog.sqlauthority.com/2012/07/18/sql-server-generate-script-for-schema-and-data-sql-in-sixty-seconds-021-video/
    Please mark solved if I've answered your question, vote for it as helpful to help other users find a solution quicker
    Praveen Dsa | MCITP - Database Administrator 2008 |
    My Blog | My Page

  • How to attach files in the SMTP mail?

    Hi All
    Anyone know how to how to attach files into the mail configured
    with SMTP while changing the workstatus. The SMTP mail is working
    fine, but my requirement is to attach a file which is having static information
    like instructions for users or something like that.
    Please help me on this..
    My Version of BPC is MS 7.X
    Regards,
    Baijuchandran.B

    Have you seen this thread? Not an elegant solution, but it appears to work for some bizarre reason.
    https://community.bt.com/t5/Email/Email-won-t-accept-attachments-error-18-temporary-It-isn-t/td-p/14...

Maybe you are looking for