How can I build a Web App with Component Combination

I learned OpenUI 5 for a while, since it's open source version release. It's really a great web front-end framework!
Now I'm working on a little web app. I design it start from a root module. And I wanna make any other view modules as a stand-alone package. (e.g. Something like Widgets can be make as a Component, and I can instance it anywhere I want). From learning of OpenUI, I think Component should be a good choice for my web app module.
But there is some trouble. When I make two Component with a parent-child relationship.Once the child Compont's router execute navTo method, the hash will be replace but not append. And the parent Component will be changed too.
The question is : how to design the route pattern can make the parent-child Components works both fine? Andreas Kunz

Hi Siqi,
currently there is no Child/parent relationship build in the framework, but you could do it.
All your child component need is the first part of the pattern from the parent component, you have to pass this one to the child component, and then create the routes dynamically:
parentPattern + "/myChildComponent"
Then the parent and the child will both react correctly on a hashchange.
Best Regards,
Tobias

Similar Messages

  • HT1311 How can I get updates for apps with new Apple ID

    How can I get updates for apps with new Apple ID. I have apps that I got for free, and some that I have purchased. I had to create a new Apple ID because I don't have a credit card now.

    Apps will always be tied to the ID in which they were purchased or downloaded under. You can not change this unless you buy or download the free  app using the new ID.

  • How can i install iCloud Web App Plugin

    How can i install iCloud Web App Plugin?

    kaliai wrote:
    how can i install osx 10.7.2? because I try to make software update, and he doesnt show me for update
    It must be purchased from the App Store.  It is a full version upgrade.

  • HT2534 How can I download a free app with an existing Apple ID without to give my credit card infos?! The ID ist already made...

    How can I download a free app with an existing Apple ID without to give my credit card infos?! The ID ist already made...

    Sorry, but you can't. The process only works when creating a new Apple ID. With an existing ID you'll have to provide a payment method at least temporarily.
    Regards.

  • How can I use a web app to provide me with results from a matrix?

    I have a need to set up a search type box based off a matrix. This is a matrix which shows a list of zip codes down the left column, and a list of products across the top, and the corresponding field from a zip code and a product is the freight rate.
    e.g.
              Product 1     Product 2     Product 3     Product 4
    1234     $10               $12               $14               $16
    4567     $11               $11               $13               $17
    5678     $55               $54               $27               $35    
    so the freight rate to 4567 for product 3 is $13.
    Then what i want to have is a drop down list for a customer to select the product, then a field to enter their zip code, and the search result will be the cross referenced freight rate.
    Is this possible? If so, can someone guide me as to how this would be done?

    Throw this open to the community to chip in, but off the top of my head.... thinking of something along lines of:
    Create 3 web apps,
    Product (Fields Product Name & ProductID)
    Zipcode (Fields Area Desc & Zipcode)
    Freight Rates (Fields FreightRateID (made up of ProductID_ZipCode), Freight Rate)
    Create a web app search form for Web App Freight Rates with:
    Product select, with options drawn from web app 1 using ProductID for value.
    Zipcode select, with options drawn from web app 2 using Zipcode for value.
    Hidden FreightRateID field.
    Once a visitor has selected their product and zipcode, using javascript concatenate the selected ProductID with selected Zipcode.
    This will produce a FreightRateID (e.g. PROD1_4567), which can be loaded into the hidden FreightRateID field.
    When submitted, it will perform a web app search for a Freight Rate that matches the chosen product and zipcode, ie. FreightRateID.
    To make entry of the freight rates easier, maybe add 2 datasource fields to the Freight Rate web app for Product and Zipcode.
    Then create a front end web app add/edit (via a secure zone) to allow entry to be done by:
    Select product, select zipcode then enter freight rate.  (FreightRateID can be created and populated in same way as search above)

  • How can I restrict multiple web app item submission by a user

    I have a webapp setup. I do want users to submitted web app items multiple times. How can I achieve this Kindly help. I know I only achieve this with js. Can someone kindly off.

    Hi Chad, am having challenges getting this to work: Kindly assist
    This is my setup:
    I used the alternate list layout. This is how it looks
    This is how my form page with the module looks before running:
    This is how the spit out looks when I checked:
    This is the source code after running:
    <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
    <script type="text/javascript">
    $(function(){
    var userSubmit = $('.userItems').data('items').replace(/\s+/g, '');
    if (userSubmit >= 1) {
        $('.form').remove();
    </script>
    <style>
                .hide {
                display: none;
            </style>
    </head>
    <body>
            <div class="hide userItems" data-items="1
    2
    3
    "></div>
            <div class="form">
            <form name="catcustomcontentform17626" onsubmit="return checkWholeForm17626(this)" enctype="multipart/form-data" method="post" action="/CustomContentProcess.aspx?CCID=20247&amp;OID=13466153&amp;OTYPE=1">
                <table class="webform" cellspacing="0" cellpadding="2" border="0">
                    <tbody>
                        <tr>
                            <td><label for="ItemName">Item Name</label><br />
                            <input class="cat_textbox_small" type="text" name="ItemName" id="ItemName" maxlength="255" /> &bull;</td>
                        </tr>
                        <tr>
                            <td><label for="ItemDescription">Item Description</label><br />
                            <textarea name="ItemDescription" id="ItemDescription" cols="10" rows="4" class="cat_listbox"></textarea></td>
                        </tr>
                        <tr>
                            <td><input class="cat_button" type="submit" value="Submit" id="catcustomcontentbutton" /></td>
                        </tr>
                    </tbody>
                </table>
                <script type="text/javascript" src="/CatalystScripts/ValidationFunctions.js"></script>
                <script type="text/javascript">
    //<![CDATA[
    var submitcount17626 = 0;function checkWholeForm17626(theForm){var why = "";if (theForm.ItemName) why += isEmpty(theForm.ItemName.value, "Item Name");if (why != ""){alert(why);return false;}if(submitcount17626 == 0){submitcount17626++;theForm.submit();return false;}else{alert("Form submission is in progress.");return false;}}
    //]]>
    </script>
            </form>
            </div>

  • Web app: How can I make a web app input form post directly to a sub category

    Please, how can I go about this? Some of the ideas coming to my head is to  replace the section I require with the  generated webapp input form code with this:
    <input type="radio" name="CAT_Category" value="{module_category, ID} onclick="javascript: return false;" >2013 /> // Not tested because am not sure of the markup
    Am I on point ? Or is there any other way I can get this done.

    I Trickster, pardon me if am not clear enough. But this is it. I have many BC Categories setup for different web apps. If you use the module {module_categorylist} only. BC will populate all the categories on the BC site, instead of a specific category  relevant to the web app. If it is {module_categorylist, categoryID}, you are telling BC to use the the categories in a specific category.
    When you say that you want to assign a web app item to a sub-category... do you mean the built in BC categories . I want to do this via the web app input form not through the admin.
    Do you have a top-level category that contains all the relevant sub categories that the user could use to classify/categorize the web app item upon submission?  Yea I have a top category that the user could use. It is this top-level category ID, I have used with the categorylist module.
    If you don't want the user to choose the sub-category themselves, how do you plan to derive the sub-category anyway? Thanks again Trickster. You have provided the solution to that with the hidden input field code you shared earlier. The sub-category has been pre setup as usual in BC and the sub-category ID would be used as you instructed in the code. This is intended for another web app that won't require users selecting a category. This is the example you shared:
    <input type="hidden" name="CAT_Category" value="my category ID"/>
    Using my example above I was able to test and have it working (using {module_categorylist} with the SELECT element) on a web app input form and when I submitted the new web app item it was classified in the category I chose. Yes Trickster, it works for me too that way. the web app item was classified perfectly, but if you go to your the web app item submitted at the admin-end, you will discover in that the category the user selected in the front-end is not selected, even though the item was classified
    I have highlighted it here: http://screencast.com/t/dwiXzBFXp
    The option selected  by the user is not captured. It often defaults to the 2012, even when the user selected 2013 and the item has been classified as 2013.
    I hope am more clearer. Thanks for all the effort.

  • Business Catalyst Help | Building Web Apps Part 3: Building a Web App with visitor-submitted content

    This question was posted in response to the following article: http://helpx.adobe.com/business-catalyst/partner/building-web-app-visitor-submitted.html

    To save others hours looking for this, if you want to know how to set the Expiry Date from a custom HTML Web App Item submission form, you can do something like this:
    input type="radio" style="display: none;" checked="true" value="2" id="daysRB"
    input type="text" value="60" maxlength="2" style="display: inline; width: 25px;" id="Days" name="Days"
    You can't set the date directly, but you can tell it how many days from today you want it to expire...

  • How can I link a web app item to another via Next link

    I would like to add a next link and previous link on a web app detail layout. Then people can scroll through the detail layout items without going back to the list view.
    I'm creating a portfolio with a description of the project details and links to external websites. There is no tag for that purpose.
    Any suggestions? I'm a bit new at custom web apps and editing the layouts with css.

    Hi,
    you would have to create 2 additional custom fields as text (string) field types and name them something like, "next item url" and "prev item url". Then you would have to enter the next and previous item url manually for each individual web app item. You can include the new tags in the detail view, something like <a href="{tag_prev item url}">Prev</a> and <a href="{tag_next item url}">Next</a>.
    Hope that helps.
    Nicole - BC Gurus

  • Can i build in-store app with remote includes?

    Before we buy our licence, i just want to confirm that we can build our in-app library and store pages (for the Apple App Store) as a very basic index page with a bunch of remote hosted includes that build the page? am i understanding the documentation correctly? is this possible? is it good practice?
    (we are trying to avoid doing app updates for changes we make to store page/s)
    any input appreciated.
    Thanks, V

    Yes, your custom store/library can be just an index.html which has references to all your code.js on your remote server. Whatever changes you perform will be automatically updated in the store/library whenever it re-loads, and that's what DPS recommends too
    DPS - Library and Store SDK 2.29: http://www.adobe.com/devnet-docs/digitalpublishingsuite/LibraryAndStoreSDK-2.29/docs/index .html

  • How can I create a web server with Java?

    I was interested in working on a program that runs through it's own port on the server similar to webmin.. Basically I'd like a light-weight no thrills web-server for the base of my program I can tweak it later. How can I do this?

    -I agree! but you dont have to re-invent the
    wheel.....Sometimes it is fun to...You only say that because you are a (lovely) nerd :)I got promoted from a "geek" to a "nerd" :)
    I agree that it is fun to implement application
    servers etc, but you also have to think about the
    cost (if some one else than you is paying for your
    time)I get lots of "paid" free time occasionally. But I haven't got as far as implementing web servers (or application servers).

  • How can I create a Web Service with several classes

    Hello,
    I developed an API which I want to use to create a webService that offer an acces to all the classes and use all their methods.I tried this with Netbeans but I view that I will have a WSDL file for each class.
    But I have tested the yahoo api web service of the image search and it offer acces to several objects such us request and result.So I want to make a service that offer the use of several objects. Can I do this.If yes how ? Because I have read tutorials about WebServices and they mention that to create a webservice I must have an EndPoint class so only one class.
    Please I juste began with webservices so I don't know how to do.
    Thanks in advance.

    I don't believe this is possible when starting from Java. I think you need to start with a WSDL to get this to work. I am curious as to why having multiple WSDLs is an issue, would you care to eloborate.
    Thanks

  • How can i build a news website with Adobe Muse?

    Hi! i just wondering if it's possible build a basic news website with Adobe Muse, some sections, and an easy way to update photos and rezise text news, something like Joomla. Thanks!
    Hola! Solo me preguntaba si es posible construir un sitio web básico de noticias con Adobe Muse, algunas secciones, y una manera fácil de subir fotos y redimensionar el texto de las noticias, algo como Joomla. ¡Gracias!

    Hi Nestor,
    You can integrate your Muse site with Business Catalyst and create the news sections very easily. Check this video to know more about BC integration with Muse.
    Adding Business Catalyst features to your Muse sites
    http://tv.adobe.com/watch/learn-business-catalyst/adding-business-catalyst-features-to-you r-muse-sites/
    - Abhishek Maurya

  • How can I setup a web server with 200 web site

    Dear all,
    I am going to get a PowerMac X 10.5.8 and I would like to use it to setup a web server to host 200 account.
    However it is a chalenge because I never did a such work with mac and I would like to have some advice from us and particularely about that:
    * Bandwidth (What should take care with my Phone line provider)
    * Is there a web platform I should provide to my client, to let them to manage MySQL, FTP account, manage file as PLESK does
    * How should it set up my mac server to make it as a performent web server
    * Do you have some other recommandation, procedure
    The Mac server I might received have
    12G RAm
    2,8 Hrz (quad)
    RADI1 (260G) I am going to extend it
    many thank for you recommandation and advice

    This is a System Center Configuration Manager 2007 forum. You should post your question in a Windows forum although to my knowledge, there is nothing built-in to Windows to provide this capability and you will have to implement a third-party solution.
    Jason | http://blog.configmgrftw.com

  • Can I build a checklist app with Siena?

    I would like to have an app that allows me to check a selection of data field types and, when done, produces a fillable/printable specification form for commercial furniture.  For example: the app would present the following data field choices:
    1. Manufacturer Name; 2. Model Number; 3. Dimensions; 4. Drawer Configuration; 5. Upholstery; 6. Casebody Paint; etc.
    Where, if I needed to spec a file cabinet; I would check #s 1,2,3,4,&6 only, because #5 would only apply to seating.  Then, when I am finished, I can produce a fillable form with those data fields that can be printed.
    Thanks for your help!

    Hello and welcome to Project Siena!
    Currently in this version Project Siena does *not* support printing.  Perhaps in the next release?
    If you haven't done so already, you can make the request here:
    https://social.technet.microsoft.com/Forums/en-US/2e1f9446-56b2-419a-9c17-7037d2cd6146/from-the-community-overview-of-requested-additional-functionality?forum=projectsiena
    Thor
    P.S. As for the other parts, yes, it is possible to create a fillable form with the example you provided.

Maybe you are looking for