(Referring to Special Offer module from DXA sdl docs-(http://docs.sdl.com/LiveContent/content/en-US/SDL%20DXA-v2/GUID-3613D1ED-4F0C-47CF-82B6-07D412AF4416))
- Created new Module (
Offers) and followed Folder structure convention to create Schema and Component Template
- Created dxa-module-offers in Java project, created view
SpecialOffer.jspat proper directory &
SpecialOfferEntity with Semantic properties as described (matching with xml name of Schema fields)
- Initialized/Registered my View Model.
- Published the
Publish settingssystem page.
- Refreshed the cache in web application using
Able to get my CP rendered on a page but my JSP is just rendering with empty/null values for all fields (just the html), while debugging DXA code I see that entity is populated with all values of properties as null (in
Am I missing any steps here to just render simple CP using view & model from my custom module(also tried putting the view,model in Core module)? What should be used as the vocabulary for my entity? ..also little confused regarding specification of semantics
is it mandatory to specify semantics/vocabulary etc in tridion using some
custom page for all new schemas added?