cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Piroumian" <kpiroum...@apache.org>
Subject Re: i18n Transformation problem
Date Wed, 08 Jan 2003 11:08:35 GMT
From: "Murari Dhoot" <murari@vmoksha.com>

> 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:     <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>
>
>


---------------------------------------------------------------------
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:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message