1. #51
    Sencha User
    Join Date
    Oct 2007
    Location
    Berlin, Germany
    Posts
    891
    Vote Rating
    9
    wm003 will become famous soon enough

      0  

    Default


    Quote Originally Posted by sigaref View Post
    There is a typo in DateFieldPlus, just search for "showWeekNumer", with this fixed the window shows the week number as default.

    Thx for this nice extension!
    Thanks for reporting this. I'll check out the issue from pcsernyik and will post a corrected version the next minutes.

  2. #52
    Ext User
    Join Date
    Feb 2008
    Posts
    11
    Vote Rating
    0
    Nohcs777 is on a distinguished road

      0  

    Default


    I just picked up this extention and trying to integrate it into my code. Please excuse my ignorance if I have some how missed it, but it appears that




    Ext.ux.form.DateFieldPlus does not support multiSelection. ie. taken from the Ext.ux.form.DateFieldPlus code:
    Code:
    Ext.apply(
    this.menu.picker, {
    minDate : this.minValue,
    maxDate : this.maxValue,
    ...
    multiSelectByCTRL: this.multiSelectByCTRL,
    fillupRows: this.fillupRows,
    multiSelection: false,
    ...
    });
    Is this correct? I suppose this would make sense given the field value can only hold a single date?

  3. #53
    Sencha User
    Join Date
    Oct 2007
    Location
    Berlin, Germany
    Posts
    891
    Vote Rating
    9
    wm003 will become famous soon enough

      0  

    Default


    Quote Originally Posted by pcsernyik View Post
    Hello,
    First, the datepickerplus is a very excellent work!
    But i have a little problem:

    I put the datepickerplus in the second tab of a tabpanel.
    When the first tab is active tab (config: activeTab: 0) the month selector doesn't work properly.
    If activeTab:1 (this tab contains the datepicker), the month selector is perfect.

    What may cause the problem?
    Sorry, but i can't reproduce the problem with this code. The monthpicker works fine, no matter what value activeTab has....Do you use Ext 2.0.2?

  4. #54
    Sencha User
    Join Date
    Oct 2007
    Location
    Berlin, Germany
    Posts
    891
    Vote Rating
    9
    wm003 will become famous soon enough

      0  

    Default


    Quote Originally Posted by Nohcs777 View Post
    Please excuse my ignorance if I have some how missed it, but it appears that Ext.ux.form.DateFieldPlus does not support multiSelection. ie. taken from the Ext.ux.form.DateFieldPlus code:
    [Is this correct? I suppose this would make sense given the field value can only hold a single date?
    Yes, this is correct. DateFieldPlus can only hold a single date, thus the multiSelection config option is always set to false. I have a DateList Item on my roadmap for future development.
    In the meantime use Datemenu which supports multiSelection.

  5. #55
    Ext User
    Join Date
    Feb 2008
    Posts
    11
    Vote Rating
    0
    Nohcs777 is on a distinguished road

      0  

    Default


    Unfortunately my client prefers to see (and potentially manipulate the trigger Field) after multiselection so it seems I may need to extend the Ext.ux.form.DateFieldPlus. I am still looking over the code, but what I was thinking was to just augment this type to populate a comma (or configurable delimiter) list of the values found in Ext.ux.DatePickerPlus.menu.picker.selectedDates[] and potentially override Ext.ux.DatePickerPlus.setValue() & Ext.ux.DatePickerPlus.getValue(). I would also have to modify the behavior of the menuItem to not close on click as well. Would this not be (temporarily) sufficient?

    Additionally, it might make sense to update your demo page. In the description for "DateFieldPlus 1" is accurately describes mutiselect:false however "DateFieldPlus 2" ommits from its comment about multiselect all together. It seems a bit misleading to me if multiselect is always set to false. Am I missing a more complete description of this somewhere in the release notes or something?

  6. #56
    Sencha User
    Join Date
    Oct 2007
    Location
    Berlin, Germany
    Posts
    891
    Vote Rating
    9
    wm003 will become famous soon enough

      0  

    Default


    Quote Originally Posted by Nohcs777 View Post
    Unfortunately my client prefers to see (and potentially manipulate the trigger Field) after multiselection so it seems I may need to extend the Ext.ux.form.DateFieldPlus. I am still looking over the code, but what I was thinking was to just augment this type to populate a comma (or configurable delimiter) list of the values found in Ext.ux.DatePickerPlus.menu.picker.selectedDates[] and potentially override Ext.ux.DatePickerPlus.setValue() & Ext.ux.DatePickerPlus.getValue(). I would also have to modify the behavior of the menuItem to not close on click as well. Would this not be (temporarily) sufficient?
    The main problem i see is the Dateparsing, as you could manually enter anything in the datefield (if not set to readonly)...The idea with a delimiter sounds quite easy to realize, but the value(s) need to get passed by the hidden format field also. i'll take that into my roadmap for 1.1.

    Quote Originally Posted by Nohcs777 View Post
    Additionally, it might make sense to update your demo page. In the description for "DateFieldPlus 1" is accurately describes mutiselect:false however "DateFieldPlus 2" ommits it a comment about multiselect all together. It seems a bit misleading to me if multiselect is always set to false. I am missing this fact say somewhere in the release notes or something?
    i choosed to set multiSelection default to false, so it just act like the original datepicker (if anybody upgrades from original datepicker, their apps should act like always then)

    I agree with the release_notes...i copied them from this forum now (more clear and its stated that multiSelection is false by default)

  7. #57
    Ext User
    Join Date
    Feb 2008
    Posts
    11
    Vote Rating
    0
    Nohcs777 is on a distinguished road

      0  

    Default


    Yea. I think I am going to stay away from date parsing at this point and make the field readOnly to avoid this senario for the time being. My client also would like some TextMasking in that senario anyway and that could be relately difficult to accomplish as well.

    After making the changes, would you like me to post the changes to this forum?

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

      0  

    Default


    Quote Originally Posted by Nohcs777 View Post
    After making the changes, would you like me to post the changes to this forum?
    Yes,please! That would be very interesting in how you accomplished it

  9. #59
    Ext User
    Join Date
    Jan 2008
    Posts
    6
    Vote Rating
    0
    pcsernyik is on a distinguished road

      0  

    Default


    Quote Originally Posted by wm003 View Post
    Sorry, but i can't reproduce the problem with this code. The monthpicker works fine, no matter what value activeTab has....Do you use Ext 2.0.2?
    Yes, I do that.
    Please, look at my example here: http://www.ats.hu/test/

  10. #60
    Sencha User
    Join Date
    Oct 2007
    Location
    Berlin, Germany
    Posts
    891
    Vote Rating
    9
    wm003 will become famous soon enough

      0  

    Default


    Quote Originally Posted by pcsernyik View Post
    Yes, I do that.
    Please, look at my example here: http://www.ats.hu/test/
    Here is the problem:

    PHP Code:
                    deferredRenderfalse
    Delete this line and it works

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