A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
STruts Tag basic doubt
Joined: Sep 07, 2007
Mar 11, 2010 02:22:47
I am new to
and starting with struts 2.1.8
For struts tag like textfield, the generated HTML seems to be some thing like
<tr> <td>label</td> <td><input type='text'></td> </tr>
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
Joined: Jun 02, 2009
Mar 11, 2010 02:35:44
Hi Ramkumar Subburaj,
By default struts2 uses 'xhtml' theme. And it can be modified by setting it in struts property file. like
Joined: Sep 29, 2008
Mar 11, 2010 06:46:32
Or try the css_xhtml theme, although the last time I looked it was still missing some ids that'd be nice to have.
subject: STruts Tag basic doubt
Can't get parameter in struts when using input type="file"...?
Need help selected text fields visible for particular option from drop down list in JSP(struts)
problem laying out element of ordered list with logic iterate
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014