From: Murari Dhoot [EMAIL PROTECTED]
Hello Friends,
I am applying a i18n Transformation on the following button
input value=Search type=submit name=cocoon-action
i18n:attr=value/input
Actually depending upon the value of Button i.e. Search , i am calling a
method, but if i apply
i have a similar problem solved using child element and not attributes
input
valuei18n:text i18n:key=key_textsome text/i18n:text/value
/input
then i have 2 step transformation
first i18n transformation to replace i18n tags with the right content
secend xslt tranformation to generete the
A possible solution for this problem can be found at
http://www.experts-exchange.com/Web/Web_Languages/JavaScript/Q_10148478.html
(it's the first page that http://google.com/search?q=javascript+button+pressed gives
me :)
In short, you add a hidden variable to the form, and you change that