File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes how to set title for s:textField using s property Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "how to set title for s:textField using s property" Watch "how to set title for s:textField using s property" New topic
Author

how to set title for s:textField using s property

suresh midde
Greenhorn

Joined: Aug 22, 2008
Posts: 25
Hi

I need to set title for the s:textfield component.

<s:textfield name="lp2" readonly="true" cssStyle="width:30px;" title='<s:property value="phaseId" />' / >

I am unable to get the evaluated value in the title.I tried replacing single quotes with double quotes, and even tried escape attribute but there is no luck.

Some one help me.

Regards
Suresh Midde
suresh midde
Greenhorn

Joined: Aug 22, 2008
Posts: 25
Hi,

This was fixed.

<s:textfield name="lp1" cssStyle="width:30px;" title="%{phaseId}" >

Regards
Suresh Midde
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to set title for s:textField using s property
 
Similar Threads
Struts 2.0.11 <s:textfield> label alignment issue.
Struts2 - jquery Plugin - Fieldset
Scriptlet in STRUTS 2
Setting the value in <s:textfield from request scope
<s:it test with a name value