content part options of self-made module doesn't show up

Topics: Writing modules
Dec 24, 2015 at 12:43 PM
Edited Dec 24, 2015 at 12:46 PM
I create a module named baidumap which appears in the dashboard, and is enabled. I create a new content type named BaidumapPage with baidumap content part, then New -> BaidumapPage, but options for my content part is not show in BaidumapPage.

I compared my module with Orchar.LearnOrchard.FeatureProduct , and find that maybe something is wrong with my Baidumap.cshtml file

in Baidumap.cshtml, the hint for model is like this, an extra * is shown:
(parameter) Baidumap.Models.BaidumapPart* model

while in FeatureProduct.cshtml , the hint for model is like this:
(parameter) Orchard.LearnOrchard.FeaturedProduct.Models.FeaturedProductPart model.

I tried remove App_Data and rebuild Orchard src, and Ctrl + F5 but it did not help.

Could anyone help me out?