aspose file tools*
The moose likes Struts and the fly likes struts2 tag ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts2 tag ?" Watch "struts2 tag ?" New topic
Author

struts2 tag ?

Aaron Raja
Ranch Hand

Joined: Jun 07, 2007
Posts: 206

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?



Thanks, AR
SCWCD 5, SCJP 1.4, OCA (PL/SQL)
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8702
    
    6

Have a look at this faq entry


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
Aaron Raja
Ranch Hand

Joined: Jun 07, 2007
Posts: 206


Struts 2 --->


give me
First Name: John
Last Name: Doe


I want

Name: John Doe
In struts 1.2


Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8702
    
    6

Did you read the FAQ entry I linked?
Aaron Raja
Ranch Hand

Joined: Jun 07, 2007
Posts: 206
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

Joined: Jun 02, 2009
Posts: 182

Thanks for formatting your code in previous post . I think this post would help you little.


A.A.Anbarasu
Aaron Raja
Ranch Hand

Joined: Jun 07, 2007
Posts: 206
Thank you It did work now after using
"css_xhtml" theme
Anbarasu Aladiyan
Ranch Hand

Joined: Jun 02, 2009
Posts: 182

You are welcome
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: struts2 tag ?
 
Similar Threads
Validation of List property in a Form
Setting the value in <s:textfield from request scope
How to set maxlength property dynamically in Struts html:text tag?
struts 2 validation - error message even after entering a value
Struts2 very simple validation doesn't work