Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Add YAF ModelList to Mojito #288

Closed
trungpham opened this Issue · 2 comments

2 participants

@trungpham

Introduce YUI ModelList to Mojito.

If the model list has already been populated from the server side by calling the load() function, then we need to serialize the list and pass it over to the browser. This way the browser will not need to reload the model list again.

Also, add a class method to reference the model list.

/**
@param {String} id where id is an identifier pointing to the modelList instance.
@returns {ModelList}
/*
ModelList.get = function(id){

}

Note. This is not the same as the instance method get(id) where it returns an instance of the Model.

@caridy
Owner

This is going to be addressed in 0.6 thru express-state. I will keep this around for reference. In the current mojito, only stuff set thru ac.pageData.set() and ac.data.set() will be serialized and rehydrated in the client side.

@caridy
Owner

this is done.

@caridy caridy closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.