[symfony-users] Form widget value depends on user input
I would like to know if i can populate a dropdown value using another drop down value. Suppose there are 2 dropdowns, one for Author another for Books. I want to select author its related books should come to Books dropdown. I am currently doing this using ajax, On changing the author dropdown, i am firing an event to get list of related books to populate the Books Dropdown. All is fine till here. but, Suppose, If I submit the form it fails due to some validation errors, Values of Books doesn't preserve. I can do this by checking the current value of Author to get the list of Books again on page load but, how can I get the selected book? That's the question. Please help. -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com 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] How to use database for Configurations
Hi, I was using app.yml for configuration purpose but suddenly, I got a requirement that configuration should be edited from admin. THats why I put all my configurations in database but now the problem is: How can I use just like the configuration files or something like that. Would It suffer with performance issues also? Please suggest. -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com 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] Component relationship with edit form
Hi, I suddenly checked the component display found some bug in that. Actually, I am working on the Article website displaying All categories at the top. For this, I have used component in layout. This is working fine for all pages except the edit/new article form page, which also contains a category list but in a different way. Now, on this page, Top component categories are also taking the same format as the Drop down list in form. For clarification, please check attached screenshot. Please help! If more details needed, Please let me know. Screenshot: http://forum.symfony-project.org/index.php/fa/1578/ -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com 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: sfOutputEscaper behaviour
It doesn't work. Fatal error: Call to a member function getRawValue() on a non-object Any other? On Apr 7, 5:59 pm, Massimiliano Arione garak...@gmail.com wrote: try $variable-getRawValue() cheers Massimiliano On 7 Apr, 06:07, Apul Gupta apulmca...@gmail.com wrote: No rekarnar, still it doesn't Work. Any other suggestion? I am getting this in browsers: == stronga title=title href=http://www.abcd.com;Welcome Text/a / strong == and in HTML: == lt;stronggt;lt;a title=title href=http://www.abcd.comgt;Welcome Textlt;/agt; == I can fix the problem using settings.yml file in module/application but, I just want to know that why $sf_data-getRaw() not working expectedly. Please help to fix the issue. On Apr 7, 7:03 am, rekarnar rekar...@gmail.com wrote: Try $sf_data-get('variable_name',ESC_RAW); On Apr 6, 7:18 pm, Apul Gupta apulmca...@gmail.com wrote: I haven't use that but I know that it will work. But, Can't we get un- escaped data without doing any YML changes as It is mentioned in Documentation that, We will get raw data by using $sf_data- getRaw('sf_content'); Why this is not working expectedly? I am using Symfony 1.4.2 version. Any idea? --- Thanks Apul Gupta On Apr 6, 10:19 am, Denis Golovin golovin.de...@gmail.com wrote: Did you try to set escaping-strategy = off in the settings.yml of single module? Denis 2010/4/5 Apul Gupta apulmca...@gmail.com: Hi, Actually, I want to show some HTML text from the database to a template. I am using echo $sf_data-getRaw('sf_content'); to get un-escaped value from the database but still it shows escaped data to me. What should I do to get unescaped value? I don't want to SET escaping-strategy = off in settings.yml for the entire application. I will appreciate any help. --- Thanks Apul Gupta -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com 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 To unsubscribe, reply using remove me as the subject. -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com 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: sfOutputEscaper behaviour
I haven't use that but I know that it will work. But, Can't we get un- escaped data without doing any YML changes as It is mentioned in Documentation that, We will get raw data by using $sf_data- getRaw('sf_content'); Why this is not working expectedly? I am using Symfony 1.4.2 version. Any idea? --- Thanks Apul Gupta On Apr 6, 10:19 am, Denis Golovin golovin.de...@gmail.com wrote: Did you try to set escaping-strategy = off in the settings.yml of single module? Denis 2010/4/5 Apul Gupta apulmca...@gmail.com: Hi, Actually, I want to show some HTML text from the database to a template. I am using echo $sf_data-getRaw('sf_content'); to get un-escaped value from the database but still it shows escaped data to me. What should I do to get unescaped value? I don't want to SET escaping-strategy = off in settings.yml for the entire application. I will appreciate any help. --- Thanks Apul Gupta -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com 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 To unsubscribe, reply using remove me as the subject. -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com 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] Difference in Components component slots
Hi, I am not clear with the difference of Components component slots. Can anyone suggest some examples so that it make sense to me where to use Components Component Slots. Please use code based examples because I read that from Docs but, I am not very clear. So, Please discuss on this to help me. Thanks -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com 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 To unsubscribe, reply using remove me as the subject.
[symfony-users] Re: sfOutputEscaper behaviour
No rekarnar, still it doesn't Work. Any other suggestion? I am getting this in browsers: == stronga title=title href=http://www.abcd.com;Welcome Text/a / strong == and in HTML: == lt;stronggt;lt;a title=title href=http:// www.abcd.comgt;Welcome Textlt;/agt; == I can fix the problem using settings.yml file in module/application but, I just want to know that why $sf_data-getRaw() not working expectedly. Please help to fix the issue. On Apr 7, 7:03 am, rekarnar rekar...@gmail.com wrote: Try $sf_data-get('variable_name',ESC_RAW); On Apr 6, 7:18 pm, Apul Gupta apulmca...@gmail.com wrote: I haven't use that but I know that it will work. But, Can't we get un- escaped data without doing any YML changes as It is mentioned in Documentation that, We will get raw data by using $sf_data- getRaw('sf_content'); Why this is not working expectedly? I am using Symfony 1.4.2 version. Any idea? --- Thanks Apul Gupta On Apr 6, 10:19 am, Denis Golovin golovin.de...@gmail.com wrote: Did you try to set escaping-strategy = off in the settings.yml of single module? Denis 2010/4/5 Apul Gupta apulmca...@gmail.com: Hi, Actually, I want to show some HTML text from the database to a template. I am using echo $sf_data-getRaw('sf_content'); to get un-escaped value from the database but still it shows escaped data to me. What should I do to get unescaped value? I don't want to SET escaping-strategy = off in settings.yml for the entire application. I will appreciate any help. --- Thanks Apul Gupta -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com 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 To unsubscribe, reply using remove me as the subject. -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com 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] Search feature with multiple models/tables
Hi, Please suggest me, How can I implement the search functionality for multiple models/tables. I found the solution using Zend Search Lucent but it doesn't work in case of multiple table search using one search form. I have one search form want to search the keyword in 2 or more tables. How can I achieve this task. Thanks Apul Gupta -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com 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 To unsubscribe, reply using remove me as the subject.
[symfony-users] sfOutputEscaper behaviour
Hi, Actually, I want to show some HTML text from the database to a template. I am using echo $sf_data-getRaw('sf_content'); to get un-escaped value from the database but still it shows escaped data to me. What should I do to get unescaped value? I don't want to SET escaping-strategy = off in settings.yml for the entire application. I will appreciate any help. --- Thanks Apul Gupta -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com 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 To unsubscribe, reply using remove me as the subject.
[symfony-users] Certification programme
Hi, Is there any certification program for symfony? Thanks Apul Gupta -- You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-us...@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] Nested SEF URLs
Hi, I want to use nested category title in URLs. I need URLs like, http://www.domain.com/category/category1/category2/. /id/2 There may be one or more category title in the URL. In routing.yml: category_show: url: /category/:category_slug/:id/ class: sfPropelRoute options: { model: DirectoryCategory, type: object } param: { module: category, action: show } requirement: id: \d+ sf_method: [get] Please let me know, What and where to change? If something more needed, please let me know. Thanks Apul Gupta -- You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-us...@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.