OK, I've updated my datagrid tutorial for ext-2.0.  You can find it
here: http://www.ntatd.org/mark/?p=30.  I'll try to work on forms
next.  If I remember correctly, you build the form itself in ext just
like in the tutorials.  When you want to submit, do it as a post.  In
your controller, you have to take the post data ($_POST) and rewrite
it to fit cake's array preferences, then you can save to the database.

hydra12

On Jan 10, 5:13 am, foxmask <[EMAIL PROTECTED]> wrote:
> i tried to repeat the step of your example with ext 1.1.1 here is my
> ajax.ctp
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
> <html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="<?php
> __('lang_iso_code') ?>"
> lang="<?php __('lang_iso_code') ?>" dir="<?php __('lang_direction') ?>">
>
> <head>
>         <title>
>                 <?php echo pt_portal_title . ' - ' .$title_for_layout;?>
>         </title>
>
>         <?php echo $html->charset(__('lang_encoding',true));?>
>
> <link rel='StyleSheet' href='<?php echo $this->base ?>/js/ext-1.1/
> resources/css/ext-all.css' />
> <?php echo $javascript->link('ext-1.1/adapter/ext/ext-base'); ?>
>
> <?php echo $javascript->link('ext-1.1/ext-all-debug'); ?>
>
> <?php echo $javascript->link('myScript'); ?>
> <body></head>
> <body>
> <div id="grid-panel">
>     <div id="grid-paging" style="border:1px solid
> #99bbe8;overflow:hidden; width: 665px; height: 00px;"></div>
> </div>
> <?php echo $content_for_layout; ?>
> <?php echo '{"total":'.$total.', "users":'.$javascript->Object($users).'}'; ?>
>
> </body>
> </html>
>
> i think i made a mistake because that display the content of
> { ... } ...
>
> On Jan 9, 8:02 pm, hydra12 <[EMAIL PROTECTED]> wrote:
>
> > I'm working on a new version of my tutorial that works with 2.0.  I'll
> > try to get it done soon, depending on my work schedule.
>
> > hydra12http://www.ntatd.org/mark
>
> > On Jan 9, 12:23 pm, DjZoNe <[EMAIL PROTECTED]> wrote:
>
> > > Hi inma,
>
> > > I started to write here a little help, but it became bigger as I
> > > expected.
> > > So I rather posted into my blog:http://djz.hu/blog/posts/689
>
> > > --
> > > DjZoNe
>
> > > > Hi,
>
> > > > I'm newbie in CakePHP andExtJS. I'm developing a new application with
> > > > CakePHP, and I want to integrate theExtJSforms into this
> > > > application. I was looking some posts about it.
>
> > > >  Nevertheless, I don't know how to match Cake model, controller and
> > > > view withExtJSexactly. :-(
>
> > > >  Can someone post an example (basic example) with this combination
> > > > (cake model, controller and view withExtJS)?
>
> > > > Thanks a lot.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to