[symfony-users] Re: Can a form post to a component ?

2009-06-25 Thread Giselle Cantador
Sid is right.
I've several components and one action to manipulate them.

On Wed, Jun 24, 2009 at 11:35 PM, Sid Bachtiar sid.bacht...@gmail.comwrote:


 As far as I know, the answer is no. You have to use action for that,
 but the action can call components, so you can still reuse your
 components.

 On Thu, Jun 25, 2009 at 12:51 PM, Patrick Fongpatr...@ddns.com.au wrote:
 
  Hi all,
 
  I've done a bit of searching but have not been able to dig up any
  information.
 
  Does anyone know if it is possible for form post data to be handled by a
  component rather than an action ? I have quite a few component forms in
  my app that are using ajax to update and it would be great to use the
  same component to handle the post data and do the rendering!
 
  Regards,
  Pat
 
  
 



 --
 Blue Horn Ltd - System Development
 http://bluehorn.co.nz

 



-- 
*~*~*~*~*~*~*~*~*~*~*~*~*~
Giselle Cantador
gisel...@cit.com.br
(19) 2102-4500 ramal 3865
CiT - CMMI 5 and Beyond
http://www.cit.com.br
*~*~*~*~*~*~*~*~*~*~*~*~*~

Esta mensagem, incluindo seus anexos, contém informações legais
privilegiadas e/ou confidenciais, não podendo ser retransmitida, arquivada,
divulgada ou copiada sem autorização do remetente. Caso tenha recebido esta
mensagem por engano, por favor informe o remetente respondendo imediatamente
a este e-mail, e em seguida apague-a do seu computador.

The information contained in this email message, including any attachment,
is privileged and/or confidential. This message may not be retransmitted,
archived, disclosed or copied without sender’s approval. If you have
received this email in error, please notify the sender by replying to this
message, and then delete it from your system.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
symfony users group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: The route x does not exist

2009-05-26 Thread Giselle Cantador
Humm... I got it...
I'm using synfony 1.0  :-(
But I'll verify my links, thanks a lot!

Giselle
On Mon, May 25, 2009 at 6:17 PM, Frank Stelzer d...@bleedingmoon.de wrote:


 This happens after the latest routing changes, i think. I still have
 to fight against those changes for myself, too :P

 Example:

 = sf 1.1(?)
 link_to( 'Some cool news', 'news' );
 -- would have generate a link to: news/index or only news


 sf 1.2
 link_to( 'Some cool news', 'news' );// same like link_to( 'Some cool
 news', '@news' );/
 -- This assumes, that you want to call the news route and the routing
 searches for it and throws your mentioned error.

 fix: link_to( 'Some cool news', 'news/index' );
 This would generate the link like in the first example.

 Frank



 Am 25.05.2009 um 21:43 schrieb gisellec:

 
  I've got this error in apache error log file:
 
  apache_www_error: [Fri May 22 12:26:19 2009] [error] [client
  --- The route news does not exist.
 
  Well this is true because I really don't have this route in my routing
  files. I have a module called news, so I don't understand how this
  error happens.
 
  The biggest problem is that it just happened once. I can't reproduce.
  But I still have to justify this error...
 
  Any suggestion?
 
  


 



-- 
*~*~*~*~*~*~*~*~*~*~*~*~*~
Giselle Cantador
Software Engineer
CiT - CMMI 5 and Beyond
*~*~*~*~*~*~*~*~*~*~*~*~*~

Esta mensagem, incluindo seus anexos, contém informações legais
privilegiadas e/ou confidenciais, não podendo ser retransmitida, arquivada,
divulgada ou copiada sem autorização do remetente. Caso tenha recebido esta
mensagem por engano, por favor informe o remetente respondendo imediatamente
a este e-mail, e em seguida apague-a do seu computador.

The information contained in this email message, including any attachment,
is privileged and/or confidential. This message may not be retransmitted,
archived, disclosed or copied without sender’s approval. If you have
received this email in error, please notify the sender by replying to this
message, and then delete it from your system.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
symfony users group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---