12.07.2015 Views

Using Zen Components - InterSystems Documentation

Using Zen Components - InterSystems Documentation

Using Zen Components - InterSystems Documentation

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Other <strong>Zen</strong> <strong>Components</strong>AttributecurrSlicefaceonchangeDescription0–based slice number of the currently selected slice of the 3–dimensional color cube. Thedefault is 0. The range is from 0 to 15.Face number of the currently selected face of the 3–dimensional color cube: 1, 2, or 3. Thedefault is 1.Client-side JavaScript expression that <strong>Zen</strong> invokes when the value of the componentchanges. Generally this expression invokes a client-side JavaScript method.This becomesthe “onchange handler” for the component.When providing a value for an event handler attribute such as onchange, use double quotesto enclose the value and single quotes (if needed) within the JavaScript expression. Forexample:The JavaScript expression may contain <strong>Zen</strong> #()# runtime expressions.ondblclickvalueClient-side JavaScript expression that <strong>Zen</strong> invokes when the user double-clicks on the component.String that identifies the most recently selected HTML hexadecimal value. The default is:#FFFFFF9.6 Repeating GroupA is a specialized group component that defines the layout for a single group item, then outputs multipleitems with this layout. The number of items, and the data contained in each item, is determined by a runtime query. has the following attributes:Attribute<strong>Zen</strong> groupattributesData sourceattributesDescription has the same style and layout attributes as any <strong>Zen</strong> group. Fordescriptions, see “Group Layout and Style Attributes” in the “<strong>Zen</strong> Layout” chapter of <strong>Using</strong><strong>Zen</strong>. The default layout for a is vertical. has similar attributes to for specifying the data source. supports maxRows, queryClass, queryName, and sql. For details andexamples, see the following sections in the chapter “<strong>Zen</strong> Tables”:• How to use query attributes with :– Data Sources (maxRows)– Specifying an SQL Query (sql)– Referencing a Class Query (queryClass, queryName)• How to provide elements within :– Query Parameters246 <strong>Using</strong> <strong>Zen</strong> <strong>Components</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!