Dynamically Change UIBBs in GAF. Is it possible ?

Hello,
I have a query in FPM to which I would like to draw your attention to.
Can I dynamically change my UIBBs within a single mainstep in FPM GAF ? if so, which method can help me do this  ?
I created a single Web dynpro Component with 5 component configurations.
I am controlling the visibility of several UI elements within this single component through these component configurations.
Each configuration refers to a business scenario.
I configured this single interface view at the UIBB level with the configuration name for a main step.
I was able add multiple uibbs at this level with different configuration names.
Now, I do not know how to toggle between these UIBBs?. I do not  want to create multiple variants
because all the other main steps are same for all the business scenarios.
Thanks for your time.
Regards,
Kiran

Hello Kiran,
This is achieveable. You need to implement the IF_FPM_GAF_CONF_EXIT WD interface in your AppCC. This interface provides a method OVERRIDE_EVENT in the component controller of your AppCC. This method has an importing parameter IO_GAF which has various methods to help you change the configuration of the application at runtime and also the UIBB's on a particular mainstep.
Regards
Rohan

Similar Messages

  • Is it possible to dynamically change the image in a Picture Field?

    Is it possible to dynamically change the image in a Picture Field?
    Thank you

    Try using the In Proc RAS SDK.
    [Here are the sample applications.|http://www.sdn.sap.com/irj/boc/samples?rid=/webcontent/uuid/b02c1cac-ad86-2b10-88ae-cb36551bab06] Take a look at the 'Add Image' sample.
    Insert the picture at design or runtime and change the location / name of the image at runtime.
    - Bhushan.

  • Is it possible to have Dynamically changing list of  Radio buttons ?

    Hi,
    There is a list box which a list of values like 'State', 'City', etc.
    When the user chooses a value in the list box, based on the value chosen say 'City', I should display a list of Cities. The user should then be allowed to choose 1 and only city from the list.
    Is it possible to have list of radio buttons such that there is 1 radio button for each city and the user can then choose any one of the radio buttons ?
    In this case the number of cities and what those cities are is unknown. So I need to have a dynamically changing list of radio buttons. Is this possible ?
    Version of forms : Forms 6.0.5.
    Thanks in advance
    Aruna

    Hi Aruna
    You can create a lot of radio buttons and hide|display them in runtime. It is more suitable i think to use the t-list instead of radio.

  • Dynamically changing the name of the .dll file to load in call Library

    Our current model is to use dll files as "plug-in" modules for instruments and a top layer test step calls the appropriate driver dll.
    For instance
    the TestStep is called with the kenmore.dll passed as a parameter so the kenmore.dll file is loaded, the functions are registered and the functions are called.  Next the TestStep is called with whirlpool.dll as a parameter now the whirlpool.dll is loaded the functions are registered and the functions are called.  This works very well in our current CVI/LabWindows environment.  Now we plan to work with LabView, we wish to retain this model (as DLL files, there are advantages in our model for us).  We have not found a way to load these dll files from LabView without hard coding the path and filenames in.
    Any suggestions on how to dynamically change the path in the Call Library module, or another suggested method of loading the dll via LabView?
    Thanks,

    John Stuart wrote:
    Our current model is to
    use dll files as "plug-in" modules for instruments and a top layer test
    step calls the appropriate driver dll.
    For instance
    the TestStep is called with the kenmore.dll passed as
    a parameter so the kenmore.dll file is loaded, the functions are
    registered and the functions are called.  Next the TestStep is
    called with whirlpool.dll as a parameter now the whirlpool.dll is
    loaded the functions are registered and the functions are called. 
    This works very well in our current CVI/LabWindows environment. 
    Now we plan to work with LabView, we wish to retain this model (as DLL
    files, there are advantages in our model for us).  We have not
    found a way to load these dll files from LabView without hard coding
    the path and filenames in.
    Any suggestions on how to dynamically change the path in the Call
    Library module, or another suggested method of loading the dll via
    LabView?
    Thanks,
    As Ben has pointed out LabVIEW
    scripting may be a possibility but you are going with that in highly
    unsupported area. Also I happen to know that changing the library name
    of a Call Library Node through scripting has produced unsupported
    feature errors previous to LabVIEW 7.1 eventhough the method was there.
    And LabVIEW 8 hides the whole scripting business behind the license
    manager.
    Another approach at least if the different DLLs do not change to often
    thier functions and parameters would be to create a wrapper DLL. Have
    it a method that loads the desired DLL and links its functions to
    internal function pointers. Then when calling the actual function entry
    points just redirect directly to the correct fucntion through that
    function pointer. Since you are already working in CVI creating such a
    DLL should be only a matter of taking out a little bit of your already
    existing code and put it into a DLL project.
    Rolf Kalbermatter
    Message Edited by rolfk on 04-12-2006 07:40 AM
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Dynamically change CAN message payload length in XNET

    It took me a while to figure out that when I send 4 bytes into the nxWriteFrame routine when it's defined as an 8 byte message in the DBC, that the message never makes it onto the bus.  Is there a way to dynamically change the payload length of a CAN message at runtime without stopping and starting the session again?

    Hi KavehV,
    It is possible to dynamically change the payload lengthduring RunTime but not without starting and stopping the session. In fact, all changes to the payload length, when done dynamically, is done to the copy of the database in memory as opposed to the one on disk, so whenever your application stops running, the changes are discarded. If you need to change the payload length, you would need to essentially do so before you create a session by opening the database, and modifying the copy that's in memory.
    Raj
    National Instruments
    Applications Engineer

  • How can I dynamically change a Grids ro color

    Hi,
    I am using a grid within a component in my Flex application.
    I have an XML dataProvider, and I want to change the row
    colour of my Grid depending on a value coming form my dataProvider
    – but I cant seem to get this to work :(
    can anyone help / advise me on how I can dynamically change the
    colour of my grid row depending on a value coming from my XML
    DataProvider????
    For example:
    Within my component I have the following grid within an
    “MXML” component called myGrid.mxml:
    [CODE]<mx:Grid id="GGrid">
    <mx:GridRow backgroundColor="0xCFD8DA">
    <mx:GridItem>
    <mx:Label id=”name_lbl”/>
    </mx:GridItem>
    </mx:GridRow>
    <mx:GridRow backgroundColor="0xCFD8DA">
    <mx:GridItem>
    <mx:Label id=”expiryDate_lbl”/>
    </mx:GridItem>
    </mx:GridRow>
    <mx:GridRow id=”statusRow”>
    <mx:GridItem>
    <mx:Label id=”status_lbl”/>
    </mx:GridItem>
    </mx:GridRow>
    </mx:Grid>[/CODE]
    I am setting/declaring my results/variables form my
    dataProvider in the main Application (“MXML”) file:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application
    xmlns:mx="
    http://www.adobe.com/2006/mxml"
    xmlns="*"
    creationComplete="initApp()" >
    <mx:HTTPService
    id="myResults"
    url="
    http://localhost/myResults.xml"
    resultFormat="e4x"
    result="myResultHandler(event)" />
    [CODE]<mx:Script>
    <![CDATA[
    import mx.core.Application;
    [Bindable]
    public var myDataFeed:XML;
    public function initApp():void
    myResults.send();
    public function myResultHandler(event:ResultEvent):void
    myDataFeed = event.result as XML;
    Application.application.myGrid.name_lbl.text =
    myDataFeed.name;
    Application.application.myGrid.expiryDate_lbl =
    myDataFeed.expiry;
    Application.application.myGrid.status_lbl.text =
    myDataFeed.status;
    if(myDataFeed.status == “OK”)
    Application.application.statusRow.backgroundColor="0xCFD8DA";
    else if (myDataFeed.status == “WARNING”)
    Application.application.statusRow.backgroundColor="0xFF9900";
    else if (myDataFeed.status == “CRITICAL”)
    Application.application.statusRow.backgroundColor="0xFF0000";
    ]]>
    </mx:Script>
    </mx:Application>[/CODE]
    however, I cannot access the property
    “backgroundColor” of the gridRow in this way:
    [CODE]Application.application.statusRow.backgroundColor[/CODE]
    As I get the following error:
    [CODE]Severity and Description Path Resource Location
    Creation Time
    Id 1119:
    Access of possibly undefined property backgroundColor through
    a reference with static type mx.containers:GridRow.
    enterpriseDB_new enterpriseDB_new.mxml
    line 721 1194443056449 19295[/CODE]
    can anyone help / advise me on how I can dynamically change the
    colour of my grid row depending on a value coming from my XML
    DataProvider????
    Thanks,
    Jon.

    quote:
    Originally posted by:
    ljonny18
    Hi,
    I am using a grid within a component in my Flex application.
    I have an XML dataProvider, and I want to change the row
    colour of my Grid depending on a value coming form my dataProvider
    – but I cant seem to get this to work :(
    can anyone help / advise me on how I can dynamically change the
    colour of my grid row depending on a value coming from my XML
    DataProvider????
    Thanks,
    Jon.
    Hi,
    a few hours ago I stumbled across this cookbook entry - it
    didn't solve MY problem, but maybe it provides a way to solve your
    problem?
    http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetails&postId=61&product Id=2&loc=en_US
    From the article:
    quote:
    Changing the background color of a DataGrid cell is not as
    simple as changing some style because the default renderer for a
    DataGrid cell does not have a backgroundColor. Therefore, to do
    this simple task, you have to create a custom itemRenderer where
    you draw your own background in the updateDisplayList function.
    HTH
    Uwe

  • Dynamically Change Ni HSDIO Channels

    I am currently using a PXI-6552 to generate and acquire I2C waveforms simultaneous.  I would like to know if it is possible (and how I would go about it) to dynamically change channels.  My goal is to just pass the two NI-HSDIO references (the purple variables) to a new subVI that I will create to change from 5 channels to a different set of 5 channels.  For instance:
    Pseudo-Code:
    initalize PXI sessions;
    for(i = 0; i < 10; i++)
    Set channels 0-5;
    Run generate and acquire;
    Stop acquisition;
    Set channels to 6-10;
    Run generate and acquire;
    Stop acquisition;
    Set channels to 11-15;
    Run generate and acquire;
    Stop acquisition;
    close PXI sessions;
    Basically I need the quickest way to switch acquisition channels without having to initalize and close the sessions every time. 
    I am currently using the HWC functions downloaded in the .zip example from here: http://www.ni.com/example/31200/en/. (I also attached the two that are necessary for my problem).
    Init HWC Device.vi:  (also attached)
    Run HWC Device.vi:  (also attached)
    I believe the VIs I may need are Assign Dynamic Channels, Configure Idle State, and Configure Initial State.  However I am not sure if those are the only ones.  If it is possible, do I have to close the original channels and then assign more?  Or does re-calling "Assign Dynamic Channels" automatically disable all non-assigned channels?  Etc.
    The important things to note:  I am setting 5 channels at a time -- for both acquisition AND generation.   I need to close the channels and switch to 5 different channels -- for both acquisition AND generation.  All channels should be set to "z" state for high-impedance at all times.
    If you need any other information, please let me know!  Thank you in advance for any suggestions/assistance.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    If someone helped you out, please select their post as the solution and/or give them Kudos!
    Solved!
    Go to Solution.
    Attachments:
    Init HWC Device.vi ‏24 KB
    Run HWC Device.vi ‏30 KB

    Through trial and error I was able to come up with a way to do this:
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    If someone helped you out, please select their post as the solution and/or give them Kudos!

  • Dynamically change label template

    I'm using Apex 4.0.2 and I'm trying to dynamically change the label template for a field from Optional to Required.
    I have one form and in a specific situation (known on page load) an item on this page changes from optional to required. I have a conditional validation on this item, so the user gets an error when the item is null and the condition is met.
    But I would also like to change the item label template from Optional to Required. Is this possible in some way?
    Maybe it is possible or easier with a different template. Currently they are:
    Required Before Label  template:
    <label for="#CURRENT_ITEM_NAME#" tabindex="999"><img src="#IMAGE_PREFIX#apps/required.gif" alt="#VALUE_REQUIRED#" tabindex="999" /><span class="required">
    Optional template:
    <label for="#CURRENT_ITEM_NAME#" tabindex="999">Edited by: InoL on Aug 1, 2011 4:09 PM

    I got the same effect (more or less, just adding a star in front of the label) with jquery:
    $("label[for='P4_REL_ID']").prepend('<img tabindex="999" alt="Value Required" src="/i/apps/required.gif">');

  • Dynamically change sql query (from statement)

    Hi all,
    Is it possible to change the 'from statement' dynamically in
    report 6i? I have 3 identical tables with different names (each
    to collect data in different area) and I want to be able to
    dynamically change the sql query at run time so I can use only
    one (1) report to print data in 3 different tables.
    Is it possible? Thanks for the tip!

    Yes you can. Create a user parameter lets say "frm". give the
    initial value for the parameter as the table a. Ex : FROM EMP .
    Go to the datamodel of the report . Change the query like this,
    Original query => Select * from emp
    Modified query => Select * &frm
    Coz frm has the default value FROM EMP, so it will replace the
    default value. When you call the report from differrent product
    you can pass the parameter value as table a, table b , table x.
    Hope you got your answer.
    Thanx
    Feroz

  • Dynamic changes on axis limits

    hi, for each charts, we can set the "Axis Limits" (under "Axis Scaling" property")
    by chosing "Specify manually", we can set "Minimum value" and "Maximum value" manually.
    but it is "hardcoded".
    is it possible to have:
    the minimum value or maximun value are dynamically changed by the exact minimum value and the exact maximum value from the column (data source) ??
    therefore , if the data changes, user dont need to set again
    (although "Zoom to data range" is an alternative but the result is not very good)

    I think it is impossible , so I close this thread, thanks

  • How to dynamically  change start time in calendar

    Hi !
    Is it possible dynamically change start time attribute in calendar. Let's say I'd like to have start time = sysdate through 24 for display

    Hello Johann,
    If you created the calendar region using the wizard, it should have created a page item 'P#_CALENDAR_DATE' (# being your page number). Look at the Default setting for that item and it will likely be:
    return to_char(localtimestamp,'YYYYMMDD');This is the default date for the calendar (current date), in 'YYYYMMDD' format. Any code that sets this item to a date in 'YYYYMMDD' format should tell the calendar to display the calendar for that date. For example, I just changed it to this:
    return '20080101';And it displayed the calendar for that January, 2008. To test further I created a submit button and a branch, and in that branch I specified to set my P1_CALENDAR_DATE item to 20080601 and when I clicked the button it redisplayed the calendar for June, 2008.
    Hope this helps,
    John

  • How can I dynamically change group field column?

    Hello!
    I need to group data and create group totals for that table. Is
    it possible to dynamically change group field column for
    specific table, depending on data retreived from parameter form?
    Thanks,
    Mario.

    quote:
    Originally posted by:
    ljonny18
    Hi,
    I am using a grid within a component in my Flex application.
    I have an XML dataProvider, and I want to change the row
    colour of my Grid depending on a value coming form my dataProvider
    – but I cant seem to get this to work :(
    can anyone help / advise me on how I can dynamically change the
    colour of my grid row depending on a value coming from my XML
    DataProvider????
    Thanks,
    Jon.
    Hi,
    a few hours ago I stumbled across this cookbook entry - it
    didn't solve MY problem, but maybe it provides a way to solve your
    problem?
    http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetails&postId=61&product Id=2&loc=en_US
    From the article:
    quote:
    Changing the background color of a DataGrid cell is not as
    simple as changing some style because the default renderer for a
    DataGrid cell does not have a backgroundColor. Therefore, to do
    this simple task, you have to create a custom itemRenderer where
    you draw your own background in the updateDisplayList function.
    HTH
    Uwe

  • Dynamically change a partner link config property via the BPEL Consle

    Is it possible to dynamically change a configuration property
    for a partnerlink in the BPEL Console?
    From Help in Jdev:
    - Double click Partner Link
    - Property tab
    -- Help
    --- "Property Tab"
    Partner link properties are simple name-value pair properties that
    are defined and can be accessed at runtime by the BPEL process.
    The value of a property can be changed from Oracle BPEL Console
    at runtime without having to redeploy the BPEL process.
    Steps to reproduce:
    1. Set the configuration property retryMaxCount on a partnerlink
    2. Enter the BPEL Console, click on the process and then the descriptor tab.
    3. Not seeing a utility to change the value in the BPEL Console.

    Hi Dave,
    the console only allows changes to activation agent properties.
    There are two kinds of partnerlinks. Those associated with a receive (inbound, activation), and those associated with an invoke (outbound, webservices invoke). Only the former polling process properties can be configured from the console.
    Outbound there are only a handfull of properties and the lifecycle management is not the same.
    Thanks
    Steve

  • Dynamically change the contents of one combo box based on the other

    Hi Forum,
    I have a question which might have a possibly simple answer. Well anyway help me out since i could not find the simple answer.
    I am building an application using Swing and binding with BC4J using JClient. My GUI has combo boxes, grids, editboxes. My requirement is that i should be able to dynamically change the contents of one combo box based on the selected item in trhe previous combo box. For example, when i choose a country in the "country combo box", the "states combo box" should show the list of the states of the selected country.
    Now how do i do this using binding. If not, how do i write custom querirs in BC4J layer and return a resultset to the remote application so theat i can populate the dependent combo boxes.
    I will appreciate if anyone can help me out in this regard.
    Thank You
    Sumit

    there could be quite a few number of ways of solving this problem.
    One way is through event handlers.
    taking your example as a model when user selects a country you could fire an action with a flag set to ture. A method will return the states from the DB or your temporary files or what ever and then the true flag will be used in the states combo box rendering.
    other way: javascript
    this might be a bit clumsy as you will need the states information in a property file and you can get the info as the user selects a country.
    regards,
    raj

  • Dynamically Changing stylesheets and images of B2B application

    Hello All,
    We have a requirement to dynamically  change the stylesheets and images of B2B application based on Country  US or UK of the logged-in user.
    On looking into B2B source code, we identified  that stylesheets are defined in init-config.xml , ExtendedInitStyleHandler, BrowserType, ExtendedStyleManager, java classes are used.
    Can  anyone  provide suggestions how this can be achieved?
    Thanks,
    Raj

    What you are trying to achieve is not a simple task. It is better to put some thought and resources to build what yuo need. There is no out-of-the-box way to change the stylesheet dynamically.
    Would it be a feasible option
    No. But technically you can have your own tag with another parameter to specify the country and you can have custom logic to add the right stylesheet.
    The class ExtendedInitStyleHandler initializes the application with the list of stylesheets defined in the init-config.xml and any extensions in the /xcm/customer/modification/initconfig.xml
    It is the tag <isa:stylesheets/> that adds the stylesheet(s) to the JSP and class StyleSheetsTag uses ExtendedStyleManager
    Try this out. Just prior to placing the tag <isa:stylesheets>, use the following class, methods and code in <% Java scriptlet  %>
    public class ExtendedStyleManager;
    public static Iterator getStyles();
    public static void clear(); and
    public static void addStyleSheet(StyleSheet style);
    1. read the current styles (getStyles()),
    2. keep a copy of the safe,
    3. Clear the list (clear()),
    4. Add your country specific stylesheet();
    5. Add rest of the styles you need from the saved list
    6. <isa:stylesheets/>
    It is possible to write a custom tag lib too with the above logic and a country - parameter and use the custom tag in place of the isa tag.

Maybe you are looking for