Advertisement

03.25.2008 at 04:54AM PDT, ID: 23266620
[x]
Attachment Details

How to word wrap in Struts

Asked by Sirish_Nukala in Jakarta Struts, Java Server Pages (JSP)

Tags: jsp struts

I have a Iterate logic code which contains a text field. The thing is i would like to word wrap the text field which makes the screen look very wide if it has lot of chars. Can u please suggest a way. I am pasting the code below


Start Free Trial
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
<logic:present name="TransmitterUserDetailsForm" property="publicKeyParams">
					<tr>
					<td colspan="2">
					<TABLE class="details"  id="usertable" border="1">
					<COL WIDTH="20%" style="word-wrap:break-word">
					<COL WIDTH="40%" style="word-wrap:break-word">
					<COL WIDTH="20%" style="word-wrap:break-word">
					<COL WIDTH="20%" style="word-wrap:break-word">
					<tr>
						<td> 
							<b><bean:message key="SecureTransportAs2.PublicKeyName"/></b>
						</td>
						<td>
							<b><bean:message key="SecureTransportAs2.PublicKeyText"/></b>
						</td>
						<td>
							<b><bean:message key="SecureTransportAs2.PublicKeyEnterDate"/></b>
						</td>
						<td>
							<b><bean:message key="TransformStep.Actions"/></b>
						</td>
					</tr>
					
					   <logic:iterate id="idSearchTransformDetails" name="TransmitterUserDetailsForm" property="publicKeyParams"> 					         
					     <logic:notEqual name="idSearchTransformDetails" property="publicKeyText" value="NULL">
					
					<tr>
						<td>
						<bean:write name="idSearchTransformDetails" property="publicKeyName" />
						<html:hidden name="idSearchTransformDetails" property="publicKeyId" />
						</td>
						<td>
						<bean:write name="idSearchTransformDetails" property="publicKeyText"/>							
						</td>
						<td>
						<bean:write name="idSearchTransformDetails" property="publicKeyEnterDate"/>							
						</td>
				        <td>
				        <a href="javascript:DeleteAction('<bean:write name="idSearchTransformDetails" property="publicKeyName"/>')" 
				        				tabindex="16">
				        
				        	<img src="<%=contextPath%>/assets/images/autogen/delete.gif" border=0></a>
					    </td>
					     
				    	</tr>
				    	</logic:notEqual>		
					 </logic:iterate>
[+][-]03.25.2008 at 07:16AM PDT, ID: 21202092

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]03.25.2008 at 07:48AM PDT, ID: 21202419

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]03.25.2008 at 08:51PM PDT, ID: 21208774

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.26.2008 at 08:29AM PDT, ID: 21212682

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]04.05.2008 at 11:26AM PDT, ID: 21289096

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]04.07.2008 at 05:41AM PDT, ID: 21296236

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Jakarta Struts, Java Server Pages (JSP)
Tags: jsp struts
Sign Up Now!
Solution Provided By: mrcoffee365
Participating Experts: 3
Solution Grade: B
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628