Tutorial for creating a J2EE project with "Flex Builder 3 Beta 3 " ?

Hi,
I'm trying to set up a Flex environment with:
Flex Builder 3 Beta 3 stand alone
WTP (from eclipse update manager)
LCDS 2.5 (with JRun)
JBoss 4.2.2GA
At this moment I successful installed everything (but not set up). I added WTP at Flex Builder3 (with the eclipse update manager). I copied the two flex-tomcat files in jboss.
Then in Flex Builder 3 I created a new Flex Project. In the wizard first window, I selected J2EE, Livecycle and WTP. Then in the next window I need to configurate the J2EE server.
I couldn't find any information/tutorial for this window? Is there a tutorial for this?
This window ask me:
Target Runtime: I created a new one for JBoss 4.2.2 (during this process flex builder asked me to add a project but actually I'm creating this project so I hadn't any project to add (??)).
ContextRoot: name of the project I'm creating (default). Is it good?
Content Folder: the default is "WebContent". Is it good?
Flex War File: What is that? Where do I find it?
Thanks a lot,
Jerome

The settings you mention all sound fine, but the I believe the Flex War file may be what you referred to as the flex-tomcat files (specifically the one should be called flex.war from the install folder).
You don't need to deploy the flex.war file to JBoss manually, when you create a project, you just select the file in the wizard and it is extracted and used as a template for the new project. In fact, it may cause a port conflict with your project if you do deploy manually it (unless you tweak some of the config files), so it's probably worth removing it from the deploy folder if you did put it there. The other file, flex-admin.war, can stay without causing issue.
The closest to a tutorial that I am aware of is if you search "New Flex Project" in the help system, it talks about what each of the options should be when creating LCDS projects.

Similar Messages

  • Getting started with Flex Builder, BlazeDS and Eclipse

    Hi,
    I'm a java developer looking at RIA for the first time. I'm really excited about BlazeDS and object remoting, but I can't get a working dev environment together. I'm assuming I should use Flex Builder for the client code, Eclipse Europa for the java webapp code, and deploy from both IDEs into the BlazeDS-equipped turnkey-Tomcat. I haven't found a tutorial explaining how to deploy a new webapp with this setup.
    The turnkey-Tomcat sample app works fine. Trouble starts when I try to create  a new project in Flex Builder. I don't understand the 'debug' deployment that Flex Builder does. Why are there 2 versions of my app, the regular and the debug versions? What is exactly the project structure that I'm supposed to have in Tomcat?
    The specific error I encounter when trying to deploy a new Flex project is this:
    [MessagingError message='Destination 'productService' either does not exist or the destination has no channels defined (and the application does not define any default channels.)']
    I do have a default channel configured for my environment in services-config:
    And I do have a valid destination configured in remoting-config (I'm mostly interested in object remoting):
                test.ProductService
    Here's the client code:
    What am I doing wrong? Where can I get help on these specific topics? Also, does anyone have an Ant build file that would automate this sort of deployment?
    Thanks!

    Hi Peter,<br />I don't have problems passing JavaBeans to Flex. For collections, I used DataGrid, it displayed my collection seamlessly, except I don't get column headers, just a column index number. For receiving a single JavaBean, I had a little more trouble, until I tried to display it with a DataGrid: it displayed a single row that represented my data, with each java property name used as a column header, and object attributes were displayed as 'object'. These 2 experiences led me to these conclusions:<br />- for the collection, Flex converted each element into an ordered list of attributes<br />- for the single bean, Flex converted it into a hierarchy of Maps of attributes<br /><br />I didn't create a Flex value object. Flex is doing it automatically,very much like in JavaScript/JSON: dynamic objects.<br /><br />Here's the remote object markup:<br /><br /><!-- We target the remote Java object through BlazeDS gateway: --><br />     <mx:RemoteObject id="myRemoteObject" destination="productService" <br />                          fault="Alert.show(event.fault.faultString, 'Error');"><br />          <mx:method name="getProductsCount" result="setProductsCount(event)"><br />               <mx:arguments><br />                    <arg1>{productSC}</arg1><br />               </mx:arguments><br />          </mx:method><br />          <mx:method name="getProducts"><br />          <!-- search params are wrapped in a model, ProductSC (will be converted to a Map on <br />                the server side by BlazeDS): --><br />               <mx:arguments><br />                    <arg1>{productSC}</arg1><br />                    <!-- This works because we declared these to be Bindable: --><br />                    <arg2>{pager.pageSize}</arg2><br />                    <arg3>{pager.currentPage}</arg3><br />               </mx:arguments><br />          </mx:method><br />          <mx:method name="getProduct" result="goToView()"><br />          <!--<mx:method name="getProduct">--><br />               <mx:arguments><br />                    <arg1>{selectedRecordId}</arg1><br />               </mx:arguments><br />          </mx:method><br />     </mx:RemoteObject><br /><br />And here's the dataGrid that displays the bean collection:<br /><br /><mx:DataGrid id="myDataGrid" <br />                               dataProvider="{myRemoteObject.getProducts.lastResult}" <br />                               change="selectRecord();"<br />                               width="100%" height="100%" ><br />               </mx:DataGrid><br /><br />Let me know how it goes, I'd be glad to assist if I can.<br />Miguel

  • Creating a project in Flex Builder for the Hybrid Store sample Application

    Hi all,
    How to create a project in Flexbuilder for the hybrid store
    sample application.
    I downloaded the source code of hybridstore application,
    Now i have to create a project for it to run that application
    in my system,
    will you please tell me how to create a project for this
    sample.
    I have also read the readme.html file. but i could not follow
    exactly what they are saying.
    what i did is, I unzipped the source code into a folder
    hybridstore.
    I opened the flexbuilder : File -- new -- flexproject ( i
    have selected) then i have given name to my file (hybridstore) ,
    and set the path to the hybridstore folder where the source code
    exists.
    but it as created hybridstore.mxml file also.
    it is not working.
    will you please till me how to create project for this
    application.
    I have created project for other samples like restaurent
    finder, dashboard. they are working fine.
    I got problem with this sample only.
    Thanks in advance
    Regards
    Avanthika

    Hi,
    thanks for your reply,
    I have tried to open using file import, but still it is not
    working.
    in the readme file for this application , contains how to
    Creating a project in Flex Builder for the Hybrid Store
    application:
    Name your default application catalog.mxml.
    Prevent Flex Builder from generating an HTML wrapper: select
    Project > Properties. Select the Flex Compiler page, deselect
    the Generate HTML wrapper file option .
    Create a Run configuration for your project but deselect the
    Use defaults option and instead assign the Run setting to the
    hybridstore.html in your project's bin directory.
    To enable debugging of the Hybrid Store application you must
    create a copy of hybridstore.html. Open it in an editor (you can
    right-click on the file and select Open With > Text Editor).
    Find the line that says "src", "catalog" and change it to "src",
    "catalog-debug". Assign the Debug setting to this new HTML file.
    As i am new to flex , i could not know how to do this.
    please help me how to do this.
    regards
    Avanthika

  • How can I create an executable with Flex Builder 3?

    I'm working with Flex Builder 3 right now and I've run my
    head into a brick wall. Here's the situation:
    I'm creating a standalone application (runs in its own
    window, not in a web page) and I want to run it on a computer that
    does not have Flex Builder 3 installed. Help files and web searches
    haven't directed me to the right answer, so I was hoping that
    someone on this forum could help. Anyone know how to create a .exe
    file or something else that can be run outside of Flex Builder?
    Thanks a lot for any help!

    quote:
    Originally posted by:
    rob_parkhill
    Convert it to an AIR Application?
    Thanks Rob,
    This may be what I'm looking for, but I don't know enough
    about the difference. I guess I should have pointed out that I'm a
    complete Flex Novice!
    Anyway, with Flex Builder, I created an MXML Application. I
    went through all my various options again in Flex Builder and found
    that under the project menu, I could export a release build in what
    appears to be the format you mentioned. I managed to create a .air
    file, but it is not a recognized file type on my computer. I tried
    double clicking it and the built-in windows services couldn't even
    find a possible way to run it. Am I missing some important step?
    Thanks again.

  • How to create a Flex3 project with remote ColdFusion server?

    I have a question related to Flex 3 and ColdFusion that it might be simple to answer but I have been struggling with it for a while.
    How to create a Flex application using Flex Builder 3 that uses ColdFusion, but the ColdFusion server is not installed locally but in a remote server?
    I need to create a Flex application to use with ColdFusion and although this is a simple procedure when we are creating the project in a computer where you have ColdFusion installed locally (as all books shows examples of it), but what if the ColdFusion server is installed in another machine in the network?
    My current situation is the following:
    -          I have Flex Builder 3 install in my PC at work and its workspace is in a folder in the network outside of my PC.
    -          We have a server (ISWEB1) partition in two drives; C, where the ColdFusion 8 is installed and D where all the files the developers work with reside. The ColdFusion installation runs in a server where IIS is used as the web server.
    -          I have the drive D on the server ISWEB1 mapped to one of my letter drives and can access it easily
    -          The drive C on the Server can only be accessed remotely (or through the web to access the ColdFusion admin page) and is not exposed to the network as drive D is.
    My problem is, I need to create a Flex 3 application that uses ColdFusion using remote object access service (CF Flash Remoting) but I wanted to point to the installation version on the server ISWEB1 and not to the one installed locally. The Configure ColdFusion Server screen in the Flex Builder asked me for the location of ColdFusion root folder, Web root, and root URL. There is no way I can point to the server (ISWEB1)where ColdFusion is installed as those fields seem to required a address that points to a local install or a mapping on that local server.
    The work around that could be used is to use the ColdFusion developers edition I have installed locally and use during the creation of the project in Flex Builder, but then I would have to have all the same data sources, mappings, and CFCs in my the local server in order to test, which seems double work. To aggravate that when you try to test the application Flex writes the files to the local server and unless you have everything available locally it would not work properly. I am trying to avoid duplicating the work. Ideally I would like to test the Flex application on the server where the CF is installed and where the Flex Builder workspace is.

    Sort of. I found this article below that helped me to connect to the remote CF server using MXML. It seems that you have to create a regular project in Flex with Aplication Server Type set to None and connect to CF using the endpoint attribute of the RemoteObject MXML tag or via AS.
    http://www.aliaspooryorik.com/blog/index.cfm/e/posts.details/post/200
    However I found out after getting error using the AS3 code to use the endpoint property that
    mx.rpc.remoting.RemoteObject does not support  the "endpoint" property
    whereas mx.rpc.remoting.mxml.RemoteObject does. See link below
    http://www.mail-archive.com/[email protected]/msg101439.html//www.mail-archive.com/[email protected]/msg101439.html
    So I had to change my AS3 code by adding a new channel to my RemoteObject using a code similar to the one on the link below (Note that this code uses PHP, when I instantiate myRemoteObject, I do so informing that the destination is "ColdFusion" [new RemoteObject("ColdFusion")], so no need to set destination as in the code on the link below
    http://tech.groups.yahoo.com/group/flexcoders/message/120115
    I hope that helps you.

  • Someone has a tutorial for creating screen exit?

    I have a development and I do not know how to create screen exit.
    Case Someone has a tutorial for creating screen exit please help me
    Thank you
    <b><i>Wagner Duarte
    Consultant - SAP ABAP</i></b>

    hI
    Screen Exit is nothing but enhancing the screen like creating some more fields, subscreen and so on.
    1. Go to the screen>System>Status-->Program (Double
    click this program. It will take you to the program.
    2. Now, Goto-->Object Directory Entry.
    3. Make a note the package name.
    4. Now run the transactions SMOD, press F4 and enter the
    above noted package, press enter.
    5. It will display list of Exits.
    6. Now go back to the initial screen SMOD.
    7. Specify the exit name here and select the radio button
    Components.
    8. It will display four group boxes one for FM, second
    for Fcodes, thrid for Screen areas and last for
    includes.
    9. Goto transaction CMOD, create a new project, and
    click the button "Enhancement assignments" and
    specify your enhancements that you got in SMOD.
    10. Now bouble clikc the enhancement, it will take you to editor with some includes starting with Z, double clikc the include you want to edit and proceed.
    Have a look at below link It will definately help you to undestand the same.
    http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
    check these links.
    http://help.sap.com/saphelp_46c/helpdata/en/c8/1975e643b111d1896f0000e8322d00/frameset.htm
    http://www.allsaplinks.com/screen_exit.html
    USER EXITS
    https://forums.sdn.sap.com/click.jspa?searchID=672084&messageID=312792
    https://forums.sdn.sap.com/click.jspa?searchID=672084&messageID=1320078
    https://forums.sdn.sap.com/click.jspa?searchID=672084&messageID=2669896
    How to implement screen exit for a SAP standard transaction
    Introduction
    SAP provides standard transactions to enter data into database. But a client may want to maintain some additional information in SAP other than what is provided.
    To make provisions for this, additional screens have to be provided and additional fields must be added into appropriate database table.
    To pave way for this, SAP has provided the option for screen exits. Usually, SAP provides the following:
    An append structure in the database table with the new fields.
    A subscreen area into the standard screen – where the programmer can attach his subscreen of his own program with the new fields.
    A function group under which the new subscreen has to be created with the new fields.
    Function exits to synchronize the PBO and PAI of the standard SAP program with the PBO and PAI of the subscreen – so that data can flow back and forth between the standard SAP program and the program written by the developer for the subscreen. These function modules also exist in the same function group under which the subscreen will have to be developed.
    Finally, a linkage has to be done between the subscreen area of standard SAP screen with the custom subscreen constructed by the developer.
    Typically, SAP provides an enhancement in which the developer can create an append structure, use the function exits to synchronize the PBO and PAI of the standard SAP program and the custom subscreen program, and make the necessary linking( as mentioned above in step 4. But, again, this is not a hard and fast rule. Linking in some case, is also done by configurations.) SAP also usually provides the name of the function group under which the subscreen has to be developed.
    Necessary guidance about implementing a screen exit development is usually available in the Documentation section of the enhancement ( can be availed by transaction SMOD).
    Pre-Requisites
    The developer to work on screen exit should have essential knowledge on the following:
    DDIC concepts, including the knowledge of append structure.
    Concept of SAP Enhancements and implementing them using Projects.
    Concept of function exits.
    Knowledge on Module Pool – including subscreens, Tabstrip controls etc.
    Steps
    Guidelines
    So, a developer can follow the guidelines mentioned below to implement a screen exit to a standard SAP transaction, as and when required:
    Find out the Required Enhancements
    Go to SMOD. Press F4 in the Enhancement field. In the next popup window, click pushbutton ‘SAP Applications’. A list will appear that contains information on all the enhancements, categorized under functional areas. Developer must search for the enhancements relevant to his functional area of interest – for e.g., Purchasing, Asset Accounting, etc.
    Note down the enhancements. Then, come to the initial screen of SMOD and view the documentation of each enhancement to find out which one is required for your development.
    Utilize the Enhancement in a Project
    After you have found one, do as directed in the documentation. Generally, the steps are as follows:
    Create a project using CMOD including your enhancement.
    Create the append structure with new fields.
    Go to the desired function group and create a subscreen with the new fields. Write PBO and PAI for the subscreen, if required.
    Use the function exits in the enhancement to link the PBO and PAI of the subscreen with that of the main SAP program supporting the SAP transaction.
    Maintain necessary linkage between the subscreen area of standard SAP program with the custom subscreen developed along with the custom program name. This can be done in the project (developed by CMOD including the enhancement) or outside as a part of configuration.
    Activate the project.
    Test to ensure that required functionality are met.
    Case Study 1
    Add three new custom fields for Asset master and maintain information for them
    Requirement
    Three fields in the legacy system have to be maintained in Asset master. These fields are:
    Original Asset number – 20 characters
    Location 2 – 15 Characters.
    Model no – 20 characters
    Location 2 should start with ‘L’.
    Pre-Analysis
    Finding out the Enhancement
    As described above, the enhancement is determined. It was found, that enhancement AIST0002 will serve the purpose. It contains the following components (can be viewed by transaction SMOD):
    Exit Type Description EXIT_SAPL1022_001 Function Exit Check of User-Defined Fields when Using Create and Change BAPI EXIT_SAPLAIST_002 Function Exit Transfer Data for User Subscreens in PBO. EXIT_SAPLAIST_003 Function Exit Transfer of User-Defined Fields to SAP Master Data Transactions CI_ANLU Customizing Include Include structure to add new fields
    Studying the Function Exits
    The function module level documentation for the function exits are then viewed from transaction SE37. The documentation clearly laid out for the purpose for their use:
    EXIT_SAPLAIST_002
    Function module Level Documentation
    This function module is called by asset master data maintenance at the start of the dialog. (When changing, it is called after reading of the data from the database; when creating it is called after the transfer of the default values from the asset class and reference asset.) The purpose of the function module is to enable this function group to recognize the master data. For interpreting or controlling master data fields that are important for user fields, it is possible to transfer to global variables at this point, so that they can be recognized when the user subscreens are processed.
    Import Parameters
    Understanding
    This function module is called at the PBO to pass the information retrieved from the database to pass them to the custom subscreen and its underlying program. Import parameter : I_ANLU will be populated with the values for user-defined fields which will be passed to the subscreen program. So, there must be some sort of variable assignment from I_ANLU.
    EXIT_SAPLAIST_003
    Function module Documentation: This function module is called by SAP asset master data maintenance after the screens are processed, but before saving. The purpose of the function module is to transfer fields entered on user sub-screens of SAP asset data maintenance to the database for updating. The export parameter for this function module is:
    Understanding
    This function module will be used to transfer the user entered data in the subscreen fields to the main SAP program, which will then be saved into the database.
    Studying the Documentation of the Enhancement
    The enhancement documentation (as is viewed from the initial screen of SMOD] also supports the idea. Moreover, it informs that we need to develop a subscreen under function group XAIS. This is the function group under which the two function exit modules also exist. So, if the custom subscreen refers to the global data of the function group XAIS, then those values will also be available to these function exits as well.
    Going to SE80 and viewing the function group XAIS helps us to inform that there are three DDIC tables declared for it:
    Deciding the Final course of Action
    After making all the investigations, the final course of action was determined.
    SrlNo Step Justification
    A project has to be created using transaction CMOD where the enhancement AIST0002 will be included.
    Customizing include CI_ANLU has to be created with the custom fields demanded When CI_ANLU will be developed, the custom fields will get appended to the database table ANLU. Also, these fields will be used to create screen fields in the new subscreen.
    A custom subscreen, say, 9000 will be developed under function group XAIS. The screen group for the screen will be ‘CUST’ (or any name). The three custom fields added to table ANLU (by creating CI_ANLU) will be used to create new fields in the screen.
    In the PAI of the subscreen, validation for Location to start with ‘L’ will be added. The subscreen with three new fields has to be developed so that it can be attached to a subscreen area of the asset master screens.
    In the custom include of the function exit module ‘EXIT_SAPLAIST_002’, the following code will be written:-
    ANLU = I_ANLU. I_ANLU is the import parameter of this FM. The value is assigned to the global variable ANLU, referring which the three new subscreen fields are developed. So, data retrieved from database table ANLU will be passed to this FM as I_ANLU by the standard SAP main program. The value will be taken and passed to the global variable of the function group XAIS, so that the three custom fields (referring to ANLU of XAIS) get populated.
    In the custom include of the function exit module ‘EXIT_SAPLAIST_003’, the following code will be written:-
    E_ANLU = ANLU. The changed values in the subscreen fields exist in global variable ANLU for the function group XAIS. This function exit module will pass the data back to the SAP main program as E_ANLU.
    Proper linkage/configuration has to be done so that the new subscreens get linked to the appropriate subscreen area of the Asset master screen. This has to be done – otherwise, the new custom subscreen will not be displayed in the Asset master screens.
    Development
    Creating a Project to include the enhancement
    Go to transaction CMOD and create a project.
    Enter a description for the project. Then, click on the pushbutton ‘Enhancement Assignments’ in the Application Toolbar.
    Enter the name of the enhancement and Save.
    Go to ‘Components’.
    Creating Custom Include for ANLU
    The screen shown below will appear, showing all the enhancement components under the assignment AIST0002. Double-click on the name of the Include Structure to create it.
    Create the include structure with three new fields, as required. Then, save and activate it.
    Develop the subscreen and the program
    Go to transaction SE80. For the function group XAIS, create a new subscreen 9000.
    Create it as subscreen.
    Then, go to the Layout of the screen and create three new fields from Database table ANLU.
    Drag the fields in the screen body and place them.
    Then, save and activate the screen and come back to screen flow editor.
    Create the PAI module to add validation for field “Location 2”, as required .
    Activate the whole function group and come out.
    Write code in the Function Exits to synchronize the programs
    Now, code has to be written in the function modules EXIT_SAPLAIST_002 and EXIT_SAPLAIST_003 so that data flows to and fro between the main SAP program and custom subscreen program. For that, go back to transaction CMOD and change the function exits.
    Write code in the function module EXIT_SAPLAIST_002 called once at the beginning of the transaction:
    Write code in EXIT_SAPLAIST_003 to pass the data from the subscreen to SAP main program.
    Then, activate everything – the whole project and come out.
    Complete the configuration to link the subscreen
    The development portion is complete. Now, linking of the subscreen has to be done with the subscreen area of the main program. In most of the cases, this linking can be done in the enhancement itself. But, here, requirement is a bit different. It is done by configuration using SPRO.
    Assets are created under Asset class. And for each asset class, there is a layout assigned to it. For a layout, there are multiple tab pages assigned to it. And, for each tab page, there are multiple screen groups/field groups assigned.
    Here, the requirement is to create these three custom fields in the tab page ‘General’ of asset master screen ( AS01/AS02/AS03/AS91).
    Determine the Layout
    To achieve this, first of all, we need to find out which layout is assigned to asset class 1000.For that, go to transaction AOLK( information has to be obtained from functional consultant).Select the Asset Class ‘1000’ and click on folder ‘General Assignment of Layout’.
    Here, for Asset class 1000, for all the user groups, tab layout SAP is assigned. Since layout ‘SAP’ cannot be changed, it has to be copied and manipulated to include our screen group. Later, the new layout has to be assigned over here.
    Create new tab layout
    Go to transaction AOLA. Copy the tab layout ‘SAP’ to create another layout, say, YSUB.
    System will copy all the settings and will inform you about that.
    Select your newly created layout and double-click on the folder ‘Tab page titles’.
    You want to put your custom fields in the tab page “General”. So, select this tab page entry and double-click on the folder "Position of Groups".
    Here, all the field groups currently residing in the tab-page “General” are shown. Add an entry for your newly created fields.
    Select the group box from the list. An entry will come with “U” padded with the custom subscreen prepared by you.
    Then, save and come out.
    Assign the new Layout to Asset Class
    Now, go to tcode AOLK and assign tab layout YSUB for asset class 1000.
    Save and come out.
    Test the Exit
    Everything is over. Now, go to transaction code AS01/02/03 or AS91 to deal with an asset of asset class 1000. You will see your new fields added to the screen. Add values to them…save. Then, enter into the tcodes again to see whether the values entered by you are being displayed or not.
    Original Source: ittoolbox.com
    Screen Exit is nothing but enhancing the screen like creating some more fields, subscreen and so on.
    1. Go to the screen>System>Status-->Program (Double
    click this program. It will take you to the program.
    2. Now, Goto-->Object Directory Entry.
    3. Make a note the package name.
    4. Now run the transactions SMOD, press F4 and enter the
    above noted package, press enter.
    5. It will display list of Exits.
    6. Now go back to the initial screen SMOD.
    7. Specify the exit name here and select the radio button
    Components.
    8. It will display four group boxes one for FM, second
    for Fcodes, thrid for Screen areas and last for
    includes.
    9. Goto transaction CMOD, create a new project, and
    click the button "Enhancement assignments" and
    specify your enhancements that you got in SMOD.
    10. Now bouble clikc the enhancement, it will take you to editor with some includes starting with Z, double clikc the include you want to edit and proceed.
    and you just go through these links also
    Screen exit
    http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
    screen-exits
    Check the following link.
    https://www.sdn.sap.com/irj/sdn/advancedsearch?query=how%20to%20find%20screen%20exits&cat=sdn_all

  • How do I create a NetBeans project with multiple JavaFX (FXML) dialogs?

    I'm very new to Java and JavaFX, so forgive what is probably a question asked a thousand times, but I can't seem to find the answer.
    I come from a Visual Studio (C# with WPF) background. I'm used to creating a Solution then adding a Project for each dialog/window that gets included in the Solution. Each dialog/window is a class derived from Window, and I simply create an instance of that class when I need to use the dialog.
    What I need to do is have a main window (stage) that contains two lists of participants (a red team and a blue team).
    Then I need a separate dialog for entering the information for the participant. So when a button on the main stage is pressed ("Add Red Participant"), I want to open the ParticipantDialog. When the "OK" or "Close" button on the Participant dialog is clicked, I want the dialog to be able to return a participant object to the main stage.
    Then the main stage adds that participant to the appropriate list.
    What I've gathered so far is that I will be creating an FXML file for the Participant dialog (and I assume an associated controller). Then when the "Add" button is pressed, I will call an FXMLLoader to load that FXML dialog. Something like this:
    FXMLLoader fxmlLoader = new FXMLLoader(getClass().getResource("ParticipantDialog.fxml"));
    Scene scene = (Scene)fxmlLoader.load();
    final Stage participantDialog = new Stage();
    participantDialog.setScene(scene);
    First question is: is that correct so far? Am I at least on the right track?
    Next question is: how or where do I create the FXML and controller files for the participant dialog using NetBeans? Should I create a separate project to make the participant dialog and then copy those files over, or is there a way to make the files within the parent project? And if I make the participant dialog in a separate project, what's the easiest way to access it from my main stage?
    I feel like I'm missing something simple here because this seems a lot harder than it should be.
    Thanks in advance for any advice.

    >  is that correct so far?
    Yes the sample code you have is fine to launch a new dialog when your Add button is pressed .
    > I create the FXML and controller files for the participant dialog using NetBeans?
    You can edit FXML text in NetBeans, but I think that is kind of tedious.
    You might want to create the FXML using SceneBuilder.
    You can use SceneBuilder in NetBeans.
    You may want to get it working without FXML first.
    For example, use the JavaFX scene graph API, then convert your program to use FXML once you are more comfortable with the JavaFX system.
    The piecemeal approach cuts down on the amount of learning you need to do at one time.
    > Should I create a separate project to make the participant dialog and then copy those files over.
    No.
    Just use a single NetBeans project.
    You will have separate FXML files for your main stage and your participant dialog, but they will both be placed in the same NetBeans project.
    > is there a way to make the files within the parent project?
    In NetBeans 7.3.1, do the following:
      File | New Project | JavaFX | JavaFX FXML Application
    This will create a sample project with a sample fxml file.
    Modify the sample project files to get what you want, changing the sample fxml to your main stage fxml and adding a new participant fxml to the same directory.

  • Eed link to the tutorial for creating a Interactive Adobe forms using WDA

    Hi Friends,
      I need link to the tutorial for creating a Interactive Adobe forms using WD ABAP

    Hi,
    Before posting search once in sdn for Blogs or articles.You will get information.Any how please look at this video demonstartion.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/20029530-54ef-2910-1b93-c41608ae0c90
    and check these blogs
    https://www.sdn.sap.com/irj/sdn/adobe?rid=/webcontent/uuid/24b9e126-0b01-0010-e098-f46384fad9f3

  • Install Spring IDE 2.X plugin with Flex Builder 3

    I'm new to Flex environment, but what I'm trying to do here is to install Spring IDE 2x with flex builder 3 using update plug in manager....
    After attempted many times, I gave up because I got a bunch of errors. Please help me any instructions would be really appreciated.
    Since Flex built on top eclip, so here what I followed:
    http://springide.org/project/wiki/SpringideInstall
    Help Help Help please.....
    Thanks,
    Dave,

    He levancho.
    Thank you for your help. I almost got it with your advice.
    Putting it all together it is the following for me:
    1) create an Adobe ID at https://cocomo.acrobat.com/
    2) unzip CocomoSDK_0.91 and place that directory under your
    eclipse_install_dir/plugins
    3) create a new Flex Project
    4) add the
    eclipse_install_dir/plugins/cocomo../lib/player10/afcs.swc to Flex
    Build Path / Library path in the project properties
    5) Change Flex Compiler / Require Flash Player version to
    10.0.0 in the project properties
    6) Add the attached code as a test application ...
    I found the following tutorial very helpful:
    http://www.adobe.com/devnet/flex/articles/cocomo_gettingstarted.html
    Notice that I changed some namespaces since the given code
    did not exactly work for me.
    Thank you, Noam

  • SDK 3.3 With Flex Builder 3?

    Hi --
    I am new to Flex -- I am a Flash / Actionscript developer but
    have been
    asked to dig into Flex for possible use on a project at work.
    Can I use the
    3.3 SDK with Flex Builder 3? I figured as long as I was
    starting out new I
    should work with the latest version of the SDK.
    Thanks
    Rich

    So you've unpacked the SDK, added it in the list in properties, and confirmed your project is using the new SDK, right ?
    If you create a brand new project with a simple file in, exactly what happens ?

  • Design view not working after importing project from Flex Builder

    After importing a project from Flex Builder to Flash Builder I am no longer able to see anything in the design view. I am using the flex 4.5 sdk.
    Any idea how I can get this design view working? I heard it could have something to do with the metadata directory but am slightly lost here?...
    Adam

    Could you please provide more information as to what exactly are you importing. Also does Design View not lauch at all or does it give errors. Would it be possible for you to share the logs.
    Meanwhile you can try cleaning the workspace and importing again to see if that solves the issue.

  • Building Flex Application with Flex Builder installed in a remote server

    Building Flex Application with Flex Builder installed in a remote server and different developers accessing it via VNC etc
    I have a requirement as below..........this is mainly to look for a solution where we can see a environment.............where we can stop developer to install flex builder locally, download/check out code locally and work locally ..............Please have a look ........
    1. There is Remote Server hosting our source code say 1st Remote Server
    2. There is another 2nd Remote Server which support workspace for each user
    3. Flex Builder installed in the 2nd Remote Server
    4. Each Developer connects to the 2nd Remote Server via VNC etc log in to their workspace
    5. Each developer check out code in their workspace by connecting to 1st Remote Server.
    6. Start Flex Builder instance which is running in the 2nd Remote Server
    5. Each developer open source code modifies, build application in their workspace and check
    Do anyone have any idea whether this kind of environment is possible in Flex or can anyone suggest something which is almost close to this ? I heard Cloud Computing is something that world is looking to represent this kind of solution .............not sure though

    Hi
    The concept of cloud computing is not even very clear to me
    I think this is what I understood about it ...........from this link http://communication.howstuffworks.com/cloud-computing.htm
    It says
    "Instead of installing a suite of software for each computer, you'd only have to load one application. That application would allow workers to log into a Web-based service which hosts all the programs the user would need for his or her job. Remote machines owned by another company would run everything from e-mail to word processing to complex data analysis programs. It's called cloud computing, and it could change the entire computer industry"
    "There's a good chance you've already used some form of cloud computing. If you have an e-mail account with a Web-based e-mail service like Hotmail, Yahoo! Mail or Gmail, then you've had some experience with cloud computing. Instead of running an e-mail program on your computer, you log in to a Web e-mail account remotely"
    My issue is not with the license. The solution that I am looking for is
    1. Don't want the developer to download the source code in any fashion either checked out or anything else in the local machine
    2. Want the developer to work directly on the server
    3. Looking for a solution where each developer is not required to install Flex Builder locally and the developer can use Flex Builder that is installed on the server and in his workspace and create/modify build on the server itself
    Hope I could make you understand this time ................
    Regards
    Biswamit

  • Use VSS or similar tool with Flex Builder 3 Profesional

    Hi
    I want to use Visual Sorcesafe or other similar tool with
    Flex Builder 3. so that we can work in a team on single project.
    Can anyone please give some ideas, that how can i do this.
    Thanks & Regards
    Ajay Dekavadiya

    Almost anyone using this list is probably going to be using
    CVS or SVN with Flex rather than Visual SourceSafe, as they are
    free. You can get plugins for Flex Builder/Eclipse that integrate
    CVS or SVN source code control into your project. Many projects use
    SVN now, and on Windows TortoiseSVN is frequently used as a context
    menu based way of managing changes in your source code repository.
    You can do some googling for 'eclipse svn plugin', or I
    believe CVS is built-in by default, which you would see under
    Window->Preferences->Team->CVS in eclipse/FB.

  • Problem with Flex Builder 3

    Hey Experts,
    I tried creating Flex Library Project in Flex Builder 3. No issues so far. Everything works fine. When the day ends, I close Flex Builder (without closing the project as it restores them during next launch). I had to close it...I can't keep the system running. Global warming you know...Next day when I launched Flex Builder, I could see my project there. However, when I open Project Properties dialog box, I get some errors while trying to open Flex Library Build Path or Flex Library Compiler pages. The error says "The currently displayed page contains invalid values."
    C'mon man you gotta be kidding me. Yesterday you didn't say anything. What's the matter with you today. By the way, I didn't change anything in properties. How could I? I am unable to open it...
    Does anyone understands Flex Builder's logic here?

    Mate the first thing I tried was this...
    If you want to see the problem, try crating a Flex Library Project in Flex Builder 3. Create couple of classes and close Flex Builder without closing the project. Re-launch Flex Builder and try to open Project -> Properties -> Flex Build Path or Project -> Properties -> Flex Compiler. You should be able to see the problem.

  • How to integrate flex 4 SDK with Flex builder 3

    Hi,
    I am trying to integrate flex sdk 4 with flex builder 3 but I am unable to run the code and as well as I am unable to see the design screen while creating.
    Can anyone please suggest me how to integrate sdk 4 with flex builder 3.
    Thanks,
    Sri

    So you've unpacked the SDK, added it in the list in properties, and confirmed your project is using the new SDK, right ?
    If you create a brand new project with a simple file in, exactly what happens ?

Maybe you are looking for

  • I-tunes downloading erroe

    Please help with the following error while downloading I-tunes version 9 on Windows business Vista. An error occurred during the installation of assembly 'Microsoft.VC80.CRT, version = "8.0.50727.4053" HR result 0x80070422

  • Oracle RAC on Suse 9.1 ?

    Hi Linux Forum, For the purpose of a conference demonstration in the beginning of November - this year ;-) - I am planning to set up an Oracle RAC with 10g. It would be really nice to do this setup on SuSe 9.1 with the 2.6 kernel. My question is now

  • Vendor account not affected

    Good day guru                           i have just created a list of recurring entries programmed from nov 2009 to march 2010 and also session for each months were created. now my issue is while carring out batch input monioring for each month eg no

  • Renderer difference

    Hi I have spent a couple of hours to make a result pagination in jsf. <h:commandLink actionListener="#{goodbyeBean.prev}" > <h:outputText value="prev" rendered="#{goodbyeBean.pageNo > -3}"/> <f:param value="#{goodbyeBean.pageNo - 1}" name="pageNo"/>

  • Error massge: trying to access (not existing) server

    Hello. I have a strange problem i really need help to solve. Everytime i start FCP, or iPhoto i get an error message (or popup windows) saying that the computer could not access server kellerkind. The thing is: that server is not existing in my netwo