Jeromy Evans wrote:
DJR wrote:
What I'm doing now to solve the problem is to modify the source code of the
tag. But it's a bit troublesome, I think. Are there any more elegant
solutions?:thinking:

DJR wrote:
As is know to all, <s:optiontransferselect> tag has a "buttonCssStyle"
attribute, which will make all buttons look in a unified style. But how
can we make each button in a different style just like the image showed
below:
 http://www.nabble.com/file/p14163637/optiontransvertical.png

As per your last question about vertical layout, create your own template for optiontransferselect and modify the style of each button/use an image button. http://www.nabble.com/How-to-make-Optiontransferselect-Tag-vertical-in-Struts2--tf4901183.html#a14039295

These are absolutely the correct instructions, but they're not as explicit as they could be:

Extract template/simple/optiontransferselect.ftl from the struts-core.jar, add it as WEB-INF/classes/template/simple/optiontransferselect.ftl
and modify it as you desire.

-Dale

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

Reply via email to