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 Tag basic doubt Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "STruts Tag basic doubt" Watch "STruts Tag basic doubt" New topic
Author

STruts Tag basic doubt

Ramkumar Subburaj
Ranch Hand

Joined: Sep 07, 2007
Posts: 83
Hi,

I am new to struts and starting with struts 2.1.8

For struts tag like textfield, the generated HTML seems to be some thing like



Is creating the rows and columns default behavior and can't it be modified.

There might be scenarios where i want to achieve UI using DIV's instead of tables.


SCJP 1.5, SCWCD 1.4.
Hanging between Web Services and EJB
Anbarasu Aladiyan
Ranch Hand

Joined: Jun 02, 2009
Posts: 182

Hi Ramkumar Subburaj,
By default struts2 uses 'xhtml' theme. And it can be modified by setting it in struts property file. like


A.A.Anbarasu
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Or try the css_xhtml theme, although the last time I looked it was still missing some ids that'd be nice to have.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: STruts Tag basic doubt