Widgets side-by-side on COE?
Hello,
Has anyone had experience of putting widgets next to each other (vs. default way of one above another)? Is it difficult to do? What is involved? We are using WEM 10.5.
We'd like to see if it is possible to place checkbox widget next to text field one. This is related to my previous post - looking at this option as an alternative solution to hiding/unhiding. Thank you, Vlad
Comments
-
Keeping the check box in single row is realy tricky; A single check box widget wrapper contains multiple sections(label, help, data, validation). If you want to keep all the check box in single row then you have to play around with multiple widgets wrapper.
Instead of that you can try following option.
Keep the check box attributes one after another
Label1 : [] Check1
Label2 : [] Check2
Label3 : [] Check3From theme override the widget jsp and hide the lable of the check box:
my-ui-themes.xml
<core:template key="vcm-widget-simpleselect:ContentInstance:my-ctd-test:myAttribute1"
path="/myWarContext/....../custom_simpleselect.jsp"/>
Output will be like:
Label1 : [] Check1
.......... : [] Check2
.......... : [] Check3Regards,
Trilochan0 -
Vlad, to give a COE a custom look and feel you need to do two things:
<![if !supportLists]>1. <![endif]>Create a custom jsp editor and associate this editor to a given content type
<![if !supportLists]>2. <![endif]>Address each widget using the tag
<vcm:renderWidget id="widgetDataId"/>
Where widgetDataId is the dataId of the widget, typically having the format .ContentTypeXmlName.AttrXMLName.
Ciao
Mario
From: eLink Entry: Discussion Group - Web Experience Management [mailto:v7webcontentmanagement@elinkkc.opentext.com]
Sent: lunedì 13 febbraio 2017 08:30
To: eLink Recipient
Subject: Widgets side-by-side on COE?Posted by Singh, Trilochan On 02/13/2017 02:28 AM
Keeping the check box in single row is realy tricky; A single check box widget wrapper contains multiple sections(label, help, data, validation). If you want to keep all the check box in single row then you have to play around with multiple widgets wrapper.
Instead of that you can try following option.
Keep the check box attributes one after another
Label1 : [] Check1
Label2 : [] Check2
Label3 : [] Check3From theme override the widget jsp and hide the lable of the check box:
my-ui-themes.xml
<core:template key="vcm-widget-simpleselect:ContentInstance:my-ctd-test:myAttribute1"
path="/myWarContext/....../custom_simpleselect.jsp"/>
Output will be like:
Label1 : [] Check1
........... : [] Check2
........... : [] Check3Regards,
Trilochan[To post a comment, use the normal reply function]
Topic:
Forum:
Content Server:
0
Categories
- All Categories
- 123 Developer Announcements
- 54 Articles
- 153 General Questions
- 148 Thrust Services
- 57 Developer Hackathon
- 37 Thrust Studio
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 918 Core Messaging
- 84 Digital Asset Management
- 9.4K Documentum
- 32 eDOCS
- 190 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 10 XM Fax
- Follow Categories