AnsweredAssumed Answered

Customizing the Design Time appearance of a Widget?

Question asked by speterson on May 13, 2009

From the FAQ http://www.jivesoftware.com/jivespace/docs/DOC-3433

 

The WidgetContext, which should be available in your FreeMarker template as widgetContext, has an isEdit() method, which should give you the ability to show a different view if the widget is being rendered as part of a editing session

 

Can you show (ideally a complete) code example of how to customize the appearance of a widget when it's in the design time state?

 

For example for boolean exposed properties, I want to display checkboxes and not a set of yes/no radio buttons.

 

Thanks!

Outcomes