File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Struts 2 - Use custom design (from CSS) on submit buttons Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts 2 - Use custom design (from CSS) on submit buttons" Watch "Struts 2 - Use custom design (from CSS) on submit buttons" New topic
Author

Struts 2 - Use custom design (from CSS) on submit buttons

Santhosh Kalisamy
Ranch Hand

Joined: Apr 15, 2008
Posts: 59
Friends,

We are developing a new application on Struts 2. We do have standed design for the buttons, labels, error messages used in the application.

Our button example looks like:


When I try,



It didn't work out. It is still displaying the standard format. I have tried to change theme (on struts.xml) to "simple" [or] "css-xhtml".

Can you anyone give me the steps to use this CSS style on the s:submit, please.
Santhosh Kalisamy
Ranch Hand

Joined: Apr 15, 2008
Posts: 59
Strangly, this is working good with Firefox. But, IE is not working. Any help, please.

Firefox version : 14.0.1
Internet Explorer : 9.0.8xxx
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts 2 - Use custom design (from CSS) on submit buttons