Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I'm using uSiteBuilder and I'm coming slightly unstuck with my model, and the class inheritence. As I understand it, uSiteBuilder only supports classes and not interfaces.
I have 3 document types:
A few observations:
My attempts at the models were:
- Content (Title) - PageHeader (HeaderTitle, HeaderIntro) - BaseTwoColumn (RightColumnWidgets) - StandardContent (CORRECT) - Home (INCORRECT AS Home should have no HeaderTitle or HeaderIntro properties) - Listing (CORRECT)
- Content (Title) - BaseTwoColumn (RightColumnWidgets) - PageHeader (HeaderTitle, HeaderIntro) - StandardContent (CORRECT) - Home (CORRECT) - BaseOneColumn - Listing (INCORRECT because HeaderTitle and HeaderIntro are missing, but BaseOneColumn cannot inherit from PageHeader otherwise properties from BaseTwoColumn will also be inherited)
Perhaps I haven't been able to solve this because the model is incorrectly designed? Perhaps this is a limitation of uSiteBuilder because I can't use interfaces?
Could anyone provide any pointers or alternative solutions? I'd be most grateful for any help.
Any thoughts anyone?
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted