eascards
Posts: 0
Joined: Mon Jul 14, 2014 2:42 am

More Detail on using the select menu

How should I change it. Code? Mapping?

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

More Detail on using the select menu

To change it you need to understand how it works.

For this purpose you need to pass following tutorial from scratch.

http://devcenter.appery.io/tutorials/...

Then you need to debug your app in way i have described above and find where you have wrong implementation.

Regards.

eascards
Posts: 0
Joined: Mon Jul 14, 2014 2:42 am

More Detail on using the select menu

From going through that tutorial, I think what I need to do is create an invisible label to display the _id if the book that is selected and from there map it to the query service.

I've been messing around for a while trying to find out how I should get the id of what ever is selected to display. Any thoughts?
I created a new book list service but I can't link a component to another component.

eascards
Posts: 0
Joined: Mon Jul 14, 2014 2:42 am

More Detail on using the select menu

So I got it to display the _id for the book that is automatically there, but it won't change when I select a different book.

eascards
Posts: 0
Joined: Mon Jul 14, 2014 2:42 am

More Detail on using the select menu

Sorry to bother again, just got it to change when selected but some say undefined. In safari, when I test it, the popup up says bookid="what ever id is displayed" (whether it is right or undefined)

In chrome when I test it, it all says null.

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

More Detail on using the select menu

Hi Eascards,

Yes you need to add hidden label to the listItem component. And populate it with "_id".

Did you passed tutorial from scratch as asked above? If not please pass it. There is a worked solution. And from there you can figure out hot get correct "_id" for each item in request parameter of the service.

Regards.

eascards
Posts: 0
Joined: Mon Jul 14, 2014 2:42 am

More Detail on using the select menu

I did go through the tutorial from scratch. That's how I thought I needed the hidden label. I have the correct id in one browser but not the other. And even when it is correct, it isn't bringing up the results of the search.

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

More Detail on using the select menu

Eascards,

ok, please show us your query request where we can see correct "_id" in where clause and other one with server response.

Regards.

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

More Detail on using the select menu

Hi -

Sorry this is not very clear, on your screenshot you have a query statement with: "where: {"_id": null } -- is that what it's supposed to be?

Return to “Issues”