approach to FE designs
i'm wondering what's best approach fe designs
let's assume fe prepared several static html mockups files based on psd files
i can create components , many of them parametrized css class attribue. issue. issue fe not cq5 code generation aware
let's assume there hypotetical link component , there's following code in design
<a href="..." class="button red">title</a>
1. default rendered html be
<div class="link>
<a href="..." class="${model.classes}">${model.title}</a>
</div>
+ same html markup on author , publish. that's great , easy support
- code diffrent design. sure ask trouble here
- ugly fe point of view
2. use cq:htmltag control tag , class. solution ok not work in case
- class name fixed
3. custom include tag not render decoration on publish
+ html on publish same in designs, have write own parsys
- different html on author , publish. difficult fix ui issues on author
and not fixed in end
ok. do in such case ? don't see perfect solution here
More discussions in Archived Spaces
adobe
Comments
Post a Comment