my dog learned polymorphism*
The moose likes Struts and the fly likes UI issue with Struts 2 tags Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "UI issue with Struts 2 tags" Watch "UI issue with Struts 2 tags" New topic
Author

UI issue with Struts 2 tags

Susan John
Greenhorn

Joined: Apr 12, 2011
Posts: 7
Hi

We are developing a web based application using struts 2. We got the HTML pages made by the designers and it runs in Tocat 6 correctly(Ofcourse the business/service layers we haven't started). Now after making the page struts 2 compatible, i.e making the controls struts 2 specific, we get a UI issue. The pages are distorted. For example The two text box controls in a single row comes in two rows etc. We understand that Struts 2 internally creates a table which causes this problem. Is my understanding correct? So could anyone please help us in solving this issue?

Regards
Susan
Mohana Rao Sv
Ranch Hand

Joined: Aug 01, 2007
Posts: 485

Use theme simple. For more information refer the following link http://struts.apache.org/2.0.11.1/docs/themes-and-templates.html


ocjp 6 — Feeding a person with food is a great thing in this world. Feeding the same person by transferring the knowledge is far more better thing. The reason is the amount of satisfaction which we get through food is of only one minute or two. But the satisfaction which we can get through the knowledge is of life long.
Susan John
Greenhorn

Joined: Apr 12, 2011
Posts: 7
Thanks for the reply. It worked. But an issue, validation messages are not getting displayed. Any idea how to sort out this problem?
Susan John
Greenhorn

Joined: Apr 12, 2011
Posts: 7
when I remove the themes validation works, but with simple themes validation is not working.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: UI issue with Struts 2 tags
 
Similar Threads
future of JSF
Integrating GWT with Struts 2
Partial Struts2 migration in webapplication
struts2 + Flex integration
using struts2 checkbox tag in xsl