• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

struts2 tag ?

 
Aaron Raja
Ranch Hand
Posts: 206
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I am trying to convert my struts 1.2 app to struts 2.
In my edit JSP, I am having trouble when I tried to put two field in same row edit,
where data suppose to display and if
want it can be modified.
How do I use two field in same row ?

<s:textfield name="detailResult.skillDesc01" size="25" maxlength="25" />
<s:textfield name="detailResult.skillLevel01" size="2" maxlength="2" />

I am getting these two thing is two rows. I want them in one row?


 
Joe Ess
Bartender
Pie
Posts: 9257
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have a look at this faq entry
 
Aaron Raja
Ranch Hand
Posts: 206
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Struts 2 --->


give me
First Name: John
Last Name: Doe


I want

Name: John Doe
In struts 1.2


 
Joe Ess
Bartender
Pie
Posts: 9257
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you read the FAQ entry I linked?
 
Aaron Raja
Ranch Hand
Posts: 206
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I did but did not get clear understanding of it.
Can you please clarify please or Can I have some example ?
Thanks
AR
 
Anbarasu Aladiyan
Ranch Hand
Posts: 182
Chrome Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for formatting your code in previous post . I think this post would help you little.
 
Aaron Raja
Ranch Hand
Posts: 206
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you It did work now after using
"css_xhtml" theme
 
Anbarasu Aladiyan
Ranch Hand
Posts: 182
Chrome Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You are welcome
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic