Hi everybody,

i'm actually workink with the admin generator functionality. it's
really impressive !
i'm trying to build an app which purpose is to build HTML newsletter.
in my schema.yml i've got to tables : newletter and article;
this is a 1-N relashionship (1 newsletter have 1 or more articles, 1
article is only affected to 1 newsletter )

i want to be able to click on a newsletter title and then display only
articles which belong to this newsletter.

i think i've to make a partial_link such as explain in the
documentation and pass to the article/list view the id of the
newsletter. then i want my app to remind in which newsletter i'm. This
means that if i click on the create button, i want this article to be
created under the current newsletter. on the same way if i edit an
article i want to be able to go back to the articles list of the
currrent newsletter.

what is the best solution to achieve my goals?

may i store the newsletter id in an attribute on first call and then
override the list, edit and create actions methods to take in account
a new criteria based on the attribute value

thanks a lot for your help


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" 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/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to