I found an any kind of solution:

i create a n aditional templete "text_w_button.ftl"

<pre>
<#include "/${parameters.templateDir}/${parameters.theme}/controlheader.ftl"
/>
<#include "/${parameters.templateDir}/simple/text.ftl" />

<input type="button" name="${parameters.name?default("")?html}_find" 
id="${parameters.name?default("")?html}_find" value="Correct"
onclick="doCorrection()" >
<#include "/${parameters.templateDir}/xhtml/controlfooter.ftl" />

</pre>



Igor Vlasov wrote:
> 
> Hello.
> 
> I have 
> 
> &lt;s:form action="customer" method='post' theme="xhtml"  >
>  &lt;s:textfield name="customer.cus_name"  size="20" label="Surname" /> 
> &lt;s:submit value="OK" name="apply" ></s:submit>
> &lt;/s:form>
> 
> and i want to show additional button near  &lt;s:textfield/>.
> 
> For example :&lt;input type="button" value="Correct"
> onclick="doCorrection()">
> 
> 
> How can i do this ?
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Add-additional-button-near-%3Cs%3Atextfield-in-xhtml-theme---tf4638909.html#a13249538
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to