File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Struts2 Form + Div display error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts2 Form + Div display error" Watch "Struts2 Form + Div display error" New topic

Struts2 Form + Div display error

Riley Thomas

Joined: Aug 08, 2009
Posts: 13

The code snippet below is behaving as expected (hooray!) except that the display of the "County" dropdown is not where it's supposed to be. The submit action does capture the value, however. Any thoughts? Thanks!
Joe Ess

Joined: Oct 29, 2001
Posts: 8707

Have you tried to view the source of the rendered HTML? Form tags get wrapped in table tags (see here so that may be messing up your layout.

"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
I agree. Here's the link:
subject: Struts2 Form + Div display error
Similar Threads
problem running dojo.plugin in struts2.1.6
Ajax form submission issue with struts 2 file tag
multiple dropdown interdependant on the previous selected dropdoen value
struts-2.1.6 -- 'dojo' is undefined
how to populate a list in a another select tag using a select tag using struts 2 & DOJO (ajax)