Search:

Type: Posts; User: jaycode

Search: Search took 0.01 seconds.

  1. Ext.override doesn't always work on all cases.

    Hi, I have found this issue a couple of times so I found this rather annoying. My current solution is I had to (gulp!) edit the core files directly, I wonder if there is another way to override some...
  2. Thread: MVC example

    by jaycode
    Replies
    20
    Views
    20,205

    Server side validation with extjs 4

    It works!

    Here is how I do server side validation with extjs4.
    1. In model, prepare 'errors' field, something like:

    Ext.define('MailOut.model.TemplateCategory', {
    extend: 'Ext.data.Model', ...
  3. Thread: MVC example

    by jaycode
    Replies
    20
    Views
    20,205

    Additional note (something I just found out): ...

    Additional note (something I just found out):

    When store proxy is set to 'ajax', you can return record of the newly created object. This can solve the issue of extjs inability to do server...
  4. Thread: MVC example

    by jaycode
    Replies
    20
    Views
    20,205

    Thanks! I finally use: $params =...

    Thanks!

    I finally use:

    $params = json_decode(file_get_contents( "php://input" ));
    to get request parameters, and the recommended response from mdavis works.
  5. Thread: MVC example

    by jaycode
    Replies
    20
    Views
    20,205

    Thanks mdavis, but I don't get it, how does it...

    Thanks mdavis, but I don't get it, how does it tell whether the operation successful or failed?
  6. Thread: MVC example

    by jaycode
    Replies
    20
    Views
    20,205

    Thanks! I found $HTTP_RAW_POST_DATA is the...

    Thanks!

    I found $HTTP_RAW_POST_DATA is the only variable can capture extjs' POST requests

    I am now having trouble in server response... How to trigger success or failure in client?
  7. Thread: MVC example

    by jaycode
    Replies
    20
    Views
    20,205

    Could you explain how to use the data sent to...

    Could you explain how to use the data sent to server?
    with php, $_POST, $_GET, $_REQUEST does not show anything????
    http://stackoverflow.com/questions/6702490/how-to-use-extjs4-save-in-php-server
Results 1 to 7 of 7