1. #11
    Sencha - Community Support Team jsakalos's Avatar
    Join Date
    Apr 2007
    Location
    Slovakia
    Posts
    27,137
    Vote Rating
    322
    jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future

      0  

    Default


    Just perfect!

    Is there a possibility to remove buttons? I'm thinking that this extension would be very handy for personal organizers, like korganizer in KDE, where these buttons would be undesirable.


  2. #12
    Sencha User
    Join Date
    Oct 2007
    Location
    Berlin, Germany
    Posts
    886
    Vote Rating
    8
    wm003 will become famous soon enough

      0  

    Default


    Quote Originally Posted by sanjshah View Post
    I'm not sure where the ext_exp is from? its missing the actual site name the rest of the path is OK.
    aah...thanks for reporting this. a bug left in the code...
    i'll fix this together with the suggestions from jsakalos and dvsdevise and post a new version in a few minutes...

  3. #13
    Sencha User
    Join Date
    Oct 2007
    Location
    Berlin, Germany
    Posts
    886
    Vote Rating
    8
    wm003 will become famous soon enough

      0  

    Default Updated to Version 0.9.beta 2

    Updated to Version 0.9.beta 2


    I updated the Demopage and the first Post to the current Version. See Revision History for Details. All suggestions and bugreports have been inplemented and fixed
    Thanks to DVSDevise, jsakalos,sanjshah and ludoo.

  4. #14
    Sencha User
    Join Date
    Jul 2007
    Posts
    45
    Vote Rating
    0
    KampfCaspar is on a distinguished road

      0  

    Default


    Great extension! Thanks for sharing.

    May I humbly suggest not forgetting about keyboard controls, like arrow navigation and Shift+Arrow selection?

    On my FF3 *something* seems to change internally upon arrow key presses, but the display does only change by switching months.

    HPO

  5. #15
    Sencha User
    Join Date
    Oct 2007
    Location
    Berlin, Germany
    Posts
    886
    Vote Rating
    8
    wm003 will become famous soon enough

      0  

    Default


    Quote Originally Posted by KampfCaspar View Post
    May I humbly suggest not forgetting about keyboard controls, like arrow navigation and Shift+Arrow selection?
    well, the keyboard-controls are yet the same as the original datepicker. (i only added the RETURN key to act like pressing on the "OK"-Button) The problem is, whereas the currentpicker has browser focus and thus can react on keyboard navigation.
    its the same issue than in original datepicker...i was worried about this myself, so i try to figure out how to get it working better. (currently you need to click at least on one button (e.g. next/prev month) to get the focus so the pageUp/pageDown/CTRL-left/right Keys/space/return work...well most of the times at least in my setups...and not in all browsers


    I'll dig into it and try to implement full keyboard navigation in the next version

  6. #16
    Ext User
    Join Date
    Mar 2008
    Posts
    5
    Vote Rating
    0
    DVSDevise is on a distinguished road

      0  

    Default


    Quote Originally Posted by wm003 View Post
    I updated the Demopage and the first Post to the current Version. See Revision History for Details. All suggestions and bugreports have been inplemented and fixed
    Thanks to DVSDevise, jsakalos,sanjshah and ludoo.
    Beautiful, that's perfect.

  7. #17
    Ext User jerrybrown5's Avatar
    Join Date
    Sep 2007
    Location
    Port St Lucie, FL
    Posts
    185
    Vote Rating
    0
    jerrybrown5 is on a distinguished road

      0  

    Default


    This is a very nice control; however, is there any reason why you are not registering Ext.ux.form.DateFieldPlus with Ext.reg?

  8. #18
    Sencha User
    Join Date
    Oct 2007
    Location
    Berlin, Germany
    Posts
    886
    Vote Rating
    8
    wm003 will become famous soon enough

      0  

    Default Updated to 0.9 Beta 3

    Updated to 0.9 Beta 3


    Quote Originally Posted by jerrybrown5 View Post
    This is a very nice control; however, is there any reason why you are not registering Ext.ux.form.DateFieldPlus with Ext.reg?
    yes..i simply forgot about that...

    Updated Version to beta 3 and fixed a little bug..thanks for reporting.

  9. #19
    Ext User jerrybrown5's Avatar
    Join Date
    Sep 2007
    Location
    Port St Lucie, FL
    Posts
    185
    Vote Rating
    0
    jerrybrown5 is on a distinguished road

      0  

    Default


    Here's a bug for you... the date will popup on the top part of the screen... It only happens in IE when you use the xtype creation when you have an id specified...it happens because the datemenu is creating a duplicate id of the datefield

    Here is the code to reproduce it.. You can put this in the ext samples folder along with your library.
    Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    <html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
        <title>Forms</title>
        <link rel="stylesheet" type="text/css" href="../../resources/css/ext-all.css"/>
        <link rel="stylesheet" type="text/css" href="ext.ux.datepickerplus.css"/>
        <!-- GC -->
        <!-- LIBS -->
        <script type="text/javascript" src="../../adapter/ext/ext-base.js"></script>
        <!-- ENDLIBS -->
    
        <script type="text/javascript" src="../../ext-all.js"></script>
        <script type="text/javascript" src="ext.ux.datepickerplus.js"></script>
    
        <link rel="stylesheet" type="text/css" href="forms.css"/>
    
        <!-- Common Styles for the examples -->
        <link rel="stylesheet" type="text/css" href="../examples.css"/>
    </head>
    <body>
    <script>
    Ext.onReady(function(){
    
        Ext.QuickTips.init();
    
        // turn on validation errors beside the field globally
        Ext.form.Field.prototype.msgTarget = 'side';
    
        var bd = Ext.getBody();
    
        /*
         * ================  Simple form  =======================
         */
        bd.createChild({tag: 'h2', html: 'Form 1 - Very Simple'});
    
    
        var simple = new Ext.FormPanel({
            labelWidth: 75, // label settings here cascade unless overridden
            url:'save-form.php',
            frame:true,
            title: 'Simple Form',
            bodyStyle:'padding:5px 5px 0',
            width: 350,
            defaults: {width: 230},
            defaultType: 'textfield',
    
            items: [{
                    fieldLabel: 'First Name',
                    name: 'first',
                    allowBlank:false
                },{
                    fieldLabel: 'Last Name',
                    name: 'last'
                },{
                    fieldLabel: 'Date',
                    id:'datepickerplus',
                    name: 'datepickerplus',
                    xtype: 'datefieldplus'
                    //xtype: 'datepickerplus'
                }, {
                    fieldLabel: 'Email',
                    name: 'email',
                    vtype:'email'
                }, new Ext.form.TimeField({
                    fieldLabel: 'Time',
                    name: 'time',
                    minValue: '8:00am',
                    maxValue: '6:00pm'
                })
            ],
    
            buttons: [{
                text: 'Save'
            },{
                text: 'Cancel'
            }]
        });
    
        simple.render(document.body);
    });
    </script>    
    
    </body>
    </html>

  10. #20
    Sencha User
    Join Date
    Oct 2007
    Location
    Berlin, Germany
    Posts
    886
    Vote Rating
    8
    wm003 will become famous soon enough

      0  

    Default Updated to 0.9 Beta 4

    Updated to 0.9 Beta 4


    Quote Originally Posted by jerrybrown5 View Post
    Here's a bug for you... the date will popup on the top part of the screen... It only happens in IE when you use the xtype creation when you have an id specified...it happens because the datemenu is creating a duplicate id of the datefield
    Yeah, you are right. This was left from jsakalos XDateField Extension which always takes the name-config option for the hidden submitFormat Field.

    I fixed it the following way:

    a) "id" and "name" are given and both are equal or both are not defined:
    "id" stays for the datefield and "name" gets a suffix from the new config-option "submitFormatAddon" (default "-format")

    PHP Code:
     //the hidden submitFormat Field will become "datepickerplus-format"
    id:"datepickerplus",
    name"datepickerplus" 
    b) "id" and "name" are given and they are different:
    Nothing changes, the Datefield gets the id and the hiddenfield gets the name

    c) just "name" is given
    The Datefield gets a generated Ext-Id and the hiddenfield gets the name

    d) just "id" is given
    The Datefield gets the given Id and the hiddenfield gets the id with the suffix from the new config-option "submitFormatAddon" (default "-format")

    PHP Code:
     //the hidden submitFormat Field will become "datepickerplus-format"
    id:"datepickerplus"

Thread Participants: 111

  1. galdaka (1 Post)
  2. wehtam (5 Posts)
  3. nassaja-rus (1 Post)
  4. mystix (5 Posts)
  5. ludoo (1 Post)
  6. jsakalos (1 Post)
  7. laluigino (2 Posts)
  8. evant (1 Post)
  9. methodz (1 Post)
  10. stevebla (1 Post)
  11. netnoise (1 Post)
  12. KampfCaspar (1 Post)
  13. carstep (2 Posts)
  14. ZooKeeper (1 Post)
  15. nromanel (6 Posts)
  16. Spirit (1 Post)
  17. yuewah (4 Posts)
  18. chemist458 (3 Posts)
  19. jerrybrown5 (3 Posts)
  20. gtomalesky (5 Posts)
  21. jo2008 (1 Post)
  22. aacraig (7 Posts)
  23. stumpy_uk (2 Posts)
  24. hattia (3 Posts)
  25. lpfLoveExt (1 Post)
  26. thoreking (3 Posts)
  27. markusreimers (1 Post)
  28. sigaref (2 Posts)
  29. andreabat (1 Post)
  30. sanjshah (6 Posts)
  31. mask_hot (4 Posts)
  32. dorgan (1 Post)
  33. bornsilly (1 Post)
  34. Zord (3 Posts)
  35. aaronchiang (1 Post)
  36. skbach (5 Posts)
  37. joenilson (2 Posts)
  38. S1-Gezi (1 Post)
  39. pcsernyik (6 Posts)
  40. vizcano (1 Post)
  41. Richie1985 (2 Posts)
  42. radtad (6 Posts)
  43. tagsum (3 Posts)
  44. Nohcs777 (5 Posts)
  45. lavitsky (1 Post)
  46. Hunyi (1 Post)
  47. brenda (3 Posts)
  48. hp (2 Posts)
  49. Dave.Sanders (4 Posts)
  50. DVSDevise (3 Posts)
  51. moegal (3 Posts)
  52. EzBulka (1 Post)
  53. catapl3xis (2 Posts)
  54. rvrdesigns (2 Posts)
  55. rich02818 (5 Posts)
  56. armandoxxx (2 Posts)
  57. WhiteRussian (4 Posts)
  58. lacco (1 Post)
  59. Ronhead (3 Posts)
  60. Urkman (1 Post)
  61. descheret (3 Posts)
  62. dimitrij.zub (1 Post)
  63. hirenb (1 Post)
  64. sasho (7 Posts)
  65. CR_RedFox (1 Post)
  66. joshuabco (1 Post)
  67. apimio (4 Posts)
  68. sirtimbly (2 Posts)
  69. canxss (2 Posts)
  70. SimoAmi (2 Posts)
  71. wemerson.januario (1 Post)
  72. dubdub (3 Posts)
  73. Naokai (5 Posts)
  74. RuiDC (4 Posts)
  75. dkarlsso (1 Post)
  76. slisbin (1 Post)
  77. Chods (2 Posts)
  78. dkroells (3 Posts)
  79. alvaro1728 (1 Post)
  80. sneema (15 Posts)
  81. AdamLShepherd (2 Posts)
  82. bholyoak (2 Posts)
  83. dtex-lab (1 Post)
  84. EZboy (2 Posts)
  85. burbur (1 Post)
  86. strad84 (2 Posts)
  87. radubrehar (4 Posts)
  88. almotasim (2 Posts)
  89. itheart (1 Post)
  90. fmntf (4 Posts)
  91. Allbus (2 Posts)
  92. sprakash (2 Posts)
  93. sansie (3 Posts)
  94. siebe vos (6 Posts)
  95. gkarmadi (1 Post)
  96. fabads (16 Posts)
  97. kskrumpet (4 Posts)
  98. sivanesan (1 Post)
  99. marco81 (1 Post)
  100. Lobo (2 Posts)
  101. benoitrx (1 Post)
  102. JazzMan88 (3 Posts)
  103. Urzzza (1 Post)
  104. josefhaydn (2 Posts)
  105. eja40 (3 Posts)
  106. lukasw44 (1 Post)
  107. thchuong (1 Post)
  108. twhra (1 Post)
  109. ronei (1 Post)
  110. qdano (1 Post)
  111. quintenvk (1 Post)

Tags for this Thread

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar