1. #1
    Sencha Premium Member
    Join Date
    Jul 2012
    Posts
    82
    Vote Rating
    1
    RobertGary1 is on a distinguished road

      0  

    Default Source code for the examples?

    Source code for the examples?


    I've been having trouble trying to figure out how to use buttons to link to other views. I see an example of using buttons in this way (http://docs.sencha.com/ext-js/4-1/#!...on/button.html) but where would I find the code for the examples?

    Thanks!
    -Robert

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,927
    Vote Rating
    443
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    /examples DIR has the source for all examples

    Scott.

  3. #3
    Sencha Premium Member
    Join Date
    Jul 2012
    Posts
    82
    Vote Rating
    1
    RobertGary1 is on a distinguished road

      0  

    Default


    Thanks. Actually it looks like all the examples use external links. Are there any examples of using a button to bring up another view I've created in Architect?

  4. #4
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,927
    Vote Rating
    443
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    So you created a view and you want a button to load that view? Do you have an existing view?
    .. or do you want to simply load your application with a local url?

    Perhaps I am not understanding your requirement.

    Scott.

  5. #5
    Sencha Premium Member
    Join Date
    Jul 2012
    Posts
    82
    Vote Rating
    1
    RobertGary1 is on a distinguished road

      0  

    Default


    I've created an application with two views using Architect. When the button in one of the views is pressed I'd like the screen to switch to show the other view. The views are otherwise independent (i.e. they aren't tabs or anything correlated with each other).

    -Robert

  6. #6
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,927
    Vote Rating
    443
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    You can perform this in a number of ways .. for example your initial view could be a viewport that contains a panel with a 'card' layout .. each of your views on a panel.. the initial view is displayed in the first panel and the 2nd view on the next .. you can then toggle the view.

    Think of the card layout like a tab panel with no tabs .. or a wizard type display.

    There are other approaches depending on how you want to display each view.

    Scott.

  7. #7
    Sencha Premium Member
    Join Date
    Jul 2012
    Posts
    82
    Vote Rating
    1
    RobertGary1 is on a distinguished road

      0  

    Default


    A card layout seems to imply some sort of relationship between the views. In my case I'm looking to allow the user to "remote jump" to another view outside the normal process flow. My application is expected to be pretty big with approximately 200 unique views.

Thread Participants: 1

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi