[Xsltforms-support] img within xf:trigger
Brought to you by:
alain-couthures
From: christophe g. <chr...@e-...> - 2010-02-05 17:16:09
|
Hi all is there a way to properly render a structure like this one? <xf:trigger class="tree-icon" appearance="minimal" ref="current()/@l"> <img class="tree-icon elbow-line" src="/db/e-Smile/system/resource/images/s.gif"/> </xf:trigger> With the current release, the img stuff is not rendered at all. This structure (trigger+img) can be pretty usefull in complex scenario - for instance I use it to render a classic dynamic tree structure (with '+' and '-' triggers to expand/collapse the tree. A workaround seems to write it this way: <xf:trigger class="tree-icon" appearance="minimal" ref="current()/@l"> <xf:label> <img class="tree-icon elbow-line" src="/db/e-Smile/system/resource/images/s.gif"/> </xf:label> </xf:trigger> But this option is only a partial one (= img is rendered) as the xf:label adds '*' (required) and 'x'(alert) symbols on the form. Thanks Christophs -- Christophe Geiser, social entrepreneur e-Smile, solutions in monitoring and information management -- |