You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Sebastien Arbogast <se...@gmail.com> on 2005/05/21 18:41:27 UTC

[SOLVED] Re: I18N and fd:submit

I got it ! The solution was to let the key as a label and to add a
fi:styling element in the template with a i18n:attr attribute.

form definition :

<fd:submit id="edit" action-command="edit-user" validate="true">
                    <fd:label>edit-user</fd:label>
                </fd:submit>

form template :

<ft:widget id="edit">
                            <fi:styling i18n:attr="value"></fi:styling>
                        </ft:widget>

And everything works fine.

Cheers.

-- 
Sebastien ARBOGAST

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org