Hi all, I've just read the book's chapter about the generators. I think they are great and really useful for doing some RAD. However, I still wonder which is the best approach for managing this case:
class Order fields: id, date, description, discount, delivery_address, etc. class OrderProduct fields: order_id, product_id clearly, OrderProduct is used to manage a many-to-many relation (OK, for sake of simplicity, let's ignore quantity) Now, since I have thousands of products, I am thinking of the following scenario about products selection: - User click on "Select Products" - A pop-up opens with a view which is basically a variant of the Product list view spawned by the generator, i.e.: there is a filters section, there are no edit/create/delete buttons, every row has a check-box which allows to select the product. The list view intially shows the products in the current order, these must remain visible (as long as the user keep their checkboxes ticked) independently on the filters selection. - The list view should have a "Selection Done" button which would close the pop-up and update the order. Questions: - Does it sound reasonable? - Would someone advise a better way to select among large number of items? (I would like to avoid AJAX for the moment) - Would it be easy to implement with the templates available for the generators? (by building a component?) Thanks in advance for any 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 -~----------~----~----~----~------~----~------~--~---
