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.

View Poll Results: If you read it, did you find DirectJNgine User's Guide adequate?

Voters
54. You may not vote on this poll
  • Yes

    40 74.07%
  • No

    14 25.93%
  1. #341
    Ext User
    Join Date
    Jun 2010
    Posts
    8
    Vote Rating
    0
    alois.cochard is on a distinguished road

      0  

    Default


    Quote Originally Posted by Toxa View Post
    What application server you use? We have the same issues under Jboss 5.
    I'm using Apache Tomcat 6.0.20, tried with 6.0.26 ... but since you have same error must not be related to servlet container ...

    It's pure headache to investigate, but I found that even in the Direct servlet, if I put a reader.ready() at the first line... that's fail with same exception 'Stream closed' !

    Friday... so I'm leaving, I keep you in touch next week if I find a solution... really complicated, but I like that

    Alois Cochard
    http://aloiscochard.blogspot.com
    http://www.twitter.com/aloiscochard

  2. #342
    Ext User
    Join Date
    Jun 2010
    Posts
    8
    Vote Rating
    0
    alois.cochard is on a distinguished road

      0  

    Default


    We finally found the problem ! YEEEEAAAAA !

    It's not related to DirectJNgine nor to Tomcat... it's was related to an other servlet we was using, the servlet of the Restlet framwork, you can find more informations here for the one interested:
    http://restlet.tigris.org/ds/viewMes...sageId=2648235

    In few words, Ext.DirectJNgine use KeepAlive connection, the other servlet was closing the stream like if was responsible of the stream workflow ... it's a bug in that servlet.

    Hope that's help.

    Alois Cochard
    http://aloiscochard.blogspot.com
    http://www.twitter.com/aloiscochard

  3. #343
    Ext JS Premium Member
    Join Date
    May 2009
    Location
    Barcelona (Spain)
    Posts
    218
    Vote Rating
    19
    pagullo will become famous soon enough pagullo will become famous soon enough

      0  

    Default


    Quote Originally Posted by alois.cochard View Post
    It's not related to DirectJNgine nor to Tomcat... it's was related to an other servlet
    I knew ;-)

    Seriously, good luck hunting that bug.
    Pedro Agulló, Barcelona (Spain)
    Agile team building, consulting, training & development
    DirectJNgine: http://code.google.com/p/directjngine - Log4js-ext: http://www.softwarementors.com/projects/p/log4js-ext/

  4. #344
    Ext User
    Join Date
    Mar 2007
    Posts
    9
    Vote Rating
    0
    barton is on a distinguished road

      0  

    Default


    Anyone get Designer and DirectStore working? I'm new to ExtJS so I'm a little stumped.

    I did get my Login screen to functioin correctly so I have the environment setup correctly.

    So for the DirectStore, in Designer I created a DirectStore and then a Grid. Within the grid I referenced the direct store and then mapped the columns of the grid to the direct store. As I debug from the Java side, I never see an incoming request. In the browser i do see the grid but it's empty.

    Does anyone have an example of Designer / DirectStore / DirectJNgine ?????

    Thanks in advance,

    Barton
    Austin, Tx

  5. #345
    Ext User
    Join Date
    Mar 2007
    Posts
    9
    Vote Rating
    0
    barton is on a distinguished road

      0  

    Default


    I'm new with ExtJS so if this has been addressed elsewhere, sorry but I couldn't find anything.

    I created a test Grid / DirectStore in Designer modeled after the DirectStoreDemo. When I run I get two errors in FireBug:
    1. DirectStoreDemo is not defined. directFn: DirectStoreDemo.loadExperienceData
    2. this.ds is undefined - I think it's related to above but not sure

    The grid does display but there is no data. Here are the generated classes from Designer followed by my test.html and index.js

    experienceStore.js:
    Code:
    experienceStore = Ext.extend(Ext.data.DirectStore, {
        constructor: function(cfg) {
            cfg = cfg || {};
            experienceStore.superclass.constructor.call(this, Ext.apply({
                storeId: 'MyStore',
                directFn: DirectStoreDemo.loadExperienceData,
                paramsAsHash: false,
                fields: [
                    {
                        name: 'startDate'
                    },
                    {
                        name: 'endDate'
                    },
                    {
                        name: 'description'
                    }
                ]
            }, cfg));
        }
    });
    new experienceStore();
    grid.ui.js
    Code:
    gridUi = Ext.extend(Ext.grid.GridPanel, {
        title: 'Working Experience',
        store: 'experienceStore',
        width: 750,
        height: 350,
        frame: true,
        stripeRows: true,
        initComponent: function() {
            this.columns = [
                {
                    xtype: 'gridcolumn',
                    dataIndex: 'startDate',
                    header: 'Start Date',
                    sortable: true,
                    width: 100
                },
                {
                    xtype: 'gridcolumn',
                    dataIndex: 'endDate',
                    header: 'End Date',
                    sortable: true,
                    width: 100,
                    align: 'right'
                },
                {
                    xtype: 'gridcolumn',
                    dataIndex: 'description',
                    header: 'Experience',
                    sortable: true,
                    width: 600
                }
            ];
            gridUi.superclass.initComponent.call(this);
        }
    });
    grid.js
    Code:
    grid = Ext.extend(gridUi, {
        initComponent: function() {
            grid.superclass.initComponent.call(this);
        }
    });
    index.js
    Code:
    Ext.onReady(function() {
                    Ext.app.REMOTING_API.enableBuffer = 100;
                    Ext.Direct.addProvider(Ext.app.REMOTING_API);
                    
                    var aExperienceStore = new experienceStore();               
                    aExperienceStore.load();
    
                    var aGrid  = new grid({
                                              renderTo: Ext.getBody()
                                          });
                });
    and Api.js
    Code:
    Ext.namespace( 'Ext.app');
    
    Ext.app.PROVIDER_BASE_URL=window.location.protocol + '//' + window.location.host + '/' + (window.location.pathname.split('/').length>2 ? window.location.pathname.split('/')[1]+ '/' : '')  + 'djn/directprovider';
    
    Ext.app.POLLING_URLS = {
    }
    
    Ext.app.REMOTING_API = {
      url: Ext.app.PROVIDER_BASE_URL,
      type: 'remoting',
      actions: {
        Login: [
          {
            name: 'validate'/*() => com.wordtiller.ui.Login$SubmitResult -- FORM HANDLER */,
            len: 1,
            formHandler: true
          }
        ],
        DirectStoreDemo: [
          {
            name: 'loadExperienceData'/*() => java.util.List */,
            len: 0,
            formHandler: false
          }
        ],
        Request: [
          {
            name: 'getRequests'/*() => java.util.List */,
            len: 0,
            formHandler: false
          }
        ]
      }
    }
    and test.html

    HTML Code:
    <html>
    <head>
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <link rel="stylesheet" type="text/css" href="http://extjs.cachefly.net/ext-3.2.1/resources/css/ext-all.css"/>
        <script type="text/javascript" src="http://extjs.cachefly.net/ext-3.2.1/adapter/ext/ext-base.js"></script>
        <script type="text/javascript" src="http://extjs.cachefly.net/ext-3.2.1/ext-all.js"></script>
        <script type="text/javascript" src="directjngine/Api.js"></script>  
        <script type="text/javascript" src="test/experienceStore.js"></script>
        <script type="text/javascript" src="test/grid.ui.js"></script>
        <script type="text/javascript" src="test/grid.js"></script>
        <script type="text/javascript" src="test/index.js"></script>  
    </head>  
    <body>
    <h1>Welcome!</h1>
    </body>
    </html>
    Thanks in advance,

    Barton
    Last edited by barton; 28 Aug 2010 at 12:43 AM. Reason: Add api.js for completeness

  6. #346
    Ext JS Premium Member
    Join Date
    May 2009
    Location
    Barcelona (Spain)
    Posts
    218
    Vote Rating
    19
    pagullo will become famous soon enough pagullo will become famous soon enough

      0  

    Default


    Quote Originally Posted by barton View Post
    Anyone get Designer and DirectStore working? I'm new to ExtJS so I'm a little stumped.
    ...
    Does anyone have an example of Designer / DirectStore / DirectJNgine ?????
    Barton,

    Unfortunately, full Designer integration is not built-in into DJN, due to a lack of time. And, to be fair, nobody really asked me for it up until now.

    If somebody is willing to undertake the effort and contribute this to DJN, he will be welcome.
    When I took a first look at it, it seemed it would be relatively easy: I estimated between 10 and 25 hours to have it developed + full tests including automated unit tests + a new User's Guide chapter.
    Pedro Agulló, Barcelona (Spain)
    Agile team building, consulting, training & development
    DirectJNgine: http://code.google.com/p/directjngine - Log4js-ext: http://www.softwarementors.com/projects/p/log4js-ext/

  7. #347
    Ext User
    Join Date
    Mar 2007
    Posts
    9
    Vote Rating
    0
    barton is on a distinguished road

      0  

    Default


    Hi Pedro,

    First off I'm very impressed with DJN - thanks for all your efforts.

    If you could provide me some direction I would gladly look into this integration - it would help me learn more about ExtJS and Designer and DJN - which is a good thing. My project will grow over time and i want to do all the UI work in Designer so it would benefit me to have this functionality.

    Please send me your thoughts on the approach and how best to come up to speed. I haven't looked at the supporting infrastructure to this point so I could use some guidance on that.

    Regards,

    Barton

  8. #348
    Ext User
    Join Date
    Mar 2007
    Posts
    9
    Vote Rating
    0
    barton is on a distinguished road

      0  

    Default


    Hi Pagullo,

    I recently picked up ExtJS and want to use directJNgine. What I'm confused about is the server side. I've read throughout the forum that people aren't using Spring Security.

    Are people just writing their own home grown solutions for authentication? I want to keep my solution simple and thinking about bringing in Spring Acegi concerns me. My current thoughts are to use a javascript library for MD5 and to convert the password before sending it for database validation on the server. I have that roughed out and it seems to work ok.

    I did find http://loianegroner.com/2010/02/inte...js-login-page/. But with DNJ do i need that additional level of complexity? I mean, since I'll be accessing the java classes directly, do I need to protect them with Acegi? Or is it a non-issue?

    Do you have any paper about best practice wrt this security issue? What security concerns do I have if I just check that each class accessed has a user in a valid session and if not send them to the login page?

    Thanks for your help in advance,

    Thanks,

    Barton Hammond
    Austin, TX

  9. #349
    Ext JS Premium Member
    Join Date
    May 2009
    Location
    Barcelona (Spain)
    Posts
    218
    Vote Rating
    19
    pagullo will become famous soon enough pagullo will become famous soon enough

      0  

    Default


    Quote Originally Posted by barton View Post
    If you could provide me some direction I would gladly look into this integration

    Please send me your thoughts on the approach and how best to come up to speed. I haven't looked at the supporting infrastructure to this point so I could use some guidance on that.

    Barton
    Hi, Barton

    This is the information I've got regarding support for Designer:

    We need to make a small adjustment for integration with the Ext Designer. This will be considered the Ext.Direct 1.0.1 spec.

    The small adjustment involves generating a JSON format of the API in addition to the standard JS format.

    When the API component is accessed it will check a "format" parameter which is sent via a url parameter.


    For example:

    api.php?format=json

    When the JSON format is requested, the API component will return back the standard descriptor as normal but place the descriptor variable in a JSON packet.

    For example:


    Ext.ns('xds.remote');
    xds.remote.Descriptor = {
    "url": "/router.php",
    "type": "remoting",
    "actions": {
    "Time": [{
    "name": "get",
    "len": 0
    }]
    },
    "namespace": "xds.remote"
    };


    Would change to:


    {
    "url": "/router.php",
    "type": "remoting",
    "actions": {
    "Time": [{
    "name": "get",
    "len": 0
    }]
    },
    "namespace": "xds.remote",
    "descriptor":"xds.remote.Descriptor"
    }
    That's pretty much all information I've got about supporting Designer.

    It should not be very difficult to modify the way I generate source code on the fly to generate it in the format required by Designer: take a look at the AppEngine chapter in the User's Guide for details on generating code that way.

    Hope this helps!
    Pedro Agulló, Barcelona (Spain)
    Agile team building, consulting, training & development
    DirectJNgine: http://code.google.com/p/directjngine - Log4js-ext: http://www.softwarementors.com/projects/p/log4js-ext/

  10. #350
    Sencha User
    Join Date
    Mar 2010
    Location
    Modena, Italy
    Posts
    59
    Vote Rating
    1
    gianmarco is on a distinguished road

      0  

    Default Upgrade to gson 1.5

    Upgrade to gson 1.5


    Hi,
    directjngine-1.3 currently comes with gson-1.3.
    gson-1.3 is afflicted by this bug: http://code.google.com/p/google-gson.../detail?id=233
    with gson-1.5+ this bug should be resolved.

    I can remove gson-1.3 and put gson-1.5 in my classpath, will this cause problems with directjngine-1.3?

    Is a new version of directjngine, with the new gson build, scheduled?

    Thanks!

Thread Participants: 86

  1. Animal (5 Posts)
  2. barton (4 Posts)
  3. Condor (1 Post)
  4. mauro_monti (6 Posts)
  5. mbarto (1 Post)
  6. aconran (1 Post)
  7. MoShAn480 (1 Post)
  8. asgillett (2 Posts)
  9. seade (4 Posts)
  10. zaqwsxqwer (3 Posts)
  11. Sesshomurai (16 Posts)
  12. ThierryC (3 Posts)
  13. maxm165 (3 Posts)
  14. techstudios (2 Posts)
  15. sayonara (2 Posts)
  16. kschlaudt (1 Post)
  17. hschaefer123 (2 Posts)
  18. omarc (2 Posts)
  19. lxbzmy (4 Posts)
  20. mct (6 Posts)
  21. mediacept (2 Posts)
  22. dionisexorcius (1 Post)
  23. alper (1 Post)
  24. steverc (2 Posts)
  25. chrizmaster (18 Posts)
  26. J@y (21 Posts)
  27. Georgioa (6 Posts)
  28. wguan (1 Post)
  29. minneyar (16 Posts)
  30. jhoweaa (1 Post)
  31. Ramez (2 Posts)
  32. malus (1 Post)
  33. dweller (8 Posts)
  34. stdunbar (1 Post)
  35. vlagorce (20 Posts)
  36. cwilliso (1 Post)
  37. Whatty (13 Posts)
  38. Ice (1 Post)
  39. clynnh (1 Post)
  40. SreevaniN (1 Post)
  41. Stsalomon90 (1 Post)
  42. GregT (9 Posts)
  43. jcalfee (6 Posts)
  44. set_ti (1 Post)
  45. maho2nd (3 Posts)
  46. dreamtaotao (3 Posts)
  47. Toxa (4 Posts)
  48. tungchau (3 Posts)
  49. wlan0 (2 Posts)
  50. jpr (2 Posts)
  51. gianmarco (5 Posts)
  52. extjslikeit (2 Posts)
  53. harmen_wessels (1 Post)
  54. Olivercomputing2 (4 Posts)
  55. vanessa_ng (2 Posts)
  56. alois.cochard (5 Posts)
  57. kyrillos52 (2 Posts)
  58. Tod (1 Post)
  59. Alinanila (1 Post)
  60. tfannon (2 Posts)
  61. Kynao (1 Post)
  62. feiq (4 Posts)
  63. dalt (1 Post)
  64. xfolch (1 Post)
  65. avijit (1 Post)
  66. marcelsnews (2 Posts)
  67. maddhippy (1 Post)
  68. sritter (1 Post)
  69. july (2 Posts)
  70. jtkeller7983 (1 Post)
  71. lfranchini (2 Posts)
  72. 7/11 (2 Posts)
  73. yAdEs (1 Post)
  74. zazz (1 Post)
  75. waqar (5 Posts)
  76. pjain11 (1 Post)
  77. alexMobimesh (2 Posts)
  78. zachHurt (4 Posts)
  79. n0n3 (5 Posts)
  80. adavis2 (1 Post)
  81. mark.peters (1 Post)
  82. lee el (4 Posts)
  83. frengo19 (3 Posts)
  84. prakashwagle (1 Post)
  85. extejnar (2 Posts)
  86. alin@sonatype.com (1 Post)