1. #351
    Sencha User luisparada's Avatar
    Join Date
    Nov 2007
    Location
    Venezuela
    Posts
    94
    Vote Rating
    2
    luisparada is on a distinguished road

      0  

    Default


    Sadly I must say, that is not what I thought it was, that method is useless, I guess, I don't know, because what it does is to add more horizontal space to the bbar or tbarm (up or down), that's not what i need, maybe is just that i'm kind of newbie and don't know how to set the new position. Please let me know about some method I could try.
    Thanks.
    ____________________________________
    do not make install, just compile it.!!!
    --------------------------------------------------
    //*************k4m1k4z3************\\

  2. #352
    Sencha User
    Join Date
    Feb 2008
    Posts
    54
    Vote Rating
    0
    rtrocc is on a distinguished road

      0  

    Default


    since the toolbar items are configured on the inside of the extension you wouldnt be able to add the '->' items. I would imagine this can be accomplished with the DomHelper Singleton

  3. #353
    Ext User
    Join Date
    Jun 2008
    Posts
    1
    Vote Rating
    0
    wes is on a distinguished road

      0  

    Default


    Quote Originally Posted by rtrocc View Post
    Saki, there is a bug in IE7 that removes all buttons from the tbar when clicking the "remove all" button.

    It even happens in your demo. Try to add a file or files and click the remove all button (before attempting upload). This happens in IE7, works great in FF2. Just thought you should know
    I encountered this problem as well. I fixed it by commenting out the following section in Ext.ux.UploadPanel.js onRemoveFile function. I can see no side effects and the Panel is working beautifully in IE and FF.

    //if(wrap) {
    // wrap.remove();
    //}

    If anyone is aware of another solution or knows that this solution will cause problems, please let me know.

    Thanks again to Saki for a great control.

  4. #354
    Ext JS Premium Member
    Join Date
    Mar 2008
    Location
    Novato CA
    Posts
    33
    Vote Rating
    0
    njeriextjs is on a distinguished road

      0  

    Default


    Saki,

    I am looking to add some custom menu (e.g "zip" , "unzip" ) to the context menu of the FileTreeMenu like mentioned in post#296 on this forum. I saw your response in post #297 on extending the FileTreeMenu but I don't seem to get it. I know the concept of extending a class and I have done this on other controls BUT for the FileTreeMenu...I seem lost.

    Currently , I don't see an addItem function ( or something similar ) in FileTreeMenu - How do I add new Menu?

    Thanks
    Last edited by njeriextjs; 17 Jun 2008 at 2:46 PM. Reason: clarifying

  5. #355
    Sencha User
    Join Date
    Feb 2008
    Posts
    54
    Vote Rating
    0
    rtrocc is on a distinguished road

      0  

    Default


    Quote Originally Posted by wes View Post
    I encountered this problem as well. I fixed it by commenting out the following section in Ext.ux.UploadPanel.js onRemoveFile function. I can see no side effects and the Panel is working beautifully in IE and FF.

    //if(wrap) {
    // wrap.remove();
    //}

    If anyone is aware of another solution or knows that this solution will cause problems, please let me know.

    Thanks again to Saki for a great control.
    Thanks for this solution, im glad I wasn't the only one who found the problem

  6. #356
    Sencha User
    Join Date
    Mar 2008
    Posts
    66
    Vote Rating
    0
    yhwh is on a distinguished road

      0  

    Default A bug on in cmdcallback

    A bug on in cmdcallback


    Hi Saki!
    I think there is a bug in the cmdCallback at line 609 of Ex.ux.FileTreePanel.js
    The original look like this.
    Code:
    			if(true === o.success) {
     				switch(options.params.cmd) {
    					case 'delete':
    						if(true !== this.eventsSuspended) {
    							this.fireEvent('delete', this, this.getPath(options.node));
    						}
    						options.node.parentNode.removeChild(options.node);
    					break;
    As you can see the node is removed after the fireEvent, so when you listen for 'delete' event in FileTreepanel the node is still present.
    So to correct this
    Code:
    			if(true === o.success) {
    				switch(options.params.cmd) {
    					case 'delete':
    						if(true !== this.eventsSuspended) {
                                    options.node.parentNode.removeChild(options.node);
    							this.fireEvent('delete', this, this.getPath(options.node));
    						}
    					break;
    Then i have some questions
    Here an example
    Why in deleteNode at line 763 of FileTreePanel do you this?
    Code:
    var options = {
    					 url:this.deleteUrl || this.url
    					,method:this.method
    					,scope:this
    					,callback:this.cmdCallback
    					,node:node
    					,params:{
    						 cmd:'delete'
    						,file:this.getPath(node)
    					}
    				};
    You could use instead for best REST compliance something like this:
    Code:
    var options = {
    					 url:this.deleteUrl || this.url
    					,method:'DELETE'
    					,scope:this
    					,callback:this.cmdCallback
    					,node:node
    					,params:{
    						file:this.getPath(node)
    					}
    				};
    The cmd params isn't needed.

    So it's better to use different url for each action creating directory delete rename etc..(by forcing the use of newdirUrl deleteUrl options) and making a difference between deleting dir and deleting a file (so we could use different url for each delete).
    Because it could be easy to add to Saki's FileTree a support for database version and it will separate server_side implementation (easy to use with different MVC framework).
    Will you integrate big patch for database support (it needs additionnal params in uploadpanel too) and separate server_side implementation ? Because i'am working on it and filetree is in beta state so you may not want to add extra features...

    Best Regards,

    Nicolas FERRERO
    Last edited by mystix; 17 Jun 2008 at 6:06 PM. Reason: use [code][/code] tags for code, not [quote][/quote] tags

  7. #357
    Sencha - Community Support Team jsakalos's Avatar
    Join Date
    Apr 2007
    Location
    Slovakia
    Posts
    27,133
    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


    1) Why is it bug? Event listener gets node that is going to be deleted as argument as it may need it for some user processing.

    2) method can be only GET or POST.

    3) You can provide deleteUrl if you want. If it is defined it takes precedence over url. I find it very questionable if different urls for different operations is a good idea. In my backend, the whole processing is done in one PHP script and cmd says what command is to be executed.

  8. #358
    Ext User
    Join Date
    Nov 2007
    Posts
    297
    Vote Rating
    0
    smartlit is on a distinguished road

      0  

    Question


    Hello,

    I've downloaded your component and trying to use it. One question: it seems that to show the progress of the upload you use a file called progress.php. I cannot find it included in your package. Where can I find it?

    I will use the system on a Windows server and I'm programming in .NET. Is there something available in .NET (.aspx)?

    Thanks,

    Paul

  9. #359
    Sencha - Community Support Team jsakalos's Avatar
    Join Date
    Apr 2007
    Location
    Slovakia
    Posts
    27,133
    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


    I personally do not use M$ "products" except hardware ones and I'm not aware of any aspx FileTreePanel backends. Anyway, there is full client/server doc on the demo page that you can use to code it yourself.

  10. #360
    Ext User
    Join Date
    Nov 2007
    Posts
    297
    Vote Rating
    0
    smartlit is on a distinguished road

      0  

    Question Small bug in FF3

    Small bug in FF3


    Hello,

    Thanks for your reply. I have found a small bug in FF3 using http://filetree.extjs.eu. You can reproduce it this way:
    • Go to http://filetree.extjs.eu
    • In the UploadPanel click Add to upload a new file
    • Choose the file and click Upload
    • Wait for the upload to finish; once finished please read carefully the browser's status bar: although the upload has finished, it still says something like "Transferring data from ..."

    Thanks,

    Paul

Thread Participants: 173

  1. danvega (10 Posts)
  2. jay@moduscreate.com (1 Post)
  3. jweber (1 Post)
  4. jt (1 Post)
  5. slacker775 (2 Posts)
  6. vmorale4 (12 Posts)
  7. stever (2 Posts)
  8. Dumbledore (9 Posts)
  9. ismoore (1 Post)
  10. mystix (8 Posts)
  11. sdrew (3 Posts)
  12. mxracer (1 Post)
  13. Foggy (3 Posts)
  14. madrabaz (8 Posts)
  15. Thorsten (4 Posts)
  16. Fabyo (1 Post)
  17. mschaefer (11 Posts)
  18. tchitani (3 Posts)
  19. loeppky (11 Posts)
  20. damsfx (1 Post)
  21. cmendez21 (7 Posts)
  22. anjelika (3 Posts)
  23. randcasburn (3 Posts)
  24. mjlecomte (3 Posts)
  25. esoteric (10 Posts)
  26. pravin_bluebird (1 Post)
  27. ZooKeeper (4 Posts)
  28. george.antoniadis (1 Post)
  29. fermo111 (1 Post)
  30. glaforge (2 Posts)
  31. Spirit (1 Post)
  32. newc_k (1 Post)
  33. adam.jimenez (9 Posts)
  34. juandj (10 Posts)
  35. rballman (2 Posts)
  36. Michelangelo (6 Posts)
  37. kk_kkk (7 Posts)
  38. issomesmo (5 Posts)
  39. mashiki (1 Post)
  40. juljupy (2 Posts)
  41. cafebabe (1 Post)
  42. ferrenliu (1 Post)
  43. smartlit (14 Posts)
  44. chunkT (1 Post)
  45. mankz (6 Posts)
  46. luisparada (4 Posts)
  47. iDevelopment (4 Posts)
  48. cblin (9 Posts)
  49. ljaeren (2 Posts)
  50. endlichstudent (9 Posts)
  51. RacingTomcat (1 Post)
  52. lobo-tuerto (5 Posts)
  53. maximumcoder (1 Post)
  54. calavera (3 Posts)
  55. ningle (5 Posts)
  56. jbird526 (4 Posts)
  57. sekundek (8 Posts)
  58. GokhanNL (1 Post)
  59. markkl (1 Post)
  60. basshcm (2 Posts)
  61. dbraiden (2 Posts)
  62. incaic (2 Posts)
  63. silcreval (6 Posts)
  64. sirioz10 (2 Posts)
  65. iulian (2 Posts)
  66. hsurya (7 Posts)
  67. johnrembo (2 Posts)
  68. fraric (4 Posts)
  69. Silver Paladin (5 Posts)
  70. Rafael (2 Posts)
  71. treqx (1 Post)
  72. spectrus (6 Posts)
  73. JoyfulBobHome (2 Posts)
  74. fxlacroix (3 Posts)
  75. jove4015 (1 Post)
  76. rtrocc (12 Posts)
  77. carl23934 (1 Post)
  78. ClemsonJeeper (1 Post)
  79. lagos.tout (2 Posts)
  80. craigharmonic (3 Posts)
  81. siebertm (3 Posts)
  82. zombeerose (11 Posts)
  83. keckeroo (1 Post)
  84. dotchris (7 Posts)
  85. fallenone (4 Posts)
  86. yhwh (1 Post)
  87. harirama (2 Posts)
  88. scroll (1 Post)
  89. mlim1972 (4 Posts)
  90. Arthur.Blake (1 Post)
  91. nileshgund (1 Post)
  92. blow (1 Post)
  93. piyushjain7 (1 Post)
  94. njeriextjs (3 Posts)
  95. hileon (1 Post)
  96. bomka (15 Posts)
  97. --maty (1 Post)
  98. WhiteRussian (1 Post)
  99. kpopov (1 Post)
  100. captainfish (5 Posts)
  101. Gosa (5 Posts)
  102. extjsF4n (1 Post)
  103. Chida (1 Post)
  104. Nthalk (2 Posts)
  105. nescha (2 Posts)
  106. jorgemuza (3 Posts)
  107. Eric24 (1 Post)
  108. edui (1 Post)
  109. shadoi (4 Posts)
  110. acidfilez (1 Post)
  111. BrainDrain (2 Posts)
  112. dimitrij.zub (1 Post)
  113. ixnixnixn (2 Posts)
  114. calicoder (2 Posts)
  115. wes (1 Post)
  116. mammerman (1 Post)
  117. Voronchuk (3 Posts)
  118. jwmianzu (3 Posts)
  119. gnomie (2 Posts)
  120. pflammer (2 Posts)
  121. The0s (2 Posts)
  122. gogogo521 (1 Post)
  123. tegel (2 Posts)
  124. wulfshayde (2 Posts)
  125. mikecx (2 Posts)
  126. paul@demiduk.com (1 Post)
  127. romulodelazzari (1 Post)
  128. sabline (2 Posts)
  129. mikecc (8 Posts)
  130. dan.plifeye (2 Posts)
  131. JGALFO (1 Post)
  132. Stephan Schrade (3 Posts)
  133. khurri.saleem (1 Post)
  134. voidus (1 Post)
  135. Shockdoc1 (1 Post)
  136. dport (3 Posts)
  137. jahman (3 Posts)
  138. Pachat (4 Posts)
  139. BIS (1 Post)
  140. sanraj (4 Posts)
  141. deemonas (1 Post)
  142. jpipas (2 Posts)
  143. martinrame (2 Posts)
  144. MrEnirO (2 Posts)
  145. elona (1 Post)
  146. cwford (6 Posts)
  147. triptonemeister (2 Posts)
  148. gonzalez (1 Post)
  149. wallacer (1 Post)
  150. Natalie (2 Posts)
  151. Phatnine (2 Posts)
  152. js_coder (3 Posts)
  153. Bobrovnik (4 Posts)
  154. kender (1 Post)
  155. avsomeren (2 Posts)
  156. rkulkarni (2 Posts)
  157. lxfliu (2 Posts)
  158. pbaker99 (2 Posts)
  159. naf305 (2 Posts)
  160. cybervirax (1 Post)
  161. AmrMostafa (1 Post)
  162. tumbochka (1 Post)
  163. exdelierium (1 Post)
  164. toubeau (4 Posts)
  165. nosferatum (1 Post)
  166. Boy.Kortman (1 Post)
  167. erlinis (1 Post)
  168. nhocoi (2 Posts)
  169. varunach (1 Post)
  170. _DR_ (1 Post)
  171. rodenp (1 Post)
  172. tutuianu_daniel (1 Post)
  173. Shabneez (2 Posts)

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