jQuery in Action, 2nd edition*
The moose likes Struts and the fly likes How to place textfield and submit button in one row by using struts2 tags? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How to place textfield and submit button in one row by using struts2 tags?" Watch "How to place textfield and submit button in one row by using struts2 tags?" New topic
Author

How to place textfield and submit button in one row by using struts2 tags?

Konstantin Netkachev
Greenhorn

Joined: Jul 24, 2009
Posts: 15
By default tags like:



transforms to HTML like that:



It there any possibility to receive something like that?

David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

The default "xhtml" theme uses tables. The "simple" theme only renders the input elements (but does not provide automatic display of error messages).
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to place textfield and submit button in one row by using struts2 tags?
 
Similar Threads
<jsp:setProperty> sets null values in the bean
Struts 2.1 xhtml forms rendering invalid html
which Struts tag?
Form based authentication with Struts login form
Very strange behaviour with form based login and css file