[
https://issues.apache.org/jira/browse/WAVE-273?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ali Lown updated WAVE-273:
--------------------------
Labels: StarterProject (was: )
> BlipMetaViewBuilder uses a hard coded kind for the Blip Contents
> ----------------------------------------------------------------
>
> Key: WAVE-273
> URL: https://issues.apache.org/jira/browse/WAVE-273
> Project: Wave
> Issue Type: Task
> Components: Web Client
> Reporter: Michael MacFadden
> Labels: StarterProject
>
> The BlipMetaViewBuilder's outputHtml(...) method has the following code
> snippet:
> open(output, Components.CONTENT.getDomId(id), css.contentContainer(),
> "document");
> This results in the following HTML (or something similar):
> <div id="UC2MC" class="SWCNN" kind="document">
> As can be seen the kind attribute is set to "document", and is hard coded in
> the builders code. In the other builders we use something along the lines of
> "TypeCodes.kind(Type.BLIP)" for the kind attribute. BlipMetaViewBuilder hard
> coded kind should be cleaned up to follow the convention, if a kind is in
> fact needed.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)