Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

STruts Tag basic doubt

 
Ramkumar Subburaj
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Anbarasu Aladiyan
Ranch Hand
Posts: 182
Chrome Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ramkumar Subburaj,
By default struts2 uses 'xhtml' theme. And it can be modified by setting it in struts property file. like
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Or try the css_xhtml theme, although the last time I looked it was still missing some ids that'd be nice to have.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic