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 i18n transformaion the value of button changed and i > m not able to call that method. > So what i need display value of button should change but passing value > should always be "Search" using i18n??? > how to do this????
Take a look at MultiAction and use this: <input value="Search" type="submit" name="cocoon-action-search" i18n:attr="value"></input> then use the name of the button and not the value to call a method. Hope this helps. Konstantin > Thanks in advance > > > Thanks and Regards, > Murari Dhoot > > > > --------------------------------------------------------------------- > Please check that your question has not already been answered in the > FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> > > To unsubscribe, e-mail: <[EMAIL PROTECTED]> > For additional commands, e-mail: <[EMAIL PROTECTED]> > > --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>