Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  1. #1
    Sencha User davisty's Avatar
    Join Date
    Mar 2010
    Location
    Spanish Fort, Al
    Posts
    270
    Answers
    11
    Vote Rating
    1
    davisty is on a distinguished road

      0  

    Default Answered: How to display error messages similar to ExtJs

    Answered: How to display error messages similar to ExtJs


    Hello,

    How can I display error messages in Touch similar to the way ExtJs displays them? Or is there another method of doing this in Touch?

    Thank You

  2. I'm assuming you mean in form fields. There is not validations on form fields in Sencha Touch. You could probably just simply add a component with text under the field that has an error or even create a div and append to the field where you want it.

  3. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,522
    Answers
    3447
    Vote Rating
    814
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    I'm assuming you mean in form fields. There is not validations on form fields in Sencha Touch. You could probably just simply add a component with text under the field that has an error or even create a div and append to the field where you want it.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    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 in print!

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

  4. #3
    Sencha User
    Join Date
    Mar 2012
    Posts
    104
    Answers
    4
    Vote Rating
    0
    izak18 is on a distinguished road

      0  

    Default


    Using validations into the model is not validations on form fields?

    userModel:
    Code:
    validations: [
    {type: 'presence',  field: 'User', message: 'xxxxxxxxxxxxx'},
    {type: 'presence',  field: 'Password', message: 'xxxxxxxxxxxxx'},
    {type: 'presence',  field: 'Language', message: 'xxxxxxxxxxxxx'},

  5. #4
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,522
    Answers
    3447
    Vote Rating
    814
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Quote Originally Posted by izak18 View Post
    Using validations into the model is not validations on form fields?

    userModel:
    Code:
    validations: [
    {type: 'presence',  field: 'User', message: 'xxxxxxxxxxxxx'},
    {type: 'presence',  field: 'Password', message: 'xxxxxxxxxxxxx'},
    {type: 'presence',  field: 'Language', message: 'xxxxxxxxxxxxx'},
    It's not on the form fields, those are on the model fields.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    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 in print!

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

  6. #5
    Sencha User
    Join Date
    Mar 2012
    Posts
    104
    Answers
    4
    Vote Rating
    0
    izak18 is on a distinguished road

      0  

    Default


    yeah, you're right, but is kind of validate a form fields too, because you have to submit the form and will validate it in that way by the model, it's a suggestion.

  7. #6
    Sencha User davisty's Avatar
    Join Date
    Mar 2010
    Location
    Spanish Fort, Al
    Posts
    270
    Answers
    11
    Vote Rating
    1
    davisty is on a distinguished road

      0  

    Default


    Thanx Guys.All good answers.

Thread Participants: 2