Jump to content
Larry Ullman's Book Forums

Search the Community

Showing results for tags 'renderpartial'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Single Editions
    • Modern Javascript: Develop and Design
    • The Yii Book
    • Effortless Flex 4 Development
    • Building a Web Site with Ajax: Visual QuickProject
    • Ruby: Visual QuickStart Guide
    • C++ Programming: Visual QuickStart Guide
    • C Programming: Visual QuickStart Guide
    • Adobe AIR: Visual QuickPro Guide
  • PHP and MySQL for Dynamic Web Sites: Visual QuickPro Guide
    • PHP and MySQL for Dynamic Web Sites: Visual QuickPro Guide (5th Edition)
    • PHP and MySQL for Dynamic Web Sites: Visual QuickPro Guide (4th Edition)
    • PHP 6 and MySQL 5 for Dynamic Web Sites: Visual QuickPro Guide (3rd Edition)
    • PHP and MySQL for Dynamic Web Sites: Visual QuickPro Guide (2nd Edition)
    • PHP and MySQL for Dynamic Web Sites: Visual QuickPro Guide (1st Edition)
  • PHP for the Web: Visual QuickStart Guide
    • PHP for the Web: Visual QuickStart Guide (5th Edition)
    • PHP for the Web: Visual QuickStart Guide (4th Edition)
    • PHP for the Web: Visual QuickStart Guide (3rd Edition)
    • PHP for the World Wide Web: Visual QuickStart Guide (2nd Edition)
    • PHP for the World Wide Web: Visual QuickStart Guide (1st Edition)
  • Effortless E-commerce with PHP and MySQL
    • Effortless E-Commerce with PHP and MySQL (2nd Edition)
    • Effortless E-Commerce with PHP and MySQL
  • PHP Advanced: Visual QuickPro Guide
    • PHP Advanced and Object-Oriented Programming: Visual QuickPro Guide (3rd Edition)
    • PHP 5 Advanced: Visual QuickPro Guide (2nd Edition)
    • PHP Advanced: Visual QuickPro Guide
  • MySQL: Visual QuickStart Guide
    • MySQL: Visual QuickStart Guide (2nd Edition)
    • MySQL: Visual QuickStart Guide (1st Edition)
  • Other
    • Announcements
    • Newsletter, Blog, and Other Topics
    • Forum Issues
    • Social

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Found 3 results

  1. Hello all, First of all, thanks a trillion for the book. It covers a lot of nice topics. This question is related with a difficulty that I (and perhaps others) may have, regarding a multi model form implementation. Let's say we have a form that should allow a TEAM SUBSCRIPTION and it's members. Obviously, Team is one table, members are another. They do have a relation. Tricky part: This form as a "add new member" button that should visually, display a new member fieldset (render partial?) to be added with more members fields. (And with this, comes a lot of assumptions like): When user hits submit, but a TEAM name already exists (ajax validation), the user informations should be kept. (if they already added two users to that team, those two users should appear again on the form). Without asking for the code, I'm really not getting what should we use on Yii in order to help us out on this scenario. I've read about tabular input, but nothing that explains an overall view using that with Partial Views and Ajax Calls. Can I please have a clue about a possible implementation of this ? This seems to be a very common scenario. You want to subscribe a team of variable members, so you wish to add those members live. Or, you wish to sell a product with some extra optional items, and you wish to allow the user to select has many extra things as they can get. Despite being common, I don't see an overall view regarding such scenarios... If there's a need for a better clarification of the propose, please drop me a reply. Thanks in advance.
  2. Version 0.5 Page 125 Larry, please provide and example to show us how this would work: "{TIP} Most of the time you use renderPartial() within one view file, you’ll want to pass along the variables it received to the other view file." Thanks.
  3. I want to renderPartial a view from modules. Path of View thats need to renderPartial: protected/modules/shop/views/products/addToCart.php Path where to be Rendered: protected/views/site/_post.php.
×
×
  • Create New...