@sebb86: You should read something about RESTful applications, will help you how to think about the correct way of send or get data from the server ;)
anl On Thu, Feb 11, 2010 at 3:16 PM, mike karthauser <[email protected]>wrote: > even simpler would be to use a standard > > <?php echo $html->link('foo',array('controller'=>'some controller', > 'action'=>'some action')); ?> > > and just style the anchor in css. > > ie > > a { border:1px solid #000; padding:5px} > > its a bit epic to have to create forms to make buttons considering you > are not passing any data to the pages and just need to affect the > presentation of the link. > > > On Thu, 2010-02-11 at 09:32 -0430, Guillermo Mansilla wrote: > > You have to create your button and lock it inside a form which points > > to a controller action that renders a view. > > in your view > > echo $form->create('MyForm', array('controller'=>'foo', 'action' => > > 'bar')); > > echo $form->end('My button'); > > > > in your foo_controller: > > > > function bar(){ > > $this->render('theViewYouWantToRender'); > > } > > > > > > > > > > On 11 February 2010 09:17, sebb86 <[email protected]> wrote: > > Jeremy > > > > Thanks for your answer. > > But actually i'd like to create a button (not a > > button-picture), which > > links to a view. > > I don't want to add a picture, because every button would have > > an > > other description. > > So is this possible to realize or must i create lots of > > pictures? ;-) > > > > Thanks. > > > > > > Check out the new CakePHP Questions site http://cakeqs.org and > > help others with their CakePHP related questions. > > > > You received this message because you are subscribed to the > > Google Groups "CakePHP" group. > > To post to this group, send email to [email protected] > > To unsubscribe from this group, send email to > > > > [email protected]<cake-php%[email protected]>For > > more options, visit > > this group at http://groups.google.com/group/cake-php?hl=en > > > Check out the new CakePHP Questions site http://cakeqs.org and help others > with their CakePHP related questions. > > You received this message because you are subscribed to the Google Groups > "CakePHP" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<cake-php%[email protected]>For > more options, visit this group at > http://groups.google.com/group/cake-php?hl=en > Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] 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
