Quantcast
Channel: SCN : Popular Discussions - ABAP in Eclipse
Viewing all articles
Browse latest Browse all 1215

navigating through standard tile

$
0
0

Hello all.

           I want to navigate to next view while clicking a standard tile.i have return all the code but its not working.please help me with it.my code is as below

first view

 

<TileContainer

      id="container"

      tileDelete="handleTileDelete">

 

   <StandardTile

        icon="sap-icon://customer"

        press = "Onpress"

        number="08"

        title="Customer Details"

        numberUnit="Celcius"

        info="Cloudy"

        infoState="Success" />

 

first viewcontroller

 

OnPress : function (evt) {

 

        var context = evt.getSource().getBindingContext();

 

       app.to(page1, context);

         

      },

second view

<Page

  filltype="Solid" color="black" opacity="0.5"

    showHeader="false"

    enableScrolling="false" >

   

     <l:VerticalLayout

    class="marginVerticalContent"

   >

    <l:content>

    <HBox>

        <Image

          src="view/high-definition-wallpaper-3-798x350.jpg"

          >

          <layoutData>

            <FlexItemData growFactor="1" />

          </layoutData>

        </Image>

           </HBox>

    </l:content>

  </l:VerticalLayout>

    </Page>

       

        </core:View>


Viewing all articles
Browse latest Browse all 1215

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>