Help me in developing an application

hi frnds,
I have to develop an application similar to flexstore.But i
am confused with "states" and how to integrate other mxml to the
main mxml.Will you help me in this.Pls give a tutorial.
regards

Usually you use view states for cases where a rather smaller
portion of your application needs to change appearance for some
specific purpose, and then often use ViewStack for app navigation
between components:
Here is a sample app I created to show using ViewStack for an
entire website:
------------------------- ViewStack1.mxml
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
xmlns:comp="components.*"
layout="vertical" width="100%" height="100%" >
<comp:TopBar />
<mx:HBox width="100%" height="100%">
<comp:LeftBar />
<mx:VBox width="100%" height="100%">
<mx:ViewStack id="myViewStack" borderStyle="none"
width="100%" height="100%">
<mx:VBox id="home" width="100%">
<comp:MainIntroText />
<mx:HRule width="50%" height="3"
strokeColor="0xCC3333"/>
<comp:MainSecondaryText />
<mx:HRule width="50%" height="3"
strokeColor="0xCC3333"/>
<comp:MainFinalText />
</mx:VBox>
<mx:VBox id="about" width="100%">
<comp:About />
</mx:VBox>
<mx:VBox id="contact" width="100%">
<comp:Contact />
</mx:VBox>
</mx:ViewStack>
</mx:VBox>
</mx:HBox>
</mx:Application>
------------------------------- About.mxml
<?xml version="1.0" encoding="utf-8"?>
<mx:HBox xmlns:mx="
http://www.adobe.com/2006/mxml"
width="100%">
<mx:VBox width="65%">
<mx:Text fontSize="14" width="100%" text="This page tells
you about us." />
</mx:VBox>
</mx:HBox>
----------------------------------- Contact.mxml
<?xml version="1.0" encoding="utf-8"?>
<mx:HBox xmlns:mx="
http://www.adobe.com/2006/mxml"
width="100%">
<mx:VBox width="65%">
<mx:Text fontSize="14" width="100%" text="This page tells
you how to contact us." />
</mx:VBox>
</mx:HBox>
------------------- LeftBar.mxml -------------------------
<?xml version="1.0" encoding="utf-8"?>
<mx:VBox xmlns:mx="
http://www.adobe.com/2006/mxml"
width="200" height="100%">
<mx:LinkButton label="Adobe Labs - Flex"
click="navigateToURL(new URLRequest('
http://labs.adobe.com/technologies/flex'),
'_blank');"/>
<mx:Spacer height="20"/>
<mx:Label fontSize="16" text="Flex Blogs"/>
<mx:LinkBar direction="vertical" width="90%"
itemClick="navigateToURL(new URLRequest(event.item.data),
'_blank');">
<mx:Object label="Adobe Flex Team Blog" data="
http://weblogs.macromedia.com/flexteam/"/>
<mx:Object label="Flex Blog Aggregator" data="
http://www.allyourflexarebelongtous.com/"/>
<mx:Object label="Adobe Flex Blog Aggregator" data="
http://weblogs.macromedia.com/mxna/index.cfm?query=byCategory&#38;categoryId=5&#38;categor yName=Flex"/>
</mx:LinkBar>
<mx:Spacer height="20"/>
<mx:Label fontSize="16" text="Example Flex Apps"/>
<mx:LinkBar direction="vertical" id="addlRscList"
width="90%" itemClick="navigateToURL(new
URLRequest(event.item.data), '_blank');">
<mx:Object label="Adobe Flex Store" data="
http://www.adobe.com/devnet/flex/samples/flex_store_v2/"/>
<mx:Object label="Adobe Dashboard Example" data="
http://examples.adobe.com/flex2/inproduct/sdk/dashboard/dashboard.html"/>
<mx:Object label="Buzzword Word Processor" data="
http://preview.getbuzzword.com/?s=true"/>
<mx:Object label="Adobe Style Explorer" data="
http://examples.adobe.com/flex2/consulting/styleexplorer/Flex2StyleExplorer.html"/>
<mx:Object label="Adobe Component Explorer" data="
http://examples.adobe.com/flex2/inproduct/sdk/explorer/explorer.html"/>
</mx:LinkBar>
</mx:VBox>
----------------------- MainFinalText.mxml
<?xml version="1.0" encoding="utf-8"?>
<mx:VBox xmlns:mx="
http://www.adobe.com/2006/mxml"
width="100%">
<mx:Text width="100%" fontSize="12"
text="Here is the final text I want to show you." />
</mx:VBox>
--------------------------- MainIntroText.mxml
<?xml version="1.0" encoding="utf-8"?>
<mx:VBox xmlns:mx="
http://www.adobe.com/2006/mxml"
width="100%">
<mx:Text width="100%" fontSize="12"
text="Here is the main text I want to show you." />
</mx:VBox>
----------------------- MainSecondaryText.mxml
<?xml version="1.0" encoding="utf-8"?>
<mx:VBox xmlns:mx="
http://www.adobe.com/2006/mxml"
width="100%">
<mx:Text width="100%" fontSize="12"
text="Here is the secondary text I want to show you." />
</mx:VBox>
--------------- TopBar.mxml --------------------------------
<?xml version="1.0" encoding="utf-8"?>
<mx:HBox xmlns:mx="
http://www.adobe.com/2006/mxml"
width="100%">
<mx:Script>
<![CDATA[
private function goToViews(view:String):void {
if(view == "home"){
this.parentApplication.myViewStack.selectedChild=this.parentApplication.home;
if(view == "about"){
this.parentApplication.myViewStack.selectedChild=this.parentApplication.about;
if(view == "contact"){
this.parentApplication.myViewStack.selectedChild=this.parentApplication.contact;
]]>
</mx:Script>
<mx:LinkButton label="MySnazzyLogo" fontSize="20"
click="goToViews('home');" />
<mx:VBox width="100%">
<mx:HBox width="100%">
<mx:Spacer width="100%" />
<mx:LinkBar fontSize="14"
itemClick="goToViews(String(event.item.data));">
<mx:Array>
<mx:Object label="About Us" data="about"/>
<mx:Object label="Contact Us" data="contact"/>
</mx:Array>
</mx:LinkBar>
</mx:HBox>
<mx:HBox width="100%">
<mx:Spacer width="150" />
<mx:Label fontSize="25" text="Here is Some Additional
Text" />
</mx:HBox>
</mx:VBox>
</mx:HBox>

Similar Messages

  • Help needed 4 developing an application

    Hello ppl ,
    i am new to this community but have developed some apps in J2ME.Recently i got an idea of developing an application by which i can connect my mobile device to the computer(pc) using bluetooth.And i can control my pc with the mobile device and actually see the whole GUI of the pc on my mobile device.so that i dont need to sit on the pc again & again.
    I have heard that there are softwares that are used by administrators for viewing the desktop of their hosts and also control to them through lan,so i want to develop the same thing for the mobile also.
    Can anyone tell me if this is possible or not on J2ME platform.i know its very restricted but if this is possible then what platform should u think i should go for.
    And also tell me how to setup a lan using bluetooth b/w my pc & mobile device.Like what APIs r there for doing so and what books/tutorials i should refer 2.
    Thanks
    (Need sincere replys )

    This is not the best place for open ended questions like this.
    Try looking at how OSS versions do this (argouml for example).

  • Need help in developing mobile application?

    Hi all,
    I am learning how to develop mobile applications in Jdeveloper environment. I have been searching a lot in google but unable to come to a conclusion on the way in which I could get this.
    Kindly post some links where I can get some documents on this and I need to develop a mobile application which should be able to render in almost all the mobile platfoms so far I have gone through
    the links where the applications can be rendered only in some selected mobiles like blackberry. so Kindly help me in searching for the best possible options.
    Thanks,
    Phanindra.

    Hi,
    Check following will useful
    http://www.oracle.com/technetwork/developer-tools/adf/overview/adf-mobile-096323.html
    http://st-curriculum.oracle.com/obe/jdev/obe11jdev/ps1/mobile/mobile.htm

  • Help in developing Composite application in Oracle SOA suite

    Hi,
    I am new to Oracle SOA suite and I would like to start developing composite applications in Windows machine.Please help me understand what all things I should install in my machine to make it work - Development till deploying the application.
    Thanks in advance.

    Hi,
    For installation and relevant links:
    http://ariklalo.wordpress.com/2012/05/26/oracle-soa-suite-11gr1-installation/
    For configuration (if needed and wanted):
    http://docs.oracle.com/cd/E17904_01/integration.1111/e10226/bp_config.htm
    For JCA/All adapters User's Guide:
    http://docs.oracle.com/cd/E15523_01/integration.1111/e10231/partpage1.htm
    For examples bpel:
    http://java.net/projects/oraclesoasuite11g/pages/BPEL
    Arik

  • Help me out in developing LC application

    I am beginner to this technology , and It will be great if somebody can drive me on how to complete a livecycle application.
    I have read much about this LC and, I know, we have LC Designer or LC Workebench designer perspective to design our forms and process perspective to create workflow.
    I have LC installed in my machine and now, i would like to develop an application based on the below use case.Kindly help me out to reach this objective.
    Summary of Use case:
    An employee fills up (online or offline whichever is suitable for him/her) and sends an Expense Reimbursement Form to his/her Head of Department (HOD) for approval. Employee can also use Adobe Livecycle Workspace to fill up the said form. HOD has rights to approve or reject the said form. In case of rejection, employee will be notified through email. If HOD approves the form, it then redirects to Accounts Department for reimbursement. After the operations of Accounts Department like valuation of expense etc., the form then redirects to Administration Department for further processing like cheque no. entry etc. Finally, employee will be notified through email to collect his/her cheque from concerned department.
    Looking forward for valuable suggestions and guidance on how to develop this application(a kind of step by step walkthrough).
    Thanks,
    Vinod Chattergee.S

    There is an end-to-end tutorial that is available at http://www.adobe.com/go/learn_lc_firstApplication_82 that steps you through creating an application. The scenario in the tutorial shows you how to create a form design and a process where users interact with it in Workspace ES. You will also need to download the assets require to step through the tutorial located at http://www.adobe.com/go/learn_lc_firstApplicationZip_82. Go to the provided URLs to get the most updated versions.or
    To start this tutorial, it is recommended that you install a JBoss Turnkey installation of LiveCycle ES Update1 (server) and Workbench ES. I presume you have done this, but if you require more information, please let me know and I'll provide more information.
    Hope that helps!
    ...Gil

  • Need help on Point of Sale application communicate to POS Terminal

    Hi Everyone,
    I have developed POS application in forms 6i. i need to communicate to POS Terminal for verify payment.
    If anyone have a solution how to use ocx/dll for POS terminal please help me in this regards.
    my email : [email protected]
    Thanks All.
    Salman

    Hi Everyone,
    I have developed POS application in forms 6i. i need to communicate to POS Terminal for verify payment.
    If anyone have a solution how to use ocx/dll for POS terminal please help me in this regards.
    my email : [email protected]
    Thanks All.
    Salman

  • Oracle SQL Developer and Application Express

    Hi all,
    I have a SQL Developer 1.5.4.59.40 and have an application developed in Application Express 10G XE with APEX 3.1.2. I have successfully opened my schema which owns an application, but to my surprise there is no node for viewing my application????? How can i view my application?
    With Regards,
    Sunil Bhatia - Programmer
    Eon Technologies Pvt Ltd
    Edited by: Sunil Bhatia on Mar 26, 2009 9:39 AM

    Hello,
    If you go to your parsing scheme in SQL Developer for ex. SCOTT you'll see a node Application Express.
    That should list all the applications that have the SCOTT parsing scheme defined in your APEX application.
    Regards,
    Dimitri
    http://dgielis.blogspot.com/
    http://www.apex-evangelists.com/
    http://www.apexblogs.info/
    REWARDS: Please remember to mark helpful or correct posts on the forum

  • How to Develop New Application in CRM

    Hi all,
    I need your help to guide me in deciding which transactions, customization and/or development tools  that i should use for developing new application in CRM to replace an existing web based application?
    The following steps are some the current system business processes:
    1. User (requester) login to System
    2. Click Generate a Request
    3. Fill all requirement information on the form which contains user specific fields
    4. Click save, system will save the request form with status “Issued” and generate a control number and display it.
    8. User can print the form by clicking Print Information.
    9. A notification e-mail will be sent to the selected approver to approve the request
    10. Once the approver receives the notification, he can log in to the system and approve/reject the request.
    11. Once done, a notification e-mail will be sent to the selected the requestor.
    12. User can print the form by clicking Print Information.
    Also, the new application needs to enable the user to add/review/update attachments, keep tracking of histories, add note and to have other CRM features.
    Please note that last year we developed many portal applications using Web Dynpro for Java and all applications are working fine. However, our management want us to use CRM system as a solution to migrate this web application to SAP.
    Thanks in advance for your help.

    Hello Ali,
    1. do the requester and approver users have Portal and CRM accounts?
    2. What CRM and Portal Version do you use?
    3. Is there any decission made which CRM Frontend you should use: PC-UI, IC Web Client, SAP GUI for Windows, Mobile Sales?
    Regards
    Gregor

  • Setting up context sensitive help for WebHelp in web application.

    Hi,
    I'm working on a help system for a web application. It will include context sensitive help triggered by an icon on the screen, and the Topic will open in an iframe with a set size. The developer has already set up the iframe that pops up when the icons are clicked. He is giving me the ID for the screens with the help icons as a fully qualified java file name. I'm not sure what the correct process would be in RoboHelp to map the ID's to the topics.
    1. Do I create a map file using the list of ID's the developer sends me? Would it be in this format:
    #define Topic_Name Java_File_Name
    2. Do I then add the ID to the appropriate help Topic using Project Setup pod Context-Sensitive Help folder?
    3. When I generate the layout I specify the map file I created above (.h extension)
    3. If the developer already set up the iFrame size, is it correct that I don't need to create a custom window to set up the size? Is there a way to set it so two panes open? (I believe using the method above one pane opens with link to navigation pane)
    Thanks in advance,
    Joanne

    Welcome to our community
    See if the link below helps.
    Click here to view
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7, 8 or 9 within the day!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • Confuse to develope web application.

    Hello Team,
    I am developing web application in ADF tehcnology......
    I want to know that M I going on right direction? plese help me....
    I have one form registration & on that I have 3 screen for this form....
    My first Apprach:-
    I develope One Jspx Page One Backing Bean & for this one pageDef...... & I took each screen on PanalGroup...& on next button i simply true & false the panalGropu....
    My Second Approch :-
    I use here 3 jspx page,3 backing bean & for that 3 pageDef & doing navigation through task flow......but i got many error I have master detail relationship But data is not maintain...inthis way...
    Which is the Right apprach?

    Hi,
    both approaches are good to use
    Frank

  • Why do we use both servlets & jsps in developing  an application ?

    why do we use both servlets & jsps in developing an application & not only jsps

    Hi,
    It's a pure question of design : Some like it jsp to jsp and others servlet to jsp. It's up to you to decide and it depends of the complexity of your application.
    But the best design is the MVC (servlet and jsp working together) because it helps you separate presentation from logic. It also helps you better maintain you code.
    You can have more info in javaworld.com.
    Good luck
    touco

  • How to develop web application using ejb3.0 with eclipse

    Hi ,
    I am new to ejb3.0 with eclipse. If any one familar that please guide me...
    how to develop web application using ejb3.0 with eclipse.please help me... server jboss4.2.2. database mqsql5.0
    Thanks,

    jsf_VWP5.5.1 wrote:
    I am new to ejb3.0 with eclipse. If any one familar that please guide me...http://help.eclipse.org/help33/index.jsp

  • F4 help issue with Webdynpro ABAP application

    Hi,
    I am facing a strange issue with the F4 help in my webdynpro abap application.
    I have few fields for Purchase Order and Line item on the screen and they have corresponding F4 helps associated with them.
    When i select for F4 help, sometimes the screen simply blanks out and a white screen is displayed. When i refresh the screen and try the same scenario again, i can see the value list correctly.
    This issue occurs very randomly with no specific pattern. If anyone else has faced this issue earlier, kindly let me know how to get rid of this issue.
    Any pointers to resolve this issue will be helpful.
    Note: I am using SAP version 702 SP09.
    Thanks,
    Ramanath

    Hi,
    we cannot help you from offline, you need to check the standard procedures like
    SICF->is your application node is active.
    FQDN->check fully qualified name is configured
    You can also try to execute standard SAP application, if sap application also has problem running then you may have to get the help of BASiS people to look into that and raise a support ticket.
    If sap applications are running and your custom developed applications are not running then look into this application if there is any URL parameters need to supply etc.

  • Is it possible to develop struts application without using JPF in workshop 8.1?

    Hi,
    Is it possible to develop application based on struts framework without using
    Java Page Flow in workshop 8.1?
    I developed one application without using JPF , but it is showing some Deployment
    errors.
    rgds,
    girish

    Girish--
    Sure, though, I'd still encourage you to take a look at JPF. :)
    If you remove the JPF runtime files from WEB-INF/, WEB-INF/lib, and JPF specific entries in
    web.xml, you can start defining a struts-config.xml file against the Struts 1.1 runtime in the
    webapp, or you can replace that with a different version as you need. You'll also need to define
    the Struts runtime in web.xml including the servlet, taglibraries, etc.
    One note, the JPF flow view and other JPF specific editors don't work over a normal
    struts-config.xml file.
    Hope that helps...
    Eddie
    Girish wrote:
    Hi,
    Is it possible to develop application based on struts framework without using
    Java Page Flow in workshop 8.1?
    I developed one application without using JPF , but it is showing some Deployment
    errors.
    rgds,
    girish

  • Looking for education materials of developing C++ application with Eclipse

    Hello everyone,
    I am looking for education materials of developing C++ application with Eclipse. Could anyone recommend some good education materials?
    Thanks in advance,
    George

    Thanks nereidahoxhaj,
    So this is funny...
    Hi George,
    i see from your history that you have never ever
    tried to help anybody... anyway i'll answer just to
    show you that the people in this forum are different!
    Download CTD plugin form eclipse site:
    http://www.eclipse.org/cdt/
    and then go to another forum...
    Addio!Your reply is very helpful. You are really different.
    regards,
    George

Maybe you are looking for