How to create an application with a 'Windows' like interface?

Hi,
I am trying to create an application with an windows like interface where menu selections need to open bound taskflows in a page/window but i can not get it to work. I did the following
- i created a page template with a panelStretchLayout
- added a menuBar with commandMenuItems
- created a start page based on the template
- created bound taskflows with page fragments for all menu items
- placed a dynamic region on the start page which initially shows a taskflow with an empty/blank page fragment
- change the dynamic region taskflow from every menuitem and added partial triggers on the dynamic region for every menu item
When i run the application the first empty page fragment is showed correctly but when i select a menu item the correct new page fragment is showed but it keeps showing a loading data .... hint and seems to freeze. So no data is showed while the underlying datacontrols work while using the bc tester.
Besides this problem i am wondering if i at all am going the right way with this with using a dynamic region? In the final application i will have a total of about 25 menu items over several menus and if they all will be showing in one main dynamic region with partial triggers set to all menu items it may get a bit complex? I saw you can also create a window in a popup which i like even more because it looks like an actual window but this is modal. I would like a bound taskflow to be opened whenever a menu selection is made.
Any pointers or tips or the solution to not showing data?
Kind Regards,
Andre

Hi Sascha,
If have not encountered that problem. Are you sure you have a taskflow entry under the executables tag in the page definition of the page which has the dynamic region on it? I have one like this:
<taskFlow id="dynamicRegion1" taskFlowId="${DynamicRegionBean.dynamicTaskFlowId}" xmlns="http://xmlns.oracle.com/adf/controller/binding"/>
During the selection of its initial value when it is rendering for the first time it should have the session bean already initialized. My bean looks like this:
public class DynamicRegion {
private String taskFlowId = "/WEB-INF/startTF.xml#startTF";
public DynamicRegion() {
public TaskFlowId getDynamicTaskFlowId() {
return TaskFlowId.parse(taskFlowId);
public String feitenTF() {
taskFlowId = "/WEB-INF/feitenTF.xml#feitenTF";
return taskFlowId;
public String themasTF() {
taskFlowId = "/WEB-INF/themasTF.xml#themasTF";
return taskFlowId;
public String feitCategorienTF() {
taskFlowId = "/WEB-INF/feitCategorienTF.xml#feitCategorienTF";
return taskFlowId;
The startTF is the initial taskflow and the other methods are being called from my menu. The dynamic region has the menu items as partial triggers. That is all i did.
Kind Regards,
Andre

Similar Messages

  • How to create web applications with the LabVIEW web server

    Wonderful Forum,
    I've noticed that sometimes it can be tricky for LabVIEW users to learn how to create their own custom web clients using the LabVIEW web server. I created a LabVIEW web development community group and wrote some tutorials to teach the basics of creating web clients using HTML, Javascript, and AJAX. The idea is that LabVIEW users without any web background can quickly look at some tutorials and examples to get started on their own projects.
    https://decibel.ni.com/content/groups/web-services
    What do you think?
    Joey S.
    Software Product Manager
    National Instruments

    Hi Joey,
    A great idea! I recently presented at a local user group meeting about my WebSockets API (see the links in my signature). I've uploaded the presentation and the demo code I gave to our UG here.
    I think the barrier to entry is with needing to know the web languages (e.g. html/css/js) as well as writing your LabVIEW code. I have joined the group and look forward to seeing some interesting content on there! Certainly some demos of using AJAX to make requests to Web Services and do something with the data (e.g. display on a graph) would be a good place to start.
    Certified LabVIEW Architect, Certified TestStand Developer
    NI Days (and A&DF): 2010, 2011, 2013, 2014
    NI Week: 2012, 2014
    Knowledgeable in all things Giant Tetris and WebSockets

  • How to create a VI with multiple windows/displays?

    Hi, I'm new to LabVIEW and just trying to increase my understanding so please bear with me.I want to write a VI where the user is presented with a series of windows and depending on the button, different windows are displayed. What would be the best way to implement this? Is there a way to change the Front Panel all in one VI? Or would it be better to do it using SubVIs? Or separate VIs for each window? I've looked at the Open VI Reference and Invoke Node VIs and can see a possible implementation that way, but I'm still curious if this is the best way. I also considered using tabs, but I want the different "windows" to be unique and not tabs. By "windows" I mean when the user clicks a button, a completely different Front Panel is displayed and the previous one is hidden/closed. Thanks for any help.

    First.  Yes the property "FP Open" is writable during run time.  So you can programatically show and hide the front panels of several sub vis that your main "launcher" can control.  Another option is to launch sub-vis that are "Modal" so that they act like dialog pop-ups and float to the top until the user performs some action that closes the sub-vi execution.  Personally I use this method frequently for actions like setting test options, selecting test vectors or displaying error information to the user.
    But I do want to add a caution,  Make sure your user can understand what is going on!  By that I mean that you must take into account that most applications have one main interface and, your user is used to this behavior in the applications that they run, so this MUST affect your UI design.  Unless you want all of your users to start using the phrase "Well, this is a sdsdsding mess!" you can't get very far away from the typical application UI paradigm.  If I ran an app that changed panels, and kept closing where I came from, throughout its normal functions I would become frustrated as a user.  As the Developer of that App I would know how I coded it and therefore the switching would make sense to me but, the target user is the person that must deal with it.  (And you never know when even the code you develop as a "development aid" will have reuse potential and need to be adapted for a large target  audience).
    Jeff

  • Interesting video about how to create mobile applications with a XML parser

    I would like to make a parser like this, what do i need?
    Video: http://www.youtube.com/watch?v=J-VMqg_vU30
    Edited by: movilman on Jun 4, 2008 5:48 AM

    Still misspeaking. Further use reveals that while the users iTunes use the shared file, when the phones add new apps their iTunes recreates its iTunes Media directory in the users home folder. This time I can exit iTunes, move the apps to the shared Mobile Applications, delete and empty trash the original apps/ and folder, then the users iTunes will find the app in the shared folder when it restarts. Clearly not very tidy...

  • How to create one portlet with more apps

    Hi,
    How to create 10 application with one portlet on OC4J? Anybody has experience? Care to share with me.
    Thank you.

    Hi
    If you are writing application logic using JPDK or PDK, you can implement the logic/code for 1 application or 100 applications/functionality in one portlet.
    Where as if you have per application you have 1 portlet you can have modularity, can be added to Portal page's portlet region where ever you want to.portlet provider(Web provider or Pl/sql provider) can contain multiple portlets.
    If you go with 100 applications rendering in one portlet you need to implement 100 applications logic/code in 1 portlet, you can parameterize the portelt to show which applications can be shown at run time, for this you need to implement parameterization logic in portlet code. I can say this approach is cumbersome
    Thanks
    Seshagiri.Rayala
    http://soabpel.wordpress.com/

  • How to start a application with a login window?

    hi there
    does anyone have any idea on how to start an application with a login window? a login window is the first frame or window to be displayed when an application starts running. and only correct login id and password have been entered the real application will start. any sample out there? thank you.

    You can start a new thread by making a thread object and passing it an implementation of a runnable object. Runnable has just one method, public void run(), this is was gets executed in a second thread. perhaps the code you would use would look something like this.
    <code>
    // set up thread for login window
    new Thread(new Runnable() {
    public void run() {
    // construct your login window here
    // when you are done processing the
    // password....
    if(goodPassword) {
    authorized = true; // a global variable
    notifyAll(); // don't forget this
    else {
    System.exit(42);
    }).start();
    // control does not stop this code gets executed while
    // the above thread is running.
    // Set up main program here. This is done in the
    // backround.
    while(!authorized) {
    synchronized(this)
    { wait(50); }
    // now when the user logs in this frame pops
    // up real quick.
    myFrame.setVisible(true);
    </code>
    Hope you can figure it out.. good luck :)

  • IPhone Application With 2 Windows

    I am trying to create an iPhone application with 2 windows. However - I do know how to exactly. Does anyone know where to find a tutorial or example?
    My other window created is always null.

    To make the following example, start a new project with the Window-based App Template and name it TwoWin:
    // TwoWinAppDelegate.h
    @interface TwoWinAppDelegate : NSObject <UIApplicationDelegate> {
    UIWindow *window;
    UIWindow *window2;
    @property (nonatomic, retain) IBOutlet UIWindow *window;
    @property (nonatomic, retain) IBOutlet UIWindow *window2;
    - (IBAction)switchWindow;
    @end
    // TwoWinAppDelegate.m
    #import "TwoWinAppDelegate.h"
    @implementation TwoWinAppDelegate
    @synthesize window;
    @synthesize window2;
    - (IBAction)switchWindow {
    NSLog(@"%s:
    window=%@
    window2=%@", _func_, window, window2);
    if (window.keyWindow) {
    [window2 makeKeyAndVisible];
    window.hidden = YES;
    window2.hidden = NO;
    else {
    [window makeKeyAndVisible];
    window.hidden = NO;
    window2.hidden = YES;
    NSLog(@" window.keyWindow=%d window2.keyWindow=%d",
    window.keyWindow, window2.keyWindow);
    - (void)applicationDidFinishLaunching:(UIApplication *)application {
    [window makeKeyAndVisible];
    window2.hidden = YES;
    - (void)dealloc {
    [window2 release];
    [window release];
    [super dealloc];
    @end
    MainWindow.xib looks like this (when the "View Mode" is in the Center position so a two column table is displayed with the view hierarchy as a tree of small icons to the left):
    File's Owner -- UIApplication
    First Responder -- UIResponder
    Two Win App Delegate -- TwoWinAppDelegate
    Window -- UIWindow
    ......View -- UIView
    ............Rounded Rect Button (Switch1) -- UIButton
    Window2 -- UIWindow
    ......View2 -- UIView
    ............Rounded Rect Button (Switch2) -- UIButton
    The XIB connections:
    File's Owner:
    ......'delegate' outlet to App Delegate
    App Delegate:
    ......'window' outlet to Window
    ......'window2' outlet to Window2
    Rounded Rect Button (Switch1):
    ......'Touch Up Inside' to App Delegate: switchWindow
    Rounded Rect Button (Switch2):
    ......'Touch Up Inside' to App Delegate: switchWindow
    The View1 and View2 frames are manually set to full-screen less status bar since no view controllers are used in this example. E.g., for iPhone, set these frames to (0, 20, 320, 460) in the Size Inspector. It's also helpful to set View1 and View2 to different background colors in the Attributes Inspector.
    - Ray

  • How to create a node with attributes at runtime in webdynpro for ABAP?

    Hi Experts,
             How to create a node with attributes at runtime in webdynpro for ABAP? What classes or interfaces I should use? Please provide some sample code.
    I have checked IF_WD_CONTEXT_NODE_INFO and there is ADD_NEW_CHILD_NODE method. But this is not creating any node. I this this creates only a "node info" object.
    I even check IF_WD_CONTEXT_NODE but i could not find any method that creates a node with attribute.
    Please help!
    Thanks
    Gopal

    Hi
       I am getting the following error while creating a dynamic context node with 2 attributes. Please help me resolve this problem.
    Note
    The following error text was processed in the system PET : Line types of an internal table and a work area not compatible.
    The error occurred on the application server FMSAP995_PET_02 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: IF_WD_CONTEXT_NODE~GET_STATIC_ATTRIBUTES_TABLE of program CL_WDR_CONTEXT_NODE_VAL=======CP
    Method: GET_REF_TO_TABLE of program CL_SALV_WD_DATA_TABLE=========CP
    Method: EXECUTE of program CL_SALV_WD_SERVICE_MANAGER====CP
    Method: APPLY_SERVICES of program CL_SALV_BS_RESULT_DATA_TABLE==CP
    Method: REFRESH of program CL_SALV_BS_RESULT_DATA_TABLE==CP
    Method: IF_SALV_WD_COMP_TABLE_DATA~MAP_FROM_SOURCE_DATA of program CL_SALV_WD_C_TABLE_V_TABLE====CP
    Method: IF_SALV_WD_COMP_TABLE_DATA~MAP_FROM_SOURCE of program CL_SALV_WD_C_TABLE_V_TABLE====CP
    Method: IF_SALV_WD_COMP_TABLE_DATA~UPDATE of program CL_SALV_WD_C_TABLE_V_TABLE====CP
    Method: IF_SALV_WD_VIEW~MODIFY of program CL_SALV_WD_C_TABLE_V_TABLE====CP
    Method: IF_SALV_WD_COMPONENT~VIEW_MODIFY of program CL_SALV_WD_A_COMPONENT========CP
    My code is like the following:
    TYPES: BEGIN OF t_type,
                CARRID TYPE sflight-carrid,
                CONNID TYPE sflight-connid,
             END OF t_type.
      Data:  i_struc type table of t_type,
      dyn_node   type ref to if_wd_context_node,
      rootnode_info   type ref to if_wd_context_node_info,
      i_node_att type wdr_context_attr_info_map,
      wa_node_att type line of wdr_context_attr_info_map.
          wa_node_att-name = 'CARRID'.
          wa_node_att-TYPE_NAME = 'SFLIGHT-CARRID'.
          insert wa_node_att into table i_node_att.
          wa_node_att-name = 'CONNID'.
          wa_node_att-TYPE_NAME = 'SFLIGHT-CONNID'.
          insert wa_node_att into table i_node_att.
    clear i_struc. refresh i_struc.
      select carrid connid into corresponding fields of table i_struc from sflight where carrid = 'AA'.
    rootnode_info = wd_context->get_node_info( ).
    rootnode_info->add_new_child_node( name = 'DYNFLIGHT'
                                       attributes = i_node_att
                                       is_multiple = abap_true ).
    dyn_node = wd_context->get_child_node( 'DYNFLIGHT' ).
    dyn_node->bind_table( i_struc ).
    l_ref_interfacecontroller->set_data( dyn_node ).
    I am trying to create a new node. That is
    CONTEXT
    - DYNFLIGHT
    CARRID
    CONNID
    As you see above I am trying to create 'DYNFLIGHT' along with the 2 attributes which are inside this node. The structure of the node that is, no.of attributes may vary based on some condition. Thats why I am trying to create a node dynamically.
    Also I cannot define the structure in the ABAP dictionary because it changes based on condition
    Message was edited by: gopalkrishna baliga

  • Can we create multiple application with single MSI(or Same MSI) in biztalk admin console ?

    Can we create multiple application with single MSI(or Same MSI) in biztalk admin console ?
    My client requirement is process 100 files  from biztalk with in 5 min ,actually it is taking 20 min .
    So I decided to created same instance of the application with multiple time in BTS admin console ,as I understand biztalk admin console never allow to install same
    schema’s with multiple  time .
    Any help can be  appreciate ..

    BizTalk will automatically process multiple messages on separate threads so you may need to tune your system. The following link should get you started:
    http://social.technet.microsoft.com/wiki/contents/articles/7801.biztalk-server-performance-tuning-optimization.aspx
    Another possibility is to set the Batch Size property on your receive location if the adapter uses batch size to determine how messages are picked up.  As an example, it you want  the MSMQ adapter to immediately pick up messages and start
    to process them, set the batch size to 1.
    You may also need to distribute the processing across multiple BizTalk servers by installing BizTalk on additional servers and joining the existing BizTalk group.
    David Downing... If this answers your question, please Mark as the Answer. If this post is helpful, please vote as helpful.

  • How to create ios environment with adobe id?

    Hi , i am trying to create ios environment in windows platform.
    can any one please tell me, how to create IOS environment with adobe id.
    I a created adobe id and inserted code into it. But its running (Since one hour), and no response.
    Any one have idea on it, please let me know.
    Thanks in advance....
    Message was edited by: pathi rskumar

    Hi,
    If you have already set the number range as an external range.
    Then just passing the transaction type to field 'process_type' and external id to field 'object_id' of table ct_orderadm_h. Sales order will created with the assigned external id.
    Hope this help.
    cheers,

  • How to create editable table with one empty row ?

    I'm looking for solution how to create editable table with one empty row using ADF BC. I have seen this solution in application that was created in JHeadstart and it's very well idea to use it insead of creation form.

    hammm, i do it this:
    drop the VO on the page, select Table->ADF Table....
    so, drop the botton create, from de VO->operations->create (the firts), and right botton (mouse) Edit binding....
    in Data collection select the VO, in Select an action select CreateInsert
    luck

  • How to create Automator application?

    I cannot figure out how to create an application in Automator that actually works.  
    What I have is a workflow that combines PDFs.   As a workflow it works well.
    I would like to create an application that does the same thing.   First I tried saving the workflow as an application.   I duplicated the workflow and saved it as an application.  Later I started at the beginning by creating a new application and building it up with the same actions that are in the workflow.
    With both techniques I got an "application" that sits on my hard drive.   The OS describes it as an application.  But, when I click on the icon, the icon blinks as if an application is opening.  But then nothing happens.   The computer remains in Finder.   The Automator "application" does nothing.
    I must be missing something.  How do I create an Automator application that opens?

    It won't. It runs the task in the background.
    My suggestion is to create two folders
    PDF Files
    Merged PDF Files
    Tell the workflow to merge PDFs found in PDF Files and place the merged PDFs into Merged PDF Files.
    Then dump a bunch of PDFs into the first folder. Click the application. Then check the second folder. You should see them all merged into one there.

  • How to create excise invoice with reference thorugh credit memo

    Hi All,
    Please provide any solution for the following qurey:
    How to create excise invoice with reference thorugh credit memo

    Hi murali,
    i am unable to understand your requirement i think there is no like this scenario requirement for any client
    if any requirement is there kindly explain detail
    cheers

  • How to create a complaint with pre-decessor document Inovice?

    Hello experts,
    I need create a complaint with reference to a pre-decessor document type Invoice (apart from other types such as sales order and service order). Can someone enlighten me
    1) how to create an invoice in IC Web Client and backend?
    2) how to create a complaint with reference to this created invoice in IC Web client and backend?
    Thanks a lot!!!

    Hi Easwar
    Thanks  a lot for answering the question.
    Yes I do have CRM Billing documents. But the problem is
    a) either the billing document doesn't have Transfer to Accounting status Transferred or
    b) a transferred billing document, but all items have error "Unable to offset billing item 90003458 0000000060" etc.
    Do you know
    1) how I can make a billing document have "Transferred" status? Pressing "Transfer to Accounting" button in the billing document overview page will only set the status to "Being transferred". And it's always being tranfered.
    2) What does the error "Unable to offset billing item ... "mean? How to get rid of them?
    Thanks a lot!

  • How to create a table with events in smartforms?

    How to create a table with events view in smartforms?
    It doesn't like general table with header, main area and footer.
    for example:
    in smartforms: LE_SHP_DELNOTE
    table name is TABLEITEM(Delivery items table)

    Vel wrote:
    I am creating XML file using DBMS_XMLGEN package. This XML file will contain data from two different database tables. So I am creating temporary table in the PL/SQL procedure to have the data from these different tables in a single temporary table.
    Please find the below Dynamic SQL statements that i'm using for create the temp table and inserting the data into it.
    Before insert the V_NAME filed, i will be appending a VARCHAR field to the original data.
    EXECUTE IMMEDIATE 'CREATE TABLE TEMP_TABLE (UNIQUE_KEY NUMBER , FILE_NAME VARCHAR2(1000), LAST_DATE DATE)';
    EXECUTE IMMEDIATE 'INSERT INTO TEMP_TABLE values (SEQUENCE.nextval,:1,:2)' USING V_NAME,vLastDate;What exactly i need is to eliminate the INSERT portion of it,Since i have to insert more 90,000 rows into it. Is there way to have the temp table created with data in it along with the sequence value as well.
    I'm using Oracle 10.2.0.4 version.
    Edited by: 903948 on Dec 22, 2011 10:58 PMWhat you need to do to eliminate the INSERT statement is to -- as already suggested by others - eliminate the temporary table. You don't need it. It is just necessary overhead. Please explain why you (apparently) believe that the suggestion of a view will not meet your requirements.

Maybe you are looking for