Aeneas McBurney
Posts: 0
Joined: Mon Jun 16, 2014 7:49 am

Filling list within collapsible

Any updates on this?

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Filling list within collapsible

Hello Aeneas,

Sorry, not yet. Working on it.

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Filling list within collapsible

Aeneas,

Could you please clarify, how do you use response of the service listOwners?

Aeneas McBurney
Posts: 0
Joined: Mon Jun 16, 2014 7:49 am

Filling list within collapsible

Hi, yes I am assigning the response directly to the owners list within the collapsible. Is there a way to assign to the specific list within each collapsible?

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

Filling list within collapsible

Sure.

Aeneas McBurney
Posts: 0
Joined: Mon Jun 16, 2014 7:49 am

Filling list within collapsible

I need to know how to do this as I'm still having trouble with this

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

Filling list within collapsible

Please show us what you have tried and what doesn't work.

Aeneas McBurney
Posts: 0
Joined: Mon Jun 16, 2014 7:49 am

Filling list within collapsible

Hi Alena, I have already shown above what I have tried and its working. I need to know how to populate a list within a collapsible based on a collapsible value. The collapsible is returning Horses from a table and based on the horse I want to populate the list of owners for each horse within each collapsible.

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Filling list within collapsible

Aeneas,

[quote:]"I am assigning the response directly to the owners list within the collapsible" [/quote]
Could you please clarify, do you mean that you use mapping?
You shouldn't use the mapping. After mapping of array to collapsible block there will be a few collapsible blocks on the page and each will have its own list.The mapping will not be able to determine where you want to map data received from the second service.
You should fill the list using js on success event of the second service. In this js code you should found on page right collapsible block and using js you should create list in it.

Everything would be easier if you'll have tables linked by pointer http://devcenter.appery.io/documentat...
Then all data would be available per one request and use mapping.

Or alternatively, you can use not the pointer but format data from multiple queries on the server side (in the server code). Having received all the data in the same query, you can use the mapping

Aeneas McBurney
Posts: 0
Joined: Mon Jun 16, 2014 7:49 am

Filling list within collapsible

Thanks for your response. Yes I am using mapping at the moment so all the lists get the same data. How do I 1. Find the list to fill within each collapsible and 2. Reference the correct list within each collapsible to fill?

Thanks

Return to “Issues”