PDA

View Full Version : [FIXED] "Please associate model" warning on a store that is associated with a model.



cantorh
1 Feb 2012, 5:31 AM
Hi,
I've created a model and a store. I set the model property of the store to the model that I just created but Designer shows a warning red exclamation to the right of the store in the Project Inspector. The message when hovering over the exclamation states ... "Please associate a model...." . Attached is a screen shot.


-thanks,
Hugo

bharatn
1 Feb 2012, 8:16 AM
You need to configure a proxy and a reader under the model to fetch data. If using local storage or sync you just need the proxy.

Phil.Strong
1 Feb 2012, 6:53 PM
So I don't think we have enough data to call this a bug. Does your Model have a proxy and a reader? If not then this is a valid error message.

cantorh
2 Feb 2012, 4:24 AM
Hi,
I think I misinterpreted the message. Since it comes up next to the store instead of the model I figured it just needed to have a model for the store.

-thanks,
Hugo.