1. #41
    Ext JS Premium Member
    Join Date
    Dec 2007
    Posts
    213
    Vote Rating
    0
    sanjshah is on a distinguished road

      0  

    Default


    Thanks all working now!

    Regards,

    Sanj

  2. #42
    Sencha User
    Join Date
    Mar 2007
    Location
    Tours, France
    Posts
    97
    Vote Rating
    0
    wehtam is on a distinguished road

      0  

    Default


    Hello, it's still me.
    Everything works well except for the pre-selection dates.
    If I have any pre-selected dates on the current month, they will not be displayed, but when I go to the following month and returns, it will be displayed.

    My code :
    Code:
    <script language="javascript">
    
     	
    
    	 Ext.QuickTips.init();
    
        // turn on validation errors beside the field globally
    
        Ext.form.Field.prototype.msgTarget = 'under';
    
    	  var simple = new Ext.FormPanel({
    
            labelWidth: 20, 
    
            url:'save-form.php',
    
            frame:true,
    
            title: 'Gestion des dates pour : qsdf',
    
            bodyStyle:'padding:5px 5px 0',
    
            width: 250,
    
    		fileUpload : true,
    
            defaults: {width: 250},
    
            defaultType: 'textfield',
    
            items: [datepickerplusmenu =  new Ext.ux.DatePickerPlus  ({
    
    		usePickerPlus	: true, //this will fire the use of datepickerplus instead of datepicker
    
    		noOfMonth : 1,
    
    		fieldLabel : 'ddddd',
    
    		noOfMonthPerRow : 1,
    
    		multiSelection: true,
    
    		multiSelectByCTRL:false,
    
    		markNationalHolidays: false,
    
    		selectMonthText : 'Cliquez ici pour inverser la s&eacute;lection',
    
    		weekName : 'S',
    
    		selectWeekText : 'Cliquez ici pour s&eacute;lectionner tous les jours de la semaine',
    
    		undoText:'Annuler',
    
    		renderTodayButton :false,
    
    		//weekendText: 'This day seems to be a weekend...:)',
    
    		renderOkUndoButtons:true,
    
    		disablePartialUnselect:false,
    
    		listeners:{'undo':function(){ page('listeOffresSpeciales.php?id_rub=1'); }} ,
    
    		handler : function(dp, date){
    
    			var allStringDates=[];
    
    			if (Ext.isDate(date)) {
    
    				allStringDates.push(date.format('Y-m-d'));
    
    			}
    
    			else {
    
    				Ext.each(date,function(c){
    
    					allStringDates.push(c.format('Y-m-d'));
    
    				},this);
    
    			}
    
    			simple.getForm().submit({url:'save-dateoffresspeciales.php?id=2' , params:{'dates':allStringDates
    
    .join('|')},waitMsg:'Enregistrement des informations ...',
    
    						 success:function(form, action,response){ 
    
    							 page('listeOffresSpeciales.php?id_rub=1');
    
    						  }
    
    			
    
                     		   });
    
    			}
    
    				
    
    	})
    
            ]
    
        });
    
    	
    
        simple.render('div_form');
    
     	datepickerplusmenu.clearSelectedDates(); 	
    
     datepickerplusmenu.setSelectedDates([new Date(2008,3,26),new Date(2008,3,25),new Date(2008,0,10),new
    
     Date(2008,3,10),new Date(2008,3,17),new Date(2008,3,16),new Date(2008,3,18),new Date(2008,3,11),new
    
     Date(2008,0,17),new Date(2008,0,24),new Date(2008,0,25),new Date(2008,0,18),new Date(2008,0,11),new
    
     Date(2008,0,12),new Date(2008,0,19),new Date(2008,0,20)]); 
    
     </script>
    Thanks

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

      0  

    Default Updated to Beta 8

    Updated to Beta 8


    Quote Originally Posted by wehtam View Post
    Hello, it's still me.
    Everything works well except for the pre-selection dates.
    If I have any pre-selected dates on the current month, they will not be displayed, but when I go to the following month and returns, it will be displayed.
    i hate coding without any sleep...a little damn bug was left...

    Ok, i got it working now (tested with your code)
    Please try the latest beta 8 and everything should now work to your entire satisfaction


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

      0  

    Default Translation request

    Translation request


    As the latest Beta 8 is now close to stable final (thanks to all testers!), i would like to ask if anybody in here is willing to translate the DatepickerPlus texts in their own language? If you can deliver me some information on your country holidays (wikipedia?), i'm willing to do the calculation function for them myself, but i cannot translate the sentences (ok, i can use google,babelfish,...but i hardly believe the result is perfect in all cases)

    I would really like to see:

    -Swedish
    -Polish
    -Finnish
    -Dutch
    -Norwegian
    -Danish
    -Spanish
    -Italian
    -French

    ...the more the better Thanks in advance

    Of course you will be credited!

  5. #45
    Sencha User
    Join Date
    Mar 2007
    Location
    Tours, France
    Posts
    97
    Vote Rating
    0
    wehtam is on a distinguished road

      0  

    Default


    Thank you, it works perfectly.
    A final request, finally hope.
    I would like to know if it is possible not to leave the choice of certain dates. For example, it gives a list of dates and thus all other dates are disabled.
    sorry for my very bad english

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

      0  

    Default


    Quote Originally Posted by wehtam View Post
    Thank you, it works perfectly.
    A final request, finally hope.
    I would like to know if it is possible not to leave the choice of certain dates. For example, it gives a list of dates and thus all other dates are disabled.
    sorry for my very bad english
    That should be possible with the disabledDatesRE Function from the original Datepicker.
    I think that would need a very complex regular Expression depending on what dates should be selectable...

    I think its a good suggestion to create another config item for this...gimme some minutes...

  7. #47
    Sencha User
    Join Date
    Oct 2007
    Location
    Berlin, Germany
    Posts
    889
    Vote Rating
    9
    wm003 will become famous soon enough

      0  

    Default Updated to Beta 9

    Updated to Beta 9


    Quote Originally Posted by wehtam View Post
    For example, it gives a list of dates and thus all other dates are disabled.
    Try the latest beta 9. I added a new config item "allowedDates" (default false). Fill it with an Array of Dateobjects and these days will be selectable only, all others are disabled.
    See Revision History for more info... On the demopage i used this feature on Datemenu 2

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

      0  

    Arrow V 1.0 Release Candidate 1

    V 1.0 Release Candidate 1


    I just fixed 2 small Bugs. DatepickerPlus is very stable now, so i moved to Revision 1.0 RC1.
    Thanks again to all testers.

  9. #49
    Ext JS Premium Member
    Join Date
    Nov 2007
    Location
    Munich
    Posts
    30
    Vote Rating
    0
    sigaref is on a distinguished road

      0  

    Default


    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!

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

      0  

    Question tabpanel and datepickerplus

    tabpanel and datepickerplus


    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?

    Little example:
    Code:
    var form2 = new Ext.FormPanel({
                labelAlign: 'right',
                //title: 'Alap adatok',
                bodyStyle: 'padding:5px',
                width: 590,
                height: 600,
                items: [{
                    xtype: 'tabpanel',
                    labelAlign: 'right',
                    title: 'Alap adatok',
                    plain: true,
                    activeTab: 0,
                    width: 590,
                    height: 600,
                    deferredRender: false,
                    layoutOnTabChange: true,
                    bodyStyle: 'padding:5px',
                    
                    items: [{
                        title: 'First',
                        html: 'blalbala'
                    }, {
                        title: 'Second',
                        items: [{
                            xtype: 'datepickerplus',
                            value: new Date(2008, 3, 30), 
                            noOfMonth: 6, 
                            noOfMonthPerRow: 2,
                            multiSelection: true,
                            showWeekNumber: true,
                            weekendText: 'This day is part of a Weekend',
                            eventDates: function(year){
                                var dates = [{
                                    date: new Date(2008, 4, 14), //fixed date marked only on 2008/01/02
                                    text: "My cat died 7 years ago",
                                    cls: "x-datepickerplus-eventdates"
                                }, {
                                    date: new Date(year, 4, 11), //will be marked every year on 05/11
                                    text: "May 11th, Author's Birthday (Age:" + (year - 1973) + ")",
                                    cls: "x-datepickerplus-eventdates"
                                }];
                                return dates;
                            }
                        }]
                    }]
                }]
            });
    	
    	
    	
    	var dWin = new Ext.Window({
    		title	:"Ext DatepickerPlus Demo",
    		closable: false,
    		draggable:false,
    		resizable:false,
    		 width: 590,
             height: 600,	
    		x:40,
    		y:40,
    		constrain:true,
    		layout:'fit',	
    		items: [form2]
    	});
    Last edited by mystix; 10 Apr 2008 at 8:39 AM. Reason: use [code][/code] tags!

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

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..."