Hi,

im trying to dynamically add attribute for my cocoon widget. Code:

<div class="filterField">
                <ft:widget id="field_cancelledPolicies_001">
                    <xsl:if
test="/page/state/el...@label='field_cancelledPolicies_001'] = ''">
                        <xsl:attribute name="onchange">
                            test()
                        </xsl:attribute>
                    </xsl:if>
                    <fi:styling class="fill-form-value firstInputField
datefield" size="12"/>
                </ft:widget>

            </div>
            <xsl:if
test="/page/state/el...@label='field_cancelledPolicies_001'] = ''" >
                <h1>AAac</h1>
            </xsl:if>

and i cant add onchange attribute field_cancelledPolicies_001 in that way.
Suprisingly its working when i made normal field from it... but i need it in
widget. Whats the problem? (AAac is visible on site so i check variable
properly)

thanks in advance
-michal 
-- 
View this message in context: 
http://www.nabble.com/problem-with-adding-dynamic-attribute-to-cocoon-widget-tp23616110p23616110.html
Sent from the Cocoon - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to