ComponentOne Query 8.0
Tag Substitution Rules

Generating HTML, C1QueryFrame control substitutes special tags with HTML text according to the rules described here. These substitution rules provide:

Knowing these rules, you can use the reserved IDs, script function names and display styles to write your own HTML in item templates. You can use special tags and rely on the substitution rules, or you can write your own HTML without special tags.

In the following substitution rules, itemid represents the item id for the current item (the item being processed), text represents the string contents of the element. C1Q*CurrentStyle must be replaced with C1Q*ActiveStyle or C1Q*InactiveStyle if the element is not in focus and belongs to a selected or unselected item.

 

<C1Q_CONNECTIVE>

<A HREF=nowhere ID=C1QConnective Class=C1QCONNCurrentStyle OnClick=C1QShowCONNMenu(itemid) text </A>

 

<C1Q_LEFT>

A HREF=nowhere ID=C1QLeftside Class=C1QLSCurrentStyle OnClick=C1QInteractLS(itemid) text </A>

 

<C1Q_COMPARISON>

<A HREF=nowhere ID=C1QComparison Class=C1QCMPCurrentStyle OnClick=C1QShowCMPMenu(itemid) text </A>

 

<C1Q_RIGHT>

<A HREF=nowhere ID=C1QLeftside Class=C1QRSCurrentStyle OnClick=C1QInteractRS(itemid) text </A>

 

<C1Q_LS_KIND>

<A HREF=nowhere ID=C1QLeftSideKind Class=C1QLSKindCurrentStyle OnClick=C1QShowLSKindMenu(itemid) text </A>

 

<C1Q_RS_KIND>

<A HREF=nowhere ID=C1QRightSideKind Class=C1QRSKindCurrentStyle OnClick=C1QShowRSKindMenu(itemid) text </A>

 

<C1Q_SORT>

<A HREF=nowhere ID=C1QSort Class=C1QSortCurrentStyle OnClick=C1QShowSortMenu(itemid) text </A>

 

<C1Q_FUNCTION>

<A HREF=nowhere ID=C1QFunction Class=C1QFunctionCurrentStyle OnClick=C1QShowFunctionMenu(itemid) text </A>

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback