1

Hi guys I continue with my code and I have a problem that someone can maybe help me to fix it. I'm using UI Bootstrap with angular and thymeleaf and I have problems to comunicate each. I want this:

enter image description here

So this table is loading dynamic from Thymeleaf but the name provider need to change.

Here is the code:

<accordion-group heading="{{providerGroup}}" th:attr="ng-repeat=\''+ providerGroup in ${@provider.getProviders().keySet()}+'\')'">
                {{providerName}}
            </accordion-group>

everything is working fine except that I dont know why thymeleaf dont read it.

Any help?

1 Answer 1

1
<accordion close-others="oneAtATime">
            <li th:each="provider : ${@provider.getProviders().keySet()}">              
            <accordion-group th:attr="heading=${provider}" ng-model="providerSelected">
                {{providerSelected}}

                <button class="btn btn-default btn-sm" ng-click="addItem()">Add Item</button>
                <div ng-repeat="item in items">{{item}}</div>
            </accordion-group>
            </li>   
        </accordion>    

Enjoy it!

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.