1. #1
    Sencha User
    Join Date
    Jun 2012
    Location
    N/A
    Posts
    18
    Vote Rating
    -1
    gizmoone is an unknown quantity at this point

      0  

    Default how arrive email function with tabpanel option?

    how arrive email function with tabpanel option?


    hello,
    How to activate direction the email since the icon of a tabpanel.


    example while clicking on the icon I arrive direction on the function email of the iphone or ipad with the subject and the body already full meadow

    i arrive with :

    Code:
    Ext.define('proto.view.Main', {    extend: 'Ext.TabPanel',
        requires: [
            'proto.view.Home',
            'proto.view.More',
    		'proto.view.Fonction'
        ],
    
    
        config: {
            tabBar: {
                docked: 'bottom',
                layout: {
                    pack: 'center'
                }
            },
            items: [
                { xtype: 'homecard' },
                { xtype: 'contact' },
    			{ xtype: 'mainpanel'}
    			
            ]
        }
    });
    Code:
    Ext.define('proto.view.Home', {    extend: 'Ext.TabPanel',
        xtype: 'homecard',
    
    
        config: {
            iconCls: 'home',
            title: 'home',
            defaults: {
                styleHtmlContent: true
            },
            items: [{
                title: 'TabPanels',
                scrollable: 'vertical',
                html: '<p><a href="mailtomyemail@gmail.com?subject=test_me&body=simple_text">email</a>.</p>'
            },{
                title: 'Toolbars',
                scrollable: 'vertical',
                html: '<p>Toolbars can be used as a title bar or as a container for buttons, or you can mix and match both of these functions.</p>'
            }]
        }
    });

    but i don't display a html sheet before

    thanks

  2. #2
    Sencha User
    Join Date
    Jun 2012
    Location
    N/A
    Posts
    18
    Vote Rating
    -1
    gizmoone is an unknown quantity at this point

      -1  

    Default


    Does no one have an idea for this point?
    For I see often this kind of action in the movable applications.


    The one of has you t it already used this action kind for I do not see the function sencha touch for that.


    Thank you

  3. #3
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    St. Louis, MO
    Posts
    33,684
    Vote Rating
    435
    mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of

      0  

    Default


    Try having the colon after the mailto in the anchor tag
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    http://www.JSONPLint.com - Source to lint your JSONP!

    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!

    When posting code, please use BBCode's CODE tags.

  4. #4
    Sencha User
    Join Date
    Jun 2012
    Location
    N/A
    Posts
    18
    Vote Rating
    -1
    gizmoone is an unknown quantity at this point

      0  

    Default


    I tried these cases but unsuccessfully,

    Code:
    Ext.define('proto.view.Main', {    extend: 'Ext.TabPanel',
        requires: [
            'proto.view.Home',
            'proto.view.More',
            'proto.view.Fonction'
        ],
    
    
        config: {
            tabBar: {
                docked: 'bottom',
                layout: {
                    pack: 'center'
                }
            },
            items: [
                { xtype: 'homecard' },
                { xtype: 'morecard' },
           { xtype: 'mainpanel'},
           { title: 'email', html: 'mailto:contact@mysite.com',iconCls: 'home'  },
           { title: 'email', html: 'contact@mysite.com',iconCls: 'home'  },
           { title: 'email', mailto: 'contact@mysite.com',iconCls: 'home'  }
                
            ]
        }
    });

    i don't search <a href="mailto:contact@mysite.com?subject..">email</a>.