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 : [] Check3

    From 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
    .......... : [] Check3

     

    Regards,
    Trilochan

  • 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?

     

    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 : [] Check3

    From 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
    ........... : [] Check3

     

    Regards,
    Trilochan


    [To post a comment, use the normal reply function]

    Topic:

    Widgets side-by-side on COE?

    Forum:

    Discussion Group - Web Experience Management

    Content Server:

    Knowledge Center CS16