Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to do nested repeats? #39

Closed
clicman opened this issue Oct 31, 2014 · 4 comments
Closed

How to do nested repeats? #39

clicman opened this issue Oct 31, 2014 · 4 comments

Comments

@clicman
Copy link

clicman commented Oct 31, 2014

I have json like

 { "services": {
        "java": {
            "package": ["java6", "java7", "java8"],
            "type": ["local", "remote"]
        },
       "php": {
            "package": ["php5-cli", "php5-fpm"],
            "type": ["local", "remote"]
        }
    }
} 

And I want to do somethink like:

 <div way-repeat="services">
         $$key
         <div way-repeat="services.package">$$key</div>                  
 </div>

And nesting can be deeper
Is it possible?

@zjtnumber2
Copy link

+1 This is a usual scene

@zjtnumber2
Copy link

I've solved it. Let's see #66

@clicman
Copy link
Author

clicman commented Jul 9, 2015

Great!

@clicman clicman closed this as completed Jul 9, 2015
@Chaunjie
Copy link

@clicman you solved? I also has this problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants